Package io.quarkus.test.junit
Class IntegrationTestUtil
java.lang.Object
io.quarkus.test.junit.IntegrationTestUtil
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescription(package private) static void
(package private) static Path
determineBuildOutputDirectory
(org.junit.jupiter.api.extension.ExtensionContext context) (package private) static TestProfileAndProperties
determineTestProfileAndProperties
(Class<? extends QuarkusTestProfile> profile, Map<String, String> sysPropRestore) (package private) static void
doProcessTestInstance
(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context) (package private) static void
ensureNoInjectAnnotationIsUsed
(Class<?> testClass) (package private) static Class<? extends QuarkusTestProfile>
findProfile
(Class<?> testClass) (package private) static <T> List<T>
getAdditionalTestResources
(QuarkusTestProfile profileInstance, ClassLoader classLoader) SinceTestResourceManager
is loaded from the ClassLoader passed in as an argument, we need to convert the user inputQuarkusTestProfile.TestResourceEntry
into instances ofTestResourceManager.TestResourceClassEntry
that are loaded from that ClassLoader(package private) static String
getArtifactType
(Properties quarkusArtifactProperties) (package private) static ArtifactLauncher.InitContext.DevServicesLaunchResult
handleDevServices
(org.junit.jupiter.api.extension.ExtensionContext context, boolean isDockerAppLaunch) static Properties
readQuarkusArtifactProperties
(org.junit.jupiter.api.extension.ExtensionContext context) (package private) static void
startLauncher
(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) SinceTestResourceManager
is loaded from the ClassLoader passed in as an argument, we need to convert the user inputQuarkusTestProfile.TestResourceEntry
into instances ofTestResourceManager.TestResourceClassEntry
that 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
-