Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Oct 30, 2024
1 parent e6e90e6 commit 2f1b6c2
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@ import org.junit.jupiter.api.io.TempDir
import java.nio.file.Path

class ManualCodeSnippetTests {
@TempDir
private Path tempDir

public static final LinkedHashMap<String, SnippetExecuter> FIXTURES = [
"groovy": new GradleBuildExecuter("build.gradle", new GroovyDslFixture(), new GroovyDslFixture.ImportsExtractor()),
"groovy no-plugins": new GradleBuildExecuter("build.gradle", new GroovyScriptFixture(), new GroovyDslFixture.ImportsExtractor()),
"groovy no-run": new NoopExecuter()
]

@TestFactory
List<DynamicTest> provideDynamicTests() {
List<DynamicTest> provideDynamicTests(@TempDir Path tempDir) {
File cwd = new File(StandardSystemProperty.USER_DIR.value())
def content = new File(cwd, "src/docs")
List<TestCodeSnippet> snippets = []
Expand Down

0 comments on commit 2f1b6c2

Please sign in to comment.