diff options
Diffstat (limited to 'lib/megaco/test/megaco_pending_limit_test.erl')
-rw-r--r-- | lib/megaco/test/megaco_pending_limit_test.erl | 61 |
1 files changed, 25 insertions, 36 deletions
diff --git a/lib/megaco/test/megaco_pending_limit_test.erl b/lib/megaco/test/megaco_pending_limit_test.erl index 7c6c8354e8..fed572cb28 100644 --- a/lib/megaco/test/megaco_pending_limit_test.erl +++ b/lib/megaco/test/megaco_pending_limit_test.erl @@ -27,9 +27,9 @@ -export([t/0, t/1]). -export([init_per_testcase/2, end_per_testcase/2]). --export([all/1, +-export([all/0,groups/0,init_per_group/2,end_per_group/2, - sent/1, + sent_timer_late_reply/1, sent_timer_exceeded/1, sent_timer_exceeded_long/1, @@ -37,11 +37,11 @@ sent_resend_exceeded/1, sent_resend_exceeded_long/1, - recv/1, + recv_limit_exceeded1/1, recv_limit_exceeded2/1, - tickets/1, + otp_4956/1, otp_5310/1, otp_5619/1 @@ -145,38 +145,27 @@ end_per_testcase(Case, Config) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -all(suite) -> - [ - sent, - recv, - - %% Tickets last - tickets - ]. - -sent(suite) -> - [ - sent_timer_late_reply, - sent_timer_exceeded, - sent_timer_exceeded_long, - sent_resend_late_reply, - sent_resend_exceeded, - sent_resend_exceeded_long - - ]. - -recv(suite) -> - [ - recv_limit_exceeded1, - recv_limit_exceeded2 - ]. - -tickets(suite) -> - [ - otp_4956, - otp_5310, - otp_5619 - ]. +all() -> +[{group, sent}, {group, recv}, {group, tickets}]. + +groups() -> + [{sent, [], + [sent_timer_late_reply, sent_timer_exceeded, + sent_timer_exceeded_long, sent_resend_late_reply, + sent_resend_exceeded, sent_resend_exceeded_long]}, + {recv, [], + [recv_limit_exceeded1, recv_limit_exceeded2]}, + {tickets, [], [otp_4956, otp_5310, otp_5619]}]. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |