Package io.quarkus.test.common
-
Interface Summary Interface Description ArtifactLauncher<T extends ArtifactLauncher.InitContext> ArtifactLauncher.InitContext ArtifactLauncher.InitContext.DevServicesLaunchResult DevServicesContext Interface that can be used to get properties from DevServices forQuarkusTest
andQuarkusIntegrationTest
based tests.DevServicesContext.ContextAware Interface that can be implemented to allow automatic injection of the context.DockerContainerArtifactLauncher DockerContainerArtifactLauncher.DockerInitContext IntegrationTestStartedNotifier Interface than can be implemented to notify the test infrastructure that the produced artifact has started for non HTTP based@QuarkusIntegrationTest
s.IntegrationTestStartedNotifier.Context IntegrationTestStartedNotifier.Result JarArtifactLauncher If an implementation of this class is found using the ServiceLoader mechanism, then it is used.JarArtifactLauncher.JarInitContext NativeImageLauncher NativeImageLauncher.NativeImageInitContext NativeImageStartedNotifier Deprecated. QuarkusTestResourceConfigurableLifecycleManager<ConfigAnnotation extends Annotation> QuarkusTestResourceLifecycleManager Manage the lifecycle of a test resource, for instance a H2 test server.QuarkusTestResourceLifecycleManager.Context QuarkusTestResourceLifecycleManager.TestInjector Provides methods to handle the common injection cases. -
Class Summary Class Description ArtifactLauncher.LaunchResult DefaultDockerContainerLauncher DefaultJarLauncher DefaultNativeImageLauncher DefineClassVisibleClassLoader A wrapper around ClassLoader whose only purpose is to expose defineClass This is needed in order to easily inject classes into the classloader without having to resort to tricks (that don't work that well on new JDKs)GroovyClassValue ClassValue
are used in Groovy which causes memory leaks if not properly cleaned, but unfortunately, they are very complex to clean up, especially theClassValue
corresponding to system classes that must be cleaned too to avoid memory leaks moreover if not cleaned wisely errors of typeMissingMethodException
can be thrown, so we had better to simply disable them by setting the System propertygroovy.use.classvalue
tofalse
see GROOVY-7591 for more details.IntegrationTestStartedNotifier.Result.NotStarted LauncherUtil ListeningAddress PathTestHelper Maps between builder test and application class directories.ProcessReader PropertyTestUtil QuarkusTestResourceLifecycleManager.TestInjector.Annotated Returnstrue
if the field is annotated with the supplied annotation.QuarkusTestResourceLifecycleManager.TestInjector.AnnotatedAndMatchesType Returnstrue
if the field is annotated with the supplied annotation and can also be assigned to the supplied type.QuarkusTestResourceLifecycleManager.TestInjector.MatchesType Returnstrue
if the field can be assigned to the supplied type.QuarkusTestResourceLifecycleManagerComparator RestAssuredURLManager Utility class that sets the rest assured port to the default test port and meaningful timeouts.RestorableSystemProperties RunCommandLauncher TestClassIndexer TestConfigUtil TestHostLauncher A launcher that simply sets thequarkus.http.host
property based on the valuequarkus.http.test-host
in order to support the case of running integration tests against an already running application using RestAssured without any chances.TestInstantiator TestInstantiator.Delegate TestResourceManager TestResourceManager.DefaultTestInjector TestResourceManager.TestResourceClassEntry TestScopeManager TestStatus -
Annotation Types Summary Annotation Type Description QuarkusTestResource Used to define a test resource.QuarkusTestResource.List QuarkusTestResourceRepeatable Used to indicate the type of the repeatable annotation type annotated with aQuarkusTestResource
annotations.ResourceArg Uses to define arguments of forQuarkusTestResource
seeQuarkusTestResource.initArgs()