diff options
author | Anders Svensson <[email protected]> | 2014-05-29 08:18:29 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2014-05-29 15:03:38 +0200 |
commit | 1049490b7b146e3d2105d05e41ea6f740bae9dda (patch) | |
tree | 4dcf4d65d741ec370aeefceae5e184d72e6b43b3 /lib | |
parent | 07b8f441ca711f9812fad9e9115bab3c3aa92f79 (diff) | |
download | otp-1049490b7b146e3d2105d05e41ea6f740bae9dda.tar.gz otp-1049490b7b146e3d2105d05e41ea6f740bae9dda.tar.bz2 otp-1049490b7b146e3d2105d05e41ea6f740bae9dda.zip |
Add @codecs and @custom_types tests to compiler suite
Dictionary compilation fails to detect undefined AVPs in these sections.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/diameter/test/diameter_compiler_SUITE.erl | 15 |
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> &"}]}, |