[01aa50]: / project / device_b032fdcd / plc_logic_4bbe9722 / application_8e35a463 / fb_tests_91fe9bff / fb_sparkplugbsimple_testsuite_3aba256c / test_addmetriclist_1024_elements_f158932b / f158932b41c14144b9067f1b8fbd734b.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 6.5 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)f158932b-41c1-4144-b906-7f1b8fbd734b","ParentGuid":"(Guid)3aba256c-b491-449a-943a-d1111cf717a8","Name":"(string)Test_AddMetricList_1024_Elements","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)24568a24-c491-472c-a21f-ee5d33859fab","@Value":{"@Type":"24568a24","@Value":{"MemoryReserveForOnlineChange":"(int)0","ExcludeFromBuild":"(bool)False","External":"(bool)False","EnableSystemCall":"(bool)False","CompilerDefines":"(string)","LinkAlways":"(bool)False","Undefines":{"@Type":"[string]","@Value":[]}}}}]},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"24568a24":"{24568a24-c491-472c-a21f-ee5d33859fab}","2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","bool":"System.Boolean","Guid":"System.Guid","int":"System.Int32","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)987","Tag":null,"Text":"(string)coUnit.TEST_ORDERED( 'Test_AddMetricList_1024_Elements' );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)988","Tag":null,"Text":"(string)SparkPlugBSimple( AllMetricsList := GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)989","Tag":null,"Text":"(string)CASE TestStep OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)990","Tag":null,"Text":"(string)    0:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)991","Tag":null,"Text":"(string)        // Load MetricPool With Masterlist (quick and dirty)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)992","Tag":null,"Text":"(string)        ItfCurElement := GVL_VAR.MasterMetricsList.HeadElem;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)993","Tag":null,"Text":"(string)        WHILE ItfCurElement <> 0 DO"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)994","Tag":null,"Text":"(string)            MetricPool.AppendElem( ItfCurElement );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)995","Tag":null,"Text":"(string)            ItfCurElement := ItfCurElement.NextElem; // If NextElem = 0 we reached the end of the list"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)996","Tag":null,"Text":"(string)        END_WHILE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)997","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)998","Tag":null,"Text":"(string)        TestStep := 10;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)999","Tag":null,"Text":"(string)    10:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1000","Tag":null,"Text":"(string)        SysTimeRtc.SysTimeRtcHighResGet( pTimestamp := Timestamp );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1001","Tag":null,"Text":"(string)        SparkPlugBSimple.InitEncoderBeforeAddingMetrics( Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1002","Tag":null,"Text":"(string)                                                         1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1003","Tag":null,"Text":"(string)                                                         TRUE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1004","Tag":null,"Text":"(string)                                                         GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1005","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1006","Tag":null,"Text":"(string)        Actual := SparkPlugBSimple.AddAllMetrics( Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1007","Tag":null,"Text":"(string)                                                  MetricPool,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1008","Tag":null,"Text":"(string)                                                  GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1009","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1010","Tag":null,"Text":"(string)        TestStep := 20;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1011","Tag":null,"Text":"(string)    20:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1012","Tag":null,"Text":"(string)        AssertEquals( Expected := Expected,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1013","Tag":null,"Text":"(string)                      Actual := Actual,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1014","Tag":null,"Text":"(string)                      Message := TO_STRING( Actual ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1015","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1016","Tag":null,"Text":"(string)        coUnit.TEST_FINISHED();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)828","Tag":null,"Text":"(string)END_CASE"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)979","Tag":null,"Text":"(string)METHOD Test_AddMetricList_1024_Elements"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)980","Tag":null,"Text":"(string)VAR_STAT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)981","Tag":null,"Text":"(string)    SparkPlugBSimple : SparkplugB.FB_SparkPlugBSimple;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)982","Tag":null,"Text":"(string)    Timestamp        : ULINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)983","Tag":null,"Text":"(string)    ItfCurElement    : SparkplugB.IElement;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)984","Tag":null,"Text":"(string)    Expected         : SparkplugB.ERROR := SparkplugB.ERROR.NO_ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)985","Tag":null,"Text":"(string)    TestStep         : UDINT            := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)986","Tag":null,"Text":"(string)    Actual           : SparkplugB.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}