~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

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-2011. 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
36
36
init_per_testcase(Case, Config) ->
37
37
    megaco_test_lib:init_per_testcase(Case, Config).
38
38
 
39
 
fin_per_testcase(Case, Config) ->
40
 
    megaco_test_lib:fin_per_testcase(Case, Config).
 
39
end_per_testcase(Case, Config) ->
 
40
    megaco_test_lib:end_per_testcase(Case, Config).
41
41
 
42
42
init() ->
43
43
    process_flag(trap_exit, true),
46
46
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47
47
%% Top test case
48
48
 
49
 
all(suite) ->
50
 
    [
51
 
     app_test,
52
 
     appup_test,
53
 
     config,
54
 
     flex,
55
 
     udp,
56
 
     tcp,
57
 
     examples,
58
 
     %% call_flow,
59
 
     digit_map,
60
 
     mess,
61
 
     measure,
62
 
     binary_term_id,
63
 
     codec,
64
 
     sdp,
65
 
     mib,
66
 
     trans,
67
 
     actions,
68
 
     load,
69
 
     pending_limit,
70
 
     segmented,
71
 
     timer
72
 
    ].
73
 
 
74
 
tickets(suite) ->
75
 
    [
76
 
     mess,
77
 
     codec
78
 
     ].
79
 
 
80
 
app_test(suite) ->
81
 
    [{megaco_app_test, all}].
82
 
 
83
 
appup_test(suite) ->
84
 
    [{megaco_appup_test, all}].
85
 
 
86
 
config(suite) ->
87
 
    [{megaco_config_test, all}].
88
 
 
89
 
call_flow(suite) ->
90
 
    [{megaco_call_flow_test, all}].
91
 
 
92
 
digit_map(suite) ->
93
 
    [{megaco_digit_map_test, all}].
94
 
 
95
 
mess(suite) ->
96
 
    [{megaco_mess_test, all}].
97
 
 
98
 
udp(suite) ->
99
 
    [{megaco_udp_test, all}].
100
 
 
101
 
tcp(suite) ->
102
 
    [{megaco_tcp_test, all}].
103
 
 
104
 
examples(suite) ->
105
 
    [{megaco_examples_test, all}].
106
 
 
107
 
measure(suite) ->
108
 
    [{megaco_measure_test, all}].
109
 
 
110
 
binary_term_id(suite) ->
111
 
    [{megaco_binary_term_id_test, all}].
112
 
 
113
 
codec(suite) ->
114
 
    [{megaco_codec_test, all}].
115
 
 
116
 
sdp(suite) ->
117
 
    [{megaco_sdp_test, all}].
118
 
 
119
 
mib(suite) ->
120
 
    [{megaco_mib_test, all}].
121
 
 
122
 
trans(suite) ->
123
 
    [{megaco_trans_test, all}].
124
 
 
125
 
actions(suite) ->
126
 
    [{megaco_actions_test, all}].
127
 
 
128
 
load(suite) ->
129
 
    [{megaco_load_test, all}].
130
 
 
131
 
pending_limit(suite) ->
132
 
    [{megaco_pending_limit_test, all}].
133
 
 
134
 
segmented(suite) ->
135
 
    [{megaco_segment_test, all}].
136
 
 
137
 
timer(suite) ->
138
 
    [{megaco_timer_test, all}].
139
 
 
140
 
flex(suite) ->
141
 
    [{megaco_flex_test, all}].
 
49
suite() -> [{ct_hooks, [{ts_install_cth, [{nodenames,1}]}]}].
 
50
 
 
51
all() -> 
 
52
    [{group, app_test}, 
 
53
     {group, appup_test},
 
54
     {group, config}, 
 
55
     {group, flex}, 
 
56
     {group, udp},
 
57
     {group, tcp}, 
 
58
     {group, examples}, 
 
59
     {group, digit_map},
 
60
     {group, mess}, 
 
61
     {group, measure},
 
62
     {group, binary_term_id}, 
 
63
     {group, codec}, 
 
64
     {group, sdp},
 
65
     {group, mib}, 
 
66
     {group, trans}, 
 
67
     {group, actions},
 
68
     {group, load}, 
 
69
     {group, pending_limit},
 
70
     {group, segmented}, 
 
71
     {group, timer}].
 
72
 
 
73
groups() -> 
 
74
    [{tickets,        [], [{group, mess}, {group, codec}]},
 
75
     {app_test,       [], [{megaco_app_test,            all}]},
 
76
     {appup_test,     [], [{megaco_appup_test,          all}]},
 
77
     {config,         [], [{megaco_config_test,         all}]},
 
78
     {call_flow,      [], [{megaco_call_flow_test,      all}]},
 
79
     {digit_map,      [], [{megaco_digit_map_test,      all}]},
 
80
     {mess,           [], [{megaco_mess_test,           all}]},
 
81
     {udp,            [], [{megaco_udp_test,            all}]},
 
82
     {tcp,            [], [{megaco_tcp_test,            all}]},
 
83
     {examples,       [], [{megaco_examples_test,       all}]},
 
84
     {measure,        [], [{megaco_measure_test,        all}]},
 
85
     {binary_term_id, [], [{megaco_binary_term_id_test, all}]},
 
86
     {codec,          [], [{megaco_codec_test,          all}]},
 
87
     {sdp,            [], [{megaco_sdp_test,            all}]},
 
88
     {mib,            [], [{megaco_mib_test,            all}]},
 
89
     {trans,          [], [{megaco_trans_test,          all}]},
 
90
     {actions,        [], [{megaco_actions_test,        all}]},
 
91
     {load,           [], [{megaco_load_test,           all}]},
 
92
     {pending_limit,  [], [{megaco_pending_limit_test,  all}]},
 
93
     {segmented,      [], [{megaco_segment_test,        all}]},
 
94
     {timer,          [], [{megaco_timer_test,          all}]},
 
95
     {flex,           [], [{megaco_flex_test,           all}]}].
 
96
 
 
97
init_per_suite(Config) ->
 
98
    Config.
 
99
 
 
100
end_per_suite(_Config) ->
 
101
    ok.
 
102
 
 
103
init_per_group(_GroupName, Config) ->
 
104
    Config.
 
105
 
 
106
end_per_group(_GroupName, Config) ->
 
107
    Config.
 
108
 
 
109
 
 
110
 
 
111
 
 
112
 
 
113
 
 
114
 
 
115
 
 
116
 
 
117
 
 
118
 
 
119
 
 
120
 
 
121
 
 
122
 
 
123
 
 
124
 
 
125
 
 
126
 
 
127
 
 
128
 
 
129
 
 
130
 
142
131