Commit 14feffd4 authored by garciay's avatar garciay
Browse files

Implemented test case function f_TC_HSS_UL_01()

parent 2a9d504b
Loading
Loading
Loading
Loading
+40 −5
Original line number Diff line number Diff line
@@ -9,6 +9,16 @@ module DiameterS6a_TestSystem {
    import from LibCommon_Sync {
        type SelfSyncComp
    };
    import from LibCommon_Time {
        modulepar PX_TAC 
    };
    
    // LibDiameter
    import from LibDiameter_TypesAndValues { 
        type 
            Session_Id_AVP, Origin_Host_AVP, Origin_Realm_AVP,
            Destination_Host_AVP 
    };
    
    // DiameterS6a
    import from DiameterS6a_TypesAndValues all;
@@ -25,7 +35,7 @@ module DiameterS6a_TestSystem {
            }
            
            /**
             * @desc Diameter S6a port message for MME IUT role
             * @desc Diameter S6a port message for HSS IUT role
             */
            type port Diameter_MME_S6aPort message {
                in  DIAMETER_S6a_HSS_Initiated_Message;
@@ -33,10 +43,10 @@ module DiameterS6a_TestSystem {
            } // End of type Diameter_MME_S6aPort
            
            /**
             * @desc Diameter S6a port message for HSS IUT role
             * @desc Diameter S6a port message for MME IUT role
             */
            type port Diameter_HSS_S6aPort message {
                in  DIAMETER_S6a_MME_Initiated_Message;
                in  DIAMETER_S6a_HSS_Initiated_Message;
                out DIAMETER_S6a_HSS_Initiated_Message;
            } // End of type Diameter_HSS_S6aPort
            
@@ -48,12 +58,37 @@ module DiameterS6a_TestSystem {
             * @desc  The test system interface
             */
            group TestSystemInterfaces {
                
                /**
                 * @desc TestAdapter interface description
                 * @member MME_S6a TTCN-3 port for MME IUT role
                 * @member HSS_S6a TTCN-3 port for HSS IUT role
                 */
                type component TestAdapter extends SelfSyncComp {
                    port Diameter_MME_S6aPort MME_S6a; // MME IUT role
                    port Diameter_HSS_S6aPort HSS_S6a; // HSS IUT role
                    /** TTCN-3 port for HSS IUT role */
                    port Diameter_MME_S6aPort MME_S6a; 
                    /** TTCN-3 port for MME IUT role */
                    port Diameter_HSS_S6aPort HSS_S6a; 
                    
                    // Global variables
                    
                    /** Session identfier used by the test adapter */
                    var template (value) Session_Id_AVP vc_sessionId;
                    /** Origin Host of the test system */
                    var template (value) Origin_Host_AVP vc_originHost;
                    /** Origin realm of the test system */
                    var template (value) Origin_Realm_AVP vc_originRealm;
                    /** Origin Host of the IUT */
//                    var template (value) Origin_Host_AVP vc_originHost_IUT;
                    /** Origin realm of the IUT */
//                    var template (value) Origin_Realm_AVP vc_originRealm_IUT;
                    /** TODO */
                    var template (value) Destination_Host_AVP vc_destinationHost;
                    /** TODO */
                    var template (value) Destination_Host_AVP vc_destinationRealm;
                    
                    // Timers - Do not forget to update default altstep when adding new tiner
                    /** Timer used to detect expiration of an expected message */
                    timer tc_ac := PX_TAC;
                }
                
            } // End of group TestSystemInterfaces