aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-04-17 11:30:05 +0200
committerAnders Svensson <[email protected]>2017-06-12 16:13:52 +0200
commitdfeb8b9193ba716518cb632de8589aea378c178e (patch)
tree3778e502885d0359f9a81acabb90518ff1c78ff9
parent4f8f3e551f23cbdadcad5488c828f09bf832da33 (diff)
downloadotp-dfeb8b9193ba716518cb632de8589aea378c178e.tar.gz
otp-dfeb8b9193ba716518cb632de8589aea378c178e.tar.bz2
otp-dfeb8b9193ba716518cb632de8589aea378c178e.zip
Add {init,end}_per_suite/1 to codec suite
Do nothing, but convenient for adding trace.
-rw-r--r--lib/diameter/test/diameter_codec_SUITE.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_codec_SUITE.erl b/lib/diameter/test/diameter_codec_SUITE.erl
index 558ba3b848..0666bb9d89 100644
--- a/lib/diameter/test/diameter_codec_SUITE.erl
+++ b/lib/diameter/test/diameter_codec_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2015. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2017. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@
-export([suite/0,
all/0,
groups/0,
+ init_per_suite/1,
+ end_per_suite/1,
init_per_group/2,
end_per_group/2,
init_per_testcase/2,
@@ -63,6 +65,12 @@ groups() ->
grouped_error,
failed_error]}].
+init_per_suite(Config) ->
+ Config.
+
+end_per_suite(_Config) ->
+ ok.
+
init_per_group(recode, Config) ->
ok = diameter:start(),
Config.