public abstract class AbstractRemoteTestNG extends org.testng.TestNG implements IRemoteTestNG
| Modifier and Type | Field and Description |
|---|---|
protected org.testng.ITestRunnerFactory |
m_customTestRunnerFactory |
| Constructor and Description |
|---|
AbstractRemoteTestNG() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.testng.ITestRunnerFactory |
buildTestRunnerFactory()
Override by the plugin if you need to configure differently the
TestRunner
(usually this is needed if different listeners/reporters are needed). |
protected boolean |
canRun()
run after
initialize(), tell if it's ready for running the test |
void |
configure(org.testng.CommandLineArgs cla) |
protected abstract org.testng.ITestRunnerFactory |
createDelegatingTestRunnerFactory(org.testng.ITestRunnerFactory trf,
MessageHub smsh) |
static String |
defaultIfStringEmpty(String s,
String defaultValue) |
void |
dontExit(boolean dontExit) |
protected String |
getHost() |
protected int |
getPort() |
protected void |
initialize() |
static boolean |
isStringEmpty(String s) |
void |
run() |
void |
setAck(boolean ack) |
void |
setDebug(boolean debug) |
void |
setHost(String host) |
void |
setPort(Integer port) |
void |
setProtocol(String protocol) |
void |
setSerPort(Integer serPort) |
static void |
validateCommandLineParameters(org.testng.CommandLineArgs args) |
addAlterSuiteListener, addClassLoader, addExecutionListener, addInvokedMethodListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addMethodSelector, addMethodSelector, configure, getAnnotationTransformer, getConfigFailurePolicy, getConfiguration, getDefault, getDefaultSuiteName, getDefaultTestName, getEnd, getOutputDirectory, getReporters, getServiceLoaderListeners, getStart, getStatus, getSuiteListeners, getSuiteThreadPoolSize, getTestListeners, hasFailure, hasFailureWithinSuccessPercentage, hasSkip, initializeEverything, initializeSuitesAndJarFile, isJdk14, main, privateMain, runSuites, runSuitesLocally, setAnnotationTransformer, setCommandLineSuite, setConfigFailurePolicy, setConfigFailurePolicy, setDataProviderThreadCount, setDefaultSuiteName, setDefaultTestName, setExcludedGroups, setGroupByInstances, setGroups, setJUnit, setListenerClasses, setMethodInterceptor, setMixed, setObjectFactory, setObjectFactory, setOutputDirectory, setParallel, setParallel, setPreserveOrder, setRandomizeSuites, setServiceLoaderClassLoader, setSkipFailedInvocationCounts, setSourcePath, setSuiteThreadPoolSize, setTestClasses, setTestJar, setTestNames, setTestNGVersion, setTestRunnerFactory, setTestSuites, setThreadCount, setUseDefaultListeners, setVerbose, setXmlPathInJar, setXmlSuitesprotected org.testng.ITestRunnerFactory m_customTestRunnerFactory
public void dontExit(boolean dontExit)
dontExit in interface IRemoteTestNGpublic void setDebug(boolean debug)
setDebug in interface IRemoteTestNGpublic void setAck(boolean ack)
setAck in interface IRemoteTestNGpublic void setHost(String host)
setHost in interface IRemoteTestNGpublic void setSerPort(Integer serPort)
setSerPort in interface IRemoteTestNGpublic void setProtocol(String protocol)
setProtocol in interface IRemoteTestNGpublic void setPort(Integer port)
setPort in interface IRemoteTestNGpublic void configure(org.testng.CommandLineArgs cla)
configure in interface IRemoteTestNGconfigure in class org.testng.TestNGpublic static void validateCommandLineParameters(org.testng.CommandLineArgs args)
public static boolean isStringEmpty(String s)
public void run()
run in interface IRemoteTestNGrun in class org.testng.TestNGprotected void initialize()
protected boolean canRun()
initialize(), tell if it's ready for running the testtrue for ready.protected abstract org.testng.ITestRunnerFactory buildTestRunnerFactory()
TestRunner
(usually this is needed if different listeners/reporters are needed).
Note: you don't need to worry about the wiring listener, because it is added
automatically.protected String getHost()
protected int getPort()
protected abstract org.testng.ITestRunnerFactory createDelegatingTestRunnerFactory(org.testng.ITestRunnerFactory trf,
MessageHub smsh)
Copyright © 2024. All rights reserved.