diff options
author | Erlang/OTP <[email protected]> | 2017-08-23 10:39:25 +0200 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2017-08-23 10:39:25 +0200 |
commit | 9685b8b517438279fb647563d4f9e42c72db24da (patch) | |
tree | cf57de7391ea31ef63004f622422362a96940993 /lib/asn1/test/asn1_SUITE.erl | |
parent | 73ecd4cde263c4179e774958ce9c45cb5bfc3fad (diff) | |
parent | 17884d5d2253d72b46337c42d65a38661505a808 (diff) | |
download | otp-9685b8b517438279fb647563d4f9e42c72db24da.tar.gz otp-9685b8b517438279fb647563d4f9e42c72db24da.tar.bz2 otp-9685b8b517438279fb647563d4f9e42c72db24da.zip |
Merge branch 'bjorn/asn1/broken-default-in-ext/ERIERL-60/OTP-13011' into maint-20
* bjorn/asn1/broken-default-in-ext/ERIERL-60/OTP-13011:
Bump version
Fix broken handling of default values in extensions for PER
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r-- | lib/asn1/test/asn1_SUITE.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl index 5fe6945ff2..69f226bcc0 100644 --- a/lib/asn1/test/asn1_SUITE.erl +++ b/lib/asn1/test/asn1_SUITE.erl @@ -147,6 +147,7 @@ groups() -> testImport, testDER, testDEFAULT, + testExtensionDefault, testMvrasn6, testContextSwitchingTypes, testOpenTypeImplicitTag, @@ -444,6 +445,12 @@ testDEFAULT(Config, Rule, Opts) -> testDef:main(Rule), testSeqSetDefaultVal:main(Rule, Opts). +testExtensionDefault(Config) -> + test(Config, fun testExtensionDefault/3). +testExtensionDefault(Config, Rule, Opts) -> + asn1_test_lib:compile_all(["ExtensionDefault"], Config, [Rule|Opts]), + testExtensionDefault:main(Rule). + testMaps(Config) -> test(Config, fun testMaps/3, [{ber,[maps,no_ok_wrapper]}, |