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

Download this file

5 lines (5 with data), 4.1 kB

Gx_lÔ!0…jüo‹øjØ!Sßá²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 amount of instances of each of the "AssertResults" *) ¤    AssertResults : ARRAY[1..GVL_Constants.MaxAmountOfAsserts] OF ST_AssertResult;!X    (* The total amount of unique asserts *)":    TotalAsserts : UINT := 0;#l    (* Function block to get the current task cycle *)$R    GetCurrentTaskIndex : GetCurTaskInfo;%Æ    AssertResultInstances : ARRAY[1..GVL_Constants.MaxAmountOfAsserts] OF ST_AssertResultInstances;&D    (* The last PLC cycle count *)'.    CycleCount : UDINT;(<    (* Only run first cycle *))<    FirstCycleExecuted : BOOL;*END_VAR+"UniqueIdGenerator,32-POULevel.L{8e575c5b-1d37-49c6-941b-5c0ec7874787}/Standard0 ChildObjectGuids18System.Collections.ArrayList2,AddAttributeSubsequent3boolÐÐ-ÐÐ	E
ÐÐ
­ÚÐ-ÐÐ	E
ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­	ÚÐ-ÐÐ
­
ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­
ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ- ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-!ÐÐ
­ÚÐ-"ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-#ÐÐ
­ ÚÐ-$ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-%ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-&ÐÐ
­ÚÐ-'ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-(ÐÐ
­ÚÐ-)ÐÐ
­ÚÐ-*Ð+-,Ð-.-/01Ð23­