aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_server.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-05 17:58:16 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:18:44 +0100
commit2cbb5d191fd8f94c113cbf61c243999388f65c3b (patch)
treec360d9fbd8b4007c808d5c0f7f5b44ec67609389 /lib/snmp/test/snmp_test_server.erl
parente993afa1fb9c7143e09c55dee58aee32e9876d78 (diff)
downloadotp-2cbb5d191fd8f94c113cbf61c243999388f65c3b.tar.gz
otp-2cbb5d191fd8f94c113cbf61c243999388f65c3b.tar.bz2
otp-2cbb5d191fd8f94c113cbf61c243999388f65c3b.zip
Update all fin_per_testcase to end_per_testcase.
Diffstat (limited to 'lib/snmp/test/snmp_test_server.erl')
-rw-r--r--lib/snmp/test/snmp_test_server.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/snmp/test/snmp_test_server.erl b/lib/snmp/test/snmp_test_server.erl
index d0a5185452..ffbd2126a3 100644
--- a/lib/snmp/test/snmp_test_server.erl
+++ b/lib/snmp/test/snmp_test_server.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2003-2010. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -33,7 +33,7 @@
fatal_skip/3,
init_per_testcase/2,
- fin_per_testcase/2
+ end_per_testcase/2
]).
-include("snmp_test_lib.hrl").
@@ -229,7 +229,7 @@ eval(Mod, Fun, Config) ->
Eval = fun() -> do_eval(Self, Mod, Fun, Config2) end,
Pid = spawn_link(Eval),
R = wait_for_evaluator(Pid, Mod, Fun, Config2, []),
- Mod:fin_per_testcase(Fun, Config2),
+ Mod:end_per_testcase(Fun, Config2),
global:unregister_name(?TEST_CASE_SUP),
process_flag(trap_exit, Flag),
R.
@@ -361,7 +361,7 @@ init_per_testcase(_Case, Config) ->
global:register_name(?GLOBAL_LOGGER, group_leader()),
Config.
-fin_per_testcase(_Case, _Config) ->
+end_per_testcase(_Case, _Config) ->
global:unregister_name(?GLOBAL_LOGGER),
ok.