Commit 5b7ab849 authored by rennoch's avatar rennoch
Browse files

testcase defintions for U01 and U02 groups

parent 177bb590
Loading
Loading
Loading
Loading
+244 −1
Original line number Diff line number Diff line
@@ -41,11 +41,254 @@ module CW_TestCases {
       				}
        			else			
        			{
        				log("Is the invocation of the CW service provided? Set PC_CW_INVOCATION_PROVIDED to TRUE before running this test!");
        				log("PICS 2/4 not true");
        			}
    
    			} // end TC_CW_U01_001

                /**
                * @desc TC_CW_U01_002
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_002(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UEB_support_180withCWI_AIhdr and PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_002_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/3 and PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_002
                
                /**
                * @desc TC_CW_U01_003
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_003(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (not PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_003_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("NOT PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_003
                
                /**
                * @desc TC_CW_U01_004
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_004(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_004_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_004
                
                /**
                * @desc TC_CW_U01_001
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_005(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_005_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_005
                
                /**
                * @desc TC_CW_U01_006
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_006(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UE_support_XML_PROVIDED and PC_CW_TUE_CW_SUPPORTED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_006_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/4 and PICS 3/2 not true");
                    }
    
                } // end TC_CW_U01_006
                
                /**
                * @desc TC_CW_U01_007
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_007(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_007_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_007
                
                /**
                * @desc TC_CW_U01_008
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_008(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_008_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_008
                
                /**
                * @desc TC_CW_U01_009
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_009(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_009_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_009
                
                /**
                * @desc TC_CW_U01_010
                * @param p_cSeq_s Transaction Id
                */
                testcase TC_CW_U01_010(inout CSeq p_cSeq_s) 
                runs on ServerSyncComp
                system TestAdapter {
                    if (PC_CW_UE_support_XML_PROVIDED) {
                        //Variables
                        var ImsComponent v_imsComponent_pcscf;
                        f_cf_1PcscfUp(v_imsComponent_pcscf);
        
                        //Start
                        f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U01_010_PCSCF(p_cSeq_s));
        
                        // synchronize PTCs on 2 sychronization points
                        f_serverSync1Client({c_prDone, c_tbDone});
        
                        f_cf_1PcscfDown(v_imsComponent_pcscf);
                    }
                    else			
                    {
                        log("PICS 2/4 not true");
                    }
    
                } // end TC_CW_U01_010
    			
    		}// end group destination_UE
    		
    	}// end group SS_CW_SIPSIP