Browse Source

Test: Start index counting from 1 for output

pull/299/head
Jannis Weis 3 years ago
parent
commit
2ec19dbafd
No known key found for this signature in database
GPG Key ID: 7C9D8D4B558049AB
  1. 2
      core/src/test/java/com/github/weisj/darklaf/core/test/DemoTest.java

2
core/src/test/java/com/github/weisj/darklaf/core/test/DemoTest.java

@ -82,7 +82,7 @@ class DemoTest implements NonThreadSafeTest {
private void runDemo(final Theme theme, final Robot robot, final int count, final int index, private void runDemo(final Theme theme, final Robot robot, final int count, final int index,
final DemoLauncher.DemoEntry demo) { final DemoLauncher.DemoEntry demo) {
TestUtils.ensureLafInstalled(theme, true); TestUtils.ensureLafInstalled(theme, true);
LOGGER.warning("Running: " + index + "/" + count + " " + demo); LOGGER.warning("Running: " + (index + 1) + "/" + count + " " + demo);
if (demo.isDelicate()) { if (demo.isDelicate()) {
LOGGER.warning("Skipping"); LOGGER.warning("Skipping");
return; return;

Loading…
Cancel
Save