aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testSeqOf.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-06-20 13:04:28 +0200
committerBjörn Gustavsson <[email protected]>2013-08-30 10:13:16 +0200
commit2ec69960969799e30a7b287f02c1e3bb252b3254 (patch)
tree992372f46169f4c6f3f26f5ca407e3f8cbc862ff /lib/asn1/test/testSeqOf.erl
parent72713a28d5e1bcc22e4be3650504b7ea9dd90b29 (diff)
downloadotp-2ec69960969799e30a7b287f02c1e3bb252b3254.tar.gz
otp-2ec69960969799e30a7b287f02c1e3bb252b3254.tar.bz2
otp-2ec69960969799e30a7b287f02c1e3bb252b3254.zip
SeqOf: Add more tricky SEQUENCE OF tests
Diffstat (limited to 'lib/asn1/test/testSeqOf.erl')
-rw-r--r--lib/asn1/test/testSeqOf.erl26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/asn1/test/testSeqOf.erl b/lib/asn1/test/testSeqOf.erl
index db537b1478..c50cc27f6f 100644
--- a/lib/asn1/test/testSeqOf.erl
+++ b/lib/asn1/test/testSeqOf.erl
@@ -83,6 +83,32 @@ main(_Rules) ->
roundtrip('Seq4', #'Seq4'{seq43=SeqIn3},
#'Seq4'{seq41=[],seq42=[],
seq43=SeqIn3}),
+
+ roundtrip('Seq5', {'Seq5',true,[],77}),
+ roundtrip('Seq5', {'Seq5',true,[""],77}),
+ roundtrip('Seq5', {'Seq5',true,["a"],77}),
+ roundtrip('Seq5', {'Seq5',true,["ab"],77}),
+ roundtrip('Seq5', {'Seq5',true,["abc"],77}),
+
+ roundtrip('Seq6', {'Seq6',[],[],101}),
+ roundtrip('Seq6', {'Seq6',[],[7],101}),
+ roundtrip('Seq6', {'Seq6',[],[1,7],101}),
+ roundtrip('Seq6', {'Seq6',[1],[],101}),
+ roundtrip('Seq6', {'Seq6',[2],[7],101}),
+ roundtrip('Seq6', {'Seq6',[3],[1,7],101}),
+
+ roundtrip('Seq8', {'Seq8',[],37}),
+
+ roundtrip('Seq9', {'Seq9',true,[],97}),
+ roundtrip('Seq9', {'Seq9',true,[""],97}),
+ roundtrip('Seq9', {'Seq9',true,["x"],97}),
+ roundtrip('Seq9', {'Seq9',true,["xy"],97}),
+ roundtrip('Seq9', {'Seq9',true,["xyz"],97}),
+
+ roundtrip('Seq10', {'Seq10',true,[""],97}),
+ roundtrip('Seq10', {'Seq10',true,["a"],97}),
+ roundtrip('Seq10', {'Seq10',true,["a","b"],97}),
+ roundtrip('Seq10', {'Seq10',true,["a","b","c"],97}),
roundtrip('SeqEmp', #'SeqEmp'{seq1=[#'Empty'{}]}),