asn1c/tests
vlm b9cdbb1be3 test whether bit string values are identifiers
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1143 59561ff5-6e30-0410-9f3c-9617f08c8826
2006-08-28 02:12:49 +00:00
..
00-empty-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
01-empty-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
02-garbage-NP.asn1 Initial revision 2004-06-03 03:38:44 +00:00
03-enum-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
04-enum-SE.asn1 Initial revision 2004-06-03 03:38:44 +00:00
04-enum-SE.asn1.-E better OID printing 2005-03-18 03:53:05 +00:00
05-enum-SE.asn1 Initial revision 2004-06-03 03:38:44 +00:00
06-enum-SE.asn1 Initial revision 2004-06-03 03:38:44 +00:00
07-int-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
07-int-OK.asn1.-EF object set 2006-03-21 07:54:45 +00:00
08-int-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
09-int-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
10-int-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
11-int-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
12-int-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
13-resolver-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
14-resolver-OK.asn1 check recursive resolver 2004-09-15 11:53:04 +00:00
14-resolver-OK.asn1.-EF better wrapping 2005-03-28 17:52:43 +00:00
15-resolver-SE.asn1 Initial revision 2004-06-03 03:38:44 +00:00
16-constraint-OK.asn1 modules split 2005-03-20 13:12:58 +00:00
16-constraint-OK.asn1.-EF modules split 2005-03-20 13:12:58 +00:00
16-constraint-OK.asn1.-EFprint-constraints modules split 2005-03-20 13:12:58 +00:00
17-tags-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
18-class-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
19-param-OK.asn1 support for constraints 2004-09-05 10:37:18 +00:00
19-param-OK.asn1.-EF refactored parameterization support 2006-03-21 03:40:38 +00:00
19-param-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
20-constr-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
20-constr-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
21-tags-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
21-tags-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
22-tags-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
22-tags-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
23-bits-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
23-bits-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
24-sequence-OK.asn1 check DEFAULT resolver 2004-09-15 11:53:22 +00:00
24-sequence-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
25-misc-OK.asn1 inner structures tagging fix. see 0.9.5 comment in ChangeLog 2004-09-13 08:31:01 +00:00
26-sequence-SE.asn1 Initial revision 2004-06-03 03:38:44 +00:00
27-set-SE.asn1 Initial revision 2004-06-03 03:38:44 +00:00
28-tags-SE.asn1 Initial revision 2004-06-03 03:38:44 +00:00
29-tags-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
30-set-OK.asn1 CANONICAL-XER testing 2004-10-03 09:14:49 +00:00
30-set-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
31-set-of-OK.asn1 *** empty log message *** 2005-11-27 12:54:20 +00:00
31-set-of-OK.asn1.-EF *** empty log message *** 2005-11-27 12:54:20 +00:00
31-set-of-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
32-sequence-of-OK.asn1 testing optional component of a sequence 2006-06-17 03:30:43 +00:00
32-sequence-of-OK.asn1.-EF *** empty log message *** 2006-07-13 11:19:01 +00:00
32-sequence-of-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
33-misc-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
34-class-OK.asn1 parsing WITH SYNTAX clauses 2006-03-16 10:03:35 +00:00
34-class-OK.asn1.-EF parsing WITH SYNTAX clauses 2006-03-16 10:03:35 +00:00
34-class-OK.asn1.-EFprint-class-matrix parsing WITH SYNTAX clauses 2006-03-16 10:03:35 +00:00
35-set-choice-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
36-indirect-choice-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
37-indirect-choice-OK.asn1 check distinct tags fixer 2004-09-15 11:53:38 +00:00
37-indirect-choice-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
38-comments-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
39-sequence-of-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
39-sequence-of-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
40-int-optional-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
41-int-optional-OK.asn1 Initial revision 2004-06-03 03:38:44 +00:00
42-real-life-OK.asn1 new meaning of life 2004-08-20 13:36:32 +00:00
42-real-life-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
42-real-life-OK.asn1.-PR per support 2006-08-18 01:46:46 +00:00
43-recursion-OK.asn1 added cross-referenced types 2004-09-29 13:19:12 +00:00
43-recursion-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
44-choice-in-sequence-OK.asn1 complex optionals, requires tag2map implementation for SEQUENCE 2004-06-06 07:21:11 +00:00
44-choice-in-sequence-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
45-undefined-type-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
45-undefined-type-SE.asn1.-EFfknown-extern-type=KnownExt better OID printing 2005-03-18 03:53:05 +00:00
46-redefine-OK.asn1 right name 2004-07-01 00:49:49 +00:00
46-redefine-OK.asn1.-PR per support 2006-08-18 01:46:46 +00:00
47-set-ext-OK.asn1 extensibility check 2004-07-01 00:52:50 +00:00
47-set-ext-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
48-real-life-OK.asn1 invalid memory reference fix and test case 2004-07-21 03:55:44 +00:00
49-real-life-OK.asn1 multiple IMPORTS fix check 2004-08-13 12:37:32 +00:00
49-real-life-OK.asn1.-E better OID printing 2005-03-18 03:53:05 +00:00
50-constraint-OK.asn1 upgrade: PER related changes 2005-11-26 11:25:14 +00:00
50-constraint-OK.asn1.-EFprint-constraints upgrade: PER related changes 2005-11-26 11:25:14 +00:00
50-constraint-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
50-constraint-OK.asn1.-Pgen-PER per support 2006-08-18 01:46:46 +00:00
51-constraint-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
52-constraint-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
53-constraint-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
54-constraint-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
55-components-of-OK.asn1 COMPONENTS OF support testing 2004-08-22 03:06:30 +00:00
55-components-of-OK.asn1.-EF tagging mode is implicit if automatic tags environment is used 2005-07-21 01:18:19 +00:00
56-components-of-SE.asn1 COMPONENTS OF support testing 2004-08-22 03:06:30 +00:00
57-components-of-OK.asn1 COMPONENTS OF support testing 2004-08-22 03:06:30 +00:00
58-param-OK.asn1 added tests for parametrization 2004-09-05 10:44:13 +00:00
58-param-OK.asn1.-EF refactored parameterization support 2006-03-21 03:40:38 +00:00
59-choice-extended-OK.asn1 added CHOICE tag 2005-01-17 12:17:41 +00:00
59-choice-extended-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
60-any-OK.asn1 omitting the empty map 2005-05-27 21:58:41 +00:00
60-any-OK.asn1.-EF omitting the empty map 2005-05-27 21:58:41 +00:00
60-any-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
61-any-1-SE.asn1 tests for ANY type 2004-09-05 10:44:23 +00:00
62-any-OK.asn1 choice tagging fix 2005-01-17 12:27:41 +00:00
62-any-OK.asn1.-EF better OID printing 2005-03-18 03:53:05 +00:00
63-any-2-SE.asn1 tests for ANY type 2004-09-05 10:44:23 +00:00
64-oid-constr-OK.asn1 test OBJECT IDENTIFIER reference to itself 2004-09-06 08:05:23 +00:00
65-multi-tag-OK.asn1 test for REAL support 2004-09-14 12:46:58 +00:00
65-multi-tag-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
65-multi-tag-OK.asn1.-Pfnative-types per support 2006-08-18 01:46:46 +00:00
66-ref-simple-OK.asn1 XER support 2004-09-22 16:06:28 +00:00
66-ref-simple-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
67-embedded-choice-OK.asn1 automatic tagging test 2004-10-14 05:08:50 +00:00
68-enum-default-OK.asn1 removed order dependency in DEFAULT references 2004-10-31 00:11:50 +00:00
69-reserved-words-OK.asn1 new functionality 2005-01-30 18:34:07 +00:00
69-reserved-words-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
70-xer-test-OK.asn1 new test for Choice 2005-11-07 15:26:47 +00:00
70-xer-test-OK.asn1.-EF new test for Choice 2005-11-07 15:26:47 +00:00
70-xer-test-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
71-duplicate-types-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
72-same-names-OK.asn1 test for successful compilation 2005-03-04 09:10:19 +00:00
72-same-names-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
73-circular-OK.asn1 fixed name clash in constraint checking code; also changed braces to double quote in #includes 2005-03-06 09:29:03 +00:00
73-circular-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
74-int-enum-constraints-OK.asn1 test for constraints on primitive types being defined 2005-03-10 11:30:23 +00:00
74-int-enum-constraints-OK.asn1.-EFprint-constraints better wrapping 2005-03-28 17:52:43 +00:00
75-duplicate-modules-SE.asn1 more tests 2005-03-18 04:22:14 +00:00
76-duplicate-modules-SW.asn1 more tests 2005-03-18 04:22:14 +00:00
77-str-default-OK.asn1 module name 2005-03-20 11:16:20 +00:00
78-str-default-SE.asn1 module name 2005-03-20 11:16:20 +00:00
79-constrained-by-OK.asn1 parsing support for CONSTRAINED BY 2005-03-20 14:28:32 +00:00
79-constrained-by-OK.asn1.-EF better wrapping 2005-03-28 17:52:43 +00:00
80-chardefs-OK.asn1 Support for some CharsDefn 2005-03-24 14:26:38 +00:00
81-type-default-OK.asn1 complex DEFAULT 2005-03-24 16:24:47 +00:00
82-with-comps-OK.asn1 tests 2005-03-28 15:01:58 +00:00
82-with-comps-OK.asn1.-EF better wrapping 2005-03-28 17:52:43 +00:00
83-with-comps-OK.asn1 some problem 2005-04-13 12:29:49 +00:00
84-param-tags-OK.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
84-param-tags-OK.asn1.-EF some more parameterization 2006-03-21 07:25:18 +00:00
84-param-tags-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
85-comments-OK.asn1 more heuristics testing 2005-07-04 02:03:57 +00:00
86-atags-OK.asn1 tagging mode is implicit if automatic tags environment is used 2005-07-21 01:18:19 +00:00
86-atags-OK.asn1.-EF tagging mode is implicit if automatic tags environment is used 2005-07-21 01:18:19 +00:00
87-old-syntax-OK.asn1 groking obsolete syntax 2005-08-13 09:07:11 +00:00
88-integer-enum-OK.asn1 generating enumeration tables for INTEGER types 2005-08-13 23:30:24 +00:00
88-integer-enum-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
89-bit-string-enum-OK.asn1 PER visible constraints are used to select the native representation for INTEGER types 2005-08-14 02:18:27 +00:00
89-bit-string-enum-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
89-bit-string-enum-OK.asn1.-Pfcompound-names per support 2006-08-18 01:46:46 +00:00
90-cond-int-type-OK.asn1 real range 2005-08-27 03:13:51 +00:00
90-cond-int-type-OK.asn1.-EFprint-constraints real range 2005-08-27 03:13:51 +00:00
90-cond-int-type-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
90-cond-int-type-OK.asn1.-Pfnative-types per support 2006-08-18 01:46:46 +00:00
90-cond-int-type-OK.asn1.-Pgen-PER per support 2006-08-18 01:46:46 +00:00
91-cond-int-blessSize-OK.asn1 extensions of conditional native-typing to -fbless-SIZE constraints 2005-08-14 14:45:44 +00:00
91-cond-int-blessSize-OK.asn1.-Pfbless-SIZE per support 2006-08-18 01:46:46 +00:00
92-circular-loops-OK.asn1 automatic dependency tracking 2005-08-18 13:38:19 +00:00
92-circular-loops-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
92-circular-loops-OK.asn1.-Pfindirect-choice per support 2006-08-18 01:46:46 +00:00
93-asn1c-controls-OK.asn1 compiler directives support; TMF 040-1 compatible 2005-09-05 05:17:57 +00:00
93-asn1c-controls-OK.asn1.-EF compiler directives support; TMF 040-1 compatible 2005-09-05 05:17:57 +00:00
93-asn1c-controls-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
94-set-optionals-OK.asn1 SET mandatory map generation 2005-10-05 08:59:03 +00:00
94-set-optionals-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
95-choice-per-order-OK.asn1 upgrade: PER related changes 2005-11-26 11:25:14 +00:00
95-choice-per-order-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
95-choice-per-order-OK.asn1.-Pgen-PER per support 2006-08-18 01:46:46 +00:00
96-type-identifier-OK.asn1 standard modules are being picked up 2006-03-06 14:51:00 +00:00
97-type-identifier-SW.asn1 no comment 2006-03-14 16:29:56 +00:00
97-type-identifier-SW.asn1.-EF no comment 2006-03-14 16:29:56 +00:00
98-attribute-class-OK.asn1 attribute class 2006-03-14 11:48:01 +00:00
98-attribute-class-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
99-class-sample-OK.asn1 object set 2006-03-21 07:54:45 +00:00
99-class-sample-OK.asn1.-EFprint-class-matrix object set 2006-03-21 07:54:45 +00:00
100-class-ref-OK.asn1 class dereference 2006-03-17 02:37:08 +00:00
101-class-ref-SE.asn1 class dereference 2006-03-17 02:37:08 +00:00
102-class-ref-SE.asn1 class dereference 2006-03-17 02:37:08 +00:00
103-reference-SE.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
104-param-1-OK.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
104-param-1-OK.asn1.-EFprint-class-matrix some more parameterization 2006-03-21 07:25:18 +00:00
104-param-1-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
105-param-2-OK.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
105-param-2-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
106-param-constr-OK.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
106-param-constr-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
107-param-constr-2-OK.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
108-param-constr-3-OK.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
108-param-constr-3-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
109-bit-string-SE.asn1 test whether bit string values are identifiers 2006-08-28 02:12:49 +00:00
110-param-3-OK.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
110-param-3-OK.asn1.-P per support 2006-08-18 01:46:46 +00:00
111-param-4-SE.asn1 some more parameterization 2006-03-21 07:25:18 +00:00
112-param-class-OK.asn1 ObjectSets 2006-03-21 09:41:28 +00:00
112-param-class-OK.asn1.-EF ObjectSets 2006-03-21 09:41:28 +00:00
Makefile.am Initial revision 2004-06-03 03:38:44 +00:00
Makefile.in automake-1.9 2006-08-18 01:54:27 +00:00
README more tests 2005-03-18 04:22:14 +00:00

README

This is a collection of various little ASN.1 modules, used independently
by several different testing engines below the main tree (i.e. libasn1fix)
for stressing various aspects of compiler operation.

The files follow certain naming conventions:

Source file:
	<Index>-<arbitrary-name>-{OK|SE|NP}.asn1

Regenerator test file:
	<Index>-<arbitrary-name>-{OK|SE|NP}.asn1.[<compiler-flags>]

Where
	<Index> is arbitrary number (digits)
	<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

Example:
	07-int-OK.asn1		# Correct ASN.1 file
	07-int-OK.asn1.-EF	# Test of file regeneration with -E -F flags.