aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-20 18:52:30 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-20 18:52:30 +0200
commit3b5bfab5235cb045c4c24d076006ded3e5d1a423 (patch)
tree8ea9c51c72d26807d4887f5c06aa3a686fb1874c /lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl
parent6d1458814b1d9b3030f4823461e22a2be8d3fc68 (diff)
downloadotp-3b5bfab5235cb045c4c24d076006ded3e5d1a423.tar.gz
otp-3b5bfab5235cb045c4c24d076006ded3e5d1a423.tar.bz2
otp-3b5bfab5235cb045c4c24d076006ded3e5d1a423.zip
Modernize timetraps
Diffstat (limited to 'lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl')
-rw-r--r--lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl21
1 files changed, 5 insertions, 16 deletions
diff --git a/lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl b/lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl
index c998887a3b..32ec380597 100644
--- a/lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl
+++ b/lib/xmerl/test/xmerl_xsd_MS2002-01-16_SUITE.erl
@@ -39,22 +39,14 @@ all() ->
particlesKOSRTQUVW, stABCDE, stFGH, stIJK, stZ,
wildABCDEF, wildGHI, wildJKLMNQOP, wildZ].
-groups() ->
- [].
-
-init_per_group(_GroupName, Config) ->
- Config.
-
-end_per_group(_GroupName, Config) ->
- Config.
-
+suite() ->
+ [{timetrap,{minutes,3}}].
%% initialization before the test suite
init_per_suite(Config) ->
- Dog=test_server:timetrap({minutes,10}),
+ ct:timetrap({minutes,10}),
xmerl_xsd_lib:unpack(Config,msx),
{ok,LogFile} = xmerl_xsd_lib:create_error_log_file(Config,msx),
- test_server:timetrap_cancel(Dog),
[{suite,msx},{xmerl_error_log,LogFile}|Config].
end_per_suite(Config) ->
@@ -64,13 +56,10 @@ end_per_suite(Config) ->
%% initialization before each testcase
init_per_testcase(TestCase,Config) ->
- Dog=test_server:timetrap({minutes,3}),
- [{testcase,TestCase},{watchdog, Dog}|Config].
+ [{testcase,TestCase}|Config].
%% clean up after each testcase
-end_per_testcase(_Func,Config) ->
- Dog=?config(watchdog, Config),
- test_server:timetrap_cancel(Dog),
+end_per_testcase(_Func,_Config) ->
ok.
%% Syntax Checking for Attribute Declaration