mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-27 01:30:35 +08:00
junit: fix generation of html page for single-test JS runner
This commit is contained in:
parent
772dd9eded
commit
55d3adb7ae
@ -170,7 +170,7 @@ abstract class TestPlatformSupport<T extends TeaVMTarget> {
|
|||||||
|
|
||||||
protected final void htmlSingleTestOutput(File outputPathForMethod, TeaVMTestConfiguration<?> configuration,
|
protected final void htmlSingleTestOutput(File outputPathForMethod, TeaVMTestConfiguration<?> configuration,
|
||||||
String template) {
|
String template) {
|
||||||
File testPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), ".wasm");
|
File testPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), getExtension());
|
||||||
File htmlPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), ".html");
|
File htmlPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), ".html");
|
||||||
var properties = Map.of(
|
var properties = Map.of(
|
||||||
"SCRIPT", testPath.getName(),
|
"SCRIPT", testPath.getName(),
|
||||||
|
Loading…
Reference in New Issue
Block a user