diff options
author | Björn Gustavsson <[email protected]> | 2013-09-05 06:31:20 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-09-18 10:22:30 +0200 |
commit | 2c59448f7e3726c241719b5952c1685cf6a6313a (patch) | |
tree | 84e9ac17a3a01b22fde3eb1dd56c84701d56c551 /lib/asn1/test/asn1_SUITE.erl | |
parent | e8c243e18b47914a76c888e2eb596678e2ae8c2d (diff) | |
download | otp-2c59448f7e3726c241719b5952c1685cf6a6313a.tar.gz otp-2c59448f7e3726c241719b5952c1685cf6a6313a.tar.bz2 otp-2c59448f7e3726c241719b5952c1685cf6a6313a.zip |
asn_SUITE: Fold per_GeneralString/1 into h323test
The per_GeneralString/1 test case compiles MULTIMEDIA-SYSTEM-CONTROL
and then does a single decoding. Save some compilation time by folding
the test into the h323test/1 test case.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r-- | lib/asn1/test/asn1_SUITE.erl | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl index 3ae3ba3c7e..3a591cdc56 100644 --- a/lib/asn1/test/asn1_SUITE.erl +++ b/lib/asn1/test/asn1_SUITE.erl @@ -86,8 +86,7 @@ groups() -> per, ber_other, der, - h323test, - per_GeneralString]}, + h323test]}, testChoPrim, testChoExtension, testChoOptional, @@ -760,14 +759,6 @@ h323test(Config, Rule, Opts) -> asn1_test_lib:compile_all(Files, Config, [Rule|Opts]), h323test:run(Rule). -per_GeneralString(Config) -> - test(Config, fun per_GeneralString/3, [per]). -per_GeneralString(Config, Rule, Opts) -> - asn1_test_lib:compile("MULTIMEDIA-SYSTEM-CONTROL", Config, [Rule|Opts]), - UI = [109, 64, 1, 57], - {ok, _V} = asn1_wrapper:decode('MULTIMEDIA-SYSTEM-CONTROL', - 'MultimediaSystemControlMessage', UI). - per_open_type(Config) -> test(Config, fun per_open_type/3, [per]). per_open_type(Config, Rule, Opts) -> asn1_test_lib:compile("OpenType", Config, [Rule|Opts]), |