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

Download this file

4 lines (4 with data), 5.8 kB

Gx_l╢!0Еj№oїZ0PЩ╙	W?System.StringL{6f9dac99-8de1-4efc-8465-68ac443b7d08}SpecialFuncL{0db3d7bb-cde0-4416-9a7b-ce49a0124323}NoneImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocument	L{f3878285-8e4f-490b-bb1b-9acbb7eb04db}
TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}Id
longTagTextInterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}о(* This function block is responsible for holding the internal state of the test suite.┤   Every test suite can have one or more tests, and every test can do one or more asserts.┬   It's also responsible for providing all the assert-methods for asserting different data types.N   Only failed assertions are recorded.*):{attribute 'call_after_init'}0{attribute 'reflection'}6FUNCTION_BLOCK FB_TestSuiteVAR>    {attribute 'instance-path'}0    {attribute 'noinit'}>    InstancePath : T_MaxString;╢	(* We need to have access to specific information of the current task that this test suite ▓    is executed in. This is for instance necessary when we need to know whether a test is!╢    defined already. The definition of a test that is defined already is that we call on it"b    with the same name twice in the same cycle *)#L	GetCurrentTaskIndex : GetCurTaskInfo;$и    NumberOfTests : UINT(0..GVL_Param_CfUnit.MaxNumberOfTestsForEachTestSuite) := 0;%ж    Tests : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfTestsForEachTestSuite] OF FB_Test;&ф    (* Rising trigger of whether we have already notified the user of that the test name pointed to by the current'B       position is a duplicate *)(╩    TestDuplicateNameTrigger : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfTestsForEachTestSuite] OF R_TRIG;)ц    (* Last cycle count index for a specific test. Used to detect whether this test has already been defined in the*8       current test suite *)+╛    TestCycleCountIndex : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfTestsForEachTestSuite] OF UDINT;,T    AssertResults : FB_AssertResultStatic;-h    AssertArrayResults : FB_AssertArrayResultStatic;.Ъ    (* Prints the failed asserts to DeviceLog to display the assert message. /м       This assert formatter can be replaced with something else than the DeviceLog *)0z    LogAssertMessageFormatter : FB_LogAssertMessageFormatter;1ж    AssertMessageFormatter : I_AssertMessageFormatter := LogAssertMessageFormatter;2END_VAR3"UniqueIdGenerator41705POULevel6L{8e575c5b-1d37-49c6-941b-5c0ec7874787}7Standard8 ChildObjectGuids98System.Collections.ArrayList:,AddAttributeSubsequent;bool╨╨-╨╨	E
╨╨
н┌╨-╨╨	E
#╨╨
нД┌╨-╨╨
нЕ┌╨-╨╨
нЖ┌╨-╨╨
нЗ┌╨-╨╨
нИ┌╨-╨╨
нЙ┌╨-╨╨
нК┌╨-╨╨
нЛ┌╨-╨╨
нМ┌╨-╨╨
нН┌╨-╨╨
нО┌╨-╨╨
нП┌╨-╨╨
ни┌╨-╨╨
нй┌╨- ╨╨
нк┌╨-!╨╨
нз┌╨-"╨╨
нж┌╨-#╨╨
нР┌╨-╨╨
нЧ┌╨-$╨╨
нШ┌╨-%╨╨
нЩ┌╨-&╨╨
нЪ┌╨-'╨╨
нЫ┌╨-(╨╨
нЬ┌╨-)╨╨
нЭ┌╨-*╨╨
нЮ┌╨-+╨╨
нЯ┌╨-╨╨
на┌╨-,╨╨
н~┌╨--╨╨
н┌╨-╨╨
нА┌╨-.╨╨
нБ┌╨-/╨╨
нВ┌╨-0╨╨
нГ┌╨-1╨╨
н┌╨-2╨3-4╨56-789╨:;н