LibNg112_Pics.ttcn 4.49 KB
Newer Older
Garcia's avatar
Garcia committed
module LibNg112_Pics {
    
Garcia's avatar
Garcia committed
  type record of charstring request_uri_list;
  
  /**
   * @desc Has the IUT the role of LIS?
   */
Yann Garcia's avatar
Yann Garcia committed
  modulepar boolean PICS_LIS_IUT := false;
Garcia's avatar
Garcia committed
  
  /**
   * @desc Has the IUT the role of ECRF?
   */
Yann Garcia's avatar
Yann Garcia committed
  modulepar boolean PICS_ECRF_IUT := false;
Yann Garcia's avatar
Yann Garcia committed
  
  /**
   * @desc Has the IUT the role of ESRP?
   */
Yann Garcia's avatar
Yann Garcia committed
  modulepar boolean PICS_ESRP_IUT := false;
Yann Garcia's avatar
Yann Garcia committed
  /**
   * @desc Has the IUT the role of PSAP?
   */
  modulepar boolean PICS_PSAP_IUT := false;
  
Garcia's avatar
Garcia committed
  /**
   * @desc Does the IUT support HTTP GET request method?
   */
  modulepar boolean PICS_HTTP_GET_REQUEST := true;
  
  /**
   * @desc Does the Test System maintains the same TCP connection for both POST and GET requests?
   */
  modulepar boolean PICS_HTTP_POST_GET_KEEP_ALIVE := true;
  
  /**
   * @desc Does the IUT support HTTP POST request method?
Garcia's avatar
Garcia committed
   */
Garcia's avatar
Garcia committed
    modulepar boolean PICS_HTTP_POST_REQUEST := true;
Garcia's avatar
Garcia committed
  
  /**
   * @desc Does the IUT support HELD protocol?
   */
  modulepar boolean PICS_LOCATION_HELD := true;
  
  /**
   * @desc Does the IUT support LoST protocol?
   */
  modulepar boolean PICS_SERVICE_LOST := true;
  
garciay's avatar
garciay committed
  /**
   * @desc HTTP post URI for LIS protocol
garciay's avatar
garciay committed
   */
  modulepar charstring PICS_LIS_URI := "/api";
garciay's avatar
garciay committed
  
Garcia's avatar
Garcia committed
  /**
   * @desc HTTP post URI for LIS protocol
Garcia's avatar
Garcia committed
   */
  modulepar charstring PICS_ECRF_URI := "/api";
Garcia's avatar
Garcia committed
  
garciay's avatar
garciay committed
  /**
   * @desc HTTP POST Uris
   * @see RFC 2616 Hypertext Transfer Protocol -- HTTP/1.1
   */
  modulepar request_uri_list PICS_ECRF_REQUEST_URIs := { "/t/0ahy0-1531830377/post" };

garciay's avatar
garciay committed
  /**
   * @desc Does IUT support Point?
   */
  modulepar boolean PICS_H_QRY_GEO1 := true;
  
  /**
   * @desc Does IUT support Circle?
   */
  modulepar boolean PICS_H_QRY_GEO2 := true;
  
  /**
   * @desc Does IUT support Polygon?
   */
  modulepar boolean PICS_H_QRY_GEO3 := true;
  
  /**
   * @desc Does IUT support Tocken?
   */
  modulepar boolean PICS_H_QRY_GEO4 := true;
  
  /**
   * @desc Does IUT support Civic?
   */
  modulepar boolean PICS_H_QRY_CIV1 := true;
   
  /**
   * @desc Does IUT support Token?
   */
  modulepar boolean PICS_H_QRY_CIV2 := true;
   
  /**
   * @desc Does IUT support Requested Type?
   */
  modulepar boolean PICS_H_QRY_STR1 := true;
  
  /**
   * @desc Does IUT support Requested locationUnknown error message?
   */
  modulepar boolean PICS_H_QRY_ERR1 := true;
  
  /**
   * @desc Does IUT support Requested cannotProvideLiType error message?
   */
  modulepar boolean PICS_H_QRY_ERR2 := true;
  
  /**
   * @desc Does IUT support returning geolocation?
   */
  modulepar boolean PICS_H_DER_TOK1 := true;
  
  /**
   * @desc Does IUT support returning civic?
   */
  modulepar boolean PICS_H_DER_TOK2 := true;
  
  /**
   * @desc Does IUT support GET error message?
   */
  modulepar boolean PICS_H_GET_ERR1 := true;

  /**
   * @desc Does IUT support findService LOST Point?
   */
  modulepar boolean PICS_L_FIS_GEO1 := true;
  
  /**
   * @desc Does IUT support findService LOST Circle?
   */
  modulepar boolean PICS_L_FIS_GEO2 := true;
  
  /**
   * @desc Does IUT support findService LOST Polygon?
   */
  modulepar boolean PICS_L_FIS_GEO3 := true;
  
  /**
   * @desc Does IUT support service boundary by value?
   */
  modulepar boolean PICS_L_FIS_SBV1 := true;
  
  /**
   * @desc Does IUT support listServicesByLocation LOST - point?
   */
  modulepar boolean PICS_L_LST_GEO1 := true;
  
  /**
   * @desc Does IUT support listServices?
   */
  modulepar boolean PICS_L_LST_ALL1 := true;

  modulepar boolean PICS_L_QRY_GEO1 := true;
garciay's avatar
garciay committed
  
  /**
   * @desc Does IUT support serviceNotImplemented error message?
   */
  modulepar boolean PICS_L_FIS_ERR1 := true;
  
  /**
   * @desc Does IUT support locationProfileUnrecognized error message?
   */
  modulepar boolean PICS_L_FIS_ERR2 := true;
  
  /**
   * @desc Does IUT configured for UDP?
   */
  modulepar boolean PICS_S_SIP_UDP1 := true;
  /**
   * @desc Does IUT configured for TCP?
   */
  modulepar boolean PICS_S_SIP_TCP1 := false;
Yann Garcia's avatar
Yann Garcia committed
  modulepar boolean PICS_E_SIP_BSC1 := true;
  
Yann Garcia's avatar
Yann Garcia committed
  modulepar boolean PICS_E_SIP_URN1 := true;
  
  modulepar boolean PICS_E_SIP_URN2 := true;
Yann Garcia's avatar
Yann Garcia committed
  
  modulepar boolean PICS_E_SIP_URN3 := true;

  modulepar boolean PICS_E_SIP_HDR1 := true;
Yann Garcia's avatar
Yann Garcia committed
  /**
   * @desc Does IUT support A-Law?
   */
  modulepar boolean PICS_B_SDP_ALA1 := true;
  
  /**
   * @desc Does IUT support U-Law?
   */
Yann Garcia's avatar
Yann Garcia committed
  modulepar boolean PICS_B_SDP_ULA1 := true;
Yann Garcia's avatar
Yann Garcia committed
  /**
   * @desc Does IUT support SIP OPTIONS?
Yann Garcia's avatar
Yann Garcia committed
   */
  modulepar boolean PICS_S_SIP_OPT1 := true;
  
  /**
   * @desc Does IUT busy?
   */
  modulepar boolean PICS_S_SIP_BUS1 := true;
  
Garcia's avatar
Garcia committed
} // End of module LibNg112_Pics