aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test/ei_tmo_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:40:08 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:25:13 +0100
commit87e168ba95f57d6d5de88c2b2f06d37039bb40e5 (patch)
treed981850794423659cddd30bcc2df4119adcfb156 /lib/erl_interface/test/ei_tmo_SUITE.erl
parentf02cc10b4bda484996b7b93436fcaf8d714cb3da (diff)
downloadotp-87e168ba95f57d6d5de88c2b2f06d37039bb40e5.tar.gz
otp-87e168ba95f57d6d5de88c2b2f06d37039bb40e5.tar.bz2
otp-87e168ba95f57d6d5de88c2b2f06d37039bb40e5.zip
Update erl_interface tests to conform with common_test standard
Diffstat (limited to 'lib/erl_interface/test/ei_tmo_SUITE.erl')
-rw-r--r--lib/erl_interface/test/ei_tmo_SUITE.erl19
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/erl_interface/test/ei_tmo_SUITE.erl b/lib/erl_interface/test/ei_tmo_SUITE.erl
index e536fd2688..c1bf5e35f6 100644
--- a/lib/erl_interface/test/ei_tmo_SUITE.erl
+++ b/lib/erl_interface/test/ei_tmo_SUITE.erl
@@ -20,18 +20,29 @@
%%
-module(ei_tmo_SUITE).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
-include_lib("kernel/include/inet.hrl").
-include("ei_tmo_SUITE_data/ei_tmo_test_cases.hrl").
-define(dummy_host,test01).
--export([all/1, init_per_testcase/2, end_per_testcase/2,
+-export([all/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, end_per_testcase/2,
framework_check/1, ei_accept_tmo/1, ei_connect_tmo/1, ei_send_tmo/1,
ei_recv_tmo/1]).
-all(suite) -> [framework_check,ei_accept_tmo,ei_connect_tmo,
- ei_send_tmo,ei_recv_tmo].
+all() ->
+[framework_check, ei_accept_tmo, ei_connect_tmo,
+ ei_send_tmo, ei_recv_tmo].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
init_per_testcase(_Case, Config) ->
Dog = ?t:timetrap(?t:minutes(1)),