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

Download this file

13 lines (12 with data), 5.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
   Every test suite can have one or more tests, and every test can do one or more asserts.
	(* We need to have access to specific information of the current task that this test suite
    defined already. The definition of a test that is defined already is that we call on it
    with the same name twice in the same cycle *)
	GetCurrentTaskIndex : GetCurTaskInfo;
    Tests : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfTestsForEachTestSuite] OF FB_Test;
    TestDuplicateNameTrigger : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfTestsForEachTestSuite] OF R_TRIG;
    TestCycleCountIndex : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfTestsForEachTestSuite] OF UDINT;
    AssertResults : FB_AssertResultStatic;
    AssertArrayResults : FB_AssertArrayResultStatic;
       This assert formatter can be replaced with something else than the DeviceLog *)
    LogAssertMessageFormatter : FB_LogAssertMessageFormatter;