4
%% Copyright Ericsson AB 2009-2010. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
19
-module(ts_if_7_SUITE).
23
-include_lib("common_test/include/ct.hrl").
25
%%--------------------------------------------------------------------
26
%% Function: init_per_group(GroupName, Config0) ->
27
%% Config1 | {skip,Reason} | {skip_and_save,Reason,Config1}
29
%% Config0 = Config1 = [tuple()]
31
%%--------------------------------------------------------------------
32
init_per_group(_GroupName, Config) ->
35
%%--------------------------------------------------------------------
36
%% Function: end_per_group(GroupName, Config0) ->
37
%% void() | {save_config,Config1}
39
%% Config0 = Config1 = [tuple()]
40
%%--------------------------------------------------------------------
41
end_per_group(_GroupName, _Config) ->
44
%%--------------------------------------------------------------------
45
%% Function: init_per_testcase(TestCase, Config0) ->
46
%% Config1 | {skip,Reason} | {skip_and_save,Reason,Config1}
48
%% Config0 = Config1 = [tuple()]
50
%%--------------------------------------------------------------------
51
init_per_testcase(_TestCase, Config) ->
54
%%--------------------------------------------------------------------
55
%% Function: end_per_testcase(TestCase, Config0) ->
56
%% void() | {save_config,Config1}
58
%% Config0 = Config1 = [tuple()]
59
%%--------------------------------------------------------------------
60
end_per_testcase(_TestCase, _Config) ->
63
%%--------------------------------------------------------------------
64
%% Function: groups() -> [Group]
65
%% Group = {GroupName,Properties,GroupsAndTestCases}
67
%% Properties = [parallel | sequence | Shuffle | {RepeatType,N}]
68
%% GroupsAndTestCases = [Group | {group,GroupName} | TestCase]
70
%% Shuffle = shuffle | {shuffle,{integer(),integer(),integer()}}
71
%% RepeatType = repeat | repeat_until_all_ok | repeat_until_all_fail |
72
%% repeat_until_any_ok | repeat_until_any_fail
73
%% N = integer() | forever
74
%%--------------------------------------------------------------------
78
%%--------------------------------------------------------------------
79
%% Function: all() -> GroupsAndTestCases | {skip,Reason}
80
%% GroupsAndTestCases = [{group,GroupName} | TestCase]
84
%%--------------------------------------------------------------------