aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-13 14:36:22 +0200
committerBjörn Gustavsson <[email protected]>2013-09-18 11:45:01 +0200
commita6c2074bb0b7d54f3a5db41867d203f847598a3a (patch)
tree023f59f9bef4f39b4bd8986aa0f32d821202f5a1 /lib/asn1/test/asn1_SUITE.erl
parent0b35b587814d9524d46473571778990ce3fdf17f (diff)
downloadotp-a6c2074bb0b7d54f3a5db41867d203f847598a3a.tar.gz
otp-a6c2074bb0b7d54f3a5db41867d203f847598a3a.tar.bz2
otp-a6c2074bb0b7d54f3a5db41867d203f847598a3a.zip
Combine the testSeqIndefinite/1 and testSetIndefinite/1 test cases
They use the same ASN.1 spec.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl22
1 files changed, 5 insertions, 17 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index adeede5253..8a17620531 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -130,9 +130,7 @@ groups() ->
% Uses 'Constructed'
{group, [], [constructed,
ber_decode_error]},
- % Uses 'SeqSetIndefinite'
- {group, [], [testSeqIndefinite,
- testSetIndefinite]},
+ testSeqSetIndefinite,
testChoiceIndefinite,
per_open_type,
testInfObjectClass,
@@ -721,21 +719,11 @@ testConstraints(Config, Rule, Opts) ->
_ -> testConstraints:refed_NNL_name(Rule)
end.
-testSeqIndefinite(Config) ->
- test(Config, fun testSeqIndefinite/3, [ber]).
-
-testSeqIndefinite(Config, Rule, Opts) ->
- asn1_test_lib:compile("SeqSetIndefinite", Config, [Rule|Opts]),
- testSeqIndefinite:main(Rule).
-
-
-testSetIndefinite(Config) ->
- test(Config, fun testSetIndefinite/3, [ber]).
-
-testSetIndefinite(Config, Rule, Opts) ->
+testSeqSetIndefinite(Config) ->
+ test(Config, fun testSeqSetIndefinite/3, [ber]).
+testSeqSetIndefinite(Config, Rule, Opts) ->
asn1_test_lib:compile("SeqSetIndefinite", Config, [Rule|Opts]),
- testSetIndefinite:main(Rule).
-
+ testSeqSetIndefinite:main().
testChoiceIndefinite(Config) ->
test(Config, fun testChoiceIndefinite/3, [ber]).