public class WTTestBuilder extends Builder
Modifier and Type | Class and Description |
---|---|
static class |
WTTestBuilder.DescriptorImpl |
static interface |
WTTestBuilder.WTStepDescriptorUtil |
ExtensionPoint.LegacyInstancesAreScopedToHudson
BuildStep.PublisherList
Modifier and Type | Field and Description |
---|---|
static String |
ANDROID_OS_TYPE |
static int |
DEFAULT_MAX_CASE_TIMEOUT |
static int |
DEFAULT_MAX_TIMEOUT |
static int |
DEFAULT_MIN_CASE_TIMEOUT |
static int |
DEFAULT_MIN_TIMEOUT |
static int |
IOS_DEVICE_TYPE |
static String |
IOS_OS_TYPE |
BUILDERS, PUBLISHERS
Constructor and Description |
---|
WTTestBuilder(String projectId,
String appPath,
String scriptPath,
String groupId,
String timeout,
String frameType,
String caseTimeout,
String targetOsType) |
Modifier and Type | Method and Description |
---|---|
String |
covertFrameType(String frameType,
String iosType) |
String |
getAppPath() |
String |
getCaseTimeout() |
String |
getFrameType() |
String |
getGroupId() |
String |
getProjectId() |
String |
getScriptPath() |
String |
getTargetOsType() |
String |
getTimeout() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
runTest(Run<?,?> build,
FilePath workPath,
Launcher launcher,
TaskListener listener) |
void |
setCaseTimeout(String caseTimeout) |
void |
setFrameType(String frameType) |
void |
setTargetOsType(String targetOsType) |
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
public static final int DEFAULT_MAX_TIMEOUT
public static final int DEFAULT_MIN_TIMEOUT
public static final int DEFAULT_MAX_CASE_TIMEOUT
public static final int DEFAULT_MIN_CASE_TIMEOUT
public static final String ANDROID_OS_TYPE
public static final String IOS_OS_TYPE
public static final int IOS_DEVICE_TYPE
public String getAppPath()
public String getGroupId()
public String getProjectId()
public String getScriptPath()
public String getTimeout()
public void setCaseTimeout(String caseTimeout)
public String getCaseTimeout()
public String getFrameType()
public void setFrameType(String frameType)
public String getTargetOsType()
public void setTargetOsType(String targetOsType)
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform
in interface BuildStep
perform
in class BuildStepCompatibilityLayer
InterruptedException
IOException
public boolean runTest(Run<?,?> build, FilePath workPath, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
InterruptedException
IOException
Copyright © 2016–2022. All rights reserved.