Package io.quarkus.test.junit
Class IntegrationTestUtil
java.lang.Object
io.quarkus.test.junit.IntegrationTestUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescription(package private) static void(package private) static PathdetermineBuildOutputDirectory(org.junit.jupiter.api.extension.ExtensionContext context) (package private) static TestProfileAndPropertiesdetermineTestProfileAndProperties(Class<? extends QuarkusTestProfile> profile, Map<String, String> sysPropRestore) (package private) static voiddoProcessTestInstance(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context) (package private) static voidensureNoInjectAnnotationIsUsed(Class<?> testClass) (package private) static Class<? extends QuarkusTestProfile>findProfile(Class<?> testClass) (package private) static <T> List<T>getAdditionalTestResources(QuarkusTestProfile profileInstance, ClassLoader classLoader) SinceTestResourceManageris loaded from the ClassLoader passed in as an argument, we need to convert the user inputQuarkusTestProfile.TestResourceEntryinto instances ofTestResourceManager.TestResourceClassEntrythat are loaded from that ClassLoader(package private) static StringgetArtifactType(Properties quarkusArtifactProperties) (package private) static ArtifactLauncher.InitContext.DevServicesLaunchResulthandleDevServices(org.junit.jupiter.api.extension.ExtensionContext context, boolean isDockerAppLaunch) static PropertiesreadQuarkusArtifactProperties(org.junit.jupiter.api.extension.ExtensionContext context) (package private) static voidstartLauncher(ArtifactLauncher launcher, Map<String, String> additionalProperties, Runnable sslSetter)
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
DEFAULT_HTTPS_PORT
public static final int DEFAULT_HTTPS_PORT- See Also:
-
-
Method Details
-
ensureNoInjectAnnotationIsUsed
-
findProfile
-
doProcessTestInstance
static void doProcessTestInstance(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context) -
getSysPropsToRestore
-
determineTestProfileAndProperties
static TestProfileAndProperties determineTestProfileAndProperties(Class<? extends QuarkusTestProfile> profile, Map<String, String> sysPropRestore) throws InstantiationException, IllegalAccessException, NoSuchMethodException, InvocationTargetException -
getAdditionalTestResources
static <T> List<T> getAdditionalTestResources(QuarkusTestProfile profileInstance, ClassLoader classLoader) SinceTestResourceManageris loaded from the ClassLoader passed in as an argument, we need to convert the user inputQuarkusTestProfile.TestResourceEntryinto instances ofTestResourceManager.TestResourceClassEntrythat are loaded from that ClassLoader -
startLauncher
static void startLauncher(ArtifactLauncher launcher, Map<String, String> additionalProperties, Runnable sslSetter) throws IOException- Throws:
IOException
-
handleDevServices
static ArtifactLauncher.InitContext.DevServicesLaunchResult handleDevServices(org.junit.jupiter.api.extension.ExtensionContext context, boolean isDockerAppLaunch) throws Exception - Throws:
Exception
-
activateLogging
static void activateLogging() -
readQuarkusArtifactProperties
public static Properties readQuarkusArtifactProperties(org.junit.jupiter.api.extension.ExtensionContext context) -
getArtifactType
-
determineBuildOutputDirectory
-