Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

public class JpaDefaultTest extends TestTemplate {

private static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");

@Test
public void testTutorial() throws Exception {
assertTrue(getProjectDir().exists());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

public class NoAnnotationsTest extends TestTemplate {

private static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");

@Test
public void testTutorial() throws Exception {
assertTrue(getProjectDir().exists());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@

public class NoGenerics extends TestTemplate {

private static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");

@Test
public void testTutorial() throws Exception {
assertTrue(getProjectDir().exists());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@

public class UseGenerics extends TestTemplate {

private static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");

@Test
public void testTutorial() throws Exception {
assertTrue(getProjectDir().exists());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

public class TutorialTest extends TestTemplate {

private static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");

@Test
public void testTutorial() throws Exception {
assertTrue(getProjectDir().exists());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
package org.hibernate.tool.it.gradle;

import java.io.File;
import java.util.List;

import org.junit.jupiter.api.io.TempDir;

public class TestTemplate {

protected static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");

@TempDir
private File projectDir;

Expand Down