aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test/erl_connect_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/erl_connect_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/erl_connect_SUITE.erl')
-rw-r--r--lib/erl_interface/test/erl_connect_SUITE.erl18
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/erl_interface/test/erl_connect_SUITE.erl b/lib/erl_interface/test/erl_connect_SUITE.erl
index fd568e56b9..6a8d5a998e 100644
--- a/lib/erl_interface/test/erl_connect_SUITE.erl
+++ b/lib/erl_interface/test/erl_connect_SUITE.erl
@@ -20,16 +20,26 @@
%%
-module(erl_connect_SUITE).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
-include("erl_connect_SUITE_data/erl_connect_test_cases.hrl").
--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,
erl_send/1,erl_reg_send/1, erl_send_cookie_file/1]).
-import(runner, [get_term/1,send_term/2]).
-all(suite) ->
- [erl_send,erl_reg_send,erl_send_cookie_file].
+all() ->
+[erl_send, erl_reg_send, erl_send_cookie_file].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
init_per_testcase(_Case, Config) ->
Dog = ?t:timetrap(?t:minutes(0.25)),