diff options
author | Lukas Larsson <[email protected]> | 2010-10-12 10:34:20 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:25:12 +0100 |
commit | f46420139c89668f24f9b86e80f0f93fbbb9827b (patch) | |
tree | 85b7b58a6b66c5bbd53600593df295f4bc90078d /lib/snmp/test/snmp_pdus_test.erl | |
parent | e895e8ae96264ed7b5a0cb5f30f5a0af3d076831 (diff) | |
download | otp-f46420139c89668f24f9b86e80f0f93fbbb9827b.tar.gz otp-f46420139c89668f24f9b86e80f0f93fbbb9827b.tar.bz2 otp-f46420139c89668f24f9b86e80f0f93fbbb9827b.zip |
Update snmp tests to conform with common_test standard
Diffstat (limited to 'lib/snmp/test/snmp_pdus_test.erl')
-rw-r--r-- | lib/snmp/test/snmp_pdus_test.erl | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/lib/snmp/test/snmp_pdus_test.erl b/lib/snmp/test/snmp_pdus_test.erl index 7041552abf..ef510ad62e 100644 --- a/lib/snmp/test/snmp_pdus_test.erl +++ b/lib/snmp/test/snmp_pdus_test.erl @@ -25,7 +25,7 @@ %%---------------------------------------------------------------------- %% Include files %%---------------------------------------------------------------------- --include("test_server.hrl"). +-include_lib("common_test/include/ct.hrl"). -include("snmp_test_lib.hrl"). -include_lib("snmp/include/snmp_types.hrl"). @@ -34,8 +34,8 @@ %% External exports %%---------------------------------------------------------------------- -export([ - all/1, - tickets/1, + all/0,groups/0,init_per_group/2,end_per_group/2, + otp7575/1, otp8563/1, init_per_testcase/2, end_per_testcase/2 @@ -71,16 +71,19 @@ end_per_testcase(_Case, Config) when is_list(Config) -> %%====================================================================== %% Test case definitions %%====================================================================== -all(suite) -> - [ - tickets - ]. - -tickets(suite) -> - [ - otp7575, - otp8563 - ]. +all() -> +[{group, tickets}]. + +groups() -> + [{tickets, [], [otp7575, otp8563]}]. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + + |