Skip to content

Commit bc7ce40

Browse files
committed
🔊 change the test done-ness indicator
1 parent 2d4e0c7 commit bc7ce40

File tree

10 files changed

+54
-1
lines changed

10 files changed

+54
-1
lines changed

src/test/java/dev/ebullient/convert/CustomTemplatesTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.ArrayList;
77
import java.util.List;
88

9+
import org.junit.jupiter.api.AfterAll;
910
import org.junit.jupiter.api.BeforeAll;
1011
import org.junit.jupiter.api.Test;
1112

@@ -26,6 +27,11 @@ public static void setupDir() {
2627
setupDir("Tools5eDataConvertTest");
2728
}
2829

30+
@AfterAll
31+
public static void cleanup() {
32+
System.out.println("Done.");
33+
}
34+
2935
public static void setupDir(String root) {
3036
tui = new Tui();
3137
tui.init(null, false, false);

src/test/java/dev/ebullient/convert/Pf2eDataConvertTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.ArrayList;
77
import java.util.List;
88

9+
import org.junit.jupiter.api.AfterAll;
910
import org.junit.jupiter.api.BeforeAll;
1011
import org.junit.jupiter.api.Test;
1112

@@ -24,6 +25,11 @@ public static void setupDir() {
2425
setupDir("Pf2eDataConvertTest");
2526
}
2627

28+
@AfterAll
29+
public static void cleanup() {
30+
System.out.println("Done.");
31+
}
32+
2733
public static void setupDir(String root) {
2834
tui = new Tui();
2935
tui.init(null, false, false);

src/test/java/dev/ebullient/convert/TestUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ public static void assertDirectoryContents(Path directory, Tui tui) {
283283
public static void assertDirectoryContents(Path directory, Tui tui, BiFunction<Path, List<String>, List<String>> checker) {
284284
List<String> errors = checkDirectoryContents(directory, tui, checker);
285285
assertThat(errors).isEmpty();
286-
System.out.println("Done.");
287286
}
288287

289288
public static void assertMarkdownLinks(Path filePath, Tui tui) {

src/test/java/dev/ebullient/convert/Tools5eDataConvertTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.ArrayList;
77
import java.util.List;
88

9+
import org.junit.jupiter.api.AfterAll;
910
import org.junit.jupiter.api.BeforeAll;
1011
import org.junit.jupiter.api.Test;
1112

@@ -34,6 +35,11 @@ public static void setupDir() {
3435
TestUtils.PATH_5E_HOMEBREW);
3536
}
3637

38+
@AfterAll
39+
public static void cleanup() {
40+
System.out.println("Done.");
41+
}
42+
3743
public static void setupDir(String root) {
3844
tui = new Tui();
3945
tui.init(null, false, false);

src/test/java/dev/ebullient/convert/tools/dnd5e/JsonDataNoneTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.nio.file.Path;
44

5+
import org.junit.jupiter.api.AfterAll;
56
import org.junit.jupiter.api.AfterEach;
67
import org.junit.jupiter.api.BeforeAll;
78
import org.junit.jupiter.api.Test;
@@ -23,6 +24,11 @@ public static void setupDir() throws Exception {
2324
commonTests = new CommonDataTests(TestInput.none, TestUtils.PATH_5E_TOOLS_DATA);
2425
}
2526

27+
@AfterAll
28+
public static void done() {
29+
System.out.println("Done.");
30+
}
31+
2632
@AfterEach
2733
public void cleanup() {
2834
commonTests.cleanup();

src/test/java/dev/ebullient/convert/tools/dnd5e/JsonDataSubsetTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import java.nio.file.Path;
66

7+
import org.junit.jupiter.api.AfterAll;
78
import org.junit.jupiter.api.AfterEach;
89
import org.junit.jupiter.api.BeforeAll;
910
import org.junit.jupiter.api.Test;
@@ -26,6 +27,11 @@ public static void setupDir() throws Exception {
2627
commonTests = new CommonDataTests(TestInput.subset, TestUtils.PATH_5E_TOOLS_DATA);
2728
}
2829

30+
@AfterAll
31+
public static void done() {
32+
System.out.println("Done.");
33+
}
34+
2935
@AfterEach
3036
public void cleanup() {
3137
commonTests.cleanup();

src/test/java/dev/ebullient/convert/tools/dnd5e/JsonDataTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import java.nio.file.Path;
66

7+
import org.junit.jupiter.api.AfterAll;
78
import org.junit.jupiter.api.AfterEach;
89
import org.junit.jupiter.api.BeforeAll;
910
import org.junit.jupiter.api.Test;
@@ -26,6 +27,11 @@ public static void setupDir() throws Exception {
2627
commonTests = new CommonDataTests(TestInput.all, TestUtils.PATH_5E_TOOLS_DATA);
2728
}
2829

30+
@AfterAll
31+
public static void done() {
32+
System.out.println("Done.");
33+
}
34+
2935
@AfterEach
3036
public void cleanup() {
3137
commonTests.cleanup();

src/test/java/dev/ebullient/convert/tools/pf2e/Pf2eJsonDataNoneTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.util.List;
44

5+
import org.junit.jupiter.api.AfterAll;
56
import org.junit.jupiter.api.BeforeAll;
67
import org.junit.jupiter.api.Test;
78

@@ -19,6 +20,11 @@ public static void setupDir() throws Exception {
1920
commonTests = new CommonDataTests(TestInput.none);
2021
}
2122

23+
@AfterAll
24+
public static void done() {
25+
System.out.println("Done.");
26+
}
27+
2228
@Test
2329
public void testIndex_p2fe() throws Exception {
2430
commonTests.testDataIndex_pf2e();

src/test/java/dev/ebullient/convert/tools/pf2e/Pf2eJsonDataSubsetTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.util.List;
44

5+
import org.junit.jupiter.api.AfterAll;
56
import org.junit.jupiter.api.BeforeAll;
67
import org.junit.jupiter.api.Test;
78

@@ -19,6 +20,11 @@ public static void setupDir() throws Exception {
1920
commonTests = new CommonDataTests(TestInput.partial);
2021
}
2122

23+
@AfterAll
24+
public static void done() {
25+
System.out.println("Done.");
26+
}
27+
2228
@Test
2329
public void testIndex_p2fe() throws Exception {
2430
commonTests.testDataIndex_pf2e();

src/test/java/dev/ebullient/convert/tools/pf2e/Pf2eJsonDataTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.util.List;
44

5+
import org.junit.jupiter.api.AfterAll;
56
import org.junit.jupiter.api.BeforeAll;
67
import org.junit.jupiter.api.Test;
78

@@ -19,6 +20,11 @@ public static void setupDir() throws Exception {
1920
commonTests = new CommonDataTests(TestInput.all);
2021
}
2122

23+
@AfterAll
24+
public static void done() {
25+
System.out.println("Done.");
26+
}
27+
2228
@Test
2329
public void testIndex_p2fe() throws Exception {
2430
commonTests.testDataIndex_pf2e();

0 commit comments

Comments
 (0)