aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_bin_v2_SUITE_data/BitStr.py
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2010-08-27 11:45:30 +0200
committerErlang/OTP <[email protected]>2010-08-27 11:45:30 +0200
commit4a54b4ac3d9324e760c2839d5a224a461fd3f970 (patch)
tree7427fcfde941f50b7f1cf14454dbcd1a1001230d /lib/asn1/test/asn1_bin_v2_SUITE_data/BitStr.py
parent087b863947f6689ea9d47300b24528015e579dc0 (diff)
parent57f41f6da3945547436e32ef22765add14902d03 (diff)
downloadotp-4a54b4ac3d9324e760c2839d5a224a461fd3f970.tar.gz
otp-4a54b4ac3d9324e760c2839d5a224a461fd3f970.tar.bz2
otp-4a54b4ac3d9324e760c2839d5a224a461fd3f970.zip
Merge branch 'bjorn/asn1/eliminate-duplicate-data-dir' of ../bjorn_otp into HEAD
* 'bjorn/asn1/eliminate-duplicate-data-dir' of ../bjorn_otp: asn1 tests: Remove duplicated SUITE data directories
Diffstat (limited to 'lib/asn1/test/asn1_bin_v2_SUITE_data/BitStr.py')
-rw-r--r--lib/asn1/test/asn1_bin_v2_SUITE_data/BitStr.py56
1 files changed, 0 insertions, 56 deletions
diff --git a/lib/asn1/test/asn1_bin_v2_SUITE_data/BitStr.py b/lib/asn1/test/asn1_bin_v2_SUITE_data/BitStr.py
deleted file mode 100644
index 1d5bc21fda..0000000000
--- a/lib/asn1/test/asn1_bin_v2_SUITE_data/BitStr.py
+++ /dev/null
@@ -1,56 +0,0 @@
-BitStr DEFINITIONS ::=
-BEGIN
-
--- F.2.5.1
--- Use a bit string type to model binary data whose format and
--- length are unspecified,
--- or specified elsewhere, and whose length in bits is not necessarily
--- a multiple of eight.
--- EXAMPLE
-
-G3FacsimilePage ::= BIT STRING
--- a sequence of bits conforming to Recommendation T.4.
-
-image G3FacsimilePage ::= '100110100100001110110'B
-trailer BIT STRING ::= '0123456789ABCDEF'H
-body1 G3FacsimilePage ::= '1101'B
-body2 G3FacsimilePage ::= '1101000'B
-
--- F.2.5.2
--- Use a bit string type with a size constraint to model the
--- values of a fixed sized bit field.
--- EXAMPLE
-
-BitField ::= BIT STRING (SIZE (12))
-map1 BitField ::= '100110100100'B
-map2 BitField ::= '9A4'H
-map3 BitField ::= '1001101001'B -- Illegal - violates size constraint
-
--- F.2.5.3
--- Use a bit string type to model the values of a bit map, an
--- ordered collection of logical variables
--- indicating whether a particular condition holds for each of a
--- correspondingly ordered collection of objects.
-
-DaysOfTheWeek ::= BIT STRING {
- sunday(0), monday (1), tuesday(2),
- wednesday(3), thursday(4), friday(5),
- saturday(6) } (SIZE (0..7))
-
-sunnyDaysLastWeek1 DaysOfTheWeek ::= {sunday, monday, wednesday}
-sunnyDaysLastWeek2 DaysOfTheWeek ::= '1101'B
-sunnyDaysLastWeek3 DaysOfTheWeek ::= '1101000'B
-sunnyDaysLastWeek4 DaysOfTheWeek ::= '11010000'B -- Illegal - violates size constraint
-
--- F.2.5.5
--- Use a bit string type with named bits to model the values of a
--- collection of related logical variables.
--- EXAMPLE
-
-PersonalStatus ::= BIT STRING
- {married(0), employed(1), veteran(2), collegeGraduate(3)}
-
-billClinton PersonalStatus ::= {married, employed, collegeGraduate}
-hillaryClinton PersonalStatus ::= '110100'B
-
-END