Package io.quarkus.test.bootstrap
Class DevModeQuarkusService
- java.lang.Object
-
- io.quarkus.test.bootstrap.BaseService<RestService>
-
- io.quarkus.test.bootstrap.RestService
-
- io.quarkus.test.bootstrap.DevModeQuarkusService
-
- All Implemented Interfaces:
Service,org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
public class DevModeQuarkusService extends RestService
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEV_UI_PATH-
Fields inherited from class io.quarkus.test.bootstrap.BaseService
SERVICE_STARTUP_TIMEOUT, SERVICE_STARTUP_TIMEOUT_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description DevModeQuarkusService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickOnElement(com.gargoylesoftware.htmlunit.html.HtmlElement elem)voidcopyFile(String file, String target)DevModeQuarkusServiceenableContinuousTesting()com.gargoylesoftware.htmlunit.html.HtmlElementgetContinuousTestingBtn()List<com.gargoylesoftware.htmlunit.html.HtmlElement>getElementsByXPath(com.gargoylesoftware.htmlunit.html.HtmlPage htmlPage, String path)booleanisContinuousTestingBtnDisabled()voidmodifyFile(String file, Function<String,String> modifier)voidvalidate(Field field)voidwaitForDevUiReady()com.gargoylesoftware.htmlunit.WebClientwebClient()com.gargoylesoftware.htmlunit.html.HtmlPagewebDevUiPage()com.gargoylesoftware.htmlunit.html.HtmlPagewebPage(String path)-
Methods inherited from class io.quarkus.test.bootstrap.RestService
given, https, start
-
Methods inherited from class io.quarkus.test.bootstrap.BaseService
getConfiguration, getHost, getHost, getLogs, getName, getPort, getPort, getProperties, getPropertyFromContext, getServiceFolder, init, isRunning, logs, onPostStart, onPreStart, register, restart, stop, withProperties, withProperty, withProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.test.bootstrap.Service
close, getProperty
-
-
-
-
Field Detail
-
DEV_UI_PATH
public static final String DEV_UI_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
enableContinuousTesting
public DevModeQuarkusService enableContinuousTesting()
-
validate
public void validate(Field field)
-
getContinuousTestingBtn
public com.gargoylesoftware.htmlunit.html.HtmlElement getContinuousTestingBtn()
-
isContinuousTestingBtnDisabled
public boolean isContinuousTestingBtnDisabled()
-
waitForDevUiReady
public void waitForDevUiReady()
-
clickOnElement
public void clickOnElement(com.gargoylesoftware.htmlunit.html.HtmlElement elem)
-
getElementsByXPath
public List<com.gargoylesoftware.htmlunit.html.HtmlElement> getElementsByXPath(com.gargoylesoftware.htmlunit.html.HtmlPage htmlPage, String path)
-
webDevUiPage
public com.gargoylesoftware.htmlunit.html.HtmlPage webDevUiPage()
-
webPage
public com.gargoylesoftware.htmlunit.html.HtmlPage webPage(String path)
-
webClient
public com.gargoylesoftware.htmlunit.WebClient webClient()
-
-