Skip to content

Commit

Permalink
Merge pull request quarkusio#35488 from geoand/NativeTestExtension
Browse files Browse the repository at this point in the history
Remove last traces of @nativetest
  • Loading branch information
geoand authored Aug 23, 2023
2 parents 72ef70e + 82791d5 commit ba493f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 259 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import io.quarkus.test.junit.NativeTestExtension;
import io.quarkus.test.junit.QuarkusIntegrationTest;
import io.quarkus.test.junit.QuarkusIntegrationTestExtension;
import io.quarkus.test.junit.QuarkusTestProfile;
import io.quarkus.test.junit.TestProfile;

/**
* Run this manually via {@code mvn clean verify -Dnative -Dit.test=BuiltTimeProfileChangeManualITCase} to ensure that
* {@link NativeTestExtension#beforeEach(org.junit.jupiter.api.extension.ExtensionContext)} throws an exception caused
* by an application boot failure. The failure should happen because {@link NativeTestExtension} is setting
* {@link QuarkusIntegrationTestExtension#beforeEach(org.junit.jupiter.api.extension.ExtensionContext)} throws an exception
* caused
* by an application boot failure. The failure should happen because {@link QuarkusIntegrationTestExtension} is setting
* {@code quarkus.configuration.build-time-mismatch-at-runtime = fail} and
* {@link BuildProfileChange#getConfigProfile()} returns a profile name that changes
* {@code quarkus.arc.remove-unused-beans} in {@code application.properties}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import io.quarkus.test.junit.NativeTestExtension;
import io.quarkus.test.junit.QuarkusIntegrationTest;
import io.quarkus.test.junit.QuarkusIntegrationTestExtension;
import io.quarkus.test.junit.QuarkusTestProfile;
import io.quarkus.test.junit.TestProfile;

/**
* Run this manually via {@code mvn clean verify -Dnative -Dit.test=BuiltTimeValueChangeManualITCase} to ensure that
* {@link NativeTestExtension#beforeEach(org.junit.jupiter.api.extension.ExtensionContext)} throws an exception caused
* by an application boot failure. The failure should happen because {@link NativeTestExtension} is setting
* {@link QuarkusIntegrationTestExtension#beforeEach(org.junit.jupiter.api.extension.ExtensionContext)} throws an exception
* caused
* by an application boot failure. The failure should happen because {@link QuarkusIntegrationTestExtension} is setting
* {@code quarkus.configuration.build-time-mismatch-at-runtime = fail} and
* {@link BuildTimeValueChangeTestProfile#getConfigOverrides()} changes {@code quarkus.arc.remove-unused-beans}.
*/
Expand Down

This file was deleted.

0 comments on commit ba493f7

Please sign in to comment.