diff options
author | Gustav Simonsson <[email protected]> | 2012-08-15 18:05:09 +0200 |
---|---|---|
committer | Gustav Simonsson <[email protected]> | 2012-08-15 18:05:09 +0200 |
commit | e9e2383b18db83f796196ec8a4806ba49316e92d (patch) | |
tree | 81252f4f2874b2f443ba31ce4d902f82c22db463 /lib/asn1/test/asn1_SUITE_data/Constraints.py | |
parent | e7b55dfb9752a2282894b378f5a116cfe48a2405 (diff) | |
parent | f3c830eddc68d7269d4f48b13ddae40893929573 (diff) | |
download | otp-e9e2383b18db83f796196ec8a4806ba49316e92d.tar.gz otp-e9e2383b18db83f796196ec8a4806ba49316e92d.tar.bz2 otp-e9e2383b18db83f796196ec8a4806ba49316e92d.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Constraints.py')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/Constraints.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Constraints.py b/lib/asn1/test/asn1_SUITE_data/Constraints.py index de48c4c2ca..87243121f7 100644 --- a/lib/asn1/test/asn1_SUITE_data/Constraints.py +++ b/lib/asn1/test/asn1_SUITE_data/Constraints.py @@ -4,9 +4,14 @@ BEGIN -- Single Value SingleValue ::= INTEGER (1) SingleValue2 ::= INTEGER (1..20) +predefined INTEGER ::= 1 +SingleValue3 ::= INTEGER (predefined | 5 | 10) Range2to19 ::= INTEGER (1<..<20) Range10to20 ::= INTEGER (10..20) ContainedSubtype ::= INTEGER (INCLUDES Range10to20) +-- Some ranges for additional constrained number testing. +LongLong ::= INTEGER (0..18446744073709551615) +Range256to65536 ::= INTEGER (256..65536) FixedSize ::= OCTET STRING (SIZE(10)) FixedSize2 ::= OCTET STRING (SIZE(10|20)) VariableSize ::= OCTET STRING (SIZE(1..10)) |