Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
1c77933f
Commit
1c77933f
authored
Apr 21, 2016
by
Maxime Perrotin
Browse files
Update test case
parent
3af8fb58
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/regression/test-emptysequence/dataview.asn
View file @
1c77933f
...
...
@@ -3,6 +3,8 @@ BEGIN
EmptySeq ::= SEQUENCE {}
AnotherEmptySeq ::= SEQUENCE {}
NullType ::= NULL
ChoiceWithEmptySeq ::= CHOICE {
...
...
@@ -18,7 +20,10 @@ n1 NullType ::= NULL
c2 ChoiceWithEmptySeq ::= a: NULL
c3 ChoiceWithEmptySeq ::= b: {}
c4 ChoiceWithEmptySeq ::= c: NULL
c5 AnotherEmptySeq ::= {}
-- Type below is accepted by ASN.1 compiler but that's wrong
-- c6 ChoiceWithEmptySeq ::= b: c5
END
tests/regression/test-emptysequence/og.pr
View file @
1c77933f
...
...
@@ -30,15 +30,15 @@ dcl null1 NullType;
dcl choice1 ChoiceWithEmptySeq := a: n1;
/* CIF ENDTEXT */
/* CIF START (1
55
, 2
1
6), (70, 35) */
/* CIF START (1
60
, 2
2
6), (70, 35) */
START;
/* CIF TASK (13
2
, 2
6
6), (115, 35) */
/* CIF TASK (13
7
, 2
7
6), (115, 35) */
TASK empty1 := c1;
/* CIF TASK (1
18
, 3
1
6), (1
44
, 35) */
/* CIF TASK (1
30
, 3
2
6), (1
30
, 35) */
TASK choice1 := b: c1;
/* CIF TASK (14
1
, 3
6
6), (97, 35) */
/* CIF TASK (14
6
, 3
7
6), (97, 35) */
TASK null1 := n1;
/* CIF NEXTSTATE (1
55
, 4
1
6), (70, 35) */
/* CIF NEXTSTATE (1
60
, 4
2
6), (70, 35) */
NEXTSTATE wait;
/* CIF STATE (296, 231), (70, 35) */
STATE wait;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment