Commit 6fb0fd5b authored by garciay's avatar garciay
Browse files

Implemented test case function f_TC_HSS_UL_01()

parent 14feffd4
Loading
Loading
Loading
Loading
+12 −11
Original line number Diff line number Diff line
@@ -83,9 +83,10 @@ module DiameterS6a_HSS_TCFunctions {
                                m_auth_Session_State_noStateMaintained,         // containing an Auth-Session-State AVP indicating NO_STATE_MAINTAINED
                                vc_originHost,                                  // containing an Origin-Host AVP
                                vc_originRealm,                                 // containing an Origin-Realm AVP
	                            mw_ula_Flags_AVP(PX_ULA_FLAGS_SEP_IND_SET)     // containing a ULA-Flags AVP with Separation-indicator bit set
	                            // FIXME containing a Subscription-Data AVP
                )))) { // Unexpected ULR-Answer message 
                                mw_ula_Flags_AVP(PX_ULA_FLAGS_SEP_IND_SET),     // containing a ULA-Flags AVP with Separation-indicator bit set
                                m_subscriptionData_dummy                        // containing a Subscription-Data AVP
                                                                                // TODO Set some field in Subscription-Data AVP?
                )))) { // Expected ULR-Answer message 
                    f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
                    log("*** " & __SCOPE__ & ": PASS: Unexpected was received. ***");
                }
+4 −0
Original line number Diff line number Diff line
@@ -54,6 +54,10 @@
         * @desc Default altstep activated during the preambule
         */
        altstep hss_default() runs on TestAdapter {
            [] MME_S6a.receive(mw_S6a_ULA_dummy) { // Received an unexpected UL-Answer message, process it as an error
                log("*** a_default: ERROR: Received an unexpected UL-Answer message, process it as an error ***");
                f_selfOrClientSyncAndVerdict("error", e_error);
            }
            [] MME_S6a.receive { // Received an unexpected message, process it as an error
                log("*** a_default: ERROR: Received an unexpected message, process it as an error ***");
                f_selfOrClientSyncAndVerdict("error", e_error);