diff options
author | Micael Karlberg <[email protected]> | 2012-03-05 14:09:37 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-03-05 14:09:37 +0100 |
commit | c4ef63a7d48b06123fb0b96f38f2a8b7df32fe49 (patch) | |
tree | 1586a6aa0dc164369e2008a72774d28e78c6d87e /lib/snmp | |
parent | c5a16ad3551a87a9bb361a8bce220cb849247d43 (diff) | |
download | otp-c4ef63a7d48b06123fb0b96f38f2a8b7df32fe49.tar.gz otp-c4ef63a7d48b06123fb0b96f38f2a8b7df32fe49.tar.bz2 otp-c4ef63a7d48b06123fb0b96f38f2a8b7df32fe49.zip |
[snmp] Misc cosmetic changes to some test suites
OTP-9943
Diffstat (limited to 'lib/snmp')
-rw-r--r-- | lib/snmp/test/snmp_agent_test.erl | 3 | ||||
-rw-r--r-- | lib/snmp/test/snmp_app_test.erl | 24 |
2 files changed, 13 insertions, 14 deletions
diff --git a/lib/snmp/test/snmp_agent_test.erl b/lib/snmp/test/snmp_agent_test.erl index e968bc65b1..21cf267bea 100644 --- a/lib/snmp/test/snmp_agent_test.erl +++ b/lib/snmp/test/snmp_agent_test.erl @@ -224,8 +224,7 @@ groups() -> }, {tickets2, [], [otp8395, otp9884]}, {otp_4394, [], [otp_4394_test]}, - {otp_7157, [], [otp_7157_test] - } + {otp_7157, [], [otp_7157_test]} ]. init_per_group(all_tcs, Config) -> diff --git a/lib/snmp/test/snmp_app_test.erl b/lib/snmp/test/snmp_app_test.erl index bc62c8d530..18cfee6fa2 100644 --- a/lib/snmp/test/snmp_app_test.erl +++ b/lib/snmp/test/snmp_app_test.erl @@ -23,7 +23,7 @@ -module(snmp_app_test). -export([ - all/0,groups/0,init_per_group/2,end_per_group/2, init_per_suite/1, + all/0,groups/0,init_per_group/2,end_per_group/2, init_per_suite/1, end_per_suite/1, init_per_testcase/2, end_per_testcase/2, @@ -52,24 +52,24 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% all() -> -Cases = [fields, modules, exportall, app_depend, - undef_funcs, {group, start_and_stop}], - Cases. + Cases = [fields, modules, exportall, app_depend, + undef_funcs, {group, start_and_stop}], + Cases. groups() -> [{start_and_stop, [], - [start_and_stop_empty, start_and_stop_with_agent, - start_and_stop_with_manager, - start_and_stop_with_agent_and_manager, - start_epmty_and_then_agent_and_manager_and_stop, - start_with_agent_and_then_manager_and_stop, - start_with_manager_and_then_agent_and_stop]}]. + [start_and_stop_empty, start_and_stop_with_agent, + start_and_stop_with_manager, + start_and_stop_with_agent_and_manager, + start_epmty_and_then_agent_and_manager_and_stop, + start_with_agent_and_then_manager_and_stop, + start_with_manager_and_then_agent_and_stop]}]. init_per_group(_GroupName, Config) -> - Config. + Config. end_per_group(_GroupName, Config) -> - Config. + Config. init_per_suite(Config) when is_list(Config) -> |