org.testng.remote.strprotocol
Class TestMessage

java.lang.Object  extended by org.testng.remote.strprotocol.TestMessage
All Implemented Interfaces:
Serializable, IMessage, IStringMessage

public class TestMessage
extends Object
implements IStringMessage

An IStringMessage implementation for test events.

Author:
Alexandru Popescu
See Also:
Serialized Form


Field Summary
protected  intm_failedTestCount
           
protected  intm_passedTestCount
           
protected  intm_skippedTestCount
           
protected  intm_successPercentageFailedTestCount
           
protected  Stringm_suiteName
           
protected  intm_testMethodCount
           
protected  Stringm_testName
           
protected  booleanm_testStart
           
 
Constructor Summary
TestMessage(boolean isTestStart, String suiteName, String testName, int methodCount, int passedCount, int failedCount, int skippedCount, int percentageCount)
           
TestMessage(ITestContext testContext, boolean isTestStart)
           
 
Method Summary
 intgetFailedTestCount()
           
 StringgetMessageAsString()
           
 intgetPassedTestCount()
           
 intgetSkippedTestCount()
           
 intgetSuccessPercentageFailedTestCount()
           
 StringgetSuiteName()
           
 intgetTestMethodCount()
           
 StringgetTestName()
           
 booleanisMessageOnStart()
           
 booleanisTestStart()
           
 StringtoString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_testStart

protected final boolean m_testStart

m_suiteName

protected final String m_suiteName

m_testName

protected final String m_testName

m_testMethodCount

protected final int m_testMethodCount

m_passedTestCount

protected final int m_passedTestCount

m_failedTestCount

protected final int m_failedTestCount

m_skippedTestCount

protected final int m_skippedTestCount

m_successPercentageFailedTestCount

protected final int m_successPercentageFailedTestCount
Constructor Detail

TestMessage

public TestMessage(boolean isTestStart,                   String suiteName,                   String testName,                   int methodCount,                   int passedCount,                   int failedCount,                   int skippedCount,                   int percentageCount)

TestMessage

public TestMessage(ITestContext testContext,                   boolean isTestStart)
Method Detail

isMessageOnStart

public boolean isMessageOnStart()

getMessageAsString

public String getMessageAsString()
Specified by:
getMessageAsString in interface IStringMessage
See Also:
net.noco.testng.runner.IStringMessage#getMessageAsString()

getSuiteName

public String getSuiteName()

getTestName

public String getTestName()

isTestStart

public boolean isTestStart()

getTestMethodCount

public int getTestMethodCount()

getSuccessPercentageFailedTestCount

public int getSuccessPercentageFailedTestCount()

getFailedTestCount

public int getFailedTestCount()

getPassedTestCount

public int getPassedTestCount()

getSkippedTestCount

public int getSkippedTestCount()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14