Commit 136a79d8 authored by Yann Garcia's avatar Yann Garcia
Browse files

Add basic TTCN modules

parent b7bfe1f5
Loading
Loading
Loading
Loading
Compare b62f32c3 to 11702720
Changes for LibDiameter: 1 added line, 1 removed line.
Original line number Diff line number Diff line
Subproject commit b62f32c33a6306ba8fcdd214e7d97b103fdd47f0
Subproject commit 11702720b3309494f91f3855a7b08d510607cddb
+90 −1
Changes for ttcn/DiameterShDh_TestCases.ttcn3: 90 added lines, 1 removed line.
Original line number Diff line number Diff line
/**
 *    @author     STF 480
 *    @version    $Id$
 *    @desc       This module provides test cases
 *                for SIP-CxDx-DIAMETER tests.
 */
module DiameterShDh_TestCases {
}
 No newline at end of file
    
    //LibCommon
    import from LibCommon_Sync all ;
    import from LibCommon_VerdictControl all;
    
    //LibDiameter
    import from LibDiameter_Interface all;
    import from LibDiameter_TypesAndValues {const c_sync1;};
    
    //LibSip
    import from LibSip_Interface all;
    import from LibSip_SIPTypesAndValues all;
    
    //LibIms
    import from LibIms_SIPTypesAndValues all;
    import from LibIms_Interface all;
    
    //AtsIms
    import from DiameterShDh_TestConfiguration all;
    import from DiameterShDh_TestSystem all;
//    import from DiameterShDh_Sh_TCFunctions all;
//    import from DiameterShDh_Dh_TCFunctions all;
//    import from DiameterShDh_SIP_TCFunctions all;
    import from DiameterShDh_PICS all;
    import from DiameterShDh_PIXITS all;
    import from DiameterShDh_Steps all;
    import from DiameterShDh_TestSystem all;
    
     group TP_Sh { //Sh Test cases
         
        group TP_HSSRole { // §5.2.2.1
            
            group TP_HSSRole_MS { //Sh Messages
                
                /**
                 * @desc    Verify that the IUT sends the appropriate Result-Code AVP when mandatory User-Identity AVP is absent.
                 * <pre>
                 * Pics Selection: PICS_HSS_IUT
                 * Initial conditions: 
                 *     with {
                 *        
                 *     }
                 * Expected behaviour:
                 *     ensure that {
                 *        when {
                 *            the IUT receives a UD-Request
                 *                containing a Session-ID AVP
                 *                containing a Vendor-Specific-Application-Id AVP
                 *                containing an Auth-Session-State AVP
                 *                containing an Origin-Host AVP
                 *                containing an Origin-Realm AVP
                 *                containing a Destination-Realm AVP
                 *                not containing a User-Identity AVP
                 *                containing a Data-Reference AVP
                 *        }
                 *        then {
                 *            the IUT sends a UD-Answer 
                 *                containing a Session-ID AVP
                 *                containing a Result-Code AVP
                 *                    indicating DIAMETER_MISSING_AVP
                 *                containing a Vendor-Specific-Application-Id AVP
                 *                containing an Auth-Session-State AVP
                 *                containing an Origin-Host AVP
                 *                containing an Origin-Realm AVP
                 *                containing a Failed AVP
                 *                    indicating missing Information Element
                 *        }
                 *     }
                 * </pre>
                 * 
                 * @version    0.0.6
                 * @see        ETSI TS 103 571-2 TP_SH_HSS_MS_01
                 */
                //testcase TC_CX_HSS_M
                
                
                
            } // End of group TP_HSSRole_MS 
            
        } // End of group TP_HSSRole
        
     } // End of group TP_Sh 
     
} // End of module DiameterShDh_TestCases 
 No newline at end of file