Commit 28d8c275 authored by YannGarcia's avatar YannGarcia
Browse files

Start reviewing PIXITS

parent 416f6950
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
module AtsECRF_Pixits {
  
  import from XSD all;
  
  // RFC 5139
  import from urn_ietf_params_xml_ns_pidf_geopriv10_civicAddr language "XSD" all
  with {
    extension "File:../xsd/RFC5139_pdif_geopriv10_civic_address.xsd";
  }

  // OpenGIS
  import from http_www_opengis_net_pidflo_1_0 language "XSD" all
    with {
        extension "File:../xsd/GLM_pidf_lo_shape.xsd";
    }
  import from http_www_opengis_net_gml language "XSD" all
    with {
        extension "File:../xsd/gmlBase.xsd";
        extension "File:../xsd/basicTypes.xsd";
        extension "File:../xsd/measures.xsd";
        extension "File:../xsd/geometryPrimitives.xsd";
        extension "File:../xsd/geometryBasic0d1d.xsd";
        extension "File:../xsd/geometryBasic2d.xsd";
    }
  
  modulepar XSD.AnyURI PX_E_UNKNOWN_SERVICE_URN := "urn:service:sos.unknown";
  
} // End of module AtsECRF_Pixits 
+1 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ module AtsECRF_TestCases {

  // AtsECRF
  import from AtsECRF_Pics all;
  import from AtsECRF_Pixits all;
  
  group ecrf_role {
    
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ suite := AtsECRF
sources := \
            AtsECRF_TestCases.ttcn \
            AtsECRF_Pics.ttcn \
            AtsECRF_Pixits.ttcn \
            AtsECRF_TestControl.ttcn

modules :=  ../LibCommon \
+62 −0
Original line number Diff line number Diff line
module AtsLIS_Pixits {
  
  import from XSD all;
  
  import from http_www_opengis_net_gml language "XSD" all
    with {
        extension "File:../xsd/gmlBase.xsd";
        extension "File:../xsd/basicTypes.xsd";
        extension "File:../xsd/measures.xsd";
        extension "File:../xsd/geometryPrimitives.xsd";
        extension "File:../xsd/geometryBasic0d1d.xsd";
        extension "File:../xsd/geometryBasic2d.xsd";
    }
  
  /**
   * @desc List of device URIs
   */
  type record of charstring DeviceURIs;
  
  /**
   * @desc Device identifier using SIP uri
   */
  modulepar charstring PX_DEVICE_URI_SIP := "<uri>sip:user@example.net;gr=kjh29x97us97d</uri>";
  
  /**
   * @desc Device telephone URIs
   *       See NG112 Plugtest for Boundary and Location (e.g. ALICE01   sip:alice-01@plugtests.net  tel:+336152555011   7.04618454  43.62301324

   */
  modulepar DeviceURIs PX_DEVICE_NUMBER := { "<uri>tel:+336152555011</uri>", "<uri>tel:+336152555012</uri>", "<uri>tel:+336152555013</uri>", "<uri>tel:+33336152555014</uri>" }; // ALICE01, BOB01, CAROL01, DAVE01
  
  /**
   * @desc Device telephone URI to get a response with a point
   */
  modulepar integer PX_DEVICE_NUMBER_POINT := 0;
  
  /**
   * @desc Device telephone URI to get a response with a circle
   */
  modulepar integer PX_DEVICE_NUMBER_CIRCLE := 2;
  
  /**
   * @desc Device telephone URI to get a response with a civic address
   */
  modulepar integer PX_DEVICE_NUMBER_CIVIC := 2;
  
  /**
   * @desc Device telephone URI to get a response with an unknown device URI
   */
  modulepar integer PX_UNKNOWN_DEVICE_NUMBER := 3;
  
  /**
   * @desc Unknown device identifier
   */
  modulepar charstring PX_UNKNOWN_DEVICE_URI := "<uri>sip:no_one@example.net;gr=kjh29x97us97d</uri>";
  
  /**
   * @desc Device point position
   */
  modulepar DoubleList PX_DEVICE_NUMBER_POINT_POS := { 43.623013, 7.046185 }; // ALICE01
  
} // End of module AtsLIS_Pixits 
+1 −0
Original line number Diff line number Diff line
@@ -99,6 +99,7 @@ module AtsLIS_TestCases {

  // AtsLIS
  import from AtsLIS_Pics all;
  import from AtsLIS_Pixits all;
  
  group lis_role {
    
Loading