Fix test resources path (#386)

This commit is contained in:
Tyler Veness
2022-01-10 21:40:43 -08:00
committed by GitHub
parent 3ad476bc28
commit 80a0d8de1c
2 changed files with 2 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ public class TestUtils {
private static Path getResourcesFolderPath(boolean testMode) {
System.out.println("CWD: " + Path.of("").toAbsolutePath().toString());
return Path.of(testMode ? "" : "../" + "test-resources").toAbsolutePath();
return Path.of("test-resources").toAbsolutePath();
}
public static Path getTestMode2019ImagePath() {

View File

@@ -54,6 +54,7 @@ task testHeadless(type: Test) {
systemProperty("java.awt.headless", "true")
useJUnitPlatform()
exclude '**/*BenchmarkTest*'
workingDir = "../"
}
task generateJavaDocs(type: Javadoc) {