~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/megaco/test/megaco_udp_test.erl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%% 
4
 
%% Copyright Ericsson AB 2000-2009. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2000-2010. All Rights Reserved.
5
5
%% 
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
34
34
%% External exports
35
35
%%----------------------------------------------------------------------
36
36
-export([
37
 
         all/1,
38
 
         
39
 
         start/1,
 
37
         all/0,groups/0,init_per_group/2,end_per_group/2,
40
38
         start_normal/1,
41
39
         start_invalid_opt/1,
42
40
         start_and_stop/1,
43
 
 
44
 
         sending/1,
45
41
         sendreceive/1,
46
42
         block_unblock/1,
47
 
 
48
 
         errors/1,
49
43
         socket_failure/1,
50
 
 
51
 
         init_per_testcase/2, fin_per_testcase/2,
52
 
 
 
44
         init_per_testcase/2, end_per_testcase/2,
53
45
         t/0, t/1
54
46
         ]).
55
47
 
104
96
 
105
97
 
106
98
%%----------------------------------------------------------------------
107
 
%% Function: fin_per_testcase/2
 
99
%% Function: end_per_testcase/2
108
100
%% Description: 
109
101
%%----------------------------------------------------------------------
110
 
fin_per_testcase(Case, Config) ->
111
 
    megaco_test_lib:fin_per_testcase(Case, Config).
 
102
end_per_testcase(Case, Config) ->
 
103
    megaco_test_lib:end_per_testcase(Case, Config).
112
104
 
113
105
 
114
106
%%======================================================================
115
107
%% Test case definitions
116
108
%%======================================================================
117
109
 
118
 
all(suite) ->
119
 
    [
120
 
     start,
121
 
     sending,
122
 
     errors
123
 
    ].
124
 
 
125
 
start(suite) ->
126
 
    [
127
 
     start_normal,
128
 
     start_invalid_opt,
129
 
     start_and_stop
130
 
    ].
131
 
 
132
 
sending(suite) ->
133
 
    [
134
 
     sendreceive,
135
 
     block_unblock
136
 
 
137
 
    ].
138
 
 
139
 
errors(suite) ->
140
 
    [
141
 
     socket_failure
142
 
    ].
 
110
all() -> 
 
111
    [{group, start}, {group, sending}, {group, errors}].
 
112
 
 
113
groups() -> 
 
114
    [{start, [],
 
115
      [start_normal, start_invalid_opt, start_and_stop]},
 
116
     {sending, [], [sendreceive, block_unblock]},
 
117
     {errors, [], [socket_failure]}].
 
118
 
 
119
init_per_group(_GroupName, Config) ->
 
120
    Config.
 
121
 
 
122
end_per_group(_GroupName, Config) ->
 
123
    Config.
143
124
 
144
125
 
145
126
%% =================================================