git.samba.org
/
third_party
/
asn1ate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1ba032e
)
Tests for OCTET STRING values.
author
Kim Grasman
<kim.grasman@gmail.com>
Sat, 26 Jul 2014 19:28:26 +0000
(21:28 +0200)
committer
Kim Grasman
<kim.grasman@gmail.com>
Sat, 26 Jul 2014 19:28:26 +0000
(21:28 +0200)
testdata/builtin_values.asn
patch
|
blob
|
history
diff --git
a/testdata/builtin_values.asn
b/testdata/builtin_values.asn
index d712e746b780af6d3d364f3cdedbdef8f7d233df..3d0489413c3185d577dd6001bd38afcbaa81554e 100644
(file)
--- a/
testdata/builtin_values.asn
+++ b/
testdata/builtin_values.asn
@@
-4,8
+4,13
@@
BEGIN
trueVal BOOLEAN ::= TRUE
falseVal BOOLEAN ::= FALSE
+ -- REAL values
realVal REAL ::= 3.14
intRealVal REAL ::= 6
expVal REAL ::= 2.73E12
intExpVal REAL ::= 4E9
+
+ -- OCTET STRING values, both binary and hex.
+ hexoct OCTET STRING ::= '0123ABCD'H
+ binoct OCTET STRING ::= '01010101'B
END