[r444]: / 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ĐĐ	
­>ÚĐ-ĐĐ	
­ÚĐ-ĐĐ	
­;ÚĐ-ĐĐ	
­<ÚĐ-ĐĐ	
­ÚĐ-