Made fields public for testing
This commit is contained in:
parent
47ebc7692c
commit
2651938878
2 changed files with 62 additions and 11 deletions
|
@ -17,9 +17,27 @@
|
|||
package rife.bld.extension;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
class JacocoReportOperationTest {
|
||||
final Path tempDir;
|
||||
|
||||
JacocoReportOperationTest() throws IOException {
|
||||
tempDir = Files.createTempDirectory("jacoco-test");
|
||||
}
|
||||
|
||||
JacocoReportOperation newJacocoReportOperation() {
|
||||
var o = new JacocoReportOperation();
|
||||
o.csv(new File(tempDir.toFile(), "jacoco.csv"));
|
||||
return o;
|
||||
}
|
||||
|
||||
@Test
|
||||
void executeTest() {
|
||||
assertThat(true).isTrue(); // TODO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue