diff options
author | Lukas Larsson <[email protected]> | 2010-10-05 17:58:16 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:18:44 +0100 |
commit | 2cbb5d191fd8f94c113cbf61c243999388f65c3b (patch) | |
tree | c360d9fbd8b4007c808d5c0f7f5b44ec67609389 /lib/parsetools | |
parent | e993afa1fb9c7143e09c55dee58aee32e9876d78 (diff) | |
download | otp-2cbb5d191fd8f94c113cbf61c243999388f65c3b.tar.gz otp-2cbb5d191fd8f94c113cbf61c243999388f65c3b.tar.bz2 otp-2cbb5d191fd8f94c113cbf61c243999388f65c3b.zip |
Update all fin_per_testcase to end_per_testcase.
Diffstat (limited to 'lib/parsetools')
-rw-r--r-- | lib/parsetools/test/leex_SUITE.erl | 6 | ||||
-rw-r--r-- | lib/parsetools/test/yecc_SUITE.erl | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/parsetools/test/leex_SUITE.erl b/lib/parsetools/test/leex_SUITE.erl index 069f780b5e..5e210cc8eb 100644 --- a/lib/parsetools/test/leex_SUITE.erl +++ b/lib/parsetools/test/leex_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009. All Rights Reserved. +%% Copyright Ericsson AB 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 @@ -35,7 +35,7 @@ -define(privdir, ?config(priv_dir, Config)). -endif. --export([all/1, init_per_testcase/2, fin_per_testcase/2]). +-export([all/1, init_per_testcase/2, end_per_testcase/2]). -export([checks/1, file/1, compile/1, syntax/1, @@ -49,7 +49,7 @@ init_per_testcase(_Case, Config) -> ?line Dog = ?t:timetrap(?default_timeout), [{watchdog, Dog} | Config]. -fin_per_testcase(_Case, Config) -> +end_per_testcase(_Case, Config) -> Dog = ?config(watchdog, Config), test_server:timetrap_cancel(Dog), ok. diff --git a/lib/parsetools/test/yecc_SUITE.erl b/lib/parsetools/test/yecc_SUITE.erl index 8153be7e61..f691249e65 100644 --- a/lib/parsetools/test/yecc_SUITE.erl +++ b/lib/parsetools/test/yecc_SUITE.erl @@ -34,7 +34,7 @@ -define(privdir, ?config(priv_dir, Config)). -endif. --export([all/1, init_per_testcase/2, fin_per_testcase/2]). +-export([all/1, init_per_testcase/2, end_per_testcase/2]). -export([app_test/1, checks/1, @@ -55,7 +55,7 @@ init_per_testcase(_Case, Config) -> ?line Dog = ?t:timetrap(?default_timeout), [{watchdog, Dog} | Config]. -fin_per_testcase(_Case, Config) -> +end_per_testcase(_Case, Config) -> Dog = ?config(watchdog, Config), test_server:timetrap_cancel(Dog), ok. |