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_digit_map_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_digit_map_test.erl')
-rw-r--r-- | lib/megaco/test/megaco_digit_map_test.erl | 62 |
1 files changed, 24 insertions, 38 deletions
diff --git a/lib/megaco/test/megaco_digit_map_test.erl b/lib/megaco/test/megaco_digit_map_test.erl index 729b8c7ff6..fa5ab37936 100644 --- a/lib/megaco/test/megaco_digit_map_test.erl +++ b/lib/megaco/test/megaco_digit_map_test.erl @@ -42,48 +42,34 @@ end_per_testcase(Case, Config) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -all(suite) -> - Cases = - [ - tickets - ], - Cases. +all() -> +Cases = [{group, tickets}], + Cases. + +groups() -> + [{tickets, [], + [{group, otp_5750}, {group, otp_5799}, + {group, otp_5826}, {group, otp_7449}]}, + {otp_5750, [], [otp_5750_01, otp_5750_02]}, + {otp_5799, [], [otp_5799_01]}, + {otp_5826, [], [otp_5826_01, otp_5826_02, otp_5826_03]}, + {otp_7449, [], [otp_7449_1, otp_7449_2]}]. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -tickets(suite) -> - [ - otp_5750, - otp_5799, - otp_5826, - otp_7449 - ]. - - -otp_5750(suite) -> - [ - otp_5750_01, - otp_5750_02 - ]. - -otp_5799(suite) -> - [ - otp_5799_01 - ]. - -otp_5826(suite) -> - [ - otp_5826_01, - otp_5826_02, - otp_5826_03 - ]. - -otp_7449(suite) -> - [ - otp_7449_1, - otp_7449_2 - ]. + + + + + |