aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Prim.asn1
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-04-16 08:47:54 +0200
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:23 +0200
commite0a1be73c126998b37ca42bbdc1da3d40bef3723 (patch)
tree88bed28de8d7ba8a830a92d884933dc045faec7d /lib/asn1/test/asn1_SUITE_data/Prim.asn1
parente3d18eb865c7bcba21836837b1c4c415e7c857e8 (diff)
downloadotp-e0a1be73c126998b37ca42bbdc1da3d40bef3723.tar.gz
otp-e0a1be73c126998b37ca42bbdc1da3d40bef3723.tar.bz2
otp-e0a1be73c126998b37ca42bbdc1da3d40bef3723.zip
testPrim: Simplify test cases using a roundtrip function
While at it, also test more integer values.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Prim.asn1')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/Prim.asn112
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Prim.asn1 b/lib/asn1/test/asn1_SUITE_data/Prim.asn1
index c3d54dbbb3..cc0e61422a 100644
--- a/lib/asn1/test/asn1_SUITE_data/Prim.asn1
+++ b/lib/asn1/test/asn1_SUITE_data/Prim.asn1
@@ -47,5 +47,15 @@ BEGIN
b Bool,
i4 INTEGER (0..63)
}
-
+
+ ASeq ::= SEQUENCE {
+ e254 BOOLEAN,
+ i254 INTEGER (0..254),
+ e255 BOOLEAN,
+ i255 INTEGER (0..255),
+ e256 BOOLEAN,
+ i256 INTEGER (0..256),
+ e BOOLEAN,
+ magic INTEGER
+ }
END