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: