aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/test/megaco_timer_test.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/megaco/test/megaco_timer_test.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/megaco/test/megaco_timer_test.erl')
-rw-r--r--lib/megaco/test/megaco_timer_test.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/megaco/test/megaco_timer_test.erl b/lib/megaco/test/megaco_timer_test.erl
index 8bcfc5a907..d4dcdf77e6 100644
--- a/lib/megaco/test/megaco_timer_test.erl
+++ b/lib/megaco/test/megaco_timer_test.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2007-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2007-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
@@ -25,7 +25,7 @@
-export([
t/0, t/1,
- init_per_testcase/2, fin_per_testcase/2,
+ init_per_testcase/2, end_per_testcase/2,
all/1,
@@ -71,18 +71,18 @@ do_init_per_testcase(Case, Config) ->
{ok, _Pid} = megaco_monitor:start_link(),
megaco_test_lib:init_per_testcase(Case, [{monitor_running, true}|Config]).
-fin_per_testcase(Case, Config) ->
- io:format("fin_per_testcase -> entry with"
+end_per_testcase(Case, Config) ->
+ io:format("end_per_testcase -> entry with"
"~n Case: ~p"
"~n Config: ~p"
"~n", [Case, Config]),
process_flag(trap_exit, false),
case lists:keydelete(monitor_running, 1, Config) of
Config ->
- megaco_test_lib:fin_per_testcase(Case, Config);
+ megaco_test_lib:end_per_testcase(Case, Config);
Config2 ->
megaco_monitor:stop(),
- megaco_test_lib:fin_per_testcase(Case, Config2)
+ megaco_test_lib:end_per_testcase(Case, Config2)
end.