This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 2.7.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 423e951f7a43c95086abce7c7d3ce16d9ae57656 Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Wed May 4 12:41:51 2022 +0100 Use DisabledOnIntegrationTest instead of deprecated DisabledOnNativeImage annotation --- .../org/apache/camel/quarkus/component/atlasmap/it/AtlasmapIT.java | 1 - .../camel/quarkus/component/freemarker/it/FreemarkerTest.java | 6 +++--- .../camel/quarkus/component/xmlsecurity/it/XmlsecurityTest.java | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/integration-tests/atlasmap/src/test/java/org/apache/camel/quarkus/component/atlasmap/it/AtlasmapIT.java b/integration-tests/atlasmap/src/test/java/org/apache/camel/quarkus/component/atlasmap/it/AtlasmapIT.java index 9e71294024..18ae10e0c9 100644 --- a/integration-tests/atlasmap/src/test/java/org/apache/camel/quarkus/component/atlasmap/it/AtlasmapIT.java +++ b/integration-tests/atlasmap/src/test/java/org/apache/camel/quarkus/component/atlasmap/it/AtlasmapIT.java @@ -18,7 +18,6 @@ package org.apache.camel.quarkus.component.atlasmap.it; import io.quarkus.test.junit.QuarkusIntegrationTest; -//@DisabledOnNativeImage("https://github.com/apache/camel-quarkus/issues/3189") @QuarkusIntegrationTest class AtlasmapIT extends AtlasmapTest { diff --git a/integration-tests/freemarker/src/test/java/org/apache/camel/quarkus/component/freemarker/it/FreemarkerTest.java b/integration-tests/freemarker/src/test/java/org/apache/camel/quarkus/component/freemarker/it/FreemarkerTest.java index 5af38d48c1..61835b139a 100644 --- a/integration-tests/freemarker/src/test/java/org/apache/camel/quarkus/component/freemarker/it/FreemarkerTest.java +++ b/integration-tests/freemarker/src/test/java/org/apache/camel/quarkus/component/freemarker/it/FreemarkerTest.java @@ -16,7 +16,7 @@ */ package org.apache.camel.quarkus.component.freemarker.it; -import io.quarkus.test.junit.DisabledOnNativeImage; +import io.quarkus.test.junit.DisabledOnIntegrationTest; import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; import io.restassured.http.ContentType; @@ -28,7 +28,7 @@ import static org.hamcrest.Matchers.equalTo; class FreemarkerTest { @Test - @DisabledOnNativeImage // requires allowContextMapAll=true which is unsupported in native mode + @DisabledOnIntegrationTest // requires allowContextMapAll=true which is unsupported in native mode public void freemarkerLetter() { RestAssured.given() .contentType(ContentType.JSON) @@ -51,7 +51,7 @@ class FreemarkerTest { } @Test - @DisabledOnNativeImage // requires allowContextMapAll=true which is unsupported in native mode + @DisabledOnIntegrationTest // requires allowContextMapAll=true which is unsupported in native mode public void valuesInProperties() { RestAssured.given() .contentType(ContentType.JSON) diff --git a/integration-tests/xmlsecurity/src/test/java/org/apache/camel/quarkus/component/xmlsecurity/it/XmlsecurityTest.java b/integration-tests/xmlsecurity/src/test/java/org/apache/camel/quarkus/component/xmlsecurity/it/XmlsecurityTest.java index 72d6da36e4..3b1e56e31d 100644 --- a/integration-tests/xmlsecurity/src/test/java/org/apache/camel/quarkus/component/xmlsecurity/it/XmlsecurityTest.java +++ b/integration-tests/xmlsecurity/src/test/java/org/apache/camel/quarkus/component/xmlsecurity/it/XmlsecurityTest.java @@ -19,7 +19,7 @@ package org.apache.camel.quarkus.component.xmlsecurity.it; import java.io.IOException; import java.nio.charset.StandardCharsets; -import io.quarkus.test.junit.DisabledOnNativeImage; +import io.quarkus.test.junit.DisabledOnIntegrationTest; import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; import io.restassured.http.ContentType; @@ -194,7 +194,7 @@ class XmlsecurityTest { assertFalse(verifiedXml.contains("ds:SignatureValue")); } - @DisabledOnNativeImage("https://github.com/apache/camel-quarkus/issues/2185") + @DisabledOnIntegrationTest("https://github.com/apache/camel-quarkus/issues/2185") @Test public void signVerifyTransformsXsltXPath() throws Exception { String signedXml = RestAssured.given()