diff options
author | Björn Gustavsson <[email protected]> | 2013-03-05 06:26:56 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-05-31 14:52:18 +0200 |
commit | 09d41209d62b9c8010827cbbb7b7046460b90090 (patch) | |
tree | 3cbcfe6ae673e504e4372039f322aded4992448f /lib/asn1/test/asn1_SUITE.erl | |
parent | 6ec2f04e936bf8991cd398a8ae5c2f6f325a8122 (diff) | |
download | otp-09d41209d62b9c8010827cbbb7b7046460b90090.tar.gz otp-09d41209d62b9c8010827cbbb7b7046460b90090.tar.bz2 otp-09d41209d62b9c8010827cbbb7b7046460b90090.zip |
testExtensionAddtionGroup/1: Clean up and enhance
For the example from X.691, make sure to test that our encoded
value is the same as given in X.691.
Run the test for BER, too.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r-- | lib/asn1/test/asn1_SUITE.erl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl index 0c5ba43a5f..242456a4cf 100644 --- a/lib/asn1/test/asn1_SUITE.erl +++ b/lib/asn1/test/asn1_SUITE.erl @@ -1076,17 +1076,14 @@ ticket_6143(Config) -> ok = test_compile_options:ticket_6143(Config). testExtensionAdditionGroup(Config) -> - %% FIXME problems with automatic tags [ber_bin], [ber_bin, optimize] - test(Config, fun testExtensionAdditionGroup/3, [per, uper]). + test(Config, fun testExtensionAdditionGroup/3). testExtensionAdditionGroup(Config, Rule, Opts) -> asn1_test_lib:compile("Extension-Addition-Group", Config, [Rule|Opts]), asn1_test_lib:compile_erlang("extensionAdditionGroup", Config, [debug_info]), - extensionAdditionGroup:run([Rule|Opts]), - extensionAdditionGroup:run2([Rule|Opts]), - extensionAdditionGroup:run3(), - asn1_test_lib:compile("EUTRA-RRC-Definitions", Config, [Rule, {record_name_prefix, "RRC-"}|Opts]), - extensionAdditionGroup:run3([Rule|Opts]). + asn1_test_lib:compile("EUTRA-RRC-Definitions", Config, + [Rule,{record_name_prefix,"RRC-"}|Opts]), + extensionAdditionGroup:run(Rule). % parse_modules() -> % ["ImportsFrom"]. |