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

Download this file

5 lines (5 with data), 4.4 kB

Gx_lB!0…jüoÉ
,ª!Q}àf¶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 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:Z///  - Array-size (in bytes) of the expecteds@///  - Datatype of the expectedsV///  - Array-size (in bytes) of the actuals<///  - Datatype of the actuals.///  - Message (string)D///  - Test instance path (string)RFUNCTION_BLOCK FB_AssertArrayResultStaticVAR –    (* The total amount of instances of each of the "AssertArrayResults" *)!¸    AssertArrayResults : ARRAY[1..GVL_Constants.MaxAmountOfAsserts] 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_Constants.MaxAmountOfAsserts] OF ST_AssertArrayResultInstances;'D    (* The last PLC cycle count *)(.    CycleCount : UDINT;)<    (* Only run first cycle *)*<    FirstCycleExecuted : BOOL;+END_VAR,"UniqueIdGenerator-43.POULevel/L{8e575c5b-1d37-49c6-941b-5c0ec7874787}0Standard1 ChildObjectGuids28System.Collections.ArrayList3,AddAttributeSubsequent4boolÐÐ-ÐÐ	E
ÐÐ
­ÚÐ-ÐÐ	E
 ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­	ÚÐ-ÐÐ
­
ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­
ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ- ÐÐ
­ÚÐ-!ÐÐ
­+ÚÐ-ÐÐ
­*ÚÐ-"ÐÐ
­ÚÐ-#ÐÐ
­ÚÐ-ÐÐ
­)ÚÐ-$ÐÐ
­ÚÐ-%ÐÐ
­ÚÐ-ÐÐ
­'ÚÐ- ÐÐ
­ÚÐ-&ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-'ÐÐ
­ÚÐ-(ÐÐ
­ÚÐ-ÐÐ
­ ÚÐ-)ÐÐ
­!ÚÐ-*ÐÐ
­ÚÐ-+Ð,--Ð./-012Ð34­