Skip to content
Permalink
Browse files
Use DisabledOnIntegrationTest instead of deprecated DisabledOnNativeI…
…mage annotation
  • Loading branch information
jamesnetherton committed May 4, 2022
1 parent ac90acc commit 1d90c0361e1e3d75cf0394e4a0297e1dfb763f9f
Showing 3 changed files with 5 additions and 6 deletions.
@@ -18,7 +18,6 @@

import io.quarkus.test.junit.QuarkusIntegrationTest;

//@DisabledOnNativeImage("https://github.com/apache/camel-quarkus/issues/3189")
@QuarkusIntegrationTest
class AtlasmapIT extends AtlasmapTest {

@@ -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 @@
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 @@ public void freemarkerDataModel() {
}

@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)
@@ -19,7 +19,7 @@
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 @@ public void signVerifyTransformsXPath() throws Exception {
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()

0 comments on commit 1d90c03

Please sign in to comment.