[r435]: / trunk / Library / POUs / FB_TestSuite / AreAllTestsFinished / svnobj  Maximize  Restore  History

Download this file

23 lines (23 with data), 2.9 kB

Gx_lH!0…jüo	EÚÛ¾½ÛSystem.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
longTagText
:AreAllTestsFinished := FALSE;2IF NumberOfTests > 0 THEN@    AreAllTestsFinished := TRUE;ô    (* A test is considered finished if it is finished running (i.e. set by TEST_FINISHED) or if it is skipped/disabled *)d    FOR Counter := 1 TO GetNumberOfTests() BY 1 DOæ        AreAllTestsFinished := AreAllTestsFinished AND (Tests[Counter].IsFinished() OR Tests[Counter].IsSkipped());    END_FOREND_IFÞ(* If we have been running at least one cycle and no tests are registered it means that this testsuite is emptyÐ   and doesn't contain any test cases. In that case, add a warning message and ignore this testsuite. *)bIF ((NumberOfTests = 0) AND NOT(FirstCycle)) THEN(FirstCycle := FALSE;InterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}ì(* A test is considered finished if it is finished running (i.e. set by TEST_FINISHED) or if it is skipped/disabled *)PMETHOD PUBLIC AreAllTestsFinished : BOOLVAR&    Counter : UINT; END_VARÐÐÐEÐÐ	
­-ÚÐ-
ÐÐ	
­.ÚÐ-ÐÐ	
­/ÚÐ-ÐÐ	
­0ÚÐ-ÐÐ	
­1ÚÐ-ÐÐ	
­2ÚÐ-ÐÐ	
­3ÚÐ-ÐÐ	
­4ÚÐ-ÐÐ	
­5ÚÐ-ÐÐ	
­!ÚÐ-ÐÐ	
­#ÚÐ-ÐÐ	
­$ÚÐ-ÐÐ	
­SÚÐ-ÐÐ	
­TÚÐ-ÐÐ	
­UÚÐ-ÐÐ	
­MÚÐ-ÐÐEÐÐ	
­>ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­;ÚÐ-ÐÐ	
­<ÚÐ-ÐÐ	
­ÚÐ-