aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-05-29 15:07:43 +0200
committerAnders Svensson <[email protected]>2014-05-29 15:07:43 +0200
commita1e335cb17908084bd508827d3c36f8ed26294dc (patch)
treed1c4714cc97fc951fc67e37505353199873ec826 /lib/diameter/test
parentafb2293740a6c55d41561cc657d13694ca557021 (diff)
parente22d0c9c9d1bc18a68a8eefca6f87edde66c3d86 (diff)
downloadotp-a1e335cb17908084bd508827d3c36f8ed26294dc.tar.gz
otp-a1e335cb17908084bd508827d3c36f8ed26294dc.tar.bz2
otp-a1e335cb17908084bd508827d3c36f8ed26294dc.zip
Merge branch 'anders/diameter/dictionaries/OTP-11958' into maint
* anders/diameter/dictionaries/OTP-11958: Fix broken check for undefined AVPs in @codec and @custom_types Add @codecs and @custom_types tests to compiler suite
Diffstat (limited to 'lib/diameter/test')
-rw-r--r--lib/diameter/test/diameter_compiler_SUITE.erl15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/diameter/test/diameter_compiler_SUITE.erl b/lib/diameter/test/diameter_compiler_SUITE.erl
index 08ffe5981d..20c9275808 100644
--- a/lib/diameter/test/diameter_compiler_SUITE.erl
+++ b/lib/diameter/test/diameter_compiler_SUITE.erl
@@ -317,6 +317,21 @@
{avp_not_defined,
"CEA ::=",
"<XXX> &"},
+ {ok,
+ "@avp_types",
+ "@codecs tmod Session-Id &"},
+ {ok,
+ "@avp_types",
+ "@custom_types tmod Session-Id &"},
+ {avp_not_defined,
+ "@avp_types",
+ "@codecs tmod OctetString &"},
+ {avp_not_defined,
+ "@avp_types",
+ "@custom_types tmod OctetString &"},
+ {avp_already_defined,
+ "@avp_types",
+ "@codecs tmod Session-Id @custom_types tmod Session-Id &"},
{not_loaded,
[{"@avp_types", "@inherits nomod XXX &"},
{"CEA ::=", "<XXX> &"}]},