aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/gen_udp_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erix.ericsson.se>2010-12-07 11:35:13 +0100
committerLukas Larsson <lukas@erix.ericsson.se>2011-02-17 17:34:48 +0100
commit8fd1f31f3074bc9444a0769418506b1ccc2041d3 (patch)
tree5c1bfacf63856ccdb7a4d1fd384b1fe8c47232d9 /lib/kernel/test/gen_udp_SUITE.erl
parent83f932257470f5ae01fc61130e997fdea0562653 (diff)
downloadotp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.tar.gz
otp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.tar.bz2
otp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.zip
Add init_per_suite and end_per_suite
Diffstat (limited to 'lib/kernel/test/gen_udp_SUITE.erl')
-rw-r--r--lib/kernel/test/gen_udp_SUITE.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/kernel/test/gen_udp_SUITE.erl b/lib/kernel/test/gen_udp_SUITE.erl
index 0d26ebd288..266876d3d7 100644
--- a/lib/kernel/test/gen_udp_SUITE.erl
+++ b/lib/kernel/test/gen_udp_SUITE.erl
@@ -29,7 +29,7 @@
% XXX - we should pick a port that we _know_ is closed. That's pretty hard.
-define(CLOSED_PORT, 6666).
--export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]).
+-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, init_per_group/2,end_per_group/2]).
-export([init_per_testcase/2, end_per_testcase/2]).
-export([send_to_closed/1,
@@ -46,6 +46,12 @@ all() ->
groups() ->
[].
+init_per_suite(Config) ->
+ Config.
+
+end_per_suite(_Config) ->
+ ok.
+
init_per_group(_GroupName, Config) ->
Config.