Skip to content

Commit 9b4d3cd

Browse files
author
jantje
committed
trying to get the test names and project names consistent
for sure difficult in composite tests
1 parent d6adb01 commit 9b4d3cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

io.sloeber.tests/src/io/sloeber/core/CreateAndCompileExamplesTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public CreateAndCompileExamplesTest(String name, BoardDescriptor boardDescriptor
4444
}
4545

4646
@SuppressWarnings("rawtypes")
47-
@Parameters(name = "{index}: {0}")
47+
@Parameters(name = "{0}")
4848
public static Collection examples() {
4949
WaitForInstallerToFinish();
5050

@@ -88,7 +88,7 @@ public static Collection examples() {
8888
if (board != null) {
8989
BoardDescriptor curBoard = board.getBoardDescriptor();
9090
if (curBoard != null) {
91-
Object[] theData = new Object[] { fqn.trim(), curBoard, codeDescriptor };
91+
Object[] theData = new Object[] { Shared.getCounterName(fqn.trim()), curBoard, codeDescriptor };
9292
examples.add(theData);
9393
}
9494
}

io.sloeber.tests/src/io/sloeber/core/NightlyBoardPatronTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public NightlyBoardPatronTest(String name, MCUBoard boardID, Examples example) {
3939
}
4040

4141
@SuppressWarnings("rawtypes")
42-
@Parameters(name = "{index}: {0}")
42+
@Parameters(name = "{0}")
4343
public static Collection examples() {
4444
Shared.waitForAllJobsToFinish();
4545
Arduino.installLatestSamDBoards();
@@ -58,7 +58,7 @@ public static Collection examples() {
5858
if (fqn.contains("RTCZero")) {
5959
Examples example = new Examples(fqn, null, examplePath);
6060

61-
Object[] theData = new Object[] { example.getLibName() + ":" + fqn + ":" + zeroBoard.getName(),
61+
Object[] theData = new Object[] {Shared.getCounterName( example.getLibName() + ":" + fqn + ":" + zeroBoard.getName()),
6262
zeroBoard, example };
6363
examples.add(theData);
6464
}

0 commit comments

Comments
 (0)