You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2025/10/22 06:37:07 UTC
(plc4x) 01/05: chore: Added a time-measurement to the ManualAdsDriverTest
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 2b4fc27c1949788f0892c7950285ffc84f125b62
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Oct 22 08:34:31 2025 +0200
chore: Added a time-measurement to the ManualAdsDriverTest
---
.../test/java/org/apache/plc4x/protocol/ads/ManualAdsDriverTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/plc4j/drivers/ads/src/test/java/org/apache/plc4x/protocol/ads/ManualAdsDriverTest.java b/plc4j/drivers/ads/src/test/java/org/apache/plc4x/protocol/ads/ManualAdsDriverTest.java
index d623a701c0..400bb0a7c2 100644
--- a/plc4j/drivers/ads/src/test/java/org/apache/plc4x/protocol/ads/ManualAdsDriverTest.java
+++ b/plc4j/drivers/ads/src/test/java/org/apache/plc4x/protocol/ads/ManualAdsDriverTest.java
@@ -136,7 +136,10 @@ public class ManualAdsDriverTest extends ManualTest {
// TODO: Add some complex array path
//test.addTestCase("...3323(/987", PlcResponseCode.INVALID_ADDRESS);
//test.addTestCase("MAIN.hurz_UDT_array[4].hurz_INT_array[2].someProperty", PlcResponseCode.NOT_FOUND);
+ long startMillis = System.currentTimeMillis();
test.run();
+ long endMillis = System.currentTimeMillis();
+ System.out.println("Test executed in " + (endMillis - startMillis) + "ms");
}
}