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_appup_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_appup_test.erl')
-rw-r--r-- | lib/snmp/test/snmp_appup_test.erl | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/lib/snmp/test/snmp_appup_test.erl b/lib/snmp/test/snmp_appup_test.erl index 3c708b8977..b93f960814 100644 --- a/lib/snmp/test/snmp_appup_test.erl +++ b/lib/snmp/test/snmp_appup_test.erl @@ -23,25 +23,33 @@ -module(snmp_appup_test). -export([ - all/1, init_per_suite/1, fin_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, appup_file/1 ]). --include("test_server.hrl"). +-include_lib("common_test/include/ct.hrl"). -include("snmp_test_lib.hrl"). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -all(suite) -> - Cases = - [ - appup_file - ], - {conf, init_per_suite, Cases, fin_suite}. +all() -> +Cases = [appup_file], + Cases. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -76,9 +84,9 @@ file_name(App, Ext) -> filename:join([LibDir, "ebin", atom_to_list(App) ++ Ext]). -fin_suite(suite) -> []; -fin_suite(doc) -> []; -fin_suite(Config) when is_list(Config) -> +end_per_suite(suite) -> []; +end_per_suite(doc) -> []; +end_per_suite(Config) when is_list(Config) -> Config. |