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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidincludeAsSysProps(Map systemProps) voidinit(ArtifactLauncher.InitContext initContext) booleanrunToCompletion(String[] args) voidstart()
-
Constructor Details
-
TestHostLauncher
public TestHostLauncher()
-
-
Method Details
-
start
- Specified by:
startin interfaceArtifactLauncher- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()- Specified by:
listensOnSslin interfaceArtifactLauncher
-
includeAsSysProps
- Specified by:
includeAsSysPropsin interfaceArtifactLauncher
-
init
- Specified by:
initin interfaceArtifactLauncher
-
runToCompletion
- Specified by:
runToCompletionin interfaceArtifactLauncher
-