|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.unitedinternet.portal.selenium.utils.logging.TestMetricsBean
public class TestMetricsBean
Metrics and environment information (user-agent, versions) collected during test run. TODO: maybe also count commandsProcessed, verificationsProcessed which were not inside a Wait
Constructor Summary | |
---|---|
TestMetricsBean()
|
Method Summary | |
---|---|
java.lang.String[] |
getCommandsExcludedFromLogging()
|
long |
getCommandsProcessed()
|
long |
getEndTimeStamp()
|
long |
getFailedCommands()
|
java.lang.String |
getLastFailedCommandMessage()
|
java.lang.String |
getLoggingSeleniumRevision()
|
java.lang.String |
getSeleniumCoreRevision()
|
java.lang.String |
getSeleniumCoreVersion()
|
java.lang.String |
getSeleniumRcRevision()
|
java.lang.String |
getSeleniumRcVersion()
|
long |
getStartTimeStamp()
|
long |
getTestDuration()
Compute test duration out of startTimeStamp and endTimeStamp. |
java.lang.String |
getUserAgent()
|
long |
getVerificationsProcessed()
|
void |
incCommandsProcessed()
Increment commandsProcessed by one. |
void |
incFailedCommands()
Increment failedCommands by one. |
void |
incVerificationsProcessed()
Increment verificationsProcessed by one. |
void |
setCommandsExcludedFromLogging(java.lang.String[] commandsExcludedFromLogging)
|
void |
setCommandsProcessed(long commandsProcessed)
|
void |
setEndTimeStamp(long endTimeStamp)
|
void |
setFailedCommands(long failedCommands)
|
void |
setLastFailedCommandMessage(java.lang.String lastFailedCommandMessage)
|
void |
setSeleniumCoreRevision(java.lang.String seleniumCoreRevision)
|
void |
setSeleniumCoreVersion(java.lang.String seleniumCoreVersion)
|
void |
setSeleniumRcRevision(java.lang.String seleniumRcRevision)
|
void |
setSeleniumRcVersion(java.lang.String seleniumRcVersion)
|
void |
setStartTimeStamp(long startTimeStamp)
|
void |
setUserAgent(java.lang.String userAgent)
|
void |
setVerificationsProcessed(long verificationsProcessed)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestMetricsBean()
Method Detail |
---|
public long getStartTimeStamp()
public void setStartTimeStamp(long startTimeStamp)
public long getEndTimeStamp()
public void setEndTimeStamp(long endTimeStamp)
public long getCommandsProcessed()
public void setCommandsProcessed(long commandsProcessed)
public void incCommandsProcessed()
public long getFailedCommands()
public void setFailedCommands(long failedCommands)
public void incFailedCommands()
public long getTestDuration()
public long getVerificationsProcessed()
public void setVerificationsProcessed(long verificationsProcessed)
public void incVerificationsProcessed()
public java.lang.String getUserAgent()
public void setUserAgent(java.lang.String userAgent)
public java.lang.String getSeleniumCoreVersion()
public void setSeleniumCoreVersion(java.lang.String seleniumCoreVersion)
public java.lang.String getSeleniumCoreRevision()
public void setSeleniumCoreRevision(java.lang.String seleniumCoreRevision)
public java.lang.String getSeleniumRcVersion()
public void setSeleniumRcVersion(java.lang.String seleniumRcVersion)
public java.lang.String getSeleniumRcRevision()
public void setSeleniumRcRevision(java.lang.String seleniumRcRevision)
public java.lang.String getLastFailedCommandMessage()
public void setLastFailedCommandMessage(java.lang.String lastFailedCommandMessage)
public java.lang.String getLoggingSeleniumRevision()
public java.lang.String[] getCommandsExcludedFromLogging()
public void setCommandsExcludedFromLogging(java.lang.String[] commandsExcludedFromLogging)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |