diff options
author | Björn Gustavsson <[email protected]> | 2014-04-29 07:38:09 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-06-05 13:46:27 +0200 |
commit | 4e52582561f16a8c4ccd131f3421003714ccfebd (patch) | |
tree | 4a53a189d459235153a1dc172866ec119e2fe24c /lib/asn1/test/asn1_SUITE_data/Default.asn | |
parent | 739ad067cf8775558fade616353f44d49a13a487 (diff) | |
download | otp-4e52582561f16a8c4ccd131f3421003714ccfebd.tar.gz otp-4e52582561f16a8c4ccd131f3421003714ccfebd.tar.bz2 otp-4e52582561f16a8c4ccd131f3421003714ccfebd.zip |
Improve tests of DEFAULT values
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Default.asn')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/Default.asn | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Default.asn b/lib/asn1/test/asn1_SUITE_data/Default.asn index 168ce50bb2..b91660381a 100644 --- a/lib/asn1/test/asn1_SUITE_data/Default.asn +++ b/lib/asn1/test/asn1_SUITE_data/Default.asn @@ -25,6 +25,10 @@ SeqBS ::= SEQUENCE { e BIT STRING DEFAULT '01011010'B } +SeqBS2 ::= SEQUENCE { + bs BIT STRING {a(0), z(25)} DEFAULT '101'B +} + SetBS ::= SET { a BIT STRING DEFAULT '1010110'B, b BIT STRING DEFAULT 'A8A'H, @@ -156,4 +160,23 @@ four INTEGER ::= 4 cr IA5String ::= {0,13} +SeqNamedInts ::= SEQUENCE { + i1 INTEGER {first(0), last(31)} DEFAULT 15, + i2 INTEGER {first(0), last(31)} DEFAULT 31 +} + +S5 ::= SEQUENCE { + s3 S3 DEFAULT {}, + so SEQUENCE OF OBJECT IDENTIFIER DEFAULT { + {itu-t question 999}, + {itu-t question 555} + }, + soe SEQUENCE OF OBJECT IDENTIFIER DEFAULT { } +} + +SOI ::= SEQUENCE { + soi SEQUENCE OF OBJECT IDENTIFIER + DEFAULT { {iso member-body f(250) 9 55}, {iso member-body f(250) 3 4} } +} + END |