ItsGeoNetworking_TestCases.ttcn 260 KB
Newer Older
filatov's avatar
filatov committed
/**
garciay's avatar
garciay committed
 *  @author     ETSI / STF405 / STF449 / STF484
filatov's avatar
filatov committed
 *  @version    $URL$
 *              $Id$
 *  @desc       GeoNetworking Testcases 
garciay's avatar
garciay committed
 *  @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.
filatov's avatar
filatov committed
 *
 */
module ItsGeoNetworking_TestCases {
    
    // LibIts
    import from LibItsGeoNetworking_TestSystem all;
    
    // Its
    import from ItsGeoNetworking_TpFunctions all;
        
filatov's avatar
filatov committed
    // 6.2.1
    group geoFormatingAndDataValidity {
        
        // 6.2.1.1
        group geoFdvBasicHeader {
            
            /**
            * @desc    Check defined values of default Gn parameters in the basic header
            * <pre>
            * Pics Selection: PICS_GN_BASIC_HEADER
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GBC packet
            *          the IUT sends a GBC packet
            *              containing a correctly formatted Basic Header
            *                  containing version field
            *                      set to itsGnProtocolVersion MIB parameter
            *                  containing RHL field
            *                      set to itsGnDefaultHopLimit MIB parameter
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/BAH/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 9.3.2 , 8.6.2 and Annex G
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_BAH_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
filatov's avatar
filatov committed
            } // end TC_GEONW_FDV_BAH_BV_01
            
            /**
            * @desc    Check discard of packet having incorrect version
            * <pre>
            * Pics Selection: PICS_GN_BASIC_HEADER
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *      the IUT having received a SHB packet from ItsNodeB
            *          containing a correctly formatted Basic Header
            *              containing version field
            *                  set to value equal to itsGnProtocolVersion MIB parameter
            *        and the IUT having passed the received SHB packet to Upper Layer
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives a SHB packet from ItsNodeB
            *              containing a correctly formatted Basic Header
            *                  containing version field
            *                      set to value not equal to itsGnProtocolVersion MIB parameter
            *      }
            *      then {
            *          the IUT discards the received SHB packet
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/BAH/BI-02
            * @reference   EN 302 636-4-1 [1], clauses 9.3.3
            */
            testcase TC_GEONW_FDV_BAH_BI_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_BAH_BI_02();
                
            } // end TC_GEONW_FDV_BAH_BI_02
filatov's avatar
filatov committed
            
        } // end geoFdvBasicHeader
        
