Commit 2520ae4d authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

PSAP changes and new TPs added

parent 35555430
Loading
Loading
Loading
Loading
+36 −36
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
 *    @author   ETSI / STF549, TTF009
 *    @version  $URL:$
 *              $ID:$
 *    @desc     This module provides the NG112 test cases.
 *    @desc     This module provides the NG112 PSAP test cases.
 *    @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.
@@ -122,8 +122,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -265,8 +265,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ULA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ULA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ULA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ULA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -417,8 +417,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ALA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ALA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ALA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ALA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -549,8 +549,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ALA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ALA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ALA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ALA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -688,8 +688,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_TCP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_TCP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_TCP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_TCP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -814,8 +814,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_TCP1) or (not PICS_E_SIP_URN1) or not(PICS_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_TCP1 and PICS_E_SIP_URN1 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_TCP1) or (not PICS_PSAP_E_SIP_URN1) or not(PICS_PSAP_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_TCP1 and PICS_PSAP_E_SIP_URN1 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -960,8 +960,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_BSC1) or not(PICS_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_BSC1 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_BSC1) or not(PICS_PSAP_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_BSC1 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -1083,8 +1083,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ULA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ULA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ULA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ULA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -1237,8 +1237,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ULA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ULA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ULA1) or not(PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ULA1 and PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -1389,8 +1389,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_TCP1) or (not PICS_E_SIP_URN1) or not(PICS_B_SDP_ULA1 or PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_S_SIP_TCP1 and PICS_E_SIP_URN1 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_TCP1) or (not PICS_PSAP_E_SIP_URN1) or not(PICS_PSAP_B_SDP_ULA1 or PICS_PSAP_S_SIP_REGISTRATION)) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_TCP1 and PICS_PSAP_E_SIP_URN1 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -1513,8 +1513,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_TCP1) or (not PICS_E_SIP_URN1) or not(PICS_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_TCP1 and PICS_E_SIP_URN1 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_TCP1) or (not PICS_PSAP_E_SIP_URN1) or not(PICS_PSAP_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_TCP1 and PICS_PSAP_E_SIP_URN1 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -1636,8 +1636,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_E_SIP_URN1)) {
          log("*** " & testcasename() & ": PICS_E_SIP_URN1 required for executing the TC ***");
        if ((not PICS_PSAP_E_SIP_URN1)) {
          log("*** " & testcasename() & ": PICS_PSAP_E_SIP_URN1 required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -1749,8 +1749,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_E_SIP_URN1)) {
          log("*** " & testcasename() & ": PICS_E_SIP_URN1 required for executing the TC ***");
        if ((not PICS_PSAP_E_SIP_URN1)) {
          log("*** " & testcasename() & ": PICS_PSAP_E_SIP_URN1 required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -1866,8 +1866,8 @@ module AtsPSAP_TestCases {
//        var CSeq v_cSeq_s := p_cSeq_s;
//        
//        // Test control
//        if (not(PICS_S_SIP_OPT1)) {
//          log("*** " & testcasename() & ": PICS_S_SIP_OPT1 required for executing the TC ***");
//        if (not(PICS_PSAP_S_SIP_OPT1)) {
//          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_OPT1 required for executing the TC ***");
//          setverdict(inconc);
//          stop;
//        }
@@ -1972,8 +1972,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if (not(PICS_S_SIP_OPT1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_OPT1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if (not(PICS_PSAP_S_SIP_OPT1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_OPT1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -2078,8 +2078,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }
@@ -2162,7 +2162,7 @@ module AtsPSAP_TestCases {
        
        // Test Body
        f_sleep(0.5);
        LibIms_Steps.f_setHeadersCANCEL(vc_cSeq,c_userProfile_UE2atSUThome);
        LibIms_Steps.f_setHeadersCANCEL(vc_cSeq);
        f_SendCANCEL(m_CANCEL_Request_UE(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_route));
        vc_cSeq.method := "CANCEL";
        f_awaitingOkResponse(vc_cSeq);
@@ -2227,8 +2227,8 @@ module AtsPSAP_TestCases {
        var CSeq v_cSeq_s := p_cSeq_s;
        
        // Test control
        if ((not PICS_S_SIP_UDP1) or (not PICS_E_SIP_URN3) or not(PICS_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_S_SIP_UDP1 and PICS_E_SIP_URN3 and PICS_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
        if ((not PICS_PSAP_S_SIP_UDP1) or (not PICS_PSAP_E_SIP_URN3) or not(PICS_PSAP_B_SDP_ULA1) or PICS_PSAP_S_SIP_REGISTRATION) {
          log("*** " & testcasename() & ": PICS_PSAP_S_SIP_UDP1 and PICS_PSAP_E_SIP_URN3 and PICS_PSAP_B_SDP_ULA1 and NOT PICS_PSAP_S_SIP_REGISTRATION required for executing the TC ***");
          setverdict(inconc);
          stop;
        }