mirror of https://gerrit.osmocom.org/asn1c
added tests for parametrization
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@263 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
2a7c1b303e
commit
2d75d9e585
|
@ -0,0 +1,23 @@
|
|||
|
||||
-- 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
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
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
|
Loading…
Reference in New Issue