        // 6.2.1.2
        group geoFdvCommonHeader {
            
            /**
            * @desc    Common GeoNetworking header validity test (PL field)
            * <pre>
            * Pics Selection: PICS_GN_COMMON_HEADER
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT generates a Beacon message
            *      }
            *      then {
            *          the IUT sends a GeoNetworking message
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '1' (BEACON)
            *                  containing HST field
            *                      set to '0' (UNSPECIFIED)
            *                  containing PL field
            *                      set to '0'
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/COH/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.7.4, 8.8.6 and 9.3.6
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_COH_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_COH_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_COH_BV_01
            
            /**
            * @desc    Common GeoNetworking header validity test (PL field)
            * <pre>
            * Pics Selection: PICS_GN_COMMON_HEADER
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a SHB packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '5' (TSB)
            *                  containing HST field
            *                      set to '0' (SINGLE_HOP)
            *                  containing MHL field
            *                      set to '1'
            *                  containing PL field
            *                      set to the length of the included payload
            *              containing a payload
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/COH/BV-02
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.7.4, 8.8.4, 9.3.4 and 9.3.10
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_COH_BV_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_COH_BV_02();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_COH_BV_02
            
            /**
            * @desc    Check defined values of default Gn parameters in the common header
            * <pre>
            * Pics Selection: PICS_GN_COMMON_HEADER
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *       the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GBC packet
            *      }
            *      then {
            *          the IUT sends a GBC packet
            *              containing a correctly formatted Common Header
            *                  containing Flags field
            *                      indicating value equalling the itsGnIsMobile MIB parameter
            *                  containing MHL field
            *                      set to itsGnDefaultHopLimit MIB parameter
            *     }
            *  }
            * </pre>
            *
            * @version 0.0.11
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/COH/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.8.2, 9.3.4 and Annex G
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_COH_BV_03() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_COH_BV_03();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_COH_BV_03
            
            /**
            * @desc    Check that a received TSB packet is discarded if received with RHL > MHL
            * <pre>
            * Pics Selection: PICS_GN_COMMON_HEADER
            * Config Id: CF02
            * Initial conditions:
            *  with {
            *       the IUT being in the "initial state" and
            *       the IUT having received Beacon information from ItsNodeD and
            *       the IUT having received Beacon information from ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives a TSB packet
            *              containing Basic Header
            *                  containing RHL field
            *                      indicating HL1 higher than MHL1
            *              containing Common Header
            *                  containing MHL field
            *                      indicating MHL1
            *      }
            *      then {
            *          the IUT discards the TSB packet
            *     }
            *  }
            * </pre>
            *
            * @version 0.0.11
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/COH/BO-04
            * @reference   EN 302 636-4-1 [1], clauses 9.3.5
            */
            testcase TC_GEONW_FDV_COH_BO_04() runs on ItsMtc system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_COH_BO_04();
                
            } // end TC_GEONW_FDV_COH_BV_04
filatov's avatar
filatov committed
            
        } // end geoFdvCommonHeader
        
        // 6.2.1.3
        group geoFdvBeacon {
            
            /**
            * @desc    Beacon header validity test
            * <pre>
            * Pics Selection: PICS_GN_BEACON_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT generates a Beacon packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '1' (BEACON)
            *                  containing HST field
            *                      set to '0' (UNSPECIFIED)
            *                  containing NH field
            *                      set to '0' (UNSPECIFIED)
            *              containing Extended Header
            *                  containing SOPV
            *                      indicating LPV of the IUT
            *      }
            *    }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/BEA/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.8.6 and 9.3.6
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_BEA_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
filatov's avatar
filatov committed
            } // end TC_GEONW_FDV_BEA_BV_01
            
            /**
            * @desc    GeoNetworking address validity test
            * <pre>
            * Pics Selection: PICS_GN_BEACON_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *    the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT generates a Beacon packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing SOPV field
            *                  containing GN_ADDR field
            *                      containing ST field
            *                          indicating the ITS Station type
            *                      containing SCC field
            *                          indicating the ITS Station country code
            *      }
            *  }
            *  NOTE: Correct Source GeoNetworking address value: itsGnLocalGnAddr MIB parameter value.
            *
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/BEA/BV-02
            * @reference   EN 302 636-4-1 [1], clauses 6.3 and 8.8.6.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_BEA_BV_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_BEA_BV_02();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_BEA_BV_02
            
            /**
            * @desc    Local Position Vector validity test, involving comparison against sensor input data
            * <pre>
            * Pics Selection: PICS_GN_BEACON_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT generates a Beacon packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correct SOPV field
            *                  indicating the latest position of the IUT
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/BEA/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 8.5.2.2 and 8.8.6.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_BEA_BV_03() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_BEA_BV_03();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_BEA_BV_03
            
            /**
            * @desc    Local Position Vector validity test, involving timestamp comparison against sensor input data
            * <pre>
            * Pics Selection: PICS_GN_BEACON_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT generates a Beacon packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correct SOPV field
            *                  indicating the timestamp value corresponding to the sensor acquisition time of position data
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/BEA/BV-04
            * @reference   EN 302 636-4-1 [1], clauses 8.5.2.2 and 8.8.6.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_BEA_BV_04() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_BEA_BV_04();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_BEA_BV_04
            
        } // end geoFdvBeacon
        
        // 6.2.1.4
        group geoFdvGeoUnicast {
            
            /**
            * @desc    GUC header validity
            * <pre>
            * Pics Selection: PICS_GN_GUC_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *                  containing HST field
            *                      set to '0' (UNSPECIFIED)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating position of the ItsNodeB
            *                  containing SOPV field
            *                      indicating position of the IUT
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/GUC/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.8.2.2 and 9.3.8
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_GUC_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_GUC_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_GUC_BV_01
            
        } // end geoFdvGeoUnicast
        
        // 6.2.1.5
        group geoFdvGeoBroadcast {
            
            /**
            * @desc    GBC header validity
            * <pre>
            * Pics Selection: PICS_GN_GBC_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from the ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GBC packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '4' (GEOBROADCAST)
            *              containing GBC Extended Header
            *                  containing SOPV field
            *                      indicating position of the IUT
            *       }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/GBC/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.7.4, 8.8.5.2 and 9.3.11
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_GBC_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_GBC_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_GBC_BV_01
            
        } // end geoFdvGeoBroadcast
        
        // 6.2.1.6
        group geoFdvGeoAnycast {
            
            /**
            * @desc    GAC header validity
            * <pre>
            * Pics Selection: PICS_GN_GAC_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from the ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GAC packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '3' (GEOANYCAST)
            *              containing GAC Extended Header
            *                  containing SOPV field
            *                      indicating position of IUT
            *       }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/GAC/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.7.4, 8.8.5.2 and 9.3.12
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_GAC_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_GAC_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_GAC_BV_01
            
        } // end geoFdvGeoAnycast
        
        // 6.2.1.7
        group geoFdvSingleHopBroadcast {
            
            /**
            * @desc    SHB header validity
            * <pre>
            * Pics Selection: PICS_GN_SHB_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from the ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a SHB packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '5' (TSB)
            *                  containing HST field
            *                      set to '0' (SINGLE_HOP)
            *                  containing MHL field
            *                      set to '1'
            *              containing Extended Header
            *                  containing SOPV
            *                      indicating LPV of the IUT
            *       }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/SHB/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.7.4, 9.3.4, 8.8.4.2 and 9.3.10
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_SHB_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_SHB_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_SHB_BV_01
            
        } // end geoFdvSingleHopBroadcast
        
        // 6.2.1.8
        group geoFdvTopologicallyScopedBroadcast {
            
            /**
            * @desc    TSB header validity
            * <pre>
            * Pics Selection: PICS_GN_TSB_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from the ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a TSB packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '5' (TSB)
            *                  containing HST field
            *                      set to '1' (MULTI_HOP)
            *              containing TSB Extended Header
            *                  containing SOPV field
            *                      indicating position of the IUT
            *       }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/FDV/TSB/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 8.7.2, 8.7.4, 8.8.3.2 and 9.3.9
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_FDV_TSB_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_FDV_TSB_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_FDV_TSB_BV_01
            
        } // end geoFdvTopologicallyScopedBroadcast
        
    } // end geoFormatingAndDataValidity
    
    // 6.2.2
    group geoProtocolOperation {
        
        // 6.2.2.1
        group geoLocationTable {
            
            /**
            * @desc    Check insertion of new entries into location table from Beacon header
            * <pre>
            * Pics Selection: PICS_GN_GUC_SRC AND PICS_GN_BEACON_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from the ItsNodeB and
            *      the lifetime of the ItsNodeB Location Table entry not being expired
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *                              indicating ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received from ItsNodeB
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 9.3.10.3, 9.3.6.2 and 9.3.8.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOT_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOT_BV_01
            
            /**
            * @desc    Check insertion of new entries into location table from LS Reply data
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC AND PICS_GN_LS_REP_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having been requested to send a first GUC packet to ItsNodeA and
            *      the IUT having sent a LS_REQUEST packet
            *          containing Request field
            *              containing GN_ADDR
            *                  containing M_ID
            *                      indicating ItsNodeA
            *      the IUT having received a LS_REPLY packet from ItsNodeA
            *          containing SOPV field and
            *      the IUT having sent the GUC packet to ItsNodeA and
            *      the lifetime of the ItsNodeA Location Table entry not being expired
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a second GUC packet to ItsNodeA
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *                              indicating ItsNodeA
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the LS_REPLY packet received from ItsNodeA
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-02
            * @reference   EN 302 636-4-1 [1], clauses 9.3.7.1.4, 9.3.7.1.2 and 9.3.8.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOT_BV_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_02();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOT_BV_02
            
            /**
            * @desc    Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_BEACON_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: Beacon packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_03_01();
                    
            } // end TC_GEONW_PON_LOT_BV_03_01
            /**
            * @desc    Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_GUC_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: GUC packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_03_02();
                    
            } // end TC_GEONW_PON_LOT_BV_03_02
            /**
            * @desc    Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_GAC_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: GAC packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_03() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_03_03();
                    
            } // end TC_GEONW_PON_LOT_BV_03_03
            /**
            * @desc   Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_GBC_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: GBC packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_04() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_03_04();
                    
            } // end TC_GEONW_PON_LOT_BV_03_04
                
            /**
            * @desc    Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_TSB_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: TSB packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_05() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                    
                f_GEONW_PON_LOT_BV_03_05();
                    
            } // end TC_GEONW_PON_LOT_BV_03_05
                
            /**
            * @desc    Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_SHB_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: SHB packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_06() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_03_06();
                    
            } // end TC_GEONW_PON_LOT_BV_03_06
                
            /**
            * @desc    Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: LS Request packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE