public abstract class TestLevel extends LogMessage
Modifier and Type | Field and Description |
---|---|
protected int |
errors
The total errored test cases in this testsuite
|
protected int |
failures
The total failed test cases in this testsuite
|
protected java.lang.String |
name
The name of this test level
|
protected TestLevel |
parent |
protected int |
skipped
The total skipped test cases in this testsuite
|
protected boolean |
start
Indicate the start of a certain test level; false means the end.
|
protected int |
tests
The total test cases in this testsuite
|
protected long |
time
The duration in seconds of this test level
|
protected java.util.Date |
timestamp
The start date of this test level
|
dateTime, type
Constructor and Description |
---|
TestLevel() |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(LogMessage message) |
int |
getErrors() |
int |
getFailures() |
java.util.List<LogMessage> |
getMessages() |
java.lang.String |
getName() |
TestLevel |
getParent() |
int |
getSkipped() |
int |
getTests() |
long |
getTime() |
java.util.Date |
getTimestamp() |
int |
incrementErrors() |
int |
incrementFailures() |
int |
incrementSkipped() |
int |
incrementTests() |
boolean |
isStart() |
void |
setErrors(int errors) |
void |
setFailures(int failures) |
void |
setName(java.lang.String name) |
void |
setParent(TestLevel parent) |
void |
setSkipped(int skipped) |
void |
setStart(boolean start) |
void |
setTests(int tests) |
void |
setTime(long time) |
void |
setTimestamp(java.util.Date timestamp) |
getDateTime, getType, setDateTime, setType
getDetails, getTagName, getText, setDetails, setTagName, setText
protected TestLevel parent
protected java.util.Date timestamp
protected long time
protected java.lang.String name
protected boolean start
protected int tests
protected int failures
protected int errors
protected int skipped
public TestLevel getParent()
public void setParent(TestLevel parent)
public void addMessage(LogMessage message)
public java.util.List<LogMessage> getMessages()
public java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
public long getTime()
public void setTime(long time)
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean isStart()
public void setStart(boolean start)
public int getTests()
public int incrementTests()
public void setTests(int tests)
public int getFailures()
public int incrementFailures()
public void setFailures(int failures)
public int getErrors()
public void setErrors(int errors)
public int incrementErrors()
public int getSkipped()
public int incrementSkipped()
public void setSkipped(int skipped)
Copyright © SAS Institute. All Rights Reserved.