4
%% Copyright Ericsson AB 2000-2009. All Rights Reserved.
4
%% Copyright Ericsson AB 2000-2010. All Rights Reserved.
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
36
36
%% External exports
37
37
%%----------------------------------------------------------------------
39
all/0,groups/0,init_per_group/2,end_per_group/2,
43
41
start_invalid_opt/1,
53
47
accept_supervisor/1,
54
48
connection_supervisor/1,
57
init_per_testcase/2, fin_per_testcase/2,
51
init_per_testcase/2, end_per_testcase/2,
113
107
%%----------------------------------------------------------------------
114
%% Function: fin_per_testcase/2
108
%% Function: end_per_testcase/2
116
110
%%----------------------------------------------------------------------
117
fin_per_testcase(Case, Config) ->
118
megaco_test_lib:fin_per_testcase(Case, Config).
111
end_per_testcase(Case, Config) ->
112
megaco_test_lib:end_per_testcase(Case, Config).
121
115
%%======================================================================
122
116
%% Test case definitions
123
117
%%======================================================================
149
connection_supervisor,
119
[{group, start}, {group, sending}, {group, errors}].
123
[start_normal, start_invalid_opt, start_and_stop]},
124
{sending, [], [sendreceive, block_unblock]},
126
[socket_failure, accept_process, accept_supervisor,
127
connection_supervisor, tcp_server]}].
129
init_per_group(_GroupName, Config) ->
132
end_per_group(_GroupName, Config) ->
154
136
%% ------------------ start ------------------------