aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-09-26 12:03:01 +0200
committerBjörn Gustavsson <[email protected]>2015-01-12 11:40:23 +0100
commit6003a7c9d4319eba8eff7bfb8e4a73d3d1d38786 (patch)
tree579bbd1c23f1a3a12314f11a1a08dfb7e7f403f3 /lib/asn1/test/asn1_SUITE.erl
parentfcabdd0426fdf194e652a995e8407daad80c130a (diff)
downloadotp-6003a7c9d4319eba8eff7bfb8e4a73d3d1d38786.tar.gz
otp-6003a7c9d4319eba8eff7bfb8e4a73d3d1d38786.tar.bz2
otp-6003a7c9d4319eba8eff7bfb8e4a73d3d1d38786.zip
Add a new test case to test values in ValueTest.asn1
We only tested that ValueTest.asn1 would compile, no that the values were correct.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 432197eec0..fef2981b00 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -167,7 +167,8 @@ groups() ->
testDoubleEllipses,
test_x691,
ticket_6143,
- test_OTP_9688]},
+ test_OTP_9688,
+ testValueTest]},
{performance, [],
[testTimer_ber,
@@ -843,6 +844,11 @@ testTypeValueNotation(Config, Rule, Opts) ->
[Rule|Opts]),
testTypeValueNotation:main(Rule, Opts).
+testValueTest(Config) -> test(Config, fun testValueTest/3).
+testValueTest(Config, Rule, Opts) ->
+ asn1_test_lib:compile("ValueTest", Config, [Rule|Opts]),
+ testValueTest:main().
+
testOpenTypeImplicitTag(Config) ->
test(Config, fun testOpenTypeImplicitTag/3).
testOpenTypeImplicitTag(Config, Rule, Opts) ->