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 2019/01/22 08:34:15 UTC
[incubator-plc4x] branch develop updated: - Added the testsuite
name to the test-name output
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/incubator-plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 4f22368 - Added the testsuite name to the test-name output
4f22368 is described below
commit 4f22368443c8001ca704f0fbe641dbbf9d80ccb7
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Tue Jan 22 09:24:33 2019 +0100
- Added the testsuite name to the test-name output
---
.../src/test/java/org/apache/plc4x/protocols/AbstractProtocolTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/protocols/src/test/java/org/apache/plc4x/protocols/AbstractProtocolTest.java b/protocols/src/test/java/org/apache/plc4x/protocols/AbstractProtocolTest.java
index 704937d..19e49e4 100644
--- a/protocols/src/test/java/org/apache/plc4x/protocols/AbstractProtocolTest.java
+++ b/protocols/src/test/java/org/apache/plc4x/protocols/AbstractProtocolTest.java
@@ -45,7 +45,8 @@ public abstract class AbstractProtocolTest {
Iterator<String> iterator = testSuite.testCaseMap().keySet().iterator();
while(iterator.hasNext()) {
String testcaseName = iterator.next();
- DynamicTest test = DynamicTest.dynamicTest(testcaseName, () ->
+ String testcaseLabel = testSuite.suiteName() + ": " + testcaseName;
+ DynamicTest test = DynamicTest.dynamicTest(testcaseLabel, () ->
testSuite.runOneTest(testcaseName, scala.Option.apply(null), false)
);
dynamicTests.add(test);