ItsGeoNetworking_TestControl.ttcn 8.69 KB
Newer Older
filatov's avatar
filatov committed
1
2
3
4
5
6
7
8
9
10
11
12
/**
 *  @author     ETSI / STF405 / STF449
 *  @version    $URL$
 *              $Id$
 *  @desc       Test Control file for GeoNetworking
 *
 */
module ItsGeoNetworking_TestControl {
    
    // ATS GeoNetworking
    import from ItsGeoNetworking_TestCases {testcase all};
    
13
    // LibItsGeoNetworking
filatov's avatar
filatov committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
    import from LibItsGeoNetworking_Pics all;
    import from LibItsGeoNetworking_TypesAndValues all;
    
    // Test Execution
    control {
        
        execute(TC_GEONW_FDV_BAH_BV_01());
        execute(TC_GEONW_FDV_BAH_BV_02());
        
        execute(TC_GEONW_FDV_COH_BV_01());
        execute(TC_GEONW_FDV_COH_BV_02());
        execute(TC_GEONW_FDV_COH_BV_03());
        execute(TC_GEONW_FDV_COH_BV_04());
        
        execute(TC_GEONW_FDV_BEA_BV_01());
        execute(TC_GEONW_FDV_BEA_BV_02());
        execute(TC_GEONW_FDV_BEA_BV_03());
        execute(TC_GEONW_FDV_BEA_BV_04());
        
        execute(TC_GEONW_FDV_GUC_BV_01());
        
        execute(TC_GEONW_FDV_GBC_BV_01());
        
        execute(TC_GEONW_FDV_GAC_BV_01());
        
        execute(TC_GEONW_FDV_SHB_BV_01());
        
        execute(TC_GEONW_FDV_TSB_BV_01());
        
        execute(TC_GEONW_PON_LOT_BV_01());
        execute(TC_GEONW_PON_LOT_BV_02());
        execute(TC_GEONW_PON_LOT_BV_03_01());
        execute(TC_GEONW_PON_LOT_BV_03_02());
        execute(TC_GEONW_PON_LOT_BV_03_03());
        execute(TC_GEONW_PON_LOT_BV_03_04());
        execute(TC_GEONW_PON_LOT_BV_03_05());
        execute(TC_GEONW_PON_LOT_BV_03_06());
        execute(TC_GEONW_PON_LOT_BV_03_07());
        execute(TC_GEONW_PON_LOT_BV_03_08());
        execute(TC_GEONW_PON_LOT_BV_04());
        execute(TC_GEONW_PON_LOT_BV_05_01());
        execute(TC_GEONW_PON_LOT_BV_05_02());
        execute(TC_GEONW_PON_LOT_BV_05_03());
        execute(TC_GEONW_PON_LOT_BV_05_04());
        execute(TC_GEONW_PON_LOT_BV_05_05());
        execute(TC_GEONW_PON_LOT_BV_05_06());
        execute(TC_GEONW_PON_LOT_BV_05_07());
        
        execute(TC_GEONW_PON_LPV_BV_01());
        
        execute(TC_GEONW_PON_SQN_BV_01());
        execute(TC_GEONW_PON_SQN_BV_02());
        
        execute(TC_GEONW_PON_LOS_BV_01());
        execute(TC_GEONW_PON_LOS_BV_02());
        execute(TC_GEONW_PON_LOS_BV_03());
        execute(TC_GEONW_PON_LOS_BV_04());
        execute(TC_GEONW_PON_LOS_BV_05());
        execute(TC_GEONW_PON_LOS_BV_06());
        execute(TC_GEONW_PON_LOS_BV_07());
        execute(TC_GEONW_PON_LOS_BV_08());
        execute(TC_GEONW_PON_LOS_BV_09());
        execute(TC_GEONW_PON_LOS_BV_10());
        execute(TC_GEONW_PON_LOS_BV_11());
        execute(TC_GEONW_PON_LOS_BV_12());
        execute(TC_GEONW_PON_LOS_BV_13());
        execute(TC_GEONW_PON_LOS_BV_14());
81
82
83
        execute(TC_GEONW_PON_LOS_BV_15());
        execute(TC_GEONW_PON_LOS_BV_16());
        execute(TC_GEONW_PON_LOS_BV_17());
filatov's avatar
filatov committed
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
        
        execute(TC_GEONW_PON_FPB_BV_01());
        execute(TC_GEONW_PON_FPB_BV_02());
        execute(TC_GEONW_PON_FPB_BV_03());
        execute(TC_GEONW_PON_FPB_BV_04());
        execute(TC_GEONW_PON_FPB_BV_06());
        execute(TC_GEONW_PON_FPB_BV_07());
        execute(TC_GEONW_PON_FPB_BV_08());
        execute(TC_GEONW_PON_FPB_BV_09());
        execute(TC_GEONW_PON_FPB_BV_10());
        execute(TC_GEONW_PON_FPB_BV_11_01());
        execute(TC_GEONW_PON_FPB_BV_11_02());
        execute(TC_GEONW_PON_FPB_BV_11_03());
        execute(TC_GEONW_PON_FPB_BV_11_04());
        execute(TC_GEONW_PON_FPB_BV_11_05());
        execute(TC_GEONW_PON_FPB_BV_12_01());
        execute(TC_GEONW_PON_FPB_BV_12_02());
        execute(TC_GEONW_PON_FPB_BV_12_03());
        execute(TC_GEONW_PON_FPB_BV_12_04());
        
        if (PICS_GN_LOCAL_ADDR_CONF_METHOD == e_initial) {
            execute(TC_GEONW_PON_GNA_BV_01());
        }
        execute(TC_GEONW_PON_GNA_BV_02());
        
        execute(TC_GEONW_PON_BEA_BV_01());
        execute(TC_GEONW_PON_BEA_BV_02());
111
        execute(TC_GEONW_PON_BEA_BV_03());
filatov's avatar
filatov committed
112
113
        
        if ((PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM == e_greedy) or (PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM == e_unspecified)) {
114
            execute(TC_GEONW_PON_GUC_BV_01());
filatov's avatar
filatov committed
115
116
117
118
119
120
121
122
123
124
            execute(TC_GEONW_PON_GUC_BV_02());
        }
        execute(TC_GEONW_PON_GUC_BV_03());
        execute(TC_GEONW_PON_GUC_BV_04());
        execute(TC_GEONW_PON_GUC_BV_05());
        if (PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM == e_cbf) {
            execute(TC_GEONW_PON_GUC_BV_06());
            execute(TC_GEONW_PON_GUC_BV_07());
            execute(TC_GEONW_PON_GUC_BV_08());
            execute(TC_GEONW_PON_GUC_BV_10());
125
126
127
128
129
            execute(TC_GEONW_PON_GUC_BV_11());
        }
        if ((PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM == e_greedy) or (PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM == e_unspecified)) {
            execute(TC_GEONW_PON_GUC_BV_12());
            execute(TC_GEONW_PON_GUC_BV_13());
filatov's avatar
filatov committed
130
131
132
        }
        
        execute(TC_GEONW_PON_GBC_BV_01());
133
134
135
        if ((PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_simple) or (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_unspecified) or (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_advanced)) {
        	execute(TC_GEONW_PON_GBC_BV_02());
        }
filatov's avatar
filatov committed
136
137
138
139
140
141
        if ((PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_simple) or (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_unspecified)) {
            execute(TC_GEONW_PON_GBC_BV_03());
            execute(TC_GEONW_PON_GBC_BV_04());
        }
        execute(TC_GEONW_PON_GBC_BV_05());
        if ((PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_simple) or (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_unspecified)) {
142
            execute(TC_GEONW_PON_GBC_BV_06());
filatov's avatar
filatov committed
143
        }
144
145
146
        execute(TC_GEONW_PON_GBC_BV_07());
        execute(TC_GEONW_PON_GBC_BV_08());

filatov's avatar
filatov committed
147
148
        execute(TC_GEONW_PON_GBC_BV_09());
        if ((PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_simple) or (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_unspecified)) {
149
150
151
152
        	execute(TC_GEONW_PON_GBC_BV_10());
        }
        execute(TC_GEONW_PON_GBC_BV_11());
        if (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_cbf) {
filatov's avatar
filatov committed
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
            execute(TC_GEONW_PON_GBC_BV_12());
        }
        execute(TC_GEONW_PON_GBC_BV_19());
        execute(TC_GEONW_PON_GBC_BV_20());
        execute(TC_GEONW_PON_GBC_BV_21());
        
        execute(TC_GEONW_PON_TSB_BV_01());
        execute(TC_GEONW_PON_TSB_BV_02());
        execute(TC_GEONW_PON_TSB_BV_03());
        execute(TC_GEONW_PON_TSB_BV_04());
        execute(TC_GEONW_PON_TSB_BV_05());
        execute(TC_GEONW_PON_TSB_BV_06());
        execute(TC_GEONW_PON_TSB_BV_07());
        
        execute(TC_GEONW_PON_SHB_BV_01());
        execute(TC_GEONW_PON_SHB_BV_02());
        
        execute(TC_GEONW_PON_GAC_BV_01());
171
172
173
        if ((PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_simple) or (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_unspecified)) {
        	execute(TC_GEONW_PON_GAC_BV_02());
        }
filatov's avatar
filatov committed
174
175
176
177
178
179
180
181
182
        execute(TC_GEONW_PON_GAC_BV_03());
        execute(TC_GEONW_PON_GAC_BV_04());
        execute(TC_GEONW_PON_GAC_BV_05());
        execute(TC_GEONW_PON_GAC_BV_06());
        execute(TC_GEONW_PON_GAC_BV_07());
        execute(TC_GEONW_PON_GAC_BV_08());
        execute(TC_GEONW_PON_GAC_BV_09());
        execute(TC_GEONW_PON_GAC_BV_10());
        execute(TC_GEONW_PON_GAC_BV_11());
183
184
185
        if (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_cbf) {
        	execute(TC_GEONW_PON_GAC_BV_13());
        }
filatov's avatar
filatov committed
186
        
187
        if (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_cbf) {
filatov's avatar
filatov committed
188
189
190
191
192
193
194
195
196
            execute(TC_GEONW_PON_BCA_BV_01());
            execute(TC_GEONW_PON_BCA_BV_02());
            execute(TC_GEONW_PON_BCA_BV_03());
            execute(TC_GEONW_PON_BCA_BV_04());
            execute(TC_GEONW_PON_BCA_BV_05());
            execute(TC_GEONW_PON_BCA_BV_06());
            execute(TC_GEONW_PON_BCA_BV_07());
        }
        
197
        if (PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM == e_advanced) {
filatov's avatar
filatov committed
198
199
200
201
            execute(TC_GEONW_PON_BAA_BV_01());
            execute(TC_GEONW_PON_BAA_BV_02());
            execute(TC_GEONW_PON_BAA_BV_03());
            execute(TC_GEONW_PON_BAA_BV_04());
202
            execute(TC_GEONW_PON_BAA_BV_05());
filatov's avatar
filatov committed
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
            execute(TC_GEONW_PON_BAA_BV_06());
            execute(TC_GEONW_PON_BAA_BV_07());
            execute(TC_GEONW_PON_BAA_BV_08());
            execute(TC_GEONW_PON_BAA_BV_09());
            execute(TC_GEONW_PON_BAA_BV_10());
            execute(TC_GEONW_PON_BAA_BV_11());
        }
        
        execute(TC_GEONW_CAP_LOS_BV_01());
        
        execute(TC_GEONW_CAP_FPB_BV_01());
        execute(TC_GEONW_CAP_FPB_BV_02());
        
    }
    
} // end ItsGeoNetworking_TestControl