Commit 3d32c7bf authored by fischer's avatar fischer
Browse files

Test cases updated to TP v 0.0.8

parent fbb9856f
Loading
Loading
Loading
Loading
+5 −46
Original line number Original line Diff line number Diff line
@@ -73,50 +73,9 @@ group postambles {
        
        
 	log("*** f_postamble: INFO: postamble ***");
 	log("*** f_postamble: INFO: postamble ***");
        
        
    } // end of function
    } // end function f_postamble
    
    
} // end of upperTester
} // end group postambles

group configuration {
    
    /**
     * @desc 	Create Facility component and map CAM port
     * @remark	Only used when ItsFa is a PTC
     * @param	p_camPtc returned Facility component variable
     */    
    function f_ptcCamUp(out ItsFa p_ptcCam) {
        
        // Create Facility component
        p_ptcCam := ItsFa.create("CAM Tester");
        
        // map ports
        map(p_ptcCam:camPort, system:camPort);
        
    } // end f_ptcCamUp
    
    /**
     * @desc 	Wait for component to finish and unmap CAM ports
     * @remark	Only used when ItsFa is a PTC
     * @param	p_camPtc Facility component variable
     */    
    function f_ptcCamDown(in ItsFa p_ptcCam) runs on ItsMtc {
            
    	tc_guard.start;
        alt {
        	[] p_ptcCam.done {
            	tc_guard.stop;
            }
            
            [] tc_guard.timeout {
             	log("*** f_ptcCamDown: ERROR: Timeout while waiting for component ***");
             	setverdict(inconc);   
            }
        }
        unmap(p_ptcCam:camPort);
        
    } // end f_ptcCamDown
        
} // end of configuration


group otherFunctions {
group otherFunctions {
        
        
@@ -159,7 +118,7 @@ group otherFunctions {


	} // end function f_random
	} // end function f_random


} // end of otherFunctions
} // end group otherFunctions


group upperTester {
group upperTester {
    
    
@@ -489,7 +448,7 @@ group upperTester {
        
        
    } // end function f_checkLdmReceipt
    } // end function f_checkLdmReceipt


} // end of group upperTester
} // end group upperTester
    
    
group externalFunctions {
group externalFunctions {
    
    
@@ -606,6 +565,6 @@ group externalFunctions {
	
	
	
	


} // end of externalFunctions
} // end group externalFunctions


} // end LibItsCam_Functions
} // end LibItsCam_Functions
 No newline at end of file