Skip to content

Commit

Permalink
Merge pull request #12259 from glefloch/fix/ci-snapshot-job
Browse files Browse the repository at this point in the history
Move gradle buildscript test in integration test project
  • Loading branch information
gastaldi authored Sep 23, 2020
2 parents 8f24c19 + d8e5c18 commit ddf0357
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.gradle;
package io.quarkus.gradle.buildfiles;

import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.gradle;
package io.quarkus.gradle.buildfiles;

import java.io.IOException;
import java.net.URISyntaxException;
Expand All @@ -7,14 +7,15 @@
import org.junit.jupiter.api.BeforeAll;

import io.quarkus.bootstrap.model.AppArtifactCoords;
import io.quarkus.gradle.GroovyBuildFileFromConnector;

class GroovyBuildFileTest extends AbstractBuildFileTest {

private static GroovyBuildFileFromConnector buildFile;

@BeforeAll
public static void beforeAll() throws URISyntaxException, IOException {
buildFile = initializeProject("gradle-project", GroovyBuildFileFromConnector::new);
buildFile = initializeProject("buildfiles/gradle-project", GroovyBuildFileFromConnector::new);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.gradle;
package io.quarkus.gradle.buildfiles;

import java.io.IOException;
import java.net.URISyntaxException;
Expand All @@ -7,14 +7,15 @@
import org.junit.jupiter.api.BeforeAll;

import io.quarkus.bootstrap.model.AppArtifactCoords;
import io.quarkus.gradle.KotlinBuildFileFromConnector;

class KotlinBuildFileTest extends AbstractBuildFileTest {

private static KotlinBuildFileFromConnector buildFile;

@BeforeAll
public static void beforeAll() throws URISyntaxException, IOException {
buildFile = initializeProject("gradle-kts-project", KotlinBuildFileFromConnector::new);
buildFile = initializeProject("buildfiles/gradle-kts-project", KotlinBuildFileFromConnector::new);
}

@Override
Expand Down

0 comments on commit ddf0357

Please sign in to comment.