Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
2d6b8c01
Commit
2d6b8c01
authored
May 08, 2017
by
Bi-Ruei, Chiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more test result for check-parsing.sh
parent
80fd3065
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
0 deletions
+71
-0
tests/100-class-ref-OK.asn1.-EF
tests/100-class-ref-OK.asn1.-EF
+15
-0
tests/102-class-ref-SE.asn1.-EF
tests/102-class-ref-SE.asn1.-EF
+0
-0
tests/18-class-OK.asn1.-EF
tests/18-class-OK.asn1.-EF
+28
-0
tests/98-attribute-class-OK.asn1.-EF
tests/98-attribute-class-OK.asn1.-EF
+28
-0
No files found.
tests/100-class-ref-OK.asn1.-EF
0 → 100644
View file @
2d6b8c01
ModuleClassSample { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 100 }
DEFINITIONS ::=
BEGIN
REF-ID ::= TYPE-IDENTIFIER
RefID ::= SEQUENCE {
field REF-ID.&id,
params REF-ID.&Type
}
SupportedReferences REF-ID ::= {...}
END
tests/102-class-ref-SE.asn1.-EF
0 → 100644
View file @
2d6b8c01
tests/18-class-OK.asn1.-EF
0 → 100644
View file @
2d6b8c01
ModuleTestClass { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 18 }
DEFINITIONS ::=
BEGIN
AlphaNumeric ::= IA5String (FROM("A".."Z" | "a".."z" | "0".."9"))
FUNCTION ::= CLASS {
&code INTEGER (0..MAX) UNIQUE,
&Alphabet IA5String DEFAULT {AlphaNumeric},
&ArgType ,
&SupportedArguments &ArgType OPTIONAL,
&ResultType DEFAULT NULL,
&result-if-error &ResultType DEFAULT NULL,
&associated-function FUNCTION OPTIONAL
}
operator-plus FUNCTION ::= {
&ArgType Pair,
&SupportedArguments { PosPair | NegPair }
&ResultType INTEGER,
&result-if-error 0,
&code 1
}
FunctionCodeType ::= FUNCTION.&code
END
tests/98-attribute-class-OK.asn1.-EF
0 → 100644
View file @
2d6b8c01
ModuleAttributeClass { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 98 }
DEFINITIONS ::=
BEGIN
ATTRIBUTE ::= CLASS {
&id RELATIVE-OID UNIQUE
} WITH SYNTAX { ID &id }
Attribute ::= SEQUENCE {
identifier ATTRIBUTE.&id ({Attributes}),
siAttributeValue IA5String
}
Attributes ATTRIBUTE ::= {Names}
Names ATTRIBUTE ::= {{ ID raf } | { ID rcf }}
rafService ATTRIBUTE ::= { ID raf }
rcfService ATTRIBUTE ::= { ID rcf }
raf RELATIVE-OID ::= {3 2 1}
rcf RELATIVE-OID ::= {3 2 2}
END
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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