From e6601878ae93b2194556f714e50454c71f844836 Mon Sep 17 00:00:00 2001 From: Eric Deandrea Date: Mon, 7 Feb 2022 11:42:10 -0500 Subject: [PATCH] Codestarts - Change native image tests to use @QuarkusIntegrationTest Fixes #18820 --- ...Native{class-name-base}ResourceIT.tpl.qute.java | 7 ------- .../it/{class-name-base}ResourceIT.tpl.qute.java | 7 +++++++ .../Native{resource.class-name}IT.tpl.qute.java | 9 --------- .../org/acme/{resource.class-name}IT.tpl.qute.java | 9 +++++++++ .../acme/Native{resource.class-name}IT.tpl.qute.kt | 6 ------ .../org/acme/{resource.class-name}IT.tpl.qute.kt | 6 ++++++ .../Native{resource.class-name}IT.tpl.qute.scala | 6 ------ .../acme/{resource.class-name}IT.tpl.qute.scala | 6 ++++++ .../Native{resource.class-name}IT.tpl.qute.java | 9 --------- .../org/acme/{resource.class-name}IT.tpl.qute.java | 9 +++++++++ .../acme/Native{resource.class-name}IT.tpl.qute.kt | 6 ------ .../org/acme/{resource.class-name}IT.tpl.qute.kt | 6 ++++++ .../Native{resource.class-name}IT.tpl.qute.scala | 6 ------ .../acme/{resource.class-name}IT.tpl.qute.scala | 6 ++++++ .../Native{resource.class-name}IT.tpl.qute.java | 9 --------- .../org/acme/{resource.class-name}IT.tpl.qute.java | 9 +++++++++ .../acme/Native{resource.class-name}IT.tpl.qute.kt | 6 ------ .../org/acme/{resource.class-name}IT.tpl.qute.kt | 6 ++++++ .../Native{resource.class-name}IT.tpl.qute.scala | 6 ------ .../acme/{resource.class-name}IT.tpl.qute.scala | 6 ++++++ .../quarkus/QuarkusCodestartGenerationTest.java | 14 +++++++------- .../codestarts/quarkus/RESTEasyCodestartTest.java | 2 +- .../quarkus/RESTEasyReactiveCodestartTest.java | 2 +- .../codestarts/quarkus/SpringWebCodestartTest.java | 2 +- .../src_test_java_org_acme_GreetingResourceIT.java | 9 +++++++++ ...est_java_org_acme_NativeGreetingResourceIT.java | 9 --------- .../src_test_java_org_acme_GreetingResourceIT.java | 9 +++++++++ ...est_java_org_acme_NativeGreetingResourceIT.java | 9 --------- .../src_test_java_com_andy_BonjourResourceIT.java | 9 +++++++++ ...test_java_com_andy_NativeBonjourResourceIT.java | 8 ++++---- .../src_test_kotlin_com_andy_BonjourResourceIT.kt | 6 ++++++ ...test_kotlin_com_andy_NativeBonjourResourceIT.kt | 6 ------ ...src_test_scala_com_andy_BonjourResourceIT.scala | 6 ++++++ ...st_scala_com_andy_NativeBonjourResourceIT.scala | 6 ------ .../generateDefaultProject/dir-tree.snapshot | 4 ++-- ...est_java_ilove_quark_us_GreetingResourceIT.java | 9 +++++++++ ...va_ilove_quark_us_NativeGreetingResourceIT.java | 9 --------- ...est_kotlin_ilove_quark_us_GreetingResourceIT.kt | 6 ++++++ ...tlin_ilove_quark_us_NativeGreetingResourceIT.kt | 6 ------ ...t_scala_ilove_quark_us_GreetingResourceIT.scala | 6 ++++++ ...a_ilove_quark_us_NativeGreetingResourceIT.scala | 6 ------ ..._quark_us_NativeReactiveGreetingResourceIT.java | 9 --------- ..._ilove_quark_us_ReactiveGreetingResourceIT.java | 9 +++++++++ ...ve_quark_us_NativeReactiveGreetingResourceIT.kt | 6 ------ ...in_ilove_quark_us_ReactiveGreetingResourceIT.kt | 6 ++++++ ...quark_us_NativeReactiveGreetingResourceIT.scala | 6 ------ ...ilove_quark_us_ReactiveGreetingResourceIT.scala | 6 ++++++ ...t_java_ilove_quark_us_GreetingControllerIT.java | 9 +++++++++ ..._ilove_quark_us_NativeGreetingControllerIT.java | 9 --------- ...t_kotlin_ilove_quark_us_GreetingControllerIT.kt | 6 ++++++ ...in_ilove_quark_us_NativeGreetingControllerIT.kt | 6 ------ ...scala_ilove_quark_us_GreetingControllerIT.scala | 6 ++++++ ...ilove_quark_us_NativeGreetingControllerIT.scala | 6 ------ .../maven/it/CreateProjectCodestartMojoIT.java | 4 ++-- .../testCreateCoreExtension/dir-tree.snapshot | 4 ++-- .../dir-tree.snapshot | 4 ++-- .../dir-tree.snapshot | 4 ++-- .../dir-tree.snapshot | 4 ++-- .../io/quarkus/test/junit/NativeImageTest.java | 3 +++ 59 files changed, 201 insertions(+), 189 deletions(-) delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/Native{class-name-base}ResourceIT.tpl.qute.java create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/{class-name-base}ResourceIT.tpl.qute.java delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt delete mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala create mode 100644 independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_GreetingResourceIT.java delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_NativeGreetingResourceIT.java create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_GreetingResourceIT.java delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_NativeGreetingResourceIT.java create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_BonjourResourceIT.java create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_BonjourResourceIT.kt delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_NativeBonjourResourceIT.kt create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_BonjourResourceIT.scala delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_NativeBonjourResourceIT.scala create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingResourceIT.java delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingResourceIT.java create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingResourceIT.kt delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingResourceIT.kt create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingResourceIT.scala delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingResourceIT.scala delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_NativeReactiveGreetingResourceIT.java create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_ReactiveGreetingResourceIT.java delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeReactiveGreetingResourceIT.kt create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_ReactiveGreetingResourceIT.kt delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeReactiveGreetingResourceIT.scala create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_ReactiveGreetingResourceIT.scala create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingControllerIT.java delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingControllerIT.java create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingControllerIT.kt delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingControllerIT.kt create mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingControllerIT.scala delete mode 100644 independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingControllerIT.scala diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/Native{class-name-base}ResourceIT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/Native{class-name-base}ResourceIT.tpl.qute.java deleted file mode 100644 index d331a251a1666..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/Native{class-name-base}ResourceIT.tpl.qute.java +++ /dev/null @@ -1,7 +0,0 @@ -package {package-name}.it; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class Native{class-name-base}ResourceIT extends {class-name-base}ResourceTest { -} diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/{class-name-base}ResourceIT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/{class-name-base}ResourceIT.tpl.qute.java new file mode 100644 index 0000000000000..7402abfd617bb --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/{class-name-base}ResourceIT.tpl.qute.java @@ -0,0 +1,7 @@ +package {package-name}.it; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class {class-name-base}ResourceIT extends {class-name-base}ResourceTest { +} diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java deleted file mode 100644 index 9462e8558f054..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.acme; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class Native{resource.class-name}IT extends {resource.class-name}Test { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java new file mode 100644 index 0000000000000..31b6a58e91c9b --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java @@ -0,0 +1,9 @@ +package org.acme; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class {resource.class-name}IT extends {resource.class-name}Test { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt deleted file mode 100644 index 49b2a833857a5..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt +++ /dev/null @@ -1,6 +0,0 @@ -package org.acme - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class Native{resource.class-name}IT : {resource.class-name}Test() \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt new file mode 100644 index 0000000000000..341f1016131c8 --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt @@ -0,0 +1,6 @@ +package org.acme + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class {resource.class-name}IT : {resource.class-name}Test() diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala deleted file mode 100644 index cdcb18d028a16..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala +++ /dev/null @@ -1,6 +0,0 @@ -package org.acme - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class Native{resource.class-name}IT extends {resource.class-name}Test \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala new file mode 100644 index 0000000000000..3fcd71bffb0f2 --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala @@ -0,0 +1,6 @@ +package org.acme + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class {resource.class-name}IT extends {resource.class-name}Test diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java deleted file mode 100644 index 9462e8558f054..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.acme; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class Native{resource.class-name}IT extends {resource.class-name}Test { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java new file mode 100644 index 0000000000000..31b6a58e91c9b --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java @@ -0,0 +1,9 @@ +package org.acme; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class {resource.class-name}IT extends {resource.class-name}Test { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt deleted file mode 100644 index 49b2a833857a5..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt +++ /dev/null @@ -1,6 +0,0 @@ -package org.acme - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class Native{resource.class-name}IT : {resource.class-name}Test() \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt new file mode 100644 index 0000000000000..341f1016131c8 --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt @@ -0,0 +1,6 @@ +package org.acme + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class {resource.class-name}IT : {resource.class-name}Test() diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala deleted file mode 100644 index cdcb18d028a16..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala +++ /dev/null @@ -1,6 +0,0 @@ -package org.acme - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class Native{resource.class-name}IT extends {resource.class-name}Test \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala new file mode 100644 index 0000000000000..3fcd71bffb0f2 --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-reactive-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala @@ -0,0 +1,6 @@ +package org.acme + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class {resource.class-name}IT extends {resource.class-name}Test diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java deleted file mode 100644 index 9462e8558f054..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/Native{resource.class-name}IT.tpl.qute.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.acme; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class Native{resource.class-name}IT extends {resource.class-name}Test { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java new file mode 100644 index 0000000000000..31b6a58e91c9b --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/java/src/native-test/java/org/acme/{resource.class-name}IT.tpl.qute.java @@ -0,0 +1,9 @@ +package org.acme; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class {resource.class-name}IT extends {resource.class-name}Test { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt deleted file mode 100644 index 49b2a833857a5..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/Native{resource.class-name}IT.tpl.qute.kt +++ /dev/null @@ -1,6 +0,0 @@ -package org.acme - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class Native{resource.class-name}IT : {resource.class-name}Test() \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt new file mode 100644 index 0000000000000..341f1016131c8 --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/kotlin/src/native-test/kotlin/org/acme/{resource.class-name}IT.tpl.qute.kt @@ -0,0 +1,6 @@ +package org.acme + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class {resource.class-name}IT : {resource.class-name}Test() diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala deleted file mode 100644 index cdcb18d028a16..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/Native{resource.class-name}IT.tpl.qute.scala +++ /dev/null @@ -1,6 +0,0 @@ -package org.acme - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class Native{resource.class-name}IT extends {resource.class-name}Test \ No newline at end of file diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala new file mode 100644 index 0000000000000..3fcd71bffb0f2 --- /dev/null +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/scala/src/native-test/scala/org/acme/{resource.class-name}IT.tpl.qute.scala @@ -0,0 +1,6 @@ +package org.acme + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class {resource.class-name}IT extends {resource.class-name}Test diff --git a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/QuarkusCodestartGenerationTest.java b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/QuarkusCodestartGenerationTest.java index bca8c7898bb64..66b1965a11f2d 100644 --- a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/QuarkusCodestartGenerationTest.java +++ b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/QuarkusCodestartGenerationTest.java @@ -77,7 +77,7 @@ void generateRESTEasyJavaCustom(TestInfo testInfo) throws Throwable { checkConfigProperties(projectDir); assertThatMatchSnapshot(testInfo, projectDir, "src/main/java/com/andy/BonjourResource.java"); - assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/com/andy/NativeBonjourResourceIT.java"); + assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/com/andy/BonjourResourceIT.java"); assertThatMatchSnapshot(testInfo, projectDir, "src/main/resources/META-INF/resources/index.html"); } @@ -135,9 +135,9 @@ void generateRESTEasyKotlinCustom(TestInfo testInfo) throws Throwable { .satisfies(checkContains("class BonjourResourceTest")) .satisfies(checkContains("\"/bonjour\"")); - assertThatMatchSnapshot(testInfo, projectDir, "src/test/kotlin/com/andy/NativeBonjourResourceIT.kt") + assertThatMatchSnapshot(testInfo, projectDir, "src/test/kotlin/com/andy/BonjourResourceIT.kt") .satisfies(checkContains("package com.andy")) - .satisfies(checkContains("class NativeBonjourResourceIT : BonjourResourceTest")); + .satisfies(checkContains("class BonjourResourceIT : BonjourResourceTest")); } @Test @@ -168,9 +168,9 @@ void generateRESTEasyScalaCustom(TestInfo testInfo) throws Throwable { .satisfies(checkContains("class BonjourResourceTest")) .satisfies(checkContains("\"/bonjour\"")); - assertThatMatchSnapshot(testInfo, projectDir, "src/test/scala/com/andy/NativeBonjourResourceIT.scala") + assertThatMatchSnapshot(testInfo, projectDir, "src/test/scala/com/andy/BonjourResourceIT.scala") .satisfies(checkContains("package com.andy")) - .satisfies(checkContains("class NativeBonjourResourceIT extends BonjourResourceTest")); + .satisfies(checkContains("class BonjourResourceIT extends BonjourResourceTest")); } @Test @@ -188,7 +188,7 @@ void generateMavenDefaultJava(TestInfo testInfo) throws Throwable { assertThatMatchSnapshot(testInfo, projectDir, "src/main/java/org/acme/GreetingResource.java"); assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/org/acme/GreetingResourceTest.java"); - assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/org/acme/NativeGreetingResourceIT.java"); + assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/org/acme/GreetingResourceIT.java"); } @Test @@ -207,7 +207,7 @@ void generateMavenResteasyJava(TestInfo testInfo) throws Throwable { assertThatMatchSnapshot(testInfo, projectDir, "src/main/java/org/acme/GreetingResource.java"); assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/org/acme/GreetingResourceTest.java"); - assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/org/acme/NativeGreetingResourceIT.java"); + assertThatMatchSnapshot(testInfo, projectDir, "src/test/java/org/acme/GreetingResourceIT.java"); } @Test diff --git a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyCodestartTest.java b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyCodestartTest.java index 039416f501e96..59117f986e0b8 100644 --- a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyCodestartTest.java +++ b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyCodestartTest.java @@ -24,7 +24,7 @@ class RESTEasyCodestartTest { void testContent() throws Throwable { codestartTest.checkGeneratedSource("org.acme.GreetingResource"); codestartTest.checkGeneratedTestSource("org.acme.GreetingResourceTest"); - codestartTest.checkGeneratedTestSource("org.acme.NativeGreetingResourceIT"); + codestartTest.checkGeneratedTestSource("org.acme.GreetingResourceIT"); } } diff --git a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyReactiveCodestartTest.java b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyReactiveCodestartTest.java index e99ac52858618..f9f8b63a7ab0f 100644 --- a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyReactiveCodestartTest.java +++ b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/RESTEasyReactiveCodestartTest.java @@ -24,7 +24,7 @@ class RESTEasyReactiveCodestartTest { void testContent() throws Throwable { codestartTest.checkGeneratedSource("org.acme.ReactiveGreetingResource"); codestartTest.checkGeneratedTestSource("org.acme.ReactiveGreetingResourceTest"); - codestartTest.checkGeneratedTestSource("org.acme.NativeReactiveGreetingResourceIT"); + codestartTest.checkGeneratedTestSource("org.acme.ReactiveGreetingResourceIT"); } } diff --git a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/SpringWebCodestartTest.java b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/SpringWebCodestartTest.java index 9dad8534481b3..ba4dd08e4f8cb 100644 --- a/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/SpringWebCodestartTest.java +++ b/independent-projects/tools/devtools-testing/src/test/java/io/quarkus/devtools/codestarts/quarkus/SpringWebCodestartTest.java @@ -24,7 +24,7 @@ class SpringWebCodestartTest { void testContent() throws Throwable { codestartTest.checkGeneratedSource("org.acme.GreetingController"); codestartTest.checkGeneratedTestSource("org.acme.GreetingControllerTest"); - codestartTest.checkGeneratedTestSource("org.acme.NativeGreetingControllerIT"); + codestartTest.checkGeneratedTestSource("org.acme.GreetingControllerIT"); } } diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_GreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_GreetingResourceIT.java new file mode 100644 index 0000000000000..9e18707971142 --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_GreetingResourceIT.java @@ -0,0 +1,9 @@ +package org.acme; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class GreetingResourceIT extends GreetingResourceTest { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_NativeGreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_NativeGreetingResourceIT.java deleted file mode 100644 index 043ae18256485..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenDefaultJava/src_test_java_org_acme_NativeGreetingResourceIT.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.acme; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class NativeGreetingResourceIT extends GreetingResourceTest { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_GreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_GreetingResourceIT.java new file mode 100644 index 0000000000000..9e18707971142 --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_GreetingResourceIT.java @@ -0,0 +1,9 @@ +package org.acme; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class GreetingResourceIT extends GreetingResourceTest { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_NativeGreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_NativeGreetingResourceIT.java deleted file mode 100644 index 043ae18256485..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenResteasyJava/src_test_java_org_acme_NativeGreetingResourceIT.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.acme; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class NativeGreetingResourceIT extends GreetingResourceTest { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_BonjourResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_BonjourResourceIT.java new file mode 100644 index 0000000000000..c7097e361b21f --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_BonjourResourceIT.java @@ -0,0 +1,9 @@ +package com.andy; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class BonjourResourceIT extends BonjourResourceTest { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_NativeBonjourResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_NativeBonjourResourceIT.java index 47d1a0ead6f1e..c7097e361b21f 100644 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_NativeBonjourResourceIT.java +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_test_java_com_andy_NativeBonjourResourceIT.java @@ -1,9 +1,9 @@ package com.andy; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest -public class NativeBonjourResourceIT extends BonjourResourceTest { +@QuarkusIntegrationTest +public class BonjourResourceIT extends BonjourResourceTest { // Execute the same tests but in native mode. -} \ No newline at end of file +} diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_BonjourResourceIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_BonjourResourceIT.kt new file mode 100644 index 0000000000000..fa4b6dbf6007c --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_BonjourResourceIT.kt @@ -0,0 +1,6 @@ +package com.andy + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class BonjourResourceIT : BonjourResourceTest() diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_NativeBonjourResourceIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_NativeBonjourResourceIT.kt deleted file mode 100644 index 326e8c8ae1fca..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyKotlinCustom/src_test_kotlin_com_andy_NativeBonjourResourceIT.kt +++ /dev/null @@ -1,6 +0,0 @@ -package com.andy - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeBonjourResourceIT : BonjourResourceTest() \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_BonjourResourceIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_BonjourResourceIT.scala new file mode 100644 index 0000000000000..7a93bde05deea --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_BonjourResourceIT.scala @@ -0,0 +1,6 @@ +package com.andy + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class BonjourResourceIT extends BonjourResourceTest diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_NativeBonjourResourceIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_NativeBonjourResourceIT.scala deleted file mode 100644 index a781956bfd06c..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyScalaCustom/src_test_scala_com_andy_NativeBonjourResourceIT.scala +++ /dev/null @@ -1,6 +0,0 @@ -package com.andy - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeBonjourResourceIT extends BonjourResourceTest \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusExtensionCodestartGenerationTest/generateDefaultProject/dir-tree.snapshot b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusExtensionCodestartGenerationTest/generateDefaultProject/dir-tree.snapshot index f7ca8b4bd0e4e..85acbff806715 100644 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusExtensionCodestartGenerationTest/generateDefaultProject/dir-tree.snapshot +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusExtensionCodestartGenerationTest/generateDefaultProject/dir-tree.snapshot @@ -31,8 +31,8 @@ integration-tests/src/test/java/ integration-tests/src/test/java/org/ integration-tests/src/test/java/org/extension/ integration-tests/src/test/java/org/extension/it/ +integration-tests/src/test/java/org/extension/it/MyExtensionResourceIT.java integration-tests/src/test/java/org/extension/it/MyExtensionResourceTest.java -integration-tests/src/test/java/org/extension/it/NativeMyExtensionResourceIT.java pom.xml runtime/ runtime/pom.xml @@ -40,4 +40,4 @@ runtime/src/ runtime/src/main/ runtime/src/main/resources/ runtime/src/main/resources/META-INF/ -runtime/src/main/resources/META-INF/quarkus-extension.yaml \ No newline at end of file +runtime/src/main/resources/META-INF/quarkus-extension.yaml diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingResourceIT.java new file mode 100644 index 0000000000000..33df1c8e83a2e --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingResourceIT.java @@ -0,0 +1,9 @@ +package ilove.quark.us; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class GreetingResourceIT extends GreetingResourceTest { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingResourceIT.java deleted file mode 100644 index be833e541987d..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingResourceIT.java +++ /dev/null @@ -1,9 +0,0 @@ -package ilove.quark.us; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class NativeGreetingResourceIT extends GreetingResourceTest { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingResourceIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingResourceIT.kt new file mode 100644 index 0000000000000..e7bb844d8c68d --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingResourceIT.kt @@ -0,0 +1,6 @@ +package ilove.quark.us + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class GreetingResourceIT : GreetingResourceTest() diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingResourceIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingResourceIT.kt deleted file mode 100644 index 5937a3730a607..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingResourceIT.kt +++ /dev/null @@ -1,6 +0,0 @@ -package ilove.quark.us - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeGreetingResourceIT : GreetingResourceTest() \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingResourceIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingResourceIT.scala new file mode 100644 index 0000000000000..e2b134715fc1a --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingResourceIT.scala @@ -0,0 +1,6 @@ +package ilove.quark.us + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class GreetingResourceIT extends GreetingResourceTest diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingResourceIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingResourceIT.scala deleted file mode 100644 index 2181539698317..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingResourceIT.scala +++ /dev/null @@ -1,6 +0,0 @@ -package ilove.quark.us - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeGreetingResourceIT extends GreetingResourceTest \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_NativeReactiveGreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_NativeReactiveGreetingResourceIT.java deleted file mode 100644 index 0beb8220d0c3b..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_NativeReactiveGreetingResourceIT.java +++ /dev/null @@ -1,9 +0,0 @@ -package ilove.quark.us; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class NativeReactiveGreetingResourceIT extends ReactiveGreetingResourceTest { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_ReactiveGreetingResourceIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_ReactiveGreetingResourceIT.java new file mode 100644 index 0000000000000..2e0c377445d1f --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_java_ilove_quark_us_ReactiveGreetingResourceIT.java @@ -0,0 +1,9 @@ +package ilove.quark.us; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class ReactiveGreetingResourceIT extends ReactiveGreetingResourceTest { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeReactiveGreetingResourceIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeReactiveGreetingResourceIT.kt deleted file mode 100644 index 5343d1af2ecfb..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeReactiveGreetingResourceIT.kt +++ /dev/null @@ -1,6 +0,0 @@ -package ilove.quark.us - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeReactiveGreetingResourceIT : ReactiveGreetingResourceTest() \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_ReactiveGreetingResourceIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_ReactiveGreetingResourceIT.kt new file mode 100644 index 0000000000000..c4e85f6827999 --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_kotlin_ilove_quark_us_ReactiveGreetingResourceIT.kt @@ -0,0 +1,6 @@ +package ilove.quark.us + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class ReactiveGreetingResourceIT : ReactiveGreetingResourceTest() diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeReactiveGreetingResourceIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeReactiveGreetingResourceIT.scala deleted file mode 100644 index 32595d995510d..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeReactiveGreetingResourceIT.scala +++ /dev/null @@ -1,6 +0,0 @@ -package ilove.quark.us - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeReactiveGreetingResourceIT extends ReactiveGreetingResourceTest \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_ReactiveGreetingResourceIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_ReactiveGreetingResourceIT.scala new file mode 100644 index 0000000000000..58276b3262a4c --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/RESTEasyReactiveCodestartTest/testContent/src_test_scala_ilove_quark_us_ReactiveGreetingResourceIT.scala @@ -0,0 +1,6 @@ +package ilove.quark.us + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class ReactiveGreetingResourceIT extends ReactiveGreetingResourceTest diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingControllerIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingControllerIT.java new file mode 100644 index 0000000000000..b0dba6fdcd993 --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_GreetingControllerIT.java @@ -0,0 +1,9 @@ +package ilove.quark.us; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +public class GreetingControllerIT extends GreetingControllerTest { + + // Execute the same tests but in native mode. +} diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingControllerIT.java b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingControllerIT.java deleted file mode 100644 index 67f8d20c28bf4..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_java_ilove_quark_us_NativeGreetingControllerIT.java +++ /dev/null @@ -1,9 +0,0 @@ -package ilove.quark.us; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class NativeGreetingControllerIT extends GreetingControllerTest { - - // Execute the same tests but in native mode. -} \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingControllerIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingControllerIT.kt new file mode 100644 index 0000000000000..44d21d672b513 --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_GreetingControllerIT.kt @@ -0,0 +1,6 @@ +package ilove.quark.us + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class GreetingControllerIT : GreetingControllerTest() diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingControllerIT.kt b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingControllerIT.kt deleted file mode 100644 index 572dba0935569..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_kotlin_ilove_quark_us_NativeGreetingControllerIT.kt +++ /dev/null @@ -1,6 +0,0 @@ -package ilove.quark.us - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeGreetingControllerIT : GreetingControllerTest() \ No newline at end of file diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingControllerIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingControllerIT.scala new file mode 100644 index 0000000000000..ae82ddf6f268a --- /dev/null +++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_GreetingControllerIT.scala @@ -0,0 +1,6 @@ +package ilove.quark.us + +import io.quarkus.test.junit.QuarkusIntegrationTest + +@QuarkusIntegrationTest +class GreetingControllerIT extends GreetingControllerTest diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingControllerIT.scala b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingControllerIT.scala deleted file mode 100644 index 5ef5066add797..0000000000000 --- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/SpringWebCodestartTest/testContent/src_test_scala_ilove_quark_us_NativeGreetingControllerIT.scala +++ /dev/null @@ -1,6 +0,0 @@ -package ilove.quark.us - -import io.quarkus.test.junit.NativeImageTest - -@NativeImageTest -class NativeGreetingControllerIT extends GreetingControllerTest \ No newline at end of file diff --git a/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectCodestartMojoIT.java b/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectCodestartMojoIT.java index a5d67deb3cbec..b266587b21c1c 100644 --- a/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectCodestartMojoIT.java +++ b/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectCodestartMojoIT.java @@ -92,9 +92,9 @@ public void generateCustomRESTEasyJavaProject() throws Exception { "class BonjourResourceTest", "\"/bonjour\""); - checkContent(generatedProjectPath.resolve("src/test/java/com/andy/NativeBonjourResourceIT.java"), + checkContent(generatedProjectPath.resolve("src/test/java/com/andy/BonjourResourceIT.java"), "package com.andy;", - "class NativeBonjourResourceIT extends BonjourResourceTest"); + "class BonjourResourceIT extends BonjourResourceTest"); } private Path generateProject(String buildtool, String language, String extensions, Map options) diff --git a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtension/dir-tree.snapshot b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtension/dir-tree.snapshot index 5e819a8ebf4f3..77b9042f7a920 100644 --- a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtension/dir-tree.snapshot +++ b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtension/dir-tree.snapshot @@ -54,7 +54,7 @@ integration-tests/my-ext/src/test/java/org/acme/ integration-tests/my-ext/src/test/java/org/acme/my/ integration-tests/my-ext/src/test/java/org/acme/my/ext/ integration-tests/my-ext/src/test/java/org/acme/my/ext/it/ +integration-tests/my-ext/src/test/java/org/acme/my/ext/it/MyExtResourceIT.java integration-tests/my-ext/src/test/java/org/acme/my/ext/it/MyExtResourceTest.java -integration-tests/my-ext/src/test/java/org/acme/my/ext/it/NativeMyExtResourceIT.java integration-tests/pom.xml -pom.xml \ No newline at end of file +pom.xml diff --git a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtensionFromExtensionsDir/dir-tree.snapshot b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtensionFromExtensionsDir/dir-tree.snapshot index 5e819a8ebf4f3..77b9042f7a920 100644 --- a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtensionFromExtensionsDir/dir-tree.snapshot +++ b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateCoreExtensionFromExtensionsDir/dir-tree.snapshot @@ -54,7 +54,7 @@ integration-tests/my-ext/src/test/java/org/acme/ integration-tests/my-ext/src/test/java/org/acme/my/ integration-tests/my-ext/src/test/java/org/acme/my/ext/ integration-tests/my-ext/src/test/java/org/acme/my/ext/it/ +integration-tests/my-ext/src/test/java/org/acme/my/ext/it/MyExtResourceIT.java integration-tests/my-ext/src/test/java/org/acme/my/ext/it/MyExtResourceTest.java -integration-tests/my-ext/src/test/java/org/acme/my/ext/it/NativeMyExtResourceIT.java integration-tests/pom.xml -pom.xml \ No newline at end of file +pom.xml diff --git a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/dir-tree.snapshot b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/dir-tree.snapshot index 1e1bcafb74308..4b88abfd2a5ba 100644 --- a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/dir-tree.snapshot +++ b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/dir-tree.snapshot @@ -65,8 +65,8 @@ quarkus-my-quarki-ext/integration-tests/src/test/java/io/quarkiverse/my/ quarkus-my-quarki-ext/integration-tests/src/test/java/io/quarkiverse/my/quarki/ quarkus-my-quarki-ext/integration-tests/src/test/java/io/quarkiverse/my/quarki/ext/ quarkus-my-quarki-ext/integration-tests/src/test/java/io/quarkiverse/my/quarki/ext/it/ +quarkus-my-quarki-ext/integration-tests/src/test/java/io/quarkiverse/my/quarki/ext/it/MyQuarkiExtResourceIT.java quarkus-my-quarki-ext/integration-tests/src/test/java/io/quarkiverse/my/quarki/ext/it/MyQuarkiExtResourceTest.java -quarkus-my-quarki-ext/integration-tests/src/test/java/io/quarkiverse/my/quarki/ext/it/NativeMyQuarkiExtResourceIT.java quarkus-my-quarki-ext/pom.xml quarkus-my-quarki-ext/runtime/ quarkus-my-quarki-ext/runtime/pom.xml @@ -74,4 +74,4 @@ quarkus-my-quarki-ext/runtime/src/ quarkus-my-quarki-ext/runtime/src/main/ quarkus-my-quarki-ext/runtime/src/main/resources/ quarkus-my-quarki-ext/runtime/src/main/resources/META-INF/ -quarkus-my-quarki-ext/runtime/src/main/resources/META-INF/quarkus-extension.yaml \ No newline at end of file +quarkus-my-quarki-ext/runtime/src/main/resources/META-INF/quarkus-extension.yaml diff --git a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateStandaloneExtension/dir-tree.snapshot b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateStandaloneExtension/dir-tree.snapshot index 8ee3fe9053005..0f55a2028b467 100644 --- a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateStandaloneExtension/dir-tree.snapshot +++ b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateStandaloneExtension/dir-tree.snapshot @@ -44,8 +44,8 @@ my-org-my-own-ext/integration-tests/src/test/java/io/standalone/my/ my-org-my-own-ext/integration-tests/src/test/java/io/standalone/my/own/ my-org-my-own-ext/integration-tests/src/test/java/io/standalone/my/own/ext/ my-org-my-own-ext/integration-tests/src/test/java/io/standalone/my/own/ext/it/ +my-org-my-own-ext/integration-tests/src/test/java/io/standalone/my/own/ext/it/MyOwnExtResourceIT.java my-org-my-own-ext/integration-tests/src/test/java/io/standalone/my/own/ext/it/MyOwnExtResourceTest.java -my-org-my-own-ext/integration-tests/src/test/java/io/standalone/my/own/ext/it/NativeMyOwnExtResourceIT.java my-org-my-own-ext/pom.xml my-org-my-own-ext/runtime/ my-org-my-own-ext/runtime/pom.xml @@ -53,4 +53,4 @@ my-org-my-own-ext/runtime/src/ my-org-my-own-ext/runtime/src/main/ my-org-my-own-ext/runtime/src/main/resources/ my-org-my-own-ext/runtime/src/main/resources/META-INF/ -my-org-my-own-ext/runtime/src/main/resources/META-INF/quarkus-extension.yaml \ No newline at end of file +my-org-my-own-ext/runtime/src/main/resources/META-INF/quarkus-extension.yaml diff --git a/test-framework/junit5/src/main/java/io/quarkus/test/junit/NativeImageTest.java b/test-framework/junit5/src/main/java/io/quarkus/test/junit/NativeImageTest.java index b53af9748d040..0f5acff416e19 100644 --- a/test-framework/junit5/src/main/java/io/quarkus/test/junit/NativeImageTest.java +++ b/test-framework/junit5/src/main/java/io/quarkus/test/junit/NativeImageTest.java @@ -24,9 +24,12 @@ * in native image tests. Such injection is only possible in tests injected with * {@link @QuarkusTest} so the test class structure must take this into account. * + * @deprecated + * Use {@link @QuarkusIntegrationTest} instead. */ @Target(ElementType.TYPE) @ExtendWith({ DisabledOnNativeImageCondition.class, QuarkusTestExtension.class, NativeTestExtension.class }) @Retention(RetentionPolicy.RUNTIME) +@Deprecated public @interface NativeImageTest { }