Package org.jenkinsci.test.acceptance.po
Class DumbSlave
-
- All Implemented Interfaces:
CapybaraPortingLayer
public class DumbSlave extends Slave
Built-in standard slave type.To create a new slave into a test, use
SlaveController
.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
-
Field Summary
Fields Modifier and Type Field Description Control
description
Control
executors
Control
labels
Control
launchMethod
Control
remoteFS
-
Fields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, url
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
asLocal()
Set up this slave as a local slave that launches slave on the same host as Jenkins call this in the context of the config UI.<T extends ComputerLauncher>
TsetLauncher(Class<T> type)
Selects the specified launcher, and return the page object to bind to it.-
Methods inherited from class org.jenkinsci.test.acceptance.po.Slave
delete, disconnect, getExecutorCount, getLog, getName, isOffline, isOnline, launch, launchSlaveAgent, markOffline, markOffline, markOnline, runBuildsInOrder, waitUntilOnline
-
Methods inherited from class org.jenkinsci.test.acceptance.po.Node
getBuildHistory, isTemporarillyOffline, runScript, runScript, setExecutors, setLabels, setRemoteFs
-
Methods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, equals, getConfigUrl, getJson, getJson, getJsonApiUrl, getNavigationLinks, hashCode
-
Methods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage, getFormName, getSubmitButtonText, save
-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, open, toString, url, url, visit
-
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
-
-
-
-
Method Detail
-
setLauncher
public <T extends ComputerLauncher> T setLauncher(Class<T> type)
Selects the specified launcher, and return the page object to bind to it.
-
asLocal
public void asLocal()
Set up this slave as a local slave that launches slave on the same host as Jenkins call this in the context of the config UI.
-
-