Skip to content

Commit

Permalink
Use DisabledOnIntegrationTest instead of deprecated DisabledOnNativeI…
Browse files Browse the repository at this point in the history
…mage annotation
  • Loading branch information
jamesnetherton committed May 4, 2022
1 parent 53c8041 commit c930308
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import io.quarkus.test.junit.QuarkusIntegrationTest;

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)
Expand All @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit c930308

Please sign in to comment.