aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-04-25 12:05:11 +0200
committerBjörn Gustavsson <[email protected]>2014-05-06 11:40:09 +0200
commit85d0965de049625842565ca3e0393f9f73153f8e (patch)
tree9e1d021436ae6eda79b6f843308ff8a3406ecce8 /lib/asn1/test/asn1_SUITE.erl
parent54fdff3af5d023133b55cc4c068c218fd0caf63f (diff)
downloadotp-85d0965de049625842565ca3e0393f9f73153f8e.tar.gz
otp-85d0965de049625842565ca3e0393f9f73153f8e.tar.bz2
otp-85d0965de049625842565ca3e0393f9f73153f8e.zip
Test DEFAULT more thoroughly
We need to test DEFAULT values both with and without legacy_erlang_types.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 782217ed2d..b20380fec9 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -428,14 +428,12 @@ testMultipleLevels(Config, Rule, Opts) ->
asn1_test_lib:compile("MultipleLevels", Config, [Rule|Opts]),
testMultipleLevels:main(Rule).
-testDef(Config) -> test(Config, fun testDef/3).
-testDef(Config, Rule, Opts) ->
- asn1_test_lib:compile("Def", Config, [Rule|Opts]),
- testDef:main(Rule).
-
testDEFAULT(Config) ->
test(Config, fun testDEFAULT/3, [ber,{ber,[der]},per,uper]).
testDEFAULT(Config, Rule, Opts) ->
+ asn1_test_lib:compile_all(["Def","Default"], Config, [Rule|Opts]),
+ testDef:main(Rule),
+ testSeqSetDefaultVal:main(Rule, Opts),
asn1_test_lib:compile_all(["Def","Default"], Config,
[legacy_erlang_types,Rule|Opts]),
testDef:main(Rule),