Package io.quarkus.test.common
Class TestHostLauncher
java.lang.Object
io.quarkus.test.common.TestHostLauncher
- All Implemented Interfaces:
ArtifactLauncher
,Closeable
,AutoCloseable
A launcher that simply sets the
quarkus.http.host
property based on the value quarkus.http.test-host
in order to support the case of running integration tests against an already running application
using RestAssured without any chances.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.test.common.ArtifactLauncher
ArtifactLauncher.InitContext, ArtifactLauncher.LaunchResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
includeAsSysProps
(Map systemProps) void
init
(ArtifactLauncher.InitContext initContext) boolean
runToCompletion
(String[] args) void
start()
-
Constructor Details
-
TestHostLauncher
public TestHostLauncher()
-
-
Method Details
-
start
- Specified by:
start
in interfaceArtifactLauncher
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()- Specified by:
listensOnSsl
in interfaceArtifactLauncher
-
includeAsSysProps
- Specified by:
includeAsSysProps
in interfaceArtifactLauncher
-
init
- Specified by:
init
in interfaceArtifactLauncher
-
runToCompletion
- Specified by:
runToCompletion
in interfaceArtifactLauncher
-