Skip to content
Snippets Groups Projects
Commit b656f1a3 authored by Lev Walkin's avatar Lev Walkin
Browse files

added tests for parametrization

parent 51091588
No related branches found
No related tags found
No related merge requests found
-- OK: Everything is fine
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .58
ModuleTestParam
{ iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 58 }
DEFINITIONS ::=
BEGIN
DirectoryString { INTEGER:maxSize } ::= CHOICE {
teletexString TeletexString (SIZE(1..maxSize)),
utf8String UTF8String (SIZE(1..maxSize))
}
DS1 ::= DirectoryString { ub-name }
ub-name INTEGER ::= 128
END
ModuleTestParam {iso org(3) dod(6) internet(1) private(4)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
58 }
DEFINITIONS ::=
BEGIN
DirectoryString{INTEGER:maxSize} ::= CHOICE {
teletexString TeletexString (SIZE(1..maxSize)),
utf8String UTF8String (SIZE(1..maxSize))
}
DS1 ::= CHOICE {
teletexString TeletexString (SIZE(1..128)),
utf8String UTF8String (SIZE(1..128))
}
ub-name INTEGER ::= 128
END
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment