ItsCam_TestCases.ttcn 104 KB
Newer Older
filatov's avatar
filatov committed
1
/**
garciay's avatar
garciay committed
2
 *    @author   ETSI / STF405 / STF449 / STF484 / STF517
filatov's avatar
filatov committed
3
4
 *    @version  $URL$
 *              $Id$
garciay's avatar
garciay committed
5
 *    @desc     CAM Testcases (TS 102 868-2 V1.4.1)
filatov's avatar
filatov committed
6
7
8
9
10
 *
 */

module ItsCam_TestCases {
    
garciay's avatar
garciay committed
11
    // LibItsCam
filatov's avatar
filatov committed
12
13
    import from LibItsCam_TestSystem all;
    
14
    // Ats Its
15
    import from ItsCam_TpFunctions all;
filatov's avatar
filatov committed
16
17
18
19
20
21
22
23
24
25

    // 5.2.1
    group camMessageDissemination { 
        
        group camMessageFormat {
            
            /**
             * @desc Check that protocolVersion is set to 1 and messageID is 
             *       set to 2.
             * <pre>
26
             * Pics Selection: PICS_CAM_GENERATION
filatov's avatar
filatov committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated 
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing ITS PDU header
             *                     containing protocolVersion
             *                         indicating value 1
             *                     and containing messageID
             *                         indicating value 2
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
47
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/FMT/BV-01
filatov's avatar
filatov committed
48
49
50
51
             * @reference ETSI EN 302 637-2 , Annex B.1
             */
            testcase TC_CAM_MSD_FMT_BV_01() runs on ItsCam system ItsCamSystem {
                
52
                f_CAM_MSD_FMT_BV_01();
filatov's avatar
filatov committed
53
54
55
56
57
58
59
                
            } // end TC_CAM_MSD_FMT_BV_01
            
            /**
             * @desc Check that LF container is included in 1st CAM since CA 
             *       basic service activation.
             * <pre>
60
             * Pics Selection: PICS_CAM_GENERATION AND NOT PIC_RSU
filatov's avatar
filatov committed
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         and the IUT has not sent any CAM yet
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated 
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing lowFrequencyContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
80
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/FMT/BV-02
filatov's avatar
filatov committed
81
82
83
84
             * @reference ETSI EN 302 637-2 , clause 6.1.3
             */
            testcase TC_CAM_MSD_FMT_BV_02() runs on ItsCam system ItsCamSystem {
                
85
                f_CAM_MSD_FMT_BV_02();
filatov's avatar
filatov committed
86
87
88
89
90
91
92
93
                
            } // end TC_CAM_MSD_FMT_BV_02
            
            /**
             * @desc Check that LF container is included if time elapsed since 
             *       the generation of the last CAM with the low frequency 
             *       container generation is equal or larger than 500 ms.
             * <pre>
94
             * Pics Selection: PICS_CAM_GENERATION AND NOT PIC_RSU
filatov's avatar
filatov committed
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         and the IUT has sent a CAM
             *             containing cam
             *                 containing camParameters
             *                     containing lowFrequencyContainer at time TIME_1
             *         and the IUT has not sent CAM
             *             containing cam
             *                 containing camParameters
             *                     containing lowFrequencyContainer after TIME_1
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated at time TIME_2 >= (TIME_1 + 500ms)
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing lowFrequencyContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
121
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/FMT/BV-03
filatov's avatar
filatov committed
122
123
124
125
             * @reference ETSI EN 302 637-2 , clause 6.1.3
             */
            testcase TC_CAM_MSD_FMT_BV_03() runs on ItsCam system ItsCamSystem {
                
126
                f_CAM_MSD_FMT_BV_03();
filatov's avatar
filatov committed
127
128
129
130
131
132
133
                
            } // end TC_CAM_MSD_FMT_BV_03
            
            /**
             * @desc Check that specialVehicle container is included in 1st CAM 
             *       since CA basic service activation.
             * <pre>
134
             * Pics Selection: PICS_CAM_GENERATION AND PICS_SPECIALVEHICLECONTAINER AND NOT PIC_RSU
filatov's avatar
filatov committed
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         and the IUT is configured to advertise itself as a special vehicle
             *         and the IUT has not sent any CAM yet
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
155
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/FMT/BV-04
filatov's avatar
filatov committed
156
157
158
159
             * @reference ETSI EN 302 637-2 , clause 6.1.3
             */
            testcase TC_CAM_MSD_FMT_BV_04() runs on ItsCam system ItsCamSystem {
                
160
                f_CAM_MSD_FMT_BV_04();
filatov's avatar
filatov committed
161
162
163
164
165
166
167
168
169
                
            } // end TC_CAM_MSD_FMT_BV_04
            
            /**
             * @desc Check that specialVehicle container is included if time 
             *       elapsed since the generation of the last CAM with the 
             *       special vehicle container generation is equal or larger 
             *       than 500 ms.
             * <pre>
170
             * Pics Selection: PICS_CAM_GENERATION AND PICS_SPECIALVEHICLECONTAINER AND NOT PIC_RSU
filatov's avatar
filatov committed
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         and the IUT has sent a CAM
             *             containing cam
             *                 containing camParameters
             *                     containing specialVehicleContainer at time TIME_1
             *         and the IUT has not sent CAM
             *             containing cam
             *                 containing camParameters
             *                     containing specialVehicleContainer after TIME_1
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated at time TIME_2 >= (TIME_1 + 500ms)
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
197
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/FMT/BV-05
filatov's avatar
filatov committed
198
199
200
201
             * @reference ETSI EN 302 637-2 , clause 6.1.3
             */
            testcase TC_CAM_MSD_FMT_BV_05() runs on ItsCam system ItsCamSystem {
                
202
                f_CAM_MSD_FMT_BV_05();
filatov's avatar
filatov committed
203
204
205
206
207
208
209
210
211
212
213
214
215
                
            } // end TC_CAM_MSD_FMT_BV_05
            
        } // end group camMessageFormat
        
        group camInformationAdaptation {
            
            group camInVehicleData {
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
216
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO:  Curvature value
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .curvature
                 *     VALUE: measured value
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
241
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01
filatov's avatar
filatov committed
242
243
244
245
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_01() runs on ItsCam system ItsCamSystem {
                    
246
                    f_CAM_MSD_INA_BV_01_01();
filatov's avatar
filatov committed
247
248
249
250
251
252
253
                    
                } // end TC_CAM_MSD_INA_BV_01_01
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
254
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO:  Brake pedal being activated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .brakePedalActive
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
280
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-02
filatov's avatar
filatov committed
281
282
283
284
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_02() runs on ItsCam system ItsCamSystem {
                    
285
                    f_CAM_MSD_INA_BV_01_02();
filatov's avatar
filatov committed
286
287
288
289
290
291
292
                    
                } // end TC_CAM_MSD_INA_BV_01_02
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
293
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO:  Brake pedal being deactivated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .brakePedalActive
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
319
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-03
filatov's avatar
filatov committed
320
321
322
323
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_03() runs on ItsCam system ItsCamSystem {
                    
324
                    f_CAM_MSD_INA_BV_01_03();
filatov's avatar
filatov committed
325
326
327
328
329
330
331
                    
                } // end TC_CAM_MSD_INA_BV_01_03
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
332
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Gas pedal being activated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .gasPedalActive
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
358
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-04
filatov's avatar
filatov committed
359
360
361
362
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_04() runs on ItsCam system ItsCamSystem {
                    
363
                    f_CAM_MSD_INA_BV_01_04();
filatov's avatar
filatov committed
364
365
366
367
368
369
370
                    
                } // end TC_CAM_MSD_INA_BV_01_04
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
371
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Gas pedal being deactivated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .gasPedalActive
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
397
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-05
filatov's avatar
filatov committed
398
399
400
401
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_05() runs on ItsCam system ItsCamSystem {
                    
402
                    f_CAM_MSD_INA_BV_01_05();
filatov's avatar
filatov committed
403
404
405
406
407
408
409
                    
                } // end TC_CAM_MSD_INA_BV_01_05
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
410
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Emergency brake being activated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .emergencyBrakeActive
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
436
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-06
filatov's avatar
filatov committed
437
438
439
440
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_06() runs on ItsCam system ItsCamSystem {
                    
441
                    f_CAM_MSD_INA_BV_01_06();
filatov's avatar
filatov committed
442
443
444
445
446
447
448
                    
                } // end TC_CAM_MSD_INA_BV_01_06
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
449
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Emergency brake being deactivated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .emergencyBrakeActive
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
475
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-07
filatov's avatar
filatov committed
476
477
478
479
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_07() runs on ItsCam system ItsCamSystem {
                    
480
                    f_CAM_MSD_INA_BV_01_07();
filatov's avatar
filatov committed
481
482
483
484
485
486
487
                    
                } // end TC_CAM_MSD_INA_BV_01_07
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
488
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Collision warning being activated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .collisionWarningActive
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
514
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-08
filatov's avatar
filatov committed
515
516
517
518
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_08() runs on ItsCam system ItsCamSystem {
                    
519
                    f_CAM_MSD_INA_BV_01_08();
filatov's avatar
filatov committed
520
521
522
523
524
525
526
                    
                } // end TC_CAM_MSD_INA_BV_01_08
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
527
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Collision warning being deactivated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .collisionWarningActive
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
553
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-09
filatov's avatar
filatov committed
554
555
556
557
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_09() runs on ItsCam system ItsCamSystem {
                    
558
                    f_CAM_MSD_INA_BV_01_09();
filatov's avatar
filatov committed
559
560
561
562
563
564
565
                    
                } // end TC_CAM_MSD_INA_BV_01_09
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
566
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: ACC being activated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .accActive
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
592
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-10
filatov's avatar
filatov committed
593
594
595
596
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_10() runs on ItsCam system ItsCamSystem {
                    
597
                    f_CAM_MSD_INA_BV_01_10();
filatov's avatar
filatov committed
598
599
600
601
602
603
604
                    
                } // end TC_CAM_MSD_INA_BV_01_10
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
605
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: ACC being deactivated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .accActive
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
631
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-11
filatov's avatar
filatov committed
632
633
634
635
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_11() runs on ItsCam system ItsCamSystem {
                    
636
                    f_CAM_MSD_INA_BV_01_11();
filatov's avatar
filatov committed
637
638
639
640
641
642
643
                    
                } // end TC_CAM_MSD_INA_BV_01_11
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
644
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Cruise control being activated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .cruiseControl
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
670
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-12
filatov's avatar
filatov committed
671
672
673
674
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_12() runs on ItsCam system ItsCamSystem {
                    
675
                    f_CAM_MSD_INA_BV_01_12();
filatov's avatar
filatov committed
676
677
678
679
680
681
682
                    
                } // end TC_CAM_MSD_INA_BV_01_12
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
683
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Cruise control being deactivated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .cruiseControl
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
709
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-13
filatov's avatar
filatov committed
710
711
712
713
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_13() runs on ItsCam system ItsCamSystem {
                    
714
                    f_CAM_MSD_INA_BV_01_13();
filatov's avatar
filatov committed
715
716
717
718
719
720
721
                    
                } // end TC_CAM_MSD_INA_BV_01_13
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
722
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Speed limiter being activated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .speedLimiterActive
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
748
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-14
filatov's avatar
filatov committed
749
750
751
752
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_14() runs on ItsCam system ItsCamSystem {
                    
753
                    f_CAM_MSD_INA_BV_01_14();
filatov's avatar
filatov committed
754
755
756
757
758
759
760
                    
                } // end TC_CAM_MSD_INA_BV_01_14
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
761
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Speed limiter control being deactivated
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .accelerationControl
                 *                .speedLimiterActive
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
787
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-15
filatov's avatar
filatov committed
788
789
790
791
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_15() runs on ItsCam system ItsCamSystem {
                    
792
                    f_CAM_MSD_INA_BV_01_15();
filatov's avatar
filatov committed
793
794
795
796
797
798
799
                    
                } // end TC_CAM_MSD_INA_BV_01_15
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
800
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Low beam headlights being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .lowBeamHeadlightsOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
826
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-16
filatov's avatar
filatov committed
827
828
829
830
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_16() runs on ItsCam system ItsCamSystem {
                    
831
                    f_CAM_MSD_INA_BV_01_16();
filatov's avatar
filatov committed
832
833
834
835
836
837
838
                    
                } // end TC_CAM_MSD_INA_BV_01_16
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
839
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Low beam headlights being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .lowBeamHeadlightsOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
865
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-17
filatov's avatar
filatov committed
866
867
868
869
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_17() runs on ItsCam system ItsCamSystem {
                    
870
                    f_CAM_MSD_INA_BV_01_17();
filatov's avatar
filatov committed
871
872
873
874
875
876
877
                    
                } // end TC_CAM_MSD_INA_BV_01_17
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
878
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: High beam headlights being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .highBeamHeadlightsOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
904
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-18
filatov's avatar
filatov committed
905
906
907
908
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_18() runs on ItsCam system ItsCamSystem {
                    
909
                    f_CAM_MSD_INA_BV_01_18();
filatov's avatar
filatov committed
910
911
912
913
914
915
916
                    
                } // end TC_CAM_MSD_INA_BV_01_18
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
917
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: High beam headlights being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .highBeamHeadlightsOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
943
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-19
filatov's avatar
filatov committed
944
945
946
947
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_19() runs on ItsCam system ItsCamSystem {
                    
948
                    f_CAM_MSD_INA_BV_01_19();
filatov's avatar
filatov committed
949
950
951
952
953
954
955
                    
                } // end TC_CAM_MSD_INA_BV_01_19
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
956
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Left turn signal being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .leftTurnSignalOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
982
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-20
filatov's avatar
filatov committed
983
984
985
986
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_20() runs on ItsCam system ItsCamSystem {
                    
987
                    f_CAM_MSD_INA_BV_01_20();
filatov's avatar
filatov committed
988
989
990
991
992
993
994
                    
                } // end TC_CAM_MSD_INA_BV_01_20
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
995
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Left turn signal being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .leftTurnSignalOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1021
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-21
filatov's avatar
filatov committed
1022
1023
1024
1025
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_21() runs on ItsCam system ItsCamSystem {
                    
1026
                    f_CAM_MSD_INA_BV_01_21();
filatov's avatar
filatov committed
1027
1028
1029
1030
1031
1032
1033
                    
                } // end TC_CAM_MSD_INA_BV_01_21
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1034
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Right turn signal being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .rightTurnSignalOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1060
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-22
filatov's avatar
filatov committed
1061
1062
1063
1064
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_22() runs on ItsCam system ItsCamSystem {
                    
1065
                    f_CAM_MSD_INA_BV_01_22();
filatov's avatar
filatov committed
1066
1067
1068
1069
1070
1071
1072
                    
                } // end TC_CAM_MSD_INA_BV_01_22
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1073
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Right turn signal being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .rightTurnSignalOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1099
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-23
filatov's avatar
filatov committed
1100
1101
1102
1103
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_23() runs on ItsCam system ItsCamSystem {
                    
1104
                    f_CAM_MSD_INA_BV_01_23();
filatov's avatar
filatov committed
1105
1106
1107
1108
1109
1110
1111
                    
                } // end TC_CAM_MSD_INA_BV_01_23
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1112
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Daytime running lights being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .daytimeRunningLightsOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1138
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-24
filatov's avatar
filatov committed
1139
1140
1141
1142
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_24() runs on ItsCam system ItsCamSystem {
                    
1143
                    f_CAM_MSD_INA_BV_01_24();
filatov's avatar
filatov committed
1144
1145
1146
1147
1148
1149
1150
                    
                } // end TC_CAM_MSD_INA_BV_01_24
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1151
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Daytime running lights being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .daytimeRunningLightsOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1177
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-25
filatov's avatar
filatov committed
1178
1179
1180
1181
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_25() runs on ItsCam system ItsCamSystem {
                    
1182
                    f_CAM_MSD_INA_BV_01_25();
filatov's avatar
filatov committed
1183
1184
1185
1186
1187
1188
1189
                    
                } // end TC_CAM_MSD_INA_BV_01_25
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1190
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Reverse light being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .reverseLightOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1216
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-26
filatov's avatar
filatov committed
1217
1218
1219
1220
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_26() runs on ItsCam system ItsCamSystem {
                    
1221
                    f_CAM_MSD_INA_BV_01_26();
filatov's avatar
filatov committed
1222
1223
1224
1225
1226
1227
1228
                    
                } // end TC_CAM_MSD_INA_BV_01_26
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1229
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Reverse light being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .reverseLightOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1255
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-27
filatov's avatar
filatov committed
1256
1257
1258
1259
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_27() runs on ItsCam system ItsCamSystem {
                    
1260
                    f_CAM_MSD_INA_BV_01_27();
filatov's avatar
filatov committed
1261
1262
1263
1264
1265
1266
1267
                    
                } // end TC_CAM_MSD_INA_BV_01_27
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1268
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Fog lights being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .fogLightOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1294
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-28
filatov's avatar
filatov committed
1295
1296
1297
1298
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_28() runs on ItsCam system ItsCamSystem {
                    
1299
                    f_CAM_MSD_INA_BV_01_28();
filatov's avatar
filatov committed
1300
1301
1302
1303
1304
1305
1306
                    
                } // end TC_CAM_MSD_INA_BV_01_28
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1307
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Fog lights being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .fogLightOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1333
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-29
filatov's avatar
filatov committed
1334
1335
1336
1337
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_29() runs on ItsCam system ItsCamSystem {
                    
1338
                    f_CAM_MSD_INA_BV_01_29();
filatov's avatar
filatov committed
1339
1340
1341
1342
1343
1344
1345
                    
                } // end TC_CAM_MSD_INA_BV_01_29
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1346
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Parking lights being activated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .parkingLightsOn
                 *     VALUE: 1
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1372
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-30
filatov's avatar
filatov committed
1373
1374
1375
1376
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_30() runs on ItsCam system ItsCamSystem {
                    
1377
                    f_CAM_MSD_INA_BV_01_30();
filatov's avatar
filatov committed
1378
1379
1380
1381
1382
1383
1384
                    
                } // end TC_CAM_MSD_INA_BV_01_30
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1385
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Parking lights being deactivated
                 *     FIELD: lowFrequencyContainer
                 *                .basicVehicleContainerLowFrequency
                 *                .exteriorLights
                 *                .parkingLightsOn
                 *     VALUE: 0
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1411
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-31
filatov's avatar
filatov committed
1412
1413
1414
1415
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_31() runs on ItsCam system ItsCamSystem {
                    
1416
                    f_CAM_MSD_INA_BV_01_31();
filatov's avatar
filatov committed
1417
1418
1419
1420
1421
1422
1423
                    
                } // end TC_CAM_MSD_INA_BV_01_31
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1424
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Heading value
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .heading
                 *     VALUE: measured value
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1449
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-32
filatov's avatar
filatov committed
1450
1451
1452
1453
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_32() runs on ItsCam system ItsCamSystem {
                    
1454
                    f_CAM_MSD_INA_BV_01_32();
filatov's avatar
filatov committed
1455
1456
1457
1458
1459
1460
1461
                    
                } // end TC_CAM_MSD_INA_BV_01_32
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1462
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Speed value
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .speed
                 *     VALUE: measured value
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1487
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-33
filatov's avatar
filatov committed
1488
1489
1490
1491
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_33() runs on ItsCam system ItsCamSystem {
                    
1492
                    f_CAM_MSD_INA_BV_01_33();
filatov's avatar
filatov committed
1493
1494
1495
1496
1497
1498
1499
                    
                } // end TC_CAM_MSD_INA_BV_01_33
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1500
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Drive direction value
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .driveDirection
                 *     VALUE: measured value
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1525
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-34
filatov's avatar
filatov committed
1526
1527
1528
1529
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_34() runs on ItsCam system ItsCamSystem {
                    
1530
                    f_CAM_MSD_INA_BV_01_34();
filatov's avatar
filatov committed
1531
1532
1533
1534
1535
1536
1537
                    
                } // end TC_CAM_MSD_INA_BV_01_34
                
                /**
                 * @desc Check that latest value of in-vehicle data is included 
                 *       in CAM.
                 * <pre>
1538
                 * Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
filatov's avatar
filatov committed
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state
                 *     }
                 *     INFO: Yaw rate value
                 *     FIELD: highFrequencyContainer
                 *                .basicVehicleContainerHighFrequency
                 *                .yawRate
                 *     VALUE: measured value
                 * 
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             the IUT is alerted about INFO
                 *         }
                 *         then {
                 *             the IUT sends a valid CAM
                 *                 containing cam
                 *                     containing camParameters
                 *                         containing FIELD set to VALUE
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1563
                 * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-01-35
filatov's avatar
filatov committed
1564
1565
1566
1567
                 * @reference ETSI EN 302 637-2 , clause 5.2
                 */
                testcase TC_CAM_MSD_INA_BV_01_35() runs on ItsCam system ItsCamSystem {
                    
1568
                    f_CAM_MSD_INA_BV_01_35();
filatov's avatar
filatov committed
1569
1570
1571
1572
1573
1574
1575
1576
1577
                    
                } // end TC_CAM_MSD_INA_BV_01_35
                
            } // end group camInVehicleData
            
            /**
             * @desc Check that publicTransportContainer is included if 
             *       vehicleRole is set to publicTransport(1).
             * <pre>
1578
             * Pics Selection: PICS_CAM_GENERATION AND PICS_PUBLICTRANS
filatov's avatar
filatov committed
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT’s vehicle role being set to publicTransport(1)
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *                             containing publicTransportContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1599
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-02
filatov's avatar
filatov committed
1600
1601
1602
1603
             * @reference ETSI EN 302 637-2 , Annex B.11
             */
            testcase TC_CAM_MSD_INA_BV_02() runs on ItsCam system ItsCamSystem {
                
1604
                f_CAM_MSD_INA_BV_02();
filatov's avatar
filatov committed
1605
1606
1607
1608
1609
1610
1611
                
            } // end TC_CAM_MSD_INA_BV_02
            
            /**
             * @desc Check that specialTransportContainer is included if 
             *       vehicleRole is set to specialTransport(2).
             * <pre>
1612
             * Pics Selection: PICS_CAM_GENERATION AND PICS_SPECIALTRANS
filatov's avatar
filatov committed
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT’s vehicle role being set to specialTransport(2)
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *                             containing specialTransportContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1633
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-03
filatov's avatar
filatov committed
1634
1635
1636
1637
             * @reference ETSI EN 302 637-2 , Annex B.12
             */
            testcase TC_CAM_MSD_INA_BV_03() runs on ItsCam system ItsCamSystem {
                
1638
                f_CAM_MSD_INA_BV_03();
filatov's avatar
filatov committed
1639
1640
1641
1642
1643
1644
1645
                
            } // end TC_CAM_MSD_INA_BV_03
            
            /**
             * @desc Check that dangerousGoodsContainer is included if 
             *       vehicleRole is set to dangerousGoods(3).
             * <pre>
1646
             * Pics Selection: PICS_CAM_GENERATION AND PICS_DANGEROUSGOODS
filatov's avatar
filatov committed
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT’s vehicle role being set to dangerousGoods(3)
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *                             containing dangerousGoodsContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1667
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-04
filatov's avatar
filatov committed
1668
1669
1670
1671
             * @reference ETSI EN 302 637-2 , Annex B.13
             */
            testcase TC_CAM_MSD_INA_BV_04() runs on ItsCam system ItsCamSystem {
                
1672
                f_CAM_MSD_INA_BV_04();
filatov's avatar
filatov committed
1673
1674
1675
1676
1677
1678
1679
                
            } // end TC_CAM_MSD_INA_BV_04
            
            /**
             * @desc Check that roadWorksContainerBasic is included if 
             *       vehicleRole is set to roadWork(4).
             * <pre>
1680
             * Pics Selection: PICS_CAM_GENERATION AND PICS_ROADWORKS
filatov's avatar
filatov committed
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT’s vehicle role being set to roadWork(4)
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *                             containing roadWorksContainerBasic
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1701
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-05
filatov's avatar
filatov committed
1702
1703
1704
1705
             * @reference ETSI EN 302 637-2 , Annex B.14
             */
            testcase TC_CAM_MSD_INA_BV_05() runs on ItsCam system ItsCamSystem {
                
1706
                f_CAM_MSD_INA_BV_05();
filatov's avatar
filatov committed
1707
1708
1709
1710
1711
1712
1713
                
            } // end TC_CAM_MSD_INA_BV_05
            
            /**
             * @desc Check that rescueContainer is included if vehicleRole is 
             *       set to rescue(5).
             * <pre>
1714
             * Pics Selection: PICS_CAM_GENERATION AND PICS_RESCUE
filatov's avatar
filatov committed
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT’s vehicle role being set to rescue(5)
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *                             containing rescueContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1735
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-06
filatov's avatar
filatov committed
1736
1737
1738
1739
             * @reference ETSI EN 302 637-2 , Annex B.15
             */
            testcase TC_CAM_MSD_INA_BV_06() runs on ItsCam system ItsCamSystem {
                
1740
                f_CAM_MSD_INA_BV_06();
filatov's avatar
filatov committed
1741
1742
1743
1744
1745
1746
1747
                
            } // end TC_CAM_MSD_INA_BV_06
            
            /**
             * @desc Check that emergencyContainer is included if vehicleRole 
             *       is set to emergency(6).
             * <pre>
1748
             * Pics Selection: PICS_CAM_GENERATION AND PICS_EMERGENCY
filatov's avatar
filatov committed
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT’s vehicle role being set to emergency(6)
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *                             containing emergencyContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1769
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-07
filatov's avatar
filatov committed
1770
1771
1772
1773
             * @reference ETSI EN 302 637-2 , Annex B.16
             */
            testcase TC_CAM_MSD_INA_BV_07() runs on ItsCam system ItsCamSystem {
                
1774
                f_CAM_MSD_INA_BV_07();
filatov's avatar
filatov committed
1775
1776
1777
1778
1779
1780
1781
                
            } // end TC_CAM_MSD_INA_BV_07
            
            /**
             * @desc Check that safetyCarContainer is included if vehicleRole 
             *       is set to safetyCar(7).
             * <pre>
1782
             * Pics Selection: PICS_CAM_GENERATION AND PICS_SAFETY_CAR
filatov's avatar
filatov committed
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT’s vehicle role being set to safetyCar(7)
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             a CAM is generated
             *         }
             *         then {
             *             the IUT sends a valid CAM
             *                 containing cam
             *                     containing camParameters
             *                         containing specialVehicleContainer
             *                             containing safetyCarContainer
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1803
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/INA/BV-08
filatov's avatar
filatov committed
1804
1805
1806
1807
             * @reference ETSI EN 302 637-2 , Annex B.17
             */
            testcase TC_CAM_MSD_INA_BV_08() runs on ItsCam system ItsCamSystem {
                
1808
                f_CAM_MSD_INA_BV_08();
filatov's avatar
filatov committed
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
                
            } // end TC_CAM_MSD_INA_BV_08
            
        } // end group camInformationAdaptation
        
        group camGenerationFrequency {
            
                /**
                 * @desc Check that CAMs are not generated more frequently than 
                 *       T_GenCamMin.
                 * <pre>
1820
             * Pics Selection: PICS_CAM_GENERATION AND PICS_T_GENCAMMIN
filatov's avatar
filatov committed
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state"
                 *     }
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             IUT sends a CAM
                 *         }
                 *         then {
                 *             the IUT does not send any CAM before expiry of T_GenCamMin
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1836
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/GFQ/TI-01
filatov's avatar
filatov committed
1837
1838
                 * @reference ETSI EN 302 637-2 , clause 6.1.3
                 */
1839
            testcase TC_CAM_MSD_GFQ_TI_01() runs on ItsCam system ItsCamSystem {
filatov's avatar
filatov committed
1840
                    
1841
                f_CAM_MSD_GFQ_TI_01();
filatov's avatar
filatov committed
1842
                    
1843
            } // end TC_CAM_MSD_GFQ_TI_01
filatov's avatar
filatov committed
1844
1845
1846
1847
1848
                    
                /**
                 * @desc Check that CAMs are not generated less frequently than 
                 *       T_GenCamMax.
                 * <pre>
1849
                 * Pics Selection: PICS_CAM_GENERATION
filatov's avatar
filatov committed
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
                 * Initial conditions: 
                 *     with {
                 *         the IUT being in the "initial state"
                 *     }
                 * Expected behaviour:
                 *     ensure that {
                 *         when {
                 *             IUT sends a CAM
                 *         }
                 *         then {
                 *             the IUT sends another CAM before expiry of T_GenCamMax
                 *         }
                 *     }
                 * </pre>
                 * 
garciay's avatar
garciay committed
1865
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/GFQ/TI-02
filatov's avatar
filatov committed
1866
1867
                 * @reference ETSI EN 302 637-2 , clause 6.1.3
                 */
1868
            testcase TC_CAM_MSD_GFQ_TI_02() runs on ItsCam system ItsCamSystem {
filatov's avatar
filatov committed
1869
                    
1870
                f_CAM_MSD_GFQ_TI_02();
filatov's avatar
filatov committed
1871
                    
1872
            } // end TC_CAM_MSD_GFQ_TI_02
filatov's avatar
filatov committed
1873
1874
1875
1876
1877
                    
            /**
             * @desc Check that TGenCam is set to T_GenCamMax after generating 
             *       N_GenCam due to condition 2.
             * <pre>
1878
             * Pics Selection: PICS_CAM_GENERATION
filatov's avatar
filatov committed
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
             * Initial conditions: 
             *     with {
             *         the IUT being in the "initial state"
             *         the IUT having sent a CAM at time TIME_1
             *         the IUT having sent an anticipated CAM due to condition 2 at time (TIME_1 + INTERVAL_1)
             *         the IUT having sent (N_GenCam - 1) subsequent CAMs every INTERVAL_1
             *     }
             * Expected behaviour:
             *     ensure that {
             *         when {
             *             the IUT sends CAM
             *         }
             *         then {
             *             the IUT sends another CAM after expiry of T_GenCamMax
             *         }
             *     }
             * </pre>
             * 
garciay's avatar
garciay committed
1897
             * @see       ETSI TS 102 868-2 v1.4.1 TP/CAM/MSD/GFQ/TI-03
filatov's avatar
filatov committed
1898
1899
             * @reference ETSI EN 302 637-2 , clause 6.1.3
             */
1900
            testcase TC_CAM_MSD_GFQ_TI_03() runs on ItsCam system ItsCamSystem {
filatov's avatar
filatov committed
1901