Minor cleanup
This commit is contained in:
parent
1fb81b4156
commit
178bbfe572
2 changed files with 4 additions and 2 deletions
|
@ -131,8 +131,10 @@ public class TestNgOperation extends AbstractProcessOperation<TestNgOperation> {
|
||||||
var temp = tempFile();
|
var temp = tempFile();
|
||||||
try (var bufWriter = Files.newBufferedWriter(Paths.get(temp.getPath()))) {
|
try (var bufWriter = Files.newBufferedWriter(Paths.get(temp.getPath()))) {
|
||||||
bufWriter.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
|
bufWriter.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
|
||||||
|
"<!DOCTYPE suite SYSTEM \"https://testng.org/testng-1.0.dtd\">" +
|
||||||
"<suite name=\"bld Default Suite\" verbose=\"2\">" +
|
"<suite name=\"bld Default Suite\" verbose=\"2\">" +
|
||||||
"<test name=\"All Packages\"><packages>");
|
"<test name=\"All Packages\">" +
|
||||||
|
"<packages>");
|
||||||
for (var p : packages) {
|
for (var p : packages) {
|
||||||
bufWriter.write(String.format("<package name=\"%s\"/>", p));
|
bufWriter.write(String.format("<package name=\"%s\"/>", p));
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
package rife.bld.extension;
|
package rife.bld.extension;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import rife.bld.Project;
|
import rife.bld.Project; // NOPMD
|
||||||
import rife.bld.operations.exceptions.ExitStatusException;
|
import rife.bld.operations.exceptions.ExitStatusException;
|
||||||
|
|
||||||
import static org.assertj.core.api.Assertions.*;
|
import static org.assertj.core.api.Assertions.*;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue