aboutsummaryrefslogtreecommitdiffstats
path: root/lib/et/test
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/et/test
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/et/test')
-rw-r--r--lib/et/test/et_test_lib.erl6
-rw-r--r--lib/et/test/et_wx_SUITE.erl4
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/et/test/et_test_lib.erl b/lib/et/test/et_test_lib.erl
index b91b63786c..084e1de03b 100644
--- a/lib/et/test/et_test_lib.erl
+++ b/lib/et/test/et_test_lib.erl
@@ -295,7 +295,7 @@ eval_test_case(Mod, Fun, Config) ->
test_case_evaluator(Mod, Fun, [Config]) ->
NewConfig = Mod:init_per_testcase(Fun, Config),
R = apply(Mod, Fun, [NewConfig]),
- Mod:fin_per_testcase(Fun, NewConfig),
+ Mod:end_per_testcase(Fun, NewConfig),
exit({test_case_ok, R}).
wait_for_evaluator(Pid, Mod, Fun, Config) ->
@@ -311,12 +311,12 @@ wait_for_evaluator(Pid, Mod, Fun, Config) ->
{'EXIT', Pid, {skipped, Reason}} ->
log("<WARNING> Test case ~w skipped, because ~p~n",
[{Mod, Fun}, Reason]),
- Mod:fin_per_testcase(Fun, Config),
+ Mod:end_per_testcase(Fun, Config),
{skip, {Mod, Fun}, Reason};
{'EXIT', Pid, Reason} ->
log("<ERROR> Eval process ~w exited, because\n\t~p~n",
[{Mod, Fun}, Reason]),
- Mod:fin_per_testcase(Fun, Config),
+ Mod:end_per_testcase(Fun, Config),
{crash, {Mod, Fun}, Reason}
end.
diff --git a/lib/et/test/et_wx_SUITE.erl b/lib/et/test/et_wx_SUITE.erl
index 05e5187d82..91b1cb72a2 100644
--- a/lib/et/test/et_wx_SUITE.erl
+++ b/lib/et/test/et_wx_SUITE.erl
@@ -19,7 +19,7 @@
-module(et_wx_SUITE).
-export([all/1, init_per_suite/1, end_per_suite/1,
- init_per_testcase/2, fin_per_testcase/2, end_per_testcase/2]).
+ init_per_testcase/2, end_per_testcase/2, end_per_testcase/2]).
-compile(export_all).
@@ -36,7 +36,7 @@ init_per_testcase(Func,Config) ->
et_test_lib:init_per_testcase(Func,Config).
end_per_testcase(Func,Config) ->
et_test_lib:end_per_testcase(Func,Config).
-fin_per_testcase(Func,Config) -> %% For test_server
+end_per_testcase(Func,Config) -> %% For test_server
et_test_lib:end_per_testcase(Func,Config).
%% SUITE specification