Skip to content

Commit

Permalink
Remove last traces of @nativetest
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Aug 23, 2023
1 parent 0a3aaa9 commit 82791d5
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 82791d5

Please sign in to comment.