[r918]: / branches / develop / mqttsparkplug / mqttsparkplug-unittest / Device / Plc Logic / mqttsparkplug / PRG_UNIT_TEST / Function Tests / FB_Functions_TestSuite / Test_ChangeDetected / svnobj  Maximize  Restore  History

Download this file

17 lines (16 with data), 3.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//IF counit.TEST_ORDERED('Test_FindChanges') THEN
//	
//	// continous	
//	PRG_GENDATA();
//	Actual := Sparkplug.ChangeDetected( );
//	CASE Step OF
//		
//		eStep.TEST_INITIALISE : 	
//			
//				GVL_metrics.arMetrics_EoN[i](itfMetricOwner := AllMetricsList );
//			END_FOR
//			step := step + 1;
//		1 : 
//			AssertEquals_BOOL( Expected := TRUE,
//						   Actual := Actual,
    AllMetricsList : Sparkplug.LIST; // AllMetricsList in which the changes are added