@org.gradle.internal.impldep.org.junit.Before

Here are the examples of the java api @org.gradle.internal.impldep.org.junit.Before taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 Source : MainClassConventionTests.java
with Apache License 2.0
from yuanmabiji

@Before
public void createConvention() throws IOException {
    this.project = ProjectBuilder.builder().withProjectDir(this.temp.newFolder()).build();
    this.convention = new MainClreplacedConvention(this.project, () -> null);
}

16 Source : IntegrationTestForKotlinDSL.java
with Apache License 2.0
from dddjava

@Before
public void clean() {
    File dir = outputDir.toFile();
    if (dir.exists()) {
        for (File file : dir.listFiles()) {
            file.delete();
        }
    }
}