Commit 66f03098 authored by Yann Garcia's avatar Yann Garcia
Browse files

Implement ESRP skeleton

parent 07c29c2a
Loading
Loading
Loading
Loading
+24 −30
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with a Point when it receives a HTTP POST location request without location type" 
     */
    testcase TC_LIS_HTTP_POST_BV_01() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_POST_BV_01() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -213,7 +213,7 @@ module AtsNg112_TestCases {
    /**
     * @desc IUT successfully responds with a Circle when it receives a HTTP POST location request without location type
     */
    testcase TC_LIS_HTTP_POST_BV_02() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_POST_BV_02() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -323,7 +323,7 @@ module AtsNg112_TestCases {
    /**
     * @desc IUT successfully responds with a reference when it receives a HTTP POST location request with location type locationURI and exact attribute
     */
    testcase TC_LIS_HTTP_POST_BV_03() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_POST_BV_03() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -393,7 +393,7 @@ module AtsNg112_TestCases {
    /**
     * @desc IUT successfully responds with a reference and geodetic location when it receives a HTTP POST location request with location types locationURI and geodetic and exact attribute
     */
    testcase TC_LIS_HTTP_POST_BV_04() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_POST_BV_04() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -507,7 +507,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with an error response when it receives a HTTP POST location request for an unknown device" 
     */
    testcase TC_LIS_HTTP_POST_BV_05() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_POST_BV_05() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -571,7 +571,7 @@ module AtsNg112_TestCases {
    /**
     * @desc IUT successfully responds with a CIVIC address when it receives a HTTP POST location request without location type
     */
    testcase TC_LIS_HTTP_POST_BV_06() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_POST_BV_06() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -685,7 +685,7 @@ module AtsNg112_TestCases {
    /**
     * @desc IUT successfully responds with an error response when it receives a HTTP POST location request with an unknown location type
     */
    testcase TC_LIS_HTTP_POST_BV_07() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_POST_BV_07() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -751,7 +751,7 @@ module AtsNg112_TestCases {
    /**
     * @desc IUT successfully returns the location when a locationURI is dereferenced
     */
    testcase TC_LIS_HTTP_GET_BV_01() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_GET_BV_01() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -892,7 +892,7 @@ module AtsNg112_TestCases {
    /**
     * @desc IUT returns HTTP error 404 if it does not support HTTP GET method
     */
    testcase TC_LIS_HTTP_GET_BV_02() runs on HttpComponent system TestAdapter {
    testcase TC_LIS_HTTP_GET_BV_02() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -950,7 +950,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with a service URI for a Point in the service boundary" 
     */
    testcase TC_ECRF_HTTP_POST_BV_01() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_01() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        
@@ -1027,7 +1027,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with a service URI for a Circle in the service boundary"
     */
    testcase TC_ECRF_HTTP_POST_BV_02() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_02() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        
@@ -1104,7 +1104,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with an error response for an unknown Service URN in the service boundary"
     */
    testcase TC_ECRF_HTTP_POST_BV_03() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_03() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        
@@ -1173,7 +1173,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with an error response for an unrecognized location profile"
     */
    testcase TC_ECRF_HTTP_POST_BV_04() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_04() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        
@@ -1242,7 +1242,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with service boundary by value if requested"
     */
    testcase TC_ECRF_HTTP_POST_BV_05() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_05() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1344,7 +1344,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with service URI for a Circle that intersects service boundary"
     */
    testcase TC_ECRF_HTTP_POST_BV_06() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_06() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1446,7 +1446,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with a service URI for a Circle that intersects multiple service boundaries"
     */
    testcase TC_ECRF_HTTP_POST_BV_07() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_07() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1534,7 +1534,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with a service URI for a Circle that intersects multiple service boundaries"
     */
    testcase TC_ECRF_HTTP_POST_BV_08() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_08() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1622,7 +1622,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with multiple service URIs for a Point in multiple service boundaries"
     */
    testcase TC_ECRF_HTTP_POST_BV_09() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_09() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1720,7 +1720,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with configured service types for a ListServices request"
     */
    testcase TC_ECRF_HTTP_POST_BV_10() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_10() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1787,7 +1787,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with configured service types for a ListServicesByLocation request"
     */
    testcase TC_ECRF_HTTP_POST_BV_11() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_11() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1861,7 +1861,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with configured service types for a ListServices request without service element"
     */
    testcase TC_ECRF_HTTP_POST_BV_12() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_12() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -1933,7 +1933,7 @@ module AtsNg112_TestCases {
    /**
     * @desc "IUT successfully responds with configured service types for a ListServicesByLocation request without service element"
     */
    testcase TC_ECRF_HTTP_POST_BV_13() runs on HttpComponent system TestAdapter {
    testcase TC_ECRF_HTTP_POST_BV_13() runs on HttpComponent /*system TestAdapter*/ {
        // Local variables
        var HeaderLines v_headers;
        var HttpMessage v_response;
@@ -2011,7 +2011,7 @@ module AtsNg112_TestCases {
     */
    testcase TC_ESRP_SIP_INVITE_BV_01(
                                      in CSeq p_cSeq_s
                                      ) runs on HttpImsComponent system TestAdapter {
                                      ) runs on HttpImsComponent /*system TestAdapter*/ {
        // Local variables
        var HttpComponent v_ecrf;
        var ImsComponent v_ue;
@@ -2144,13 +2144,7 @@ module AtsNg112_TestCases {
        f_selfOrClientSyncAndVerdictTestBody(c_prDone, e_error);
        
        // test body
        f_awaitingINVITE(mw_INVITE_Request_noBody_UE(vc_requestUri, 
                                                vc_callId,
                                                p_cSeq_s, vc_from, 
                                                vc_to,
                                                vc_via, 
                                                vc_contact
                                                ));
        f_awaitingINVITE(mw_INVITE_Request_RequestURI(vc_requestUri));
        f_awaitingResponse(mw_Response_Base(c_statusLine100, vc_callId, vc_cSeq));
        f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_error);
        
+2 −2
Original line number Diff line number Diff line
@@ -1383,9 +1383,9 @@ module LibIms_Templates {
                template(value) SipUrl p_user
            ) := {
                uri := 
                    p_user.components.sip.userInfo.userOrTelephoneSubscriber 
                    valueof(p_user.components.sip.userInfo.userOrTelephoneSubscriber) 
                    & "@" 
                    & p_user.components.sip.hostPort.host,
                    & valueof(p_user.components.sip.hostPort.host),
                attr := omit,
                display_name := omit,
                elem_list := {}
+2 −2
Original line number Diff line number Diff line
@@ -3225,7 +3225,7 @@ module LibSip_Steps {

            tc_wait.start(PX_SIP_TWAIT);
            alt {
                [] SIPP.receive(p_info) -> value v_f_awaitingINVITErequest sender vc_sent_label {
                [] SIPP.receive(p_info) -> value v_request sender vc_sent_label {
                    tc_wait.stop;
                    f_setHeadersOnReceiptOfRequest(v_request);
                    // Answer to the INFO
@@ -3238,7 +3238,7 @@ module LibSip_Steps {
         * @desc function awaiting for an incoming INVITE
         * @param p_request expected message
         */
        function (
        function f_awaitingINVITE(
            template(present) INVITE_Request p_request := ?
        ) runs on SipComponent  {
            var INVITE_Request v_INVITE_Request;