Newer
Older
/**
Bostjan Pintar
committed
* @author ETSI / STF517 / TTF 002
* @version $Url: https://oldforge.etsi.org/svn/ITS/tags/20170222_STF527_Final/ttcn/AtsMapemSpatem/ItsMapem_TestCases.ttcn $
* $Id: ItsMapem_TestCases.ttcn 2646 2016-12-16 07:35:58Z garciay $
Bostjan Pintar
committed
* @reference ETSI TS 103 301 v1.3.1
* @copyright ETSI Copyright Notification
* No part may be reproduced except as authorized by written permission.
* The copyright and the foregoing restriction extend to reproduction in all media.
* All rights reserved.
*
*/
module ItsMapem_TestCases {
// LibItsMapemSpatem
import from LibItsMapemSpatem_TestSystem all;
// ItsMapemSpatem
import from ItsMapem_TpFunctions all;
group mapeMessageDissemination {
group mapeMessageFormat {
/**
* @desc Check that protocolVersion is set to 1 and messageID is set to 4
* <pre>
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a MAPEM is generated
* }
* then {
* the IUT sends a valid MAPEM
* containing ITS PDU header
* containing protocolVersion
* indicating value '1'
* and containing messageID
* indicating value '5'
* }
* }
* </pre>
*
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_01
* @reference ETSI TS 103 301 v1.1.1 Clause 5.3
*/
Bostjan Pintar
committed
testcase TC_IS_RLT_GEN_MSGF_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
Bostjan Pintar
committed
f_IS_RLT_GEN_MSGF_BV_01();
Bostjan Pintar
committed
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_01
/**
* @desc Check that the intersection information revision number is changed when the intersection
* configuration is changed.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT already sent MAPEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing elements of type IntersectionGeometry
* containing revision
* indicating value R
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing new configuration of the intersection
* }
* then {
* the IUT sends MAPEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing the element of type IntersectionGeometry
* containing revision
* indicating value R+1
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_02
Bostjan Pintar
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
* @reference CEN ISO/TS 19091 [4] clause 6.5.13
*/
testcase TC_IS_RLT_GEN_MSGF_BV_02 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_02();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_02
/**
* @desc Check that the intersection information revision number is not changed when the
* intersection configuration is still the same.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT already sent MAPEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing elements of type IntersectionGeometry
* containing revision
* indicating value R
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing the same configuration of the intersection
* }
* then {
* the IUT sends MAPEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing the element of type IntersectionGeometry
* containing revision
* indicating value R
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_03
Bostjan Pintar
committed
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
* @reference CEN ISO/TS 19091 [4] clause 6.5.13
*/
testcase TC_IS_RLT_GEN_MSGF_BV_03 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_03();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_03
/**
* @desc Check that RLT Service transmits MAPEM with the valid connection trajectories.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a MAPEM is generated
* containing MapData data element
* containing intersections
* containing elements of type IntersectionGeometry
* containing laneSet
* containing elements of type GenericLane
* containing regional
* containing elements of type ConnectionTrajectory
* }
* then {
* the first node of the trajectory
* indicate the position related to the node of ingress lane
Bostjan Pintar
committed
* indicate the position identical to the first node of the connected egress lane
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_04
Bostjan Pintar
committed
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
* @reference CEN ISO/TS 19091 [4] clause G.8.2.3.4
*/
testcase TC_IS_RLT_GEN_MSGF_BV_04 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_04();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_04
/**
* @desc Check that reference point altitude is encoded using regional extension.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing reference position
* containing altitude information ALTITUDE
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing refPoint
* not containing elevation
* and containing regional
* containing element of type Position3D-addGrpC
* containing altitude
* indicating ALTITUDE
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_05
Bostjan Pintar
committed
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
* @reference CEN ISO/TS 19091 [4] clause G.8.2.6
*/
testcase TC_IS_RLT_GEN_MSGF_BV_05 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_05();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_05
/**
* @desc Check that each lane of the intersection contains a unique number.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersections
* containing multiple lines
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing laneSet
* containing elements of type GenericLane
* containing laneID
* indicating unique value
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_06
Bostjan Pintar
committed
253
254
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
280
281
282
283
284
285
286
287
288
289
290
* @reference CEN ISO/TS 19091 [4] clause 6.5.8
*/
testcase TC_IS_RLT_GEN_MSGF_BV_06 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_06();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_06
/**
* @desc Check that the number of nodes needed to represent the path of a lane is selected such that
* the perpendicular distance between the lane centre line and the straight line connecting the
* two consecutive nodes is less than 1 m.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersections
* containing multiple lines
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing laneSet
* containing elements of type GenericLane
* containing enough elements
* indicating precise lane path
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_07
Bostjan Pintar
committed
292
293
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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
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
* @reference CEN ISO/TS 19091 [4] clause 6.5.9
*/
testcase TC_IS_RLT_GEN_MSGF_BV_07 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_07();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_07
/**
* @desc Check that each vehicular lane of the intersection includes only allowed manoeuvres and
* vehicle types.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersections
* containing vehicle lane
* containing laneID (LANE_ID)
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing laneSet
* containing elements of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing laneAttributes
* containing laneType
* containing vehicle
* not indicating any flags
* or indicating isVehicleFlyOverLane
* or indicating hovLaneUseOnly
* and containing sharedWith
* not indicating any flags
* indicating otherNonMotorizedTrafficTypes (2)
* and/or indicating pedestriansTraffic (6)
* and/or indicating cyclistVehicleTraffic (7)
* and/or indicating pedestrianTraffic (9)
* and/or containing connectsTo
* containing elements of type Connection
* containing connectingLane
* containing maneuver
* indicating maneuverStraightAllowed
* or indicating maneuverLeftAllowed
* or indicating maneuverRightAllowed
* or indicating maneuverUTurnAllowed
* or indicating maneuverLeftTurnOnRedAllowed
* or indicating maneuverRightTurnOnRedAllowed
* or not containing maneuvre
* or containing element of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing overlays
* indicating list of lanes to be used for the present TP
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_08
Bostjan Pintar
committed
359
360
361
362
363
364
365
366
367
368
369
370
371
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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
* @reference CEN ISO/TS 19091 [4] clause 6.5.10
*/
testcase TC_IS_RLT_GEN_MSGF_BV_08 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_08();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_08
/**
* @desc Check that each pedestrian lane of the intersection includes only allowed manoeuvres and
* user types.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersections
* containing pedestrian lane
* containing laneID (LANE_ID)
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing laneSet
* containing elements of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing laneAttributes
* containing laneType
* containing crosswalk
* or containing bikeLane
* or containing sidewalk
* and containing sharedWith
* indicating otherNonMotorizedTrafficTypes (2)
* or indicating pedestriansTraffic (6)
* or indicating cyclistVehicleTraffic (7)
* or indicating pedestrianTraffic (9)
* or not indicating any value
* and containing connectsTo
* containing elements of type Connection
* containing connectingLane
* containing maneuver
* indicating maneuverStraightAllowed
* or not containing maneuver
* or containing element of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing overlays
* indicating list of lanes to be used for the present TP
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_09
Bostjan Pintar
committed
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
* @reference CEN ISO/TS 19091 [4] clause 6.5.11
*/
testcase TC_IS_RLT_GEN_MSGF_BV_09 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_09();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_09
/**
* @desc Check that each special lane of the intersection includes only allowed manoeuvres and user
* types.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_SPECIALIZED_CARS_MANOEUVRES
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersections
* containing special transport lane
* containing laneID (LANE_ID)
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing laneSet
* containing elements of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing laneAttributes
* containing laneType
* containing vehicle
* indicating hovLaneUseOnly
* or indicating restrictedToBusUse
* or indicating restrictedFromPublicUse
* or containing trackedVehicle
* and containing connectsTo
* containing elements of type Connection
* containing connectingLane
* containing maneuver
* indicating maneuverStraightAllowed
Bostjan Pintar
committed
* or not containing maneuver
* or containing element of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing overlays
* indicating list of lanes to be used for the present TP
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_10
Bostjan Pintar
committed
478
479
480
481
482
483
484
485
486
487
488
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
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
* @reference CEN ISO/TS 19091 [4] clause 6.5.12
*/
testcase TC_IS_RLT_GEN_MSGF_BV_10 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_10();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_10
/**
* @desc Check that each crosswalk lane of the intersection does not have ingress or egress
* approaches and includes only valid user types.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersections
* containing crosswalk lane
* containing laneID (LANE_ID)
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing laneSet
* containing element of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing laneAttributes
* containing laneType
* containing crosswalk
* and containing sharedWith
* indicating otherNonMotorizedTrafficTypes (2)
* or indicating pedestriansTraffic (6)
* or indicating cyclistVehicleTraffic (7)
* or indicating trackedVehicleTraffic (8)
* or indicating pedestrianTraffic (9)
* or not indicating any value
* and not containing ingressApproach
* and not containing egressApproach
* or containing element of type GenericLane
* containing laneID
* indicating LANE_ID
* and containing overlays
* indicating list of lanes to be used for the present TP
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_11
Bostjan Pintar
committed
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
* @reference CEN ISO/TS 19091 [4] clause 6.5.14
*/
testcase TC_IS_RLT_GEN_MSGF_BV_11 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_11();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_11
/**
* @desc Check that each lane information contain lane width or default lane width is provided.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_MAPEM_HAS_LANE_WIDTH
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersections
* containing lanes
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing the element of type IntersectionGeometry
* containing laneWidth
* indicating default lane with
* or containing laneSet
* containing all elements of type GenericLane
* containing nodeList
* containing nodes
* containing all elements of type NodeXY
* containing attributes
* containing dWidth
* indicating lane with at the point
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_12
Bostjan Pintar
committed
* @reference CEN ISO/TS 19091 [4] clause 6.5.15
*/
testcase TC_IS_RLT_GEN_MSGF_BV_12 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_12();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_12
/**
* @desc Check that default lane width is not included in the RTL message if each lane information contains lane width.
Bostjan Pintar
committed
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_MAPEM_HAS_LANE_WIDTH
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing map.intersections
* containing all elements of type IntersectionGeometry
* containing laneSet
* containing all elements of type GenericLane
* containing nodeList
* containing nodes
* containing all elements of type NodeXY
* containing attributes
* containing dWidth
* indicating lane with at the point
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing all elements of type IntersectionGeometry
* not containing laneWidth
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_13
Bostjan Pintar
committed
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
* @reference CEN ISO/TS 19091 [4] clause 6.5.16
*/
testcase TC_IS_RLT_GEN_MSGF_BV_13 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_13();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_13
/**
* @desc Check that possible manoevers are encoded in connectsTo data element.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* the RLT service is requested to send a MAPEM
* containing possible manoevers information
* }
* then {
* the IUT sends MAPEM
* containing elements of type IntersectionGeometry
* containing laneSet
* containing elements of type GenericLane
* containing DE connectsTo
* containing information about possible manoeuvers
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_14
Bostjan Pintar
committed
* @reference CEN ISO/TS 19091 [4] clauses 6.5.17, G.8.2.3.2
*/
testcase TC_IS_RLT_GEN_MSGF_BV_14 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_14();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_14
/**
* @desc An IUT shall broadcast the signal group identifier, the lanes/approaches associated with the
* signal group, and the lanes/approaches’ allowable manoeuvres.
Bostjan Pintar
committed
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing intersection
* containing lanes
* containing signalGroup
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing all elements of type IntersectionGeometry
* containing laneSet
* containing all elements of type GenericLane
* containing connectsTo
* containing elements of type Connection
* containing signalGroup
* indicating (SG)
* and containing connectingLane
* containing maneuver
* indicating possible maneuver
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_15
Bostjan Pintar
committed
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
* @reference CEN ISO/TS 19091 [4] clauses 6.5.21
*/
testcase TC_IS_RLT_GEN_MSGF_BV_15 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_15();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_15
/**
* @desc Check that lanes which are crossed by a crosswalk shall use the same ingressApproach /
* egressApproach identifier.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a MAPEM is generated
* containing MapData data element
* containing elements of type IntersectionGeometry
* containing more then one element of type GenericLane
* crossed by the same crosswalk lane
* }
* then {
* the IUT sends MAPEM
* containing map.intersections
* containing these elements of type GenericLane
* containing ingressApproach
* indicating the same value
* or containing egressApproach
* indicating the same value
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_16
Bostjan Pintar
committed
* @reference CEN ISO/TS 19091 [4] clause G.8.2.3.1
*/
testcase TC_IS_RLT_GEN_MSGF_BV_16 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_16();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_16
/**
* @desc Check that RLT Service transmits MAPEM without data elements not used in ETSI architecture:
Bostjan Pintar
committed
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_ETSI_STRICT
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a MAPEM is generated
* containing a new content
* indicating a value which is not exceeding the allowed message length
* }
* then {
* the IUT sends MAPEM
* containing MapData data element
* not containing layerType
* and not containing layerID
* and not containing dataParameters
* containing elements of type IntersectionGeometry
* containing elements of type GenericLane
* not containing preemptPriorityData
* and not containing maneuvers
* and containing connectsTo
* containing elements of type Connection
* containing connectingLane
* not containing maneuver
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_MSGF_BV_17
Bostjan Pintar
committed
* @reference CEN ISO/TS 19091 [4] clause G.8.1.1, G.8.2.1
*/
testcase TC_IS_RLT_GEN_MSGF_BV_17 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_MSGF_BV_17();
} // End of testcase TC_IS_RLT_GEN_MSGF_BV_17
} // End of group mapeMessageFormat
Bostjan Pintar
committed
//TODO Toggle comment following 2 tests
/**
* @desc Check that IVI Service generates a new MAPEM on reception of a valid AppMAPEM_Trigger request
* <pre>
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a MAPEM is generated
* }
* then {
* the IUT sends a valid MAPEM
* }
* }
* </pre>
*
* @reference ETSI TS 103 301 v1.1.1 Clause 6.4.1
*/
testcase TC_IS_RLT_EVGN_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_EVGN_BV_01();
} // End of testcase TC_IS_RLT_EVGN_BV_01
/**
* <pre>
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* containing map
* not containing LayerType
* and not containing LayerID
* and containing restrictionList
* indicating the value RL_1
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is alerted about a new restrictionList indicating the value RL_2
* }
* then {
* the IUT sends a valid MAPEM
* containing map
* not containing LayerType
* and not containing LayerID
* and containing restrictionList
* indicating indicating the value R_2
* }
* }
* </pre>
*
* @reference ETSI TS 103 301 v1.1.1 Clause 6.4.1
*/
testcase TC_IS_RLT_EVGN_BV_02 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_EVGN_BV_02();
} // End of testcase TC_IS_RLT_EVGN_BV_02
Bostjan Pintar
committed
/**
* @desc Check that RLT Service transmits non-fragmented MAPEM without the Layer ID.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is requested to send a MAPEM
* indicating a map structure which fits the allowed message length
* }
* then {
* the IUT sends a first MAPEM
* containing map
* not containing LayerID
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_FRAG_BV_01
Bostjan Pintar
committed
* @reference ETSI TS 103 301 [2], clause 6.4.1
* CEN ISO/TS 19091 [4], clause G.8.3.1
*/
testcase TC_IS_RLT_GEN_FRAG_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_FRAG_BV_01();
} // End of testcase TC_IS_RLT_GEN_FRAG_BV_01
/**
* @desc Check that RLT Service transmits fragmented MAPEM when the message size exceeds the allowed message length
* <pre>
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT has sent a MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is alerted about a new content
* indicating a new value which exceeds the allowed message length
* }
* then {
* the IUT sends a first valid MAPEM
* containing map
* containing LayerType
* and containing LayerID
* indication a value LID_1
* and the IUT sends a second valid MAPEM
* containing map
* containing LayerType
* and containing LayerID
* indication a value LID_2 = LID_1 + 1
* }
* }
* </pre>
*
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_FRAG_BV_02
Bostjan Pintar
committed
* @reference ETSI TS 103 301 [2], clause 6.4.1
* CEN ISO/TS 19091 [4], clause G.8.3.1
Bostjan Pintar
committed
testcase TC_IS_RLT_GEN_FRAG_BV_02 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
Bostjan Pintar
committed
f_IS_RLT_GEN_FRAG_BV_02();
Bostjan Pintar
committed
} // End of testcase TC_IS_RLT_GEN_FRAG_BV_02
group mapeCommunication {
/**
Bostjan Pintar
committed
* @desc Check that the RLT Service transmits continuously both MAPEM and SPATEM.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION and PICS_SPATEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* and the IUT has not sent any SPATEM yet
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT receives an AppSPATEM_Start request from the application layer
* }
* then {
* the IUT sends a valid SPATEM
* and the IUT sends a valid MAPEM
* }
* }
* </pre>
*
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_COM_BV_01
* @reference ETSI TS 103 301 v1.1.1 Clause 6.4.3.1
*/
Bostjan Pintar
committed
testcase TC_IS_RLT_GEN_COM_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
Bostjan Pintar
committed
f_IS_RLT_GEN_COM_BV_01();
Bostjan Pintar
committed
} // End of testcase TC_IS_RLT_GEN_COM_BV_01
/**
Bostjan Pintar
committed
* @desc Check that RLT service generates a MAP message with the revision data element
* synchronized with the revision data element of correspondent SPATEM message.
* <pre>
Bostjan Pintar
committed
* Pics Selection: PICS_SPATEM_GENERATION AND PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
Bostjan Pintar
committed
* and the IUT already sent MAPEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing elements of type IntersectionGeometry
* containing revision
* indicating value R
* and the IUT has sent SPATEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing elements of type IntersectionState
* containing revision
* indicating value R+1
* }
* Expected behaviour:
* ensure that {
* when {
Bostjan Pintar
committed
* the IUT is triggered to send the MAPEM
* containing the same configuration of the intersection
* }
* then {
Bostjan Pintar
committed
* the IUT sends MAPEM
* containing the elements of type IntersectionGeometry
* containing revision
* indicating value R+1
* }
* }
* </pre>
*
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_COM_BV_02
Bostjan Pintar
committed
* @reference CEN ISO/TS 19091 [4], clause G.8.2.5.1
*/
// testcase TC_IS_RLT_GEN_COM_BV_02 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
//
// f_IS_RLT_GEN_COM_BV_02();
//
// } // End of testcase TC_IS_RLT_GEN_COM_BV_02
/**
* @desc Check that the destination port for MAPEM is set to 2003
* <pre>
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT already sent MAPEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing elements of type IntersectionGeometry
* containing revision
* indicating value R
* and the IUT has sent SPATEM
* containing id of type IntersectionReferenceID
* indicating ID
* and containing elements of type IntersectionState
* containing revision
* indicating value R+1
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is triggered to send the MAPEM
* containing the same configuration of the intersection
* }
* then {
* the IUT sends a valid MAPEM
* containing the elements of type IntersectionGeometry
* containing revision
* indicating value R+1
* }
* }
* </pre>
*
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_COM_BV_03
*/
Bostjan Pintar
committed
testcase TC_IS_RLT_GEN_COM_BV_03 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
Bostjan Pintar
committed
f_IS_RLT_GEN_COM_BV_03();
Bostjan Pintar
committed
} // End of testcase TC_IS_RLT_GEN_COM_BV_03
/**
* @desc Check that MAPEM uses BTP_B packet
* Check that the destination port for MAPEM is set to 2003
* <pre>
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a MAPEM is generated
* }
* then {
* the IUT sends a valid MAPEM
* encapsulated in a GBC packet
* containing a correctly formatted Common Header
* containing HeaderType field
* indicating the value '4'
* }
* }
* </pre>
*
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_COM_BV_04
* @reference ETSI TS 103 301 v1.1.1 Clause 6.4.3.2
*/
Bostjan Pintar
committed
testcase TC_IS_RLT_GEN_COM_BV_04 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
Bostjan Pintar
committed
f_IS_RLT_GEN_COM_BV_04();
Bostjan Pintar
committed
} // End of testcase TC_IS_RLT_GEN_COM_BV_04
1105
1106
1107
1108
1109
1110
1111
1112
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
1138
/**
* @desc Check that TLM service encapsulates MAPEM in a GBC with the HeaderType field set to the value of 4
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a MAPEM is generated
* }
* then {
* the IUT sends a valid MAPEM
* encapsulated in a GBC packet
* containing a correctly formatted Common Header
* containing HeaderType field
* indicating the value '4'
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_COM_BV_05
* @reference ETSI TS 103 301 v1.1.1 Clause 6.4.3.2
*/
testcase TC_IS_RLT_GEN_COM_BV_05 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_COM_BV_05();
} // End of testcase TC_IS_RLT_GEN_COM_BV_05
} // End of group mapeCommunication
} // End of group mapeMessageDissemination
group mapeMessageProcessing {
Bostjan Pintar
committed
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
/**
* @desc Check that RLT service uses certificate containing valid ITS AID to sign MAPEM messages.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT is operating in secured mode
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* an IUT is triggered to send a MAPEM
* }
* then {
* the IUT sends a valid MAPEM
* containing a correctly formatted Security Header as a EtsiTs103097Data structure
* containing signedData.tbsData.headerInfo
* containing psid
* indicating ITS_AID_MAPEM
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_SEC_BV_01
Bostjan Pintar
committed
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_GEN_SEC_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_SEC_BV_01();
} // End of testcase TC_IS_RLT_GEN_SEC_BV_01
/**
* @desc Check that TLM service uses generic security profile to sign MAPEM message and does not
* include additional security header elements.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT is operating in secured mode
* and the IUT sending MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* a SPATEM is generated
* }
* then {
* the IUT sends a valid MAPEM
* containing a correctly formatted Security Header as a EtsiTs103097Data structure
* containing signedData.tbsData.headerInfo
* containing psid
* indicating ITS_AID_MAPEM
* and containing generationTime
* indicating realistic generation time
* and optionally containing generationLocation
* and not containing other header items
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_SEC_BV_02
Bostjan Pintar
committed
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
* @reference ETSI TS 103 301 [2], clause 12
*/
testcase TC_IS_RLT_GEN_SEC_BV_02 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_SEC_BV_02();
} // End of testcase TC_IS_RLT_GEN_SEC_BV_02
/**
* @desc Check that RLT service uses certificate containing valid Service Specific Permissions of
* type BitmapSsp to sign MAPEM messages and the SSP version is set to 1.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT is operating in secured mode
* and the IUT is authorized to sign MAPEM with the certificate CERT_MAP_SSP_NONE
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating other bits set to 0
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is requested to generate a MAPEM
* containing map
* not containing intersections
* and not containing roadSegments
* }
* then {
* the IUT sends a MAPEM
* signed with the CERT_SPAT_SSP_NONE
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_SSP_BV_01
Bostjan Pintar
committed
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
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
1294
1295
* @reference ETSI TS 103 301 [2], clause 4.5.1
*/
testcase TC_IS_RLT_GEN_SSP_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_SSP_BV_01();
} // End of testcase TC_IS_RLT_GEN_SSP_BV_01
/**
* @desc Check that RLT service sends a MAPEM message containing intersections when it is
* permitted by the signing certificate.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT is operating in secured mode
* and the IUT is authorized to sign MAPEM with the certificate CERT_MAP_SSP_1
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating bit at position 0 of octet 1 set to 1
* and indicating other bits set to 0
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is requested to generate a MAPEM
* containing map
* containing intersections
* and not containing roadSegments
* }
* then {
* the IUT sends a MAPEM
* signed with the CERT_SPAT_SSP_1
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_SSP_BV_02
Bostjan Pintar
committed
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_GEN_SSP_BV_02 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_SSP_BV_02();
} // End of testcase TC_IS_RLT_GEN_SSP_BV_02
/**
* @desc Check that RLT service does not send a MAPEM message containing intersections if it is not
* permitted by the certificate.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT is operating in secured mode
* and the IUT is authorized to sign MAPEM with the certificate CERT_MAP_SSP_NONE
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating other bits set to 0
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is requested to generate a MAPEM
* containing map
* containing intersections
* and not containing roadSegments
* }
* then {
Bostjan Pintar
committed
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_SSP_BO_03
Bostjan Pintar
committed
1338
1339
1340
1341
1342
1343
1344
1345
1346
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
1372
1373
1374
1375
1376
1377
1378
1379
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_GEN_SSP_BO_03 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_SSP_BO_03();
} // End of testcase TC_IS_RLT_GEN_SSP_BO_03
/**
* @desc Check that RLT service sends a MAPEM message containing roadSegments when it is
* permitted by the signing certificate.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT is operating in secured mode
* and the IUT is authorized to sign MAPEM with the certificate CERT_MAP_SSP_2
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating bit at position 1 of octet 1 set to 1
* and indicating other bits set to 0
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is requested to generate a MAPEM
* containing map
* containing roadSegments
* and not containing intersections
* }
* then {
* the IUT sends a MAPEM
* signed with the CERT_SPAT_SSP_2
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_SSP_BV_04
Bostjan Pintar
committed
1381
1382
1383
1384
1385
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
1411
1412
1413
1414
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_GEN_SSP_BV_04 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_SSP_BV_04();
} // End of testcase TC_IS_RLT_GEN_SSP_BV_04
/**
* @desc Check that RLT service does not send a MAPEM message containing roadSegments if it is
* not permitted by the certificate.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* and the IUT is operating in secured mode
* and the IUT is authorized to sign MAPEM with the certificate CERT_MAP_SSP_NONE
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating other bits set to 0
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT is requested to generate a MAPEM
* containing map
* containing roadSegments
* and not containing intersections
* }
* then {
Bostjan Pintar
committed
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_SSP_BO_05
Bostjan Pintar
committed
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_GEN_SSP_BO_05 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_SSP_BO_05();
} // End of testcase TC_IS_RLT_GEN_SSP_BO_05
/**
* @desc Check that RLT service sends a MAPEM message containing roadSegments when it is
* permitted by the signing certificate.
* <pre>
* Pics Selection: PICS_MAPEM_GENERATION AND PICS_MAPEM_TRANSMISSION_RATE
* Initial conditions:
* with {
* the IUT being in the "MAPEM initial state"
* the IUT has sent MAPEM message at TIME_1
* }
* Expected behaviour:
* ensure that {
* when {
* UIT is triggered to send a next MAPEM
* }
* then {
* the IUT sends MAPEM at TIME_2
* indicating DELTA = TIME_2 - TIME_1
* where DELTA is less than 2 second and more then 500ms
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_RATE_BV_01
Bostjan Pintar
committed
* @reference CEN ISO/TS 19091 [4], clauses 6.15
*/
testcase TC_IS_RLT_GEN_RATE_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_RATE_BV_01();
} // End of testcase TC_IS_RLT_GEN_RATE_BV_01
/**
* @desc Check that the IUT can successfully process all mandatory fields of MAPEM received
* <pre>
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT having receive a valid MAPEM
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT receives a valid MAPEM
* }
* then {
* the IUT forwards the MAPEM content to upper layers
* and the IUT forwards the MAPEM content to other facilities
* }
* }
* </pre>
*
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_GEN_RCV_BV_03
* @reference ETSI TS 103 301 v1.1.1 Clause 6.3
*/
Bostjan Pintar
committed
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
testcase TC_IS_RLT_GEN_RCV_BV_03 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_GEN_RCV_BV_03();
} // End of testcase TC_IS_RLT_GEN_RCV_BV_03
/**
* @desc Check that the IUT accepts the MAPEM signed with valid certificate.
* <pre>
* Pics Selection: PICS_MAPEM_RECEPTION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT is operating in secured mode
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT receives a MAPEM
* containing spat
* not containing intersections
* and not containing roadSegments
* and signed with the certificate
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating other bits set to 0
* }
* then {
* the IUT accepts the received MAPEM
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_RCV_SEC_BV_01
Bostjan Pintar
committed
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_RCV_SEC_BV_01 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_RCV_SEC_BV_01();
} // End of testcase TC_IS_RLT_RCV_SEC_BV_01
/**
* @desc Check that the IUT skips the MAPEM signed with certificate without permissions to sign
* MAPEM.
* <pre>
* Pics Selection: PICS_MAPEM_RECEPTION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT is operating in secured mode
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT receives a MAPEM
* containing spat
* not containing intersections
* and not containing roadSegments
* and signed with the certificate
* not containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* }
* then {
* the IUT skips the received MAPEM
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_RCV_SEC_BO_02
Bostjan Pintar
committed
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_RCV_SEC_BO_02 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_RCV_SEC_BO_02();
} // End of testcase TC_IS_RLT_RCV_SEC_BO_02
/**
* @desc Check that the IUT skips the MAPEM containing intersections signed with certificate without
* service specific permissions (SSP) to sign such a MAPEM.
* <pre>
* Pics Selection: PICS_MAPEM_RECEPTION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT is operating in secured mode
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT receives a MAPEM
* containing spat
* containing intersections
* and not containing roadSegments
* and signed with the certificate
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating other bits set to 0
* }
* then {
* the IUT skips the received MAPEM
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_RCV_SEC_BO_03
Bostjan Pintar
committed
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_RCV_SEC_BO_03 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
f_IS_RLT_RCV_SEC_BO_03();
} // End of testcase TC_IS_RLT_RCV_SEC_BO_03
/**
* @desc Check that the IUT skips the MAPEM containing roadSegments signed with certificate
* without service specific permissions (SSP) to sign such a MAPEM
* <pre>
* Pics Selection: PICS_MAPEM_RECEPTION AND PICS_IS_IUT_SECURED
* Initial conditions:
* with {
* the IUT being in the "initial state"
* and the IUT is operating in secured mode
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT receives a MAPEM
* containing spat
* containing roadSegments
* and not containing intersections
* and signed with the certificate
* containing appPermission item
* containing psid
* indicating ITS_AID_MAPEM
* containing bitmapSSP
* indicating octet at position 0 set to 0x01
* and indicating other bits set to 0
* }
* then {
* the IUT skips the received MAPEM
* }
* }
* </pre>
*
* @version 1.1.1
* @see ETSI TS 103 191-2 v1.2.5 TP_IS_RLT_RCV_SEC_BO_04
Bostjan Pintar
committed
* @reference ETSI TS 103 301 [2], clause 6.4.3.2
*/
testcase TC_IS_RLT_RCV_SEC_BO_04 () runs on ItsMapemSpatem system ItsMapemSpatemSystem {
Bostjan Pintar
committed
f_IS_RLT_RCV_SEC_BO_04();
Bostjan Pintar
committed
} // End of testcase TC_IS_RLT_RCV_SEC_BO_04