aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/test/megaco_codec_test.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:37:22 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:25:12 +0100
commit6261f06d39e990b45f08b79edebe7b18a6eb9f01 (patch)
tree0900cce5f409e70e9c5ec33af86d861bec82d539 /lib/megaco/test/megaco_codec_test.erl
parent91298c06d77197433c68b3cc1d05eb966e1370e0 (diff)
downloadotp-6261f06d39e990b45f08b79edebe7b18a6eb9f01.tar.gz
otp-6261f06d39e990b45f08b79edebe7b18a6eb9f01.tar.bz2
otp-6261f06d39e990b45f08b79edebe7b18a6eb9f01.zip
Update megaco tests to conform with common_test standard
Diffstat (limited to 'lib/megaco/test/megaco_codec_test.erl')
-rw-r--r--lib/megaco/test/megaco_codec_test.erl33
1 files changed, 20 insertions, 13 deletions
diff --git a/lib/megaco/test/megaco_codec_test.erl b/lib/megaco/test/megaco_codec_test.erl
index 6959ccad92..803b927de7 100644
--- a/lib/megaco/test/megaco_codec_test.erl
+++ b/lib/megaco/test/megaco_codec_test.erl
@@ -47,17 +47,24 @@ init() ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Top test case
-all(suite) ->
- [
- codec
- ].
-
-codec(suite) ->
- [{megaco_codec_mini_test, all},
- {megaco_codec_v1_test, all},
- {megaco_codec_v2_test, all},
- {megaco_codec_prev3a_test, all},
- {megaco_codec_prev3b_test, all},
- {megaco_codec_prev3c_test, all},
- {megaco_codec_v3_test, all}].
+all() ->
+[{group, codec}].
+
+groups() ->
+ [{codec, [],
+ [{megaco_codec_mini_test, all},
+ {megaco_codec_v1_test, all},
+ {megaco_codec_v2_test, all},
+ {megaco_codec_prev3a_test, all},
+ {megaco_codec_prev3b_test, all},
+ {megaco_codec_prev3c_test, all},
+ {megaco_codec_v3_test, all}]}].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
+