aboutsummaryrefslogtreecommitdiffstats
path: root/tests/32-sequence-of-OK.asn1
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2006-06-17 03:30:43 +0000
committerLev Walkin <vlm@lionet.info>2006-06-17 03:30:43 +0000
commit650da77a4e5f1a2dbfb986a06ceeae93038e0352 (patch)
treee74a308c9763e860ace2111f4358337f4b2aa691 /tests/32-sequence-of-OK.asn1
parentc2c3492c86e9dfc59ac3f8671b32d9bbd9231868 (diff)
testing optional component of a sequence
Diffstat (limited to 'tests/32-sequence-of-OK.asn1')
-rw-r--r--tests/32-sequence-of-OK.asn110
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/32-sequence-of-OK.asn1 b/tests/32-sequence-of-OK.asn1
index 2b82127f..467e5bd1 100644
--- a/tests/32-sequence-of-OK.asn1
+++ b/tests/32-sequence-of-OK.asn1
@@ -21,4 +21,14 @@ BEGIN
maxSize INTEGER ::= 10
+ SeqWithMandatory ::= SEQUENCE {
+ someString UTF8String,
+ seqOfMan [0] EXPLICIT SEQUENCE OF Error
+ }
+
+ SeqWithOptional ::= SEQUENCE {
+ someString UTF8String,
+ seqOfOpt [0] EXPLICIT SEQUENCE OF Error OPTIONAL
+ }
+
END