aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-10 07:32:50 +0200
committerBjörn Gustavsson <[email protected]>2013-09-18 10:22:31 +0200
commit85354c27e11e109efb94bd4f867831a295c1a1cf (patch)
tree7c3e4d2b1bc5389935a8d11916115f679979a2a9 /lib/asn1/test/asn1_SUITE_data
parent49fbd0c946d7846b981e025b96a25e78c7764853 (diff)
downloadotp-85354c27e11e109efb94bd4f867831a295c1a1cf.tar.gz
otp-85354c27e11e109efb94bd4f867831a295c1a1cf.tar.bz2
otp-85354c27e11e109efb94bd4f867831a295c1a1cf.zip
Move out specific tests from asn1_test_lib
asn1_test_lib is supposed to be a general-purpose helper module for test cases. Move all specific test cases into asn1_SUITE.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/UPERDefault.asn18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/UPERDefault.asn b/lib/asn1/test/asn1_SUITE_data/UPERDefault.asn
new file mode 100644
index 0000000000..7b81a0e09f
--- /dev/null
+++ b/lib/asn1/test/asn1_SUITE_data/UPERDefault.asn
@@ -0,0 +1,18 @@
+UPERDefault DEFINITIONS AUTOMATIC TAGS ::=
+
+BEGIN
+
+-- OTP-7681
+Int ::= INTEGER (0..32767)
+
+Seq ::= SEQUENCE {
+ a Int,
+ b INTEGER (-27..27) DEFAULT 0, -- OTP-7678
+ c INTEGER OPTIONAL
+}
+
+seq Seq ::=
+{a 12,
+ b 0}
+
+END \ No newline at end of file