[r389]: / trunk / Library / POUs / FB_AssertResultStatic / svnobj  Maximize  Restore  History

Download this file

4 lines (4 with data), 4.2 kB

Gx_l&!0…jüoÝãÎ[„!A¥Æ¿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 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 assert is keyed/identified with the following parameters as key:.    - Value of expected*    - Value of actual,    - Message (string)B    - Test instance path (string)*)HFUNCTION_BLOCK FB_AssertResultStaticVAR–    (* The total number of instances of each of the "AssertArrayResults" *) Ê    AssertResults : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfAssertsForEachTestSuite] OF ST_AssertResult;!X    (* The total number of unique asserts *)":    TotalAsserts : UINT := 0;#l    (* Function block to get the current task cycle *)$L	GetCurrentTaskIndex : GetCurTaskInfo;%ì    AssertResultInstances : ARRAY[1..GVL_Param_CfUnit.MaxNumberOfAssertsForEachTestSuite] OF ST_AssertResultInstances;&D    (* The last PLC cycle count *)'.    CycleCount : UDINT;(<    (* Only run first cycle *))<    FirstCycleExecuted : BOOL;*END_VAR+"UniqueIdGenerator,108-POULevel.L{8e575c5b-1d37-49c6-941b-5c0ec7874787}/Standard0 ChildObjectGuids18System.Collections.ArrayList2,AddAttributeSubsequent3boolÐÐ-ÐÐ	E
ÐÐ
­ÚÐ-ÐÐ	E
ÐÐ
­(ÚÐ-ÐÐ
­)ÚÐ-ÐÐ
­*ÚÐ-ÐÐ
­+ÚÐ-ÐÐ
­,ÚÐ-ÐÐ
­-ÚÐ-ÐÐ
­.ÚÐ-ÐÐ
­/ÚÐ-ÐÐ
­0ÚÐ-ÐÐ
­'ÚÐ-ÐÐ
­
ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­hÚÐ-ÐÐ
­iÚÐ- ÐÐ
­jÚÐ-ÐÐ
­kÚÐ-!ÐÐ
­lÚÐ-"ÐÐ
­UÚÐ-ÐÐ
­VÚÐ-#ÐÐ
­WÚÐ-$ÐÐ
­`ÚÐ-ÐÐ
­aÚÐ-ÐÐ
­bÚÐ-%ÐÐ
­cÚÐ-ÐÐ
­dÚÐ-&ÐÐ
­eÚÐ-'ÐÐ
­fÚÐ-ÐÐ
­gÚÐ-(ÐÐ
­ÚÐ-)ÐÐ
­ÚÐ-*Ð+-,Ð-.-/01Ð23­