Newer
Older
* @author ETSI / STF405 / STF449 / STF484
* @desc CAM Testcases
*
*/
module ItsCam_TestCases {
// LibIts
import from LibItsCam_TestSystem all;
// Ats Its
import from ItsCam_TpFunctions all;
// 5.2.1
group camMessageDissemination {
group camMessageFormat {
/**
* @desc Check that protocolVersion is set to 1 and messageID is
* set to 2.
* <pre>
* Pics Selection: PICS_CAM_GENERATION
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/FMT/BV-01
* @reference ETSI EN 302 637-2 , Annex B.1
*/
testcase TC_CAM_MSD_FMT_BV_01() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_FMT_BV_01();
} // end TC_CAM_MSD_FMT_BV_01
/**
* @desc Check that LF container is included in 1st CAM since CA
* basic service activation.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PIC_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/FMT/BV-02
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_FMT_BV_02() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_FMT_BV_02();
} // 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>
* Pics Selection: PICS_CAM_GENERATION AND NOT PIC_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/FMT/BV-03
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_FMT_BV_03() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_FMT_BV_03();
} // end TC_CAM_MSD_FMT_BV_03
/**
* @desc Check that specialVehicle container is included in 1st CAM
* since CA basic service activation.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_SPECIALVEHICLECONTAINER AND NOT PIC_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/FMT/BV-04
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_FMT_BV_04() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_FMT_BV_04();
} // 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>
* Pics Selection: PICS_CAM_GENERATION AND PICS_SPECIALVEHICLECONTAINER AND NOT PIC_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/FMT/BV-05
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_FMT_BV_05() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_FMT_BV_05();
} // 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>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_01() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_01();
} // end TC_CAM_MSD_INA_BV_01_01
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-02
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_02() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_02();
} // end TC_CAM_MSD_INA_BV_01_02
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-03
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_03() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_03();
} // end TC_CAM_MSD_INA_BV_01_03
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-04
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_04() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_04();
} // end TC_CAM_MSD_INA_BV_01_04
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-05
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_05() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_05();
} // end TC_CAM_MSD_INA_BV_01_05
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-06
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_06() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_06();
} // end TC_CAM_MSD_INA_BV_01_06
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-07
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_07() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_07();
} // end TC_CAM_MSD_INA_BV_01_07
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-08
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_08() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_08();
} // end TC_CAM_MSD_INA_BV_01_08
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-09
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_09() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_09();
} // end TC_CAM_MSD_INA_BV_01_09
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-10
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_10() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_10();
} // end TC_CAM_MSD_INA_BV_01_10
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-11
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_11() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_11();
} // end TC_CAM_MSD_INA_BV_01_11
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-12
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_12() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_12();
} // end TC_CAM_MSD_INA_BV_01_12
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-13
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_13() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_13();
} // end TC_CAM_MSD_INA_BV_01_13
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-14
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_14() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_14();
} // end TC_CAM_MSD_INA_BV_01_14
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-15
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_15() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_15();
} // end TC_CAM_MSD_INA_BV_01_15
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-16
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_16() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_16();
} // end TC_CAM_MSD_INA_BV_01_16
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-17
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_17() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_17();
} // end TC_CAM_MSD_INA_BV_01_17
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-18
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_18() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_18();
} // end TC_CAM_MSD_INA_BV_01_18
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-19
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_19() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_19();
} // end TC_CAM_MSD_INA_BV_01_19
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-20
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_20() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_20();
} // end TC_CAM_MSD_INA_BV_01_20
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-21
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_21() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_21();
} // end TC_CAM_MSD_INA_BV_01_21
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-22
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_22() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_22();
} // end TC_CAM_MSD_INA_BV_01_22
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-23
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_23() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_23();
} // end TC_CAM_MSD_INA_BV_01_23
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-24
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_24() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_24();
} // end TC_CAM_MSD_INA_BV_01_24
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-25
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_25() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_25();
} // end TC_CAM_MSD_INA_BV_01_25
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-26
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_26() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_26();
} // end TC_CAM_MSD_INA_BV_01_26
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-27
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_27() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_27();
} // end TC_CAM_MSD_INA_BV_01_27
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-28
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_28() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_28();
} // end TC_CAM_MSD_INA_BV_01_28
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-29
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_29() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_29();
} // end TC_CAM_MSD_INA_BV_01_29
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-30
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_30() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_30();
} // end TC_CAM_MSD_INA_BV_01_30
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-31
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_31() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_31();
} // end TC_CAM_MSD_INA_BV_01_31
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-32
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_32() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_32();
} // end TC_CAM_MSD_INA_BV_01_32
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-33
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_33() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_33();
} // end TC_CAM_MSD_INA_BV_01_33
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-34
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_34() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_34();
} // end TC_CAM_MSD_INA_BV_01_34
/**
* @desc Check that latest value of in-vehicle data is included
* in CAM.
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND NOT PICS_RSU
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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-01-35
* @reference ETSI EN 302 637-2 , clause 5.2
*/
testcase TC_CAM_MSD_INA_BV_01_35() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_01_35();
} // 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>
* Pics Selection: PICS_CAM_GENERATION AND PICS_PUBLICTRANS
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-02
* @reference ETSI EN 302 637-2 , Annex B.11
*/
testcase TC_CAM_MSD_INA_BV_02() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_02();
} // end TC_CAM_MSD_INA_BV_02
/**
* @desc Check that specialTransportContainer is included if
* vehicleRole is set to specialTransport(2).
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_SPECIALTRANS
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-03
* @reference ETSI EN 302 637-2 , Annex B.12
*/
testcase TC_CAM_MSD_INA_BV_03() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_03();
} // end TC_CAM_MSD_INA_BV_03
/**
* @desc Check that dangerousGoodsContainer is included if
* vehicleRole is set to dangerousGoods(3).
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_DANGEROUSGOODS
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-04
* @reference ETSI EN 302 637-2 , Annex B.13
*/
testcase TC_CAM_MSD_INA_BV_04() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_04();
} // end TC_CAM_MSD_INA_BV_04
/**
* @desc Check that roadWorksContainerBasic is included if
* vehicleRole is set to roadWork(4).
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_ROADWORKS
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-05
* @reference ETSI EN 302 637-2 , Annex B.14
*/
testcase TC_CAM_MSD_INA_BV_05() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_05();
} // end TC_CAM_MSD_INA_BV_05
/**
* @desc Check that rescueContainer is included if vehicleRole is
* set to rescue(5).
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_RESCUE
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-06
* @reference ETSI EN 302 637-2 , Annex B.15
*/
testcase TC_CAM_MSD_INA_BV_06() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_06();
} // end TC_CAM_MSD_INA_BV_06
/**
* @desc Check that emergencyContainer is included if vehicleRole
* is set to emergency(6).
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_EMERGENCY
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-07
* @reference ETSI EN 302 637-2 , Annex B.16
*/
testcase TC_CAM_MSD_INA_BV_07() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_07();
} // end TC_CAM_MSD_INA_BV_07
/**
* @desc Check that safetyCarContainer is included if vehicleRole
* is set to safetyCar(7).
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_SAFETY_CAR
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/INA/BV-08
* @reference ETSI EN 302 637-2 , Annex B.17
*/
testcase TC_CAM_MSD_INA_BV_08() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_INA_BV_08();
} // 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>
* Pics Selection: PICS_CAM_GENERATION AND PICS_T_GENCAMMIN
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/TI-01
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_GFQ_TI_01() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_TI_01();
} // end TC_CAM_MSD_GFQ_TI_01
/**
* @desc Check that CAMs are not generated less frequently than
* T_GenCamMax.
* <pre>
* Pics Selection: PICS_CAM_GENERATION
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/TI-02
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_GFQ_TI_02() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_TI_02();
} // end TC_CAM_MSD_GFQ_TI_02
/**
* @desc Check that TGenCam is set to T_GenCamMax after generating
* N_GenCam due to condition 2.
* <pre>
* Pics Selection: PICS_CAM_GENERATION
* 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>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/TI-03
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_GFQ_TI_03() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_TI_03();
} // end TC_CAM_MSD_GFQ_TI_03
/**
* @desc Check that CAM is generated immediately when the time
* elapsed since the last CAM generation is equal or larger
* than T_GenCam_Dcc and the absolute difference between
* current direction of the originating ITS-S (towards North)
* and direction included in previous CAM exceeds 4°.
* <pre>
* Pics Selection: PICS_CAM_GENERATION
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
* Initial conditions:
* with {
* the IUT being in the "initial state"
* the IUT having sent a CAM at time TIME_1
* containing cam
* containing camParameters
* containing highFrequencyContainer
* containing basicVehicleContainerHighFrequency
* containing heading set to HEADING_1
* the IUT not having sent any CAM since T_GenCam_Dcc
* }
* Expected behaviour:
* ensure that {
* when {
* T_GenCam_Dcc expires
* and the IUT is alerted that abs(CurrentHeading – HEADING_1) > 4°
* }
* then {
* the IUT sends a CAM immediately
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/BV-04
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_GFQ_BV_04() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_BV_04();
} // end TC_CAM_MSD_GFQ_BV_04
/**
* @desc Check that CAM is generated immediately when the time
* elapsed since the last CAM generation is equal or larger
* than T_GenCam_Dcc and the current position and position
* included in previous CAM exceeds 4 m.
* <pre>
* Pics Selection: PICS_CAM_GENERATION
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
* Initial conditions:
* with {
* the IUT being in the "initial state"
* the IUT having sent a CAM at time TIME_1
* containing cam
* containing camParameters
* containing basicContainer
* containing referencePosition set to POSITION_1
* the IUT not having sent any CAM since T_GenCam_Dcc
* }
* Expected behaviour:
* ensure that {
* when {
* T_GenCam_Dcc expires
* and the IUT is alerted that distance(CurrentPosition – POSITION_1) > 4 m
* }
* then {
* the IUT sends a CAM immediately
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/BV-05
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_GFQ_BV_05() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_BV_05();
} // end TC_CAM_MSD_GFQ_BV_05
/**
* @desc Check that CAM is generated immediately when the time
* elapsed since the last CAM generation is equal or larger
* than T_GenCam_Dcc and the absolute difference between
* current speed and speed included in previous CAM
* exceeds 0,5 m/s.
* <pre>
* Pics Selection: PICS_CAM_GENERATION
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
* Initial conditions:
* with {
* the IUT being in the "initial state"
* the IUT having sent a CAM at time TIME_1
* containing cam
* containing camParameters
* containing highFrequencyContainer
* containing basicVehicleContainerHighFrequency
* containing speed set to SPEED_1
* the IUT not having sent any CAM since T_GenCam_Dcc
* }
* Expected behaviour:
* ensure that {
* when {
* T_GenCam_Dcc expires
* and the IUT is alerted that abs(CurrentSpeed – SPEED_1) > 0,5 m/s
* }
* then {
* the IUT sends a CAM immediately
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/BV-06
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_GFQ_BV_06() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_BV_06();
} // end TC_CAM_MSD_GFQ_BV_06
/**
* @desc Check that CAM is generated immediately when the time
* elapsed since the last CAM generation is equal or larger
* than T_GenCam and equal or larger than T_GenCam_Dcc.
* <pre>
* Pics Selection: PICS_CAM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* the IUT having sent a CAM
* }
* Expected behaviour:
* ensure that {
* when {
* T_GenCam expires
* and T_GenCam_Dcc expires
* }
* then {
* the IUT sends another CAM
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/TI-07
* @reference ETSI EN 302 637-2 , clause 6.1.3
*/
testcase TC_CAM_MSD_GFQ_TI_07() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_TI_07();
} // end TC_CAM_MSD_GFQ_TI_07
/**
* @desc Check that maximum CAM generation frequency for RSU ITS-S is 1Hz
*
* <pre>
* Pics Selection: PICS_CAM_GENERATION AND PICS_RSU
* 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 another CAM afterbefore 1s
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/GFQ/TI-08
* @reference ETSI EN 302 637-2 , clause 6.1.4
*/
testcase TC_CAM_MSD_GFQ_TI_08() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_GFQ_TI_08();
} // end TC_CAM_MSD_GFQ_TI_08
} // end group camGenerationFrequency
group camLowerLayerParameters {
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
/**
* @desc Check that CAM is encapsulated in BTP type B packet
* <pre>
* Pics Selection: PICS_CAM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* a CAM is generated
* }
* then {
* the IUT sends a CAM
* encapsulated in a BTP-B packet
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/PAR/BV-01
* @reference ETSI EN 302 637-2 , clause 5.3.4.1
*/
testcase TC_CAM_MSD_PAR_BV_01() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_PAR_BV_01();
} // end TC_CAM_MSD_PAR_BV_01
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
/**
* @desc Check that CAM is encapsulated in SHB packet
* <pre>
* Pics Selection: PICS_CAM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* a CAM is generated
* }
* then {
* the IUT sends a CAM
* encapsulated in a SHB packet
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/PAR/BV-02
* @reference ETSI EN 302 637-2 , clause 5.3.4.1
*/
testcase TC_CAM_MSD_PAR_BV_02() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_PAR_BV_02();
} // end TC_CAM_MSD_PAR_BV_02
/**
* @desc Check that CAM is encapsulated in GN packet with lifetime lower than 1s
* <pre>
* Pics Selection: PICS_CAM_GENERATION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* a CAM is generated
* }
* then {
* the IUT sends a CAM
* encapsulated in a GN packet
* containing Basic Header
* containing Lifetime field
* indicating value lower than 1s
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSD/PAR/BV-03
* @reference ETSI EN 302 637-2 , clause 5.3.4.1
*/
testcase TC_CAM_MSD_PAR_BV_03() runs on ItsCam system ItsCamSystem {
f_CAM_MSD_PAR_BV_03();
} // end TC_CAM_MSD_PAR_BV_03
} // end group camLowerLayerParameters
} // end group camMessageDissemination
group camMessageProcessing {
/**
* @desc Check that content of received CAM is transmitted to
* applications and other facilities.
* <pre>
* Pics Selection: PICS_CAM_RECEPTION
* Initial conditions:
* with {
* the IUT being in the "initial state"
* }
* Expected behaviour:
* ensure that {
* when {
* the IUT receives a valid CAM
* }
* then {
* the IUT forwards the CAM content to upper layers
* and the IUT forwards the CAM content to other facilities
* }
* }
* </pre>
*
* @see ETSI TS 102 868-2 TP/CAM/MSP/BV-01
* @reference ETSI EN 302 637-2 , clause 4.2.2
*/
testcase TC_CAM_MSP_BV_01() runs on ItsCam system ItsCamSystem {
f_CAM_MSP_BV_01();