Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ActivateSessionContext - Annotation Interface in io.quarkus.test
-
Activates the session context before the intercepted method is called, and terminates the context when the method invocation completes (regardless of any exceptions being thrown).
- additionalExposedPorts() - Method in interface io.quarkus.test.common.DockerContainerArtifactLauncher.DockerInitContext
- Annotated(Class<? extends Annotation>) - Constructor for class io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector.Annotated
- AnnotatedAndMatchesType(Class<? extends Annotation>, Class<?>) - Constructor for class io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector.AnnotatedAndMatchesType
- AnnotationContainer<A extends Annotation> - Class in io.quarkus.test.util.annotations
- AnnotationContainer(AnnotatedElement, A) - Constructor for class io.quarkus.test.util.annotations.AnnotationContainer
- AnnotationUtils - Class in io.quarkus.test.util.annotations
-
Provides utility methods for obtaining annotations on test classes.
- argLine() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext
- argLineValue(Config) - Static method in class io.quarkus.test.common.TestConfigUtil
-
Deprecated, for removal: This API element is subject to removal in a future version.
- argLineValues(String) - Static method in class io.quarkus.test.common.TestConfigUtil
- args() - Method in record class io.quarkus.test.common.TestResourceManager.TestResourceComparisonInfo
-
Returns the value of the
argsrecord component. - ArtifactLauncher<T extends ArtifactLauncher.InitContext> - Interface in io.quarkus.test.common
- ArtifactLauncher.InitContext - Interface in io.quarkus.test.common
- ArtifactLauncher.InitContext.DevServicesLaunchResult - Interface in io.quarkus.test.common
- ArtifactLauncher.LaunchResult - Class in io.quarkus.test.common
C
- check(IntegrationTestStartedNotifier.Context) - Method in interface io.quarkus.test.common.IntegrationTestStartedNotifier
-
This method is called periodically by Quarkus to determine whether or not the application has started.
- cleanUp() - Static method in class io.quarkus.test.common.TestConfigUtil
-
Clean up config left over from badly-behaving previous tests.
- clearURL() - Static method in class io.quarkus.test.common.RestAssuredURLManager
- close() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext.DevServicesLaunchResult
- close() - Method in class io.quarkus.test.common.DefaultDockerContainerLauncher
- close() - Method in class io.quarkus.test.common.DefaultJarLauncher
- close() - Method in class io.quarkus.test.common.DefaultNativeImageLauncher
- close() - Method in class io.quarkus.test.common.RestorableSystemProperties
- close() - Method in class io.quarkus.test.common.RunCommandLauncher
- close() - Method in class io.quarkus.test.common.TestHostLauncher
- close() - Method in class io.quarkus.test.common.TestResourceManager
- CLOSEABLE_NAME - Static variable in class io.quarkus.test.common.TestResourceManager
- compare(QuarkusTestResourceLifecycleManager, QuarkusTestResourceLifecycleManager) - Method in class io.quarkus.test.common.QuarkusTestResourceLifecycleManagerComparator
- containerImage() - Method in interface io.quarkus.test.common.DockerContainerArtifactLauncher.DockerInitContext
- containerNetworkId() - Method in interface io.quarkus.test.common.DevServicesContext
-
If the application is going to be launched in a container, this method returns the id of container network it will be launched on.
- createStartedFunction() - Static method in class io.quarkus.test.common.LauncherUtil
D
- DEFAULT_WAIT_TIME_SECONDS - Static variable in class io.quarkus.test.common.TestConfigUtil
- DefaultDockerContainerLauncher - Class in io.quarkus.test.common
- DefaultDockerContainerLauncher() - Constructor for class io.quarkus.test.common.DefaultDockerContainerLauncher
- DefaultJarLauncher - Class in io.quarkus.test.common
- DefaultJarLauncher() - Constructor for class io.quarkus.test.common.DefaultJarLauncher
- DefaultNativeImageLauncher - Class in io.quarkus.test.common
- DefaultNativeImageLauncher() - Constructor for class io.quarkus.test.common.DefaultNativeImageLauncher
- Delegate() - Constructor for class io.quarkus.test.common.TestInstantiator.Delegate
- destroyProcess(Process) - Static method in class io.quarkus.test.common.LauncherUtil
-
Try to destroy the process normally a few times and resort to forceful destruction if necessary
- destroyProcess(ProcessHandle) - Static method in class io.quarkus.test.common.LauncherUtil
- destroyProcess(Process, boolean) - Static method in class io.quarkus.test.common.LauncherUtil
- DevServicesContext - Interface in io.quarkus.test.common
-
Interface that can be used to get properties from DevServices for
QuarkusTestandQuarkusIntegrationTestbased tests. - DevServicesContext.ContextAware - Interface in io.quarkus.test.common
-
Interface that can be implemented to allow automatic injection of the context.
- devServicesProperties() - Method in interface io.quarkus.test.common.DevServicesContext
-
Returns a map containing all the properties creates by potentially launched dev services.
- disable() - Static method in class io.quarkus.test.common.GroovyClassValue
- DockerContainerArtifactLauncher - Interface in io.quarkus.test.common
- DockerContainerArtifactLauncher.DockerInitContext - Interface in io.quarkus.test.common
E
- entries - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- entryPoint() - Method in interface io.quarkus.test.common.DockerContainerArtifactLauncher.DockerInitContext
- env() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext
-
Additional environment variables to be passed to the launched process.
- env(Config) - Static method in class io.quarkus.test.common.TestConfigUtil
-
Deprecated, for removal: This API element is subject to removal in a future version.
- equals(Object) - Method in class io.quarkus.test.common.TestResourceManager.TestResourceClassEntry
- equals(Object) - Method in record class io.quarkus.test.common.TestResourceManager.TestResourceComparisonInfo
-
Indicates whether some other object is "equal to" this one.
F
- findAnnotation(AnnotatedElement, Class<A>) - Static method in class io.quarkus.test.util.annotations.AnnotationUtils
-
Find the first annotation of
annotationTypethat is either directly present, meta-present, or indirectly present on the suppliedelement.
G
- get() - Method in class io.quarkus.test.common.ProcessReader
- getAnnotation() - Method in class io.quarkus.test.util.annotations.AnnotationContainer
- getAppClassLocation(Class<?>) - Static method in class io.quarkus.test.common.PathTestHelper
-
Resolves the directory or the JAR file containing the application being tested by the test class.
- getAppClassLocationForTestLocation(Path) - Static method in class io.quarkus.test.common.PathTestHelper
-
Resolves the directory or the JAR file containing the application being tested by a test from the given location.
- getConfigProperties() - Method in class io.quarkus.test.common.TestResourceManager
- getConfigSources(ClassLoader) - Method in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- getConfiguredOutputDirectory() - Method in interface io.quarkus.test.common.NativeImageLauncher.NativeImageInitContext
- getCuratedApplication() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext.DevServicesLaunchResult
- getDevServicesLaunchResult() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext
- getElement() - Method in class io.quarkus.test.util.annotations.AnnotationContainer
- getLogFileLocation() - Static method in class io.quarkus.test.common.PropertyTestUtil
- getLogFilePath() - Static method in class io.quarkus.test.common.PropertyTestUtil
- getManagementSslUri() - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- getManagementUri() - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- getName() - Method in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider.TestURLConfigSource
- getOrdinal() - Method in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider.TestURLConfigSource
- getOutput() - Method in class io.quarkus.test.common.ArtifactLauncher.LaunchResult
- getPort() - Method in class io.quarkus.test.common.ListeningAddress
- getProjectBuildDir(Path, Path) - Static method in class io.quarkus.test.common.PathTestHelper
-
Returns the build directory of the project given its base dir and the test classes dir.
- getProperties() - Method in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider.TestURLConfigSource
- getPropertyNames() - Method in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider.TestURLConfigSource
- getProtocol() - Method in class io.quarkus.test.common.ListeningAddress
- getProvidedType() - Method in class io.quarkus.test.common.http.StringTestHTTPResourceProvider
- getProvidedType() - Method in interface io.quarkus.test.common.http.TestHTTPResourceProvider
- getProvidedType() - Method in class io.quarkus.test.common.http.URITestHTTPResourceProvider
- getProvidedType() - Method in class io.quarkus.test.common.http.URLTestHTTPResourceProvider
- getReloadGroupIdentifier(Set<TestResourceManager.TestResourceComparisonInfo>) - Static method in class io.quarkus.test.common.TestResourceManager
- getResourcesForClassesDirOrNull(Path, String) - Static method in class io.quarkus.test.common.PathTestHelper
-
Returns the resources directory that compliments the classes directory.
- getScope() - Method in class io.quarkus.test.common.TestResourceManager.TestResourceClassEntry
- getSslUri() - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- getSslUri(RunningQuarkusApplication) - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- getStatusCode() - Method in class io.quarkus.test.common.ArtifactLauncher.LaunchResult
- getStderror() - Method in class io.quarkus.test.common.ArtifactLauncher.LaunchResult
- getTestClassesLocation(Class<?>) - Static method in class io.quarkus.test.common.PathTestHelper
-
Resolves the directory or the JAR file containing the test class.
- getTestErrorCause() - Method in class io.quarkus.test.common.TestStatus
- getTestStatus() - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager.Context
- getUri() - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- getUri(RunningQuarkusApplication) - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- getValue(ConfigSourceInterceptorContext, String) - Method in class io.quarkus.test.common.http.TestHTTPConfigSourceInterceptor
- getValue(String) - Method in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider.TestURLConfigSource
- GLOBAL - Enum constant in enum class io.quarkus.test.common.TestResourceScope
-
Means the resource applies to all tests in the test suite.
- GroovyClassValue - Class in io.quarkus.test.common
-
ClassValueare used in Groovy which causes memory leaks if not properly cleaned, but unfortunately, they are very complex to clean up, especially theClassValuecorresponding to system classes that must be cleaned too to avoid memory leaks moreover if not cleaned wisely errors of typeMissingMethodExceptioncan be thrown, so we had better to simply disable them by setting the System propertygroovy.use.classvaluetofalsesee GROOVY-7591 for more details.
H
- handlesMethodParamType(String) - Method in interface io.quarkus.test.TestMethodInvoker
-
Determine whether this method invoker handles a test method parameter on its own
- hashCode() - Method in class io.quarkus.test.common.TestResourceManager.TestResourceClassEntry
- hashCode() - Method in record class io.quarkus.test.common.TestResourceManager.TestResourceComparisonInfo
-
Returns a hash code value for this object.
- HTTP_PRESENT - Static variable in class io.quarkus.test.common.DefaultJarLauncher
- httpPort() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext
- httpsPort() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext
I
- includeAsSysProps(Map) - Method in class io.quarkus.test.common.TestHostLauncher
- includeAsSysProps(Map<String, String>) - Method in interface io.quarkus.test.common.ArtifactLauncher
- includeAsSysProps(Map<String, String>) - Method in class io.quarkus.test.common.DefaultDockerContainerLauncher
- includeAsSysProps(Map<String, String>) - Method in class io.quarkus.test.common.DefaultJarLauncher
- includeAsSysProps(Map<String, String>) - Method in class io.quarkus.test.common.DefaultNativeImageLauncher
- includeAsSysProps(Map<String, String>) - Method in class io.quarkus.test.common.RunCommandLauncher
- indexTestClasses(Class<?>) - Static method in class io.quarkus.test.common.TestClassIndexer
- indexTestClasses(Path) - Static method in class io.quarkus.test.common.TestClassIndexer
- init(ConfigAnnotation) - Method in interface io.quarkus.test.common.QuarkusTestResourceConfigurableLifecycleManager
- init(ArtifactLauncher.InitContext) - Method in class io.quarkus.test.common.RunCommandLauncher
- init(ArtifactLauncher.InitContext) - Method in class io.quarkus.test.common.TestHostLauncher
- init(DockerContainerArtifactLauncher.DockerInitContext) - Method in class io.quarkus.test.common.DefaultDockerContainerLauncher
- init(JarArtifactLauncher.JarInitContext) - Method in class io.quarkus.test.common.DefaultJarLauncher
- init(NativeImageLauncher.NativeImageInitContext) - Method in class io.quarkus.test.common.DefaultNativeImageLauncher
- init(String) - Method in class io.quarkus.test.common.TestResourceManager
- init(Map<String, String>) - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
Arguments passed to the lifecycle manager before it starts These arguments are taken from
QuarkusTestResource#initArgs()Theargsis never null - init(T) - Method in interface io.quarkus.test.common.ArtifactLauncher
- initArgs() - Element in annotation interface io.quarkus.test.common.QuarkusTestResource
- initArgs() - Element in annotation interface io.quarkus.test.common.WithTestResource
- inject(QuarkusTestResourceLifecycleManager.TestInjector) - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
Simplifies the injection of fields of the test class by providing methods to handle the common injection cases.
- inject(Object) - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- inject(Object) - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
Allow each resource to provide custom injection of fields of the test class.
- inject(Object) - Method in class io.quarkus.test.common.TestResourceManager
- inject(Object, List<Function<Class<?>, String>>) - Static method in class io.quarkus.test.common.http.TestHTTPResourceManager
- injectIntoFields(Object, Predicate<Field>) - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector
- injectIntoFields(Object, Predicate<Field>) - Method in class io.quarkus.test.common.TestResourceManager.DefaultTestInjector
- InjectMock - Annotation Interface in io.quarkus.test
-
Instructs the test engine to inject a mock instance of a bean into the annotated field or parameter.
- installAndGetSomeConfig() - Static method in class io.quarkus.test.common.LauncherUtil
-
Deprecated, for removal: This API element is subject to removal in a future version.
- INSTANCE - Static variable in class io.quarkus.test.common.IntegrationTestStartedNotifier.Result.NotStarted
- instantiate(Class<?>) - Static method in class io.quarkus.test.common.TestInstantiator.Delegate
- instantiateTest(Class<?>, ClassLoader) - Static method in class io.quarkus.test.common.TestInstantiator
- integrationTestProfile(Config) - Static method in class io.quarkus.test.common.TestConfigUtil
-
Deprecated, for removal: This API element is subject to removal in a future version.
- IntegrationTestStartedNotifier - Interface in io.quarkus.test.common
-
Interface than can be implemented to notify the test infrastructure that the produced artifact has started for non HTTP based
@QuarkusIntegrationTests. - IntegrationTestStartedNotifier.Context - Interface in io.quarkus.test.common
- IntegrationTestStartedNotifier.Result - Interface in io.quarkus.test.common
- IntegrationTestStartedNotifier.Result.NotStarted - Class in io.quarkus.test.common
- invoke(Object, Method, List<Object>, String) - Method in interface io.quarkus.test.TestMethodInvoker
-
Invoked by QuarkusTestExtension when the test method needs to actually be run.
- io.quarkus.test - package io.quarkus.test
- io.quarkus.test.common - package io.quarkus.test.common
- io.quarkus.test.common.http - package io.quarkus.test.common.http
- io.quarkus.test.util.annotations - package io.quarkus.test.util.annotations
- isNativeImageStarted() - Method in interface io.quarkus.test.common.NativeImageStartedNotifier
-
Deprecated.
- isParallel() - Method in class io.quarkus.test.common.TestResourceManager.TestResourceClassEntry
- isSsl() - Method in interface io.quarkus.test.common.IntegrationTestStartedNotifier.Result
- isSsl() - Method in class io.quarkus.test.common.IntegrationTestStartedNotifier.Result.NotStarted
- isSsl() - Method in class io.quarkus.test.common.ListeningAddress
- isStarted() - Method in interface io.quarkus.test.common.IntegrationTestStartedNotifier.Result
- isStarted() - Method in class io.quarkus.test.common.IntegrationTestStartedNotifier.Result.NotStarted
- isTestClass(String, ClassLoader, Path) - Static method in class io.quarkus.test.common.PathTestHelper
- isTestFailed() - Method in class io.quarkus.test.common.TestStatus
J
- JarArtifactLauncher - Interface in io.quarkus.test.common
-
If an implementation of this class is found using the ServiceLoader mechanism, then it is used.
- JarArtifactLauncher.JarInitContext - Interface in io.quarkus.test.common
- jarPath() - Method in interface io.quarkus.test.common.JarArtifactLauncher.JarInitContext
L
- labels() - Method in interface io.quarkus.test.common.DockerContainerArtifactLauncher.DockerInitContext
- LauncherUtil - Class in io.quarkus.test.common
- launchProcess(List<String>, Map<String, String>) - Static method in class io.quarkus.test.common.LauncherUtil
-
Launches a process using the supplied arguments but does drain the IO
- launchProcessAndDrainIO(List<String>, Map<String, String>) - Static method in class io.quarkus.test.common.LauncherUtil
-
Launches a process using the supplied arguments and makes sure the process's output is drained to standard out
- LaunchResult(int, byte[], byte[]) - Constructor for class io.quarkus.test.common.ArtifactLauncher.LaunchResult
- ListeningAddress - Class in io.quarkus.test.common
- ListeningAddress(Integer, String) - Constructor for class io.quarkus.test.common.ListeningAddress
- listensOnSsl() - Method in interface io.quarkus.test.common.ArtifactLauncher
- listensOnSsl() - Method in class io.quarkus.test.common.DefaultDockerContainerLauncher
- listensOnSsl() - Method in class io.quarkus.test.common.DefaultJarLauncher
- listensOnSsl() - Method in class io.quarkus.test.common.DefaultNativeImageLauncher
- listensOnSsl() - Method in class io.quarkus.test.common.RunCommandLauncher
- listensOnSsl() - Method in class io.quarkus.test.common.TestHostLauncher
- LOG_CHECK_INTERVAL - Static variable in class io.quarkus.test.common.LauncherUtil
- logFile() - Method in interface io.quarkus.test.common.IntegrationTestStartedNotifier.Context
M
- management() - Element in annotation interface io.quarkus.test.common.http.TestHTTPResource
- manageNetwork() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext.DevServicesLaunchResult
- MatchesType(Class<?>) - Constructor for class io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector.MatchesType
- MATCHING_RESOURCES - Enum constant in enum class io.quarkus.test.common.TestResourceScope
-
Means that Quarkus will not restart when running consecutive tests that use the same set of resources.
- methodParamInstance(String) - Method in interface io.quarkus.test.TestMethodInvoker
- Mock - Annotation Interface in io.quarkus.test
-
The built-in stereotype intended for use with mock beans injected in tests.
N
- name() - Element in annotation interface io.quarkus.test.common.ResourceArg
- NativeImageLauncher - Interface in io.quarkus.test.common
- NativeImageLauncher.NativeImageInitContext - Interface in io.quarkus.test.common
- nativeImagePath() - Method in interface io.quarkus.test.common.NativeImageLauncher.NativeImageInitContext
- NativeImageStartedNotifier - Interface in io.quarkus.test.common
-
Deprecated.
- networkId() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext.DevServicesLaunchResult
O
- order() - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
If multiple Test Resources are specified, this control the order of which they will be executed.
- output - Variable in class io.quarkus.test.common.ArtifactLauncher.LaunchResult
P
- parallel() - Element in annotation interface io.quarkus.test.common.QuarkusTestResource
-
Whether this test resource is to be started in parallel (concurrently) along with others also marked as parallel
- parallel() - Element in annotation interface io.quarkus.test.common.WithTestResource
-
Whether this test resource is to be started in parallel (concurrently) along with others also marked as parallel
- PathTestHelper - Class in io.quarkus.test.common
-
Maps between builder test and application class directories.
- ProcessReader - Class in io.quarkus.test.common
- ProcessReader(InputStream) - Constructor for class io.quarkus.test.common.ProcessReader
- programArgs() - Method in interface io.quarkus.test.common.DockerContainerArtifactLauncher.DockerInitContext
- properties() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext.DevServicesLaunchResult
- PropertyTestUtil - Class in io.quarkus.test.common
- PropertyTestUtil() - Constructor for class io.quarkus.test.common.PropertyTestUtil
- provide(String, Field) - Method in class io.quarkus.test.common.http.StringTestHTTPResourceProvider
- provide(String, Field) - Method in interface io.quarkus.test.common.http.TestHTTPResourceProvider
-
Create the resource to be injected into the field.
- provide(String, Field) - Method in class io.quarkus.test.common.http.URITestHTTPResourceProvider
- provide(String, Field) - Method in class io.quarkus.test.common.http.URLTestHTTPResourceProvider
- pullRequired() - Method in interface io.quarkus.test.common.DockerContainerArtifactLauncher.DockerInitContext
Q
- quarkusProcess - Variable in class io.quarkus.test.common.RunCommandLauncher
- QuarkusTestResource - Annotation Interface in io.quarkus.test.common
-
Used to define a test resource.
- QuarkusTestResource.List - Annotation Interface in io.quarkus.test.common
- QuarkusTestResourceConfigurableLifecycleManager<ConfigAnnotation extends Annotation> - Interface in io.quarkus.test.common
- QuarkusTestResourceLifecycleManager - Interface in io.quarkus.test.common
-
Manage the lifecycle of a test resource, for instance a H2 test server.
- QuarkusTestResourceLifecycleManager.Context - Interface in io.quarkus.test.common
- QuarkusTestResourceLifecycleManager.TestInjector - Interface in io.quarkus.test.common
-
Provides methods to handle the common injection cases.
- QuarkusTestResourceLifecycleManager.TestInjector.Annotated - Class in io.quarkus.test.common
-
Returns
trueif the field is annotated with the supplied annotation. - QuarkusTestResourceLifecycleManager.TestInjector.AnnotatedAndMatchesType - Class in io.quarkus.test.common
-
Returns
trueif the field is annotated with the supplied annotation and can also be assigned to the supplied type. - QuarkusTestResourceLifecycleManager.TestInjector.MatchesType - Class in io.quarkus.test.common
-
Returns
trueif the field can be assigned to the supplied type. - QuarkusTestResourceLifecycleManagerComparator - Class in io.quarkus.test.common
- QuarkusTestResourceLifecycleManagerComparator() - Constructor for class io.quarkus.test.common.QuarkusTestResourceLifecycleManagerComparator
- QuarkusTestResourceRepeatable - Annotation Interface in io.quarkus.test.common
-
Used to indicate the type of the repeatable annotation type annotated with a
QuarkusTestResourceannotations.
R
- readIndex(Class<?>) - Static method in class io.quarkus.test.common.TestClassIndexer
- readIndex(Path, Class<?>) - Static method in class io.quarkus.test.common.TestClassIndexer
- removeIndex(Class<?>) - Static method in class io.quarkus.test.common.TestClassIndexer
- ResourceArg - Annotation Interface in io.quarkus.test.common
-
Used to define arguments for
QuarkusTestResource. - RestAssuredURLManager - Class in io.quarkus.test.common
-
Utility class that sets the rest assured port to the default test port and meaningful timeouts.
- RestorableSystemProperties - Class in io.quarkus.test.common
- RestorableSystemProperties(Map<String, String>) - Constructor for class io.quarkus.test.common.RestorableSystemProperties
- RESTRICTED_TO_CLASS - Enum constant in enum class io.quarkus.test.common.TestResourceScope
-
Means that Quarkus will run the test in complete isolation, i.e.
- restrictToAnnotatedClass() - Element in annotation interface io.quarkus.test.common.QuarkusTestResource
-
Whether this annotation should only be enabled if it is placed on the currently running test class or test profile.
- run() - Method in class io.quarkus.test.common.ProcessReader
- RunCommandLauncher - Class in io.quarkus.test.common
- RunCommandLauncher() - Constructor for class io.quarkus.test.common.RunCommandLauncher
- runTarget(Config) - Static method in class io.quarkus.test.common.TestConfigUtil
- runToCompletion(String[]) - Method in interface io.quarkus.test.common.ArtifactLauncher
- runToCompletion(String[]) - Method in class io.quarkus.test.common.DefaultDockerContainerLauncher
- runToCompletion(String[]) - Method in class io.quarkus.test.common.DefaultJarLauncher
- runToCompletion(String[]) - Method in class io.quarkus.test.common.DefaultNativeImageLauncher
- runToCompletion(String[]) - Method in class io.quarkus.test.common.RunCommandLauncher
- runToCompletion(String[]) - Method in class io.quarkus.test.common.TestHostLauncher
S
- scope() - Method in record class io.quarkus.test.common.TestResourceManager.TestResourceComparisonInfo
-
Returns the value of the
scoperecord component. - scope() - Element in annotation interface io.quarkus.test.common.WithTestResource
-
Defines how Quarkus behaves with regard to the application of the resource to this test and the test-suite in general.
- setContext(QuarkusTestResourceLifecycleManager.Context) - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
Set the context in which this
QuarkusTestResourceLifecycleManageris being used. - setIntegrationTestContext(DevServicesContext) - Method in interface io.quarkus.test.common.DevServicesContext.ContextAware
- setLogFileProperty() - Static method in class io.quarkus.test.common.PropertyTestUtil
- setLogFileProperty(String) - Static method in class io.quarkus.test.common.PropertyTestUtil
- setProperties(Map<String, String>, String...) - Static method in class io.quarkus.test.common.RestorableSystemProperties
- setTestErrorCause(Throwable) - Method in class io.quarkus.test.common.TestResourceManager
- setup(boolean) - Static method in class io.quarkus.test.common.TestScopeManager
- setURL(boolean) - Static method in class io.quarkus.test.common.RestAssuredURLManager
- setURL(boolean, Integer) - Static method in class io.quarkus.test.common.RestAssuredURLManager
- setURL(boolean, Integer, String) - Static method in class io.quarkus.test.common.RestAssuredURLManager
- setURL(boolean, String) - Static method in class io.quarkus.test.common.RestAssuredURLManager
- ssl() - Element in annotation interface io.quarkus.test.common.http.TestHTTPResource
-
Deprecated.use #tls instead
- start() - Method in interface io.quarkus.test.common.ArtifactLauncher
- start() - Method in class io.quarkus.test.common.DefaultDockerContainerLauncher
- start() - Method in class io.quarkus.test.common.DefaultJarLauncher
- start() - Method in class io.quarkus.test.common.DefaultNativeImageLauncher
- start() - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
Start the test resource.
- start() - Method in class io.quarkus.test.common.RunCommandLauncher
- start() - Method in class io.quarkus.test.common.TestHostLauncher
- start() - Method in class io.quarkus.test.common.TestResourceManager
- start(String[], boolean) - Method in class io.quarkus.test.common.DefaultJarLauncher
- start(String[], boolean) - Method in class io.quarkus.test.common.DefaultNativeImageLauncher
- statusCode - Variable in class io.quarkus.test.common.ArtifactLauncher.LaunchResult
- stderror - Variable in class io.quarkus.test.common.ArtifactLauncher.LaunchResult
- stop() - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
Stop the test resource.
- StringTestHTTPResourceProvider - Class in io.quarkus.test.common.http
- StringTestHTTPResourceProvider() - Constructor for class io.quarkus.test.common.http.StringTestHTTPResourceProvider
- supportsMethod(Class<?>, Method) - Method in interface io.quarkus.test.TestMethodInvoker
-
Determines whether this SPI should handle the test method.
- sysPropRestore - Variable in class io.quarkus.test.common.RestorableSystemProperties
T
- tearDown(boolean) - Static method in class io.quarkus.test.common.TestScopeManager
- test(Field) - Method in class io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector.Annotated
- test(Field) - Method in class io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector.AnnotatedAndMatchesType
- test(Field) - Method in class io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector.MatchesType
- TEST_MANAGEMENT_URL_KEY - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TEST_MANAGEMENT_URL_SSL_KEY - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TEST_MANAGEMENT_URL_SSL_VALUE - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TEST_MANAGEMENT_URL_VALUE - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TEST_URL_KEY - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TEST_URL_SSL_KEY - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TEST_URL_SSL_VALUE - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TEST_URL_VALUE - Static variable in class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- testClass() - Method in interface io.quarkus.test.common.NativeImageLauncher.NativeImageInitContext
- TestClassIndexer - Class in io.quarkus.test.common
- TestConfigUtil - Class in io.quarkus.test.common
- TestHostLauncher - Class in io.quarkus.test.common
-
A launcher that simply sets the
quarkus.http.hostproperty based on the valuequarkus.http.test-hostin order to support the case of running integration tests against an already running application using RestAssured without any chances. - TestHostLauncher() - Constructor for class io.quarkus.test.common.TestHostLauncher
- TestHTTPConfigSourceInterceptor - Class in io.quarkus.test.common.http
-
Override the expression expansion for test urls so they can be sanitized.
- TestHTTPConfigSourceInterceptor() - Constructor for class io.quarkus.test.common.http.TestHTTPConfigSourceInterceptor
- TestHTTPConfigSourceProvider - Class in io.quarkus.test.common.http
- TestHTTPConfigSourceProvider() - Constructor for class io.quarkus.test.common.http.TestHTTPConfigSourceProvider
- TestHTTPConfigSourceProvider.TestURLConfigSource - Class in io.quarkus.test.common.http
- TestHTTPEndpoint - Annotation Interface in io.quarkus.test.common.http
-
Indicates that this test class or method is testing a specific endpoint.
- TestHTTPResource - Annotation Interface in io.quarkus.test.common.http
-
Indicates that a field should be injected with a resource that is pre-configured to use the correct test URL.
- TestHTTPResourceManager - Class in io.quarkus.test.common.http
- TestHTTPResourceManager() - Constructor for class io.quarkus.test.common.http.TestHTTPResourceManager
- TestHTTPResourceProvider<T> - Interface in io.quarkus.test.common.http
- testInstance - Variable in class io.quarkus.test.common.TestResourceManager.DefaultTestInjector
- TestInstantiator - Class in io.quarkus.test.common
- TestInstantiator() - Constructor for class io.quarkus.test.common.TestInstantiator
- TestInstantiator.Delegate - Class in io.quarkus.test.common
- TestMethodInvoker - Interface in io.quarkus.test
-
An SPI that allows modules that integrate with
@QuarkusTestor@QuarkusUnitTestto alter the invocation of the actual test method. - testProfile() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext
- testProfile() - Method in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager.Context
-
When a
QuarkusTestResourceLifecycleManageris used with a type of test that supports test profiles, this method gives the name of the active test profile, ornullif no test profile is active. - TestReactiveTransaction - Annotation Interface in io.quarkus.test
-
Indicates that this method should be run in a rollback only reactive transaction.
- TestResourceClassEntry(Class<? extends QuarkusTestResourceLifecycleManager>, Map<String, String>, Annotation, boolean, TestResourceScope) - Constructor for class io.quarkus.test.common.TestResourceManager.TestResourceClassEntry
- testResourceComparisonInfo() - Method in class io.quarkus.test.common.TestResourceManager
-
Provides the basic information needed for comparing the test resources currently in use
- testResourceComparisonInfo(Class<?>, Path, List<TestResourceManager.TestResourceClassEntry>) - Static method in class io.quarkus.test.common.TestResourceManager
-
Allows Quarkus to extract basic information about which test resources a test class will require
- TestResourceComparisonInfo(String, TestResourceScope, Map<String, String>) - Constructor for record class io.quarkus.test.common.TestResourceManager.TestResourceComparisonInfo
-
Creates an instance of a
TestResourceComparisonInforecord class. - testResourceLifecycleManagerClass() - Method in class io.quarkus.test.common.TestResourceManager.TestResourceClassEntry
- testResourceLifecycleManagerClass() - Method in record class io.quarkus.test.common.TestResourceManager.TestResourceComparisonInfo
-
Returns the value of the
testResourceLifecycleManagerClassrecord component. - TestResourceManager - Class in io.quarkus.test.common
- TestResourceManager(Class<?>) - Constructor for class io.quarkus.test.common.TestResourceManager
- TestResourceManager(Class<?>, Class<?>, List<TestResourceManager.TestResourceClassEntry>, boolean) - Constructor for class io.quarkus.test.common.TestResourceManager
- TestResourceManager(Class<?>, Class<?>, List<TestResourceManager.TestResourceClassEntry>, boolean, Map<String, String>, Optional<String>) - Constructor for class io.quarkus.test.common.TestResourceManager
- TestResourceManager(Class<?>, Class<?>, List<TestResourceManager.TestResourceClassEntry>, boolean, Map<String, String>, Optional<String>, Path) - Constructor for class io.quarkus.test.common.TestResourceManager
-
This is safe to call as it doesn't do anything other than create state - no
QuarkusTestResourceLifecycleManageris ever touched at this stage. - TestResourceManager.DefaultTestInjector - Class in io.quarkus.test.common
- TestResourceManager.TestResourceClassEntry - Class in io.quarkus.test.common
-
Contains all the metadata that is needed to handle the lifecycle and perform all the bookkeeping associated with a Test Resource.
- TestResourceManager.TestResourceComparisonInfo - Record Class in io.quarkus.test.common
- TestResourceScope - Enum Class in io.quarkus.test.common
-
Defines how Quarkus behaves with regard to the application of the resource to this test and the testsuite in general
- testResourcesRequireReload(Set<TestResourceManager.TestResourceComparisonInfo>, Set<TestResourceManager.TestResourceComparisonInfo>) - Static method in class io.quarkus.test.common.TestResourceManager
-
Quarkus needs to restart if one of the following is true: at least one the existing test resources is restricted to the test class at least one the next test resources is restricted to the test class different
MATCHING_RESOURCEscoped test resources are being used - TestScopeManager - Class in io.quarkus.test.common
- TestScopeManager() - Constructor for class io.quarkus.test.common.TestScopeManager
- TestStatus - Class in io.quarkus.test.common
- TestStatus(Throwable) - Constructor for class io.quarkus.test.common.TestStatus
- TestTransaction - Annotation Interface in io.quarkus.test
-
Indicates that this method should be run in a rollback only JTA transaction.
- TestURLConfigSource() - Constructor for class io.quarkus.test.common.http.TestHTTPConfigSourceProvider.TestURLConfigSource
- tls() - Element in annotation interface io.quarkus.test.common.http.TestHTTPResource
- toString() - Method in record class io.quarkus.test.common.TestResourceManager.TestResourceComparisonInfo
-
Returns a string representation of this record class.
- tryLauncher(QuarkusBootstrap, String, Duration) - Static method in class io.quarkus.test.common.RunCommandLauncher
U
- updateConfigForPort(Integer) - Static method in class io.quarkus.test.common.LauncherUtil
-
Updates the configuration necessary to make all test systems knowledgeable about the port on which the launched process is listening
- URITestHTTPResourceProvider - Class in io.quarkus.test.common.http
- URITestHTTPResourceProvider() - Constructor for class io.quarkus.test.common.http.URITestHTTPResourceProvider
- URLTestHTTPResourceProvider - Class in io.quarkus.test.common.http
- URLTestHTTPResourceProvider() - Constructor for class io.quarkus.test.common.http.URLTestHTTPResourceProvider
V
- value() - Element in annotation interface io.quarkus.test.common.http.TestHTTPEndpoint
-
The HTTP endpoint that is under test.
- value() - Element in annotation interface io.quarkus.test.common.http.TestHTTPResource
- value() - Element in annotation interface io.quarkus.test.common.QuarkusTestResource.List
- value() - Element in annotation interface io.quarkus.test.common.QuarkusTestResource
- value() - Element in annotation interface io.quarkus.test.common.QuarkusTestResourceRepeatable
- value() - Element in annotation interface io.quarkus.test.common.ResourceArg
- value() - Element in annotation interface io.quarkus.test.common.WithTestResource.List
- value() - Element in annotation interface io.quarkus.test.common.WithTestResource
- value() - Element in annotation interface io.quarkus.test.common.WithTestResourceRepeatable
- valueOf(String) - Static method in enum class io.quarkus.test.common.TestResourceScope
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.quarkus.test.common.TestResourceScope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- volumeMounts() - Method in interface io.quarkus.test.common.DockerContainerArtifactLauncher.DockerInitContext
W
- waitForCapturedListeningData(Process, Path, long) - Static method in class io.quarkus.test.common.LauncherUtil
-
Waits (for a maximum of seconds) until the launched process indicates the address it is listening on.
- waitForStartedFunction(Function<IntegrationTestStartedNotifier.Context, IntegrationTestStartedNotifier.Result>, Process, long, Path) - Static method in class io.quarkus.test.common.LauncherUtil
-
Waits for to indicate that the application has started.
- waitTime() - Method in interface io.quarkus.test.common.ArtifactLauncher.InitContext
- waitTimeValue(Config) - Static method in class io.quarkus.test.common.TestConfigUtil
-
Deprecated, for removal: This API element is subject to removal in a future version.
- WithTestResource - Annotation Interface in io.quarkus.test.common
-
Used to define a test resource, which can affect various aspects of the application lifecycle.
- WithTestResource.List - Annotation Interface in io.quarkus.test.common
- WithTestResourceRepeatable - Annotation Interface in io.quarkus.test.common
-
Used to indicate the type of the repeatable annotation type annotated with a
WithTestResourceannotations. - writeIndex(Index, Class<?>) - Static method in class io.quarkus.test.common.TestClassIndexer
- writeIndex(Index, Path, Class<?>) - Static method in class io.quarkus.test.common.TestClassIndexer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form