Skip to content

Commit 32a1d88

Browse files
committed
HBX-3080: Refactor the Gradle integration tests to factor out common code
- Make integration test class 'org.hibernate.tool.gradle.tutorial.TutorialTest' extend the template Signed-off-by: Koen Aers <koen.aers@gmail.com>
1 parent 8a31ee0 commit 32a1d88

File tree

1 file changed

+3
-1
lines changed
  • gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/tutorial

1 file changed

+3
-1
lines changed

gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/tutorial/TutorialTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
import org.junit.jupiter.api.Test;
1818
import org.junit.jupiter.api.io.TempDir;
1919

20-
public class TutorialTest {
20+
import org.hibernate.tool.it.gradle.TestTemplate;
21+
22+
public class TutorialTest extends TestTemplate {
2123

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

0 commit comments

Comments
 (0)