diff options
author | Lev Walkin <vlm@lionet.info> | 2005-03-18 04:22:14 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-03-18 04:22:14 +0000 |
commit | 9871a29be2decfddeb1dfe33be276013aa2b1c90 (patch) | |
tree | 71fdbb9acddcc0b7fd9ae0d85568ca90d3adc88f /tests | |
parent | d6db8028e73be25e7fb684e1d3060c3fdf1ec011 (diff) |
more tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/08-int-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/09-int-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/11-int-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/12-int-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/36-indirect-choice-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/40-int-optional-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/45-undefined-type-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/51-constraint-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/52-constraint-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/53-constraint-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/54-constraint-SE.asn1 | 2 | ||||
-rw-r--r-- | tests/71-duplicate-types-SE.asn1 | 5 | ||||
-rw-r--r-- | tests/75-duplicate-modules-SE.asn1 | 23 | ||||
-rw-r--r-- | tests/76-duplicate-modules-SW.asn1 | 23 | ||||
-rw-r--r-- | tests/README | 1 |
15 files changed, 61 insertions, 13 deletions
diff --git a/tests/08-int-SE.asn1 b/tests/08-int-SE.asn1 index 8ff97fdf..64c1dc04 100644 --- a/tests/08-int-SE.asn1 +++ b/tests/08-int-SE.asn1 @@ -1,5 +1,5 @@ --- OK: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/09-int-SE.asn1 b/tests/09-int-SE.asn1 index c696e19e..1eda7670 100644 --- a/tests/09-int-SE.asn1 +++ b/tests/09-int-SE.asn1 @@ -1,5 +1,5 @@ --- OK: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/11-int-SE.asn1 b/tests/11-int-SE.asn1 index 57978d7d..e140701d 100644 --- a/tests/11-int-SE.asn1 +++ b/tests/11-int-SE.asn1 @@ -1,5 +1,5 @@ --- OK: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/12-int-SE.asn1 b/tests/12-int-SE.asn1 index 90939b62..92ab3584 100644 --- a/tests/12-int-SE.asn1 +++ b/tests/12-int-SE.asn1 @@ -1,5 +1,5 @@ --- OK: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/36-indirect-choice-SE.asn1 b/tests/36-indirect-choice-SE.asn1 index 8fcb07b6..90155c70 100644 --- a/tests/36-indirect-choice-SE.asn1 +++ b/tests/36-indirect-choice-SE.asn1 @@ -1,5 +1,5 @@ --- SE: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/40-int-optional-SE.asn1 b/tests/40-int-optional-SE.asn1 index abe10659..fbcb0a5f 100644 --- a/tests/40-int-optional-SE.asn1 +++ b/tests/40-int-optional-SE.asn1 @@ -1,5 +1,5 @@ --- OK: Everything is fine +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/45-undefined-type-SE.asn1 b/tests/45-undefined-type-SE.asn1 index 0450e877..a068b5cb 100644 --- a/tests/45-undefined-type-SE.asn1 +++ b/tests/45-undefined-type-SE.asn1 @@ -1,5 +1,5 @@ --- OK: Everything is fine +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/51-constraint-SE.asn1 b/tests/51-constraint-SE.asn1 index d26a9bc8..05df97b3 100644 --- a/tests/51-constraint-SE.asn1 +++ b/tests/51-constraint-SE.asn1 @@ -1,5 +1,5 @@ --- SE: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/52-constraint-SE.asn1 b/tests/52-constraint-SE.asn1 index c14c3af0..03452715 100644 --- a/tests/52-constraint-SE.asn1 +++ b/tests/52-constraint-SE.asn1 @@ -1,5 +1,5 @@ --- SE: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/53-constraint-SE.asn1 b/tests/53-constraint-SE.asn1 index 30f34f74..f043938b 100644 --- a/tests/53-constraint-SE.asn1 +++ b/tests/53-constraint-SE.asn1 @@ -1,5 +1,5 @@ --- SE: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/54-constraint-SE.asn1 b/tests/54-constraint-SE.asn1 index f732736a..e481fb08 100644 --- a/tests/54-constraint-SE.asn1 +++ b/tests/54-constraint-SE.asn1 @@ -1,5 +1,5 @@ --- SE: Semantic Error +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) diff --git a/tests/71-duplicate-types-SE.asn1 b/tests/71-duplicate-types-SE.asn1 index 305e18bb..64d340e2 100644 --- a/tests/71-duplicate-types-SE.asn1 +++ b/tests/71-duplicate-types-SE.asn1 @@ -1,9 +1,10 @@ --- OK: Everything is fine +-- SE: Semantic error -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) -- .spelio.software.asn1c.test (9363.1.5.1) --- .71 +-- .71 1 +-- .71 2 ModuleDuplicateTypes1 { iso org(3) dod(6) internet(1) private(4) enterprise(1) diff --git a/tests/75-duplicate-modules-SE.asn1 b/tests/75-duplicate-modules-SE.asn1 new file mode 100644 index 00000000..a17189fb --- /dev/null +++ b/tests/75-duplicate-modules-SE.asn1 @@ -0,0 +1,23 @@ + +-- SE: Semantic error + +-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) +-- .spelio.software.asn1c.test (9363.1.5.1) +-- .75 1 +-- .75 1 + +ModuleDuplicateModuleName + { iso org(3) dod(6) internet(1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 75 1 } + DEFINITIONS ::= +BEGIN + +END + +ModuleDuplicateModuleName + { iso org(3) dod(6) internet(1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 75 1 } + DEFINITIONS ::= +BEGIN + +END diff --git a/tests/76-duplicate-modules-SW.asn1 b/tests/76-duplicate-modules-SW.asn1 new file mode 100644 index 00000000..d7d254bf --- /dev/null +++ b/tests/76-duplicate-modules-SW.asn1 @@ -0,0 +1,23 @@ + +-- SW: Semantically suspicious + +-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) +-- .spelio.software.asn1c.test (9363.1.5.1) +-- .76 1 +-- .76 2 + +ModuleDuplicateModuleName + { iso org(3) dod(6) internet(1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 76 1 } + DEFINITIONS ::= +BEGIN + +END + +ModuleDuplicateModuleName + { iso org(3) dod(6) internet(1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 76 2 } + DEFINITIONS ::= +BEGIN + +END diff --git a/tests/README b/tests/README index 3fa9a253..5d1212e3 100644 --- a/tests/README +++ b/tests/README @@ -16,6 +16,7 @@ Where <arbitrary-name> is arbitrary string, without dots OK file syntax and semantics are absolutely correct SE file semantics is wrong + SW file semantics is suspicious (warning) NP file syntax is incorrect, file not parseable <compiler-flags> command-line flags for compiler |