|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.testng.TestNG
org.testng.remote.RemoteTestNG
public class RemoteTestNG
Extension of TestNG registering a remote TestListener.
Developer note: be aware that a copy of this source is distributed along with the Eclipse plugin to assure backward compatibility.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.testng.TestNG |
---|
TestNG.ExitCodeListener |
Field Summary | |
---|---|
protected java.lang.String |
m_host
|
protected int |
m_port
|
Constructor Summary | |
---|---|
RemoteTestNG()
|
Method Summary | |
---|---|
protected ITestRunnerFactory |
buildTestRunnerFactory()
Override by the plugin if you need to configure differently the TestRunner
(usually this is needed if different listeners/reporters are needed). |
void |
configure(java.util.Map cmdLineArgs)
Configure the TestNG instance by reading the settings provided in the map. |
static void |
main(java.lang.String[] args)
|
void |
run()
Run TestNG. |
void |
setConnectionParameters(java.lang.String host,
int port)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String m_host
protected int m_port
Constructor Detail |
---|
public RemoteTestNG()
Method Detail |
---|
public void setConnectionParameters(java.lang.String host, int port)
public void configure(java.util.Map cmdLineArgs)
TestNG
configure
in class TestNG
cmdLineArgs
- map of settingsfor setting keys
public void run()
TestNG
run
in class TestNG
protected 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.
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |