diff options
author | Lukas Larsson <[email protected]> | 2010-10-12 10:37:22 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:25:12 +0100 |
commit | 6261f06d39e990b45f08b79edebe7b18a6eb9f01 (patch) | |
tree | 0900cce5f409e70e9c5ec33af86d861bec82d539 /lib/megaco/test/megaco_sdp_test.erl | |
parent | 91298c06d77197433c68b3cc1d05eb966e1370e0 (diff) | |
download | otp-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_sdp_test.erl')
-rw-r--r-- | lib/megaco/test/megaco_sdp_test.erl | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/lib/megaco/test/megaco_sdp_test.erl b/lib/megaco/test/megaco_sdp_test.erl index f782d58db5..026a71f34b 100644 --- a/lib/megaco/test/megaco_sdp_test.erl +++ b/lib/megaco/test/megaco_sdp_test.erl @@ -24,10 +24,10 @@ -module(megaco_sdp_test). --export([all/1, +-export([all/0,groups/0,init_per_group/2,end_per_group/2, decode_encode/1, - tickets/1, + otp8123/1, init_per_testcase/2, end_per_testcase/2, @@ -55,16 +55,19 @@ end_per_testcase(Case, Config) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -all(suite) -> - [ - decode_encode, - tickets - ]. +all() -> +[decode_encode, {group, tickets}]. + +groups() -> + [{tickets, [], [otp8123]}]. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + -tickets(suite) -> - [ - otp8123 - ]. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |