Package org.jenkinsci.test.acceptance.po
Class ToolInstallation
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageAreaImpl
org.jenkinsci.test.acceptance.po.ToolInstallation
- All Implemented Interfaces:
CapybaraPortingLayer
,Control.Owner
,PageArea
- Direct Known Subclasses:
AntInstallation
,GradleInstallation
,GroovyInstallation
,JdkInstallation
,JGitInstallation
,MavenInstallation
,MSBuildInstallation
- Author:
- ogondza
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
Field Summary
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ToolInstallation>
Tstatic <T extends ToolInstallation>
Tstatic ConfigurablePageObject
ensureConfigPage
(Jenkins jenkins) protected String
getPage()
protected static ConfigurablePageObject
getPageObject
(Jenkins jenkins) installedIn
(String home) static <T extends ToolInstallation>
voidinstallTool
(Jenkins jenkins, Class<T> type, String name, String version) static <T extends ToolInstallation>
voidinstallTool
(Jenkins jenkins, Class<T> type, String name, String version, String pathPrefix, Runnable action) installVersion
(String version) static void
waitForUpdates
(Jenkins jenkins, Class<? extends ToolInstallation> type) Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, getPath, getPath, getPath, path, self
Methods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, executeScript, fillIn, find, findIfNotVisible, getElement, getPageSource, last, lastIfNotVisible, runThenConfirmAlert, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Field Details
-
name
-
-
Constructor Details
-
ToolInstallation
-
-
Method Details
-
waitForUpdates
-
addTool
public static <T extends ToolInstallation> T addTool(Jenkins jenkins, Class<T> type, String pathPrefix, Runnable action) -
addTool
-
installTool
public static <T extends ToolInstallation> void installTool(Jenkins jenkins, Class<T> type, String name, String version) -
installTool
-
ensureConfigPage
-
getPageObject
-
getPage
- Specified by:
getPage
in interfacePageArea
- Overrides:
getPage
in classPageAreaImpl
-
installVersion
-
installedIn
-
fakeHome
-