[r298]: / trunk / Library / POUs / FB_AssertArrayResultStatic / svnobj  Maximize  Restore  History

Download this file

4 lines (4 with data), 4.4 kB

Gx_l>!0…jüoÅ
¡¹qQ|ôySystem.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 keeping track of which array-asserts that have been made.¾    The reason we need to keep track of these is because if the user does the same assert twiceà    (because of running a test suite over several PLC-cycles) we want to know it so we don't print several timesæ    (if the assert fails). An instance of an array-assert is keyed/identified with the following parameters as key:X    - Array-size (in bytes) of the expecteds>    - Datatype of the expectedsT    - Array-size (in bytes) of the actuals:    - Datatype of the actuals,    - Message (string)B    - Test instance path (string)*)RFUNCTION_BLOCK FB_AssertArrayResultStatic VAR!–    (* The total amount of instances of each of the "AssertArrayResults" *)"¾    AssertArrayResults : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfAsserts] OF ST_AssertArrayResult;#X    (* The total amount of unique asserts *)$D    TotalArrayAsserts : UINT := 0;%l    (* Function block to get the current task cycle *)&R    GetCurrentTaskIndex : GetCurTaskInfo;'à    AssertArrayResultInstances : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfAsserts] OF ST_AssertArrayResultInstances;(D    (* The last PLC cycle count *)).    CycleCount : UDINT;*<    (* Only run first cycle *)+<    FirstCycleExecuted : BOOL;,END_VAR-"UniqueIdGenerator.54/POULevel0L{8e575c5b-1d37-49c6-941b-5c0ec7874787}1Standard2 ChildObjectGuids38System.Collections.ArrayList4,AddAttributeSubsequent5boolÐÐ-ÐÐ	E
ÐÐ
­ÚÐ-ÐÐ	E
 ÐÐ
­,ÚÐ-ÐÐ
­-ÚÐ-ÐÐ
­.ÚÐ-ÐÐ
­/ÚÐ-ÐÐ
­0ÚÐ-ÐÐ
­1ÚÐ-ÐÐ
­2ÚÐ-ÐÐ
­3ÚÐ-ÐÐ
­4ÚÐ-ÐÐ
­5ÚÐ-ÐÐ
­6ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ- ÐÐ
­ÚÐ-!ÐÐ
­ÚÐ-"ÐÐ
­+ÚÐ-ÐÐ
­*ÚÐ-#ÐÐ
­ÚÐ-$ÐÐ
­ÚÐ-ÐÐ
­)ÚÐ-%ÐÐ
­ÚÐ-&ÐÐ
­ÚÐ-ÐÐ
­'ÚÐ-!ÐÐ
­ÚÐ-'ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-(ÐÐ
­ÚÐ-)ÐÐ
­ÚÐ-ÐÐ
­ ÚÐ-*ÐÐ
­!ÚÐ-+ÐÐ
­ÚÐ-,Ð--.Ð/0-123Ð45­