|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | CONST | FIELD | CONSTR | METHOD | DETAIL: CONST | FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--satin.testing.TestLogBlock
public class TestLogBlock
extends java.lang.Object
This class represents a block in a TestLog
results file. Blocks can be nested.
Each block maintains a number of statistics, including error count,
warning count, testcase counts, and elapsed time.
You can set tab stops for a particular block.
| Field Summary | |
final java.lang.String |
name
The name of the block. |
| Method Summary | |
final void |
clearTabs()
Clears all the tab stops for this block. |
final int |
getErrorCount()
Returns the error count for this block. |
final java.lang.String |
getLineBreakCharsAfter()
Returns the set of line break characters for wrapping long lines. |
final java.lang.String |
getLineBreakCharsBefore()
Returns the set of line break characters for wrapping long lines. |
final int |
getNestingLevel()
Returns how many levels deep this block is. |
final TestLogBlock |
getParent()
Returns the parent (enclosing) block, or null if it is the top-level block. |
final java.util.Date |
getStartTime()
Returns the date and time at which this block was created. |
final int[] |
getTabs()
Returns the list of tab stops for this block. |
final int |
getTestcaseCount()
Returns the total number of testcases executed during this block. |
final int |
getTestcaseCount(TestStatus status)
Returns the number of testcases with the given status executed during this block. |
final int |
getWarningCount()
Returns the warning count for this block. |
final void |
setLineBreakChars(java.lang.String before,
java.lang.String after)
Sets line break characters for wrapping long lines. |
final void |
setTabs(int[] tabs)
Sets tab stops for this block. |
final void |
setTabs(int count,
int spacing)
Sets equal tab stops for this block. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final java.lang.String name
| Method Detail |
public final int getErrorCount()
public final int getWarningCount()
public final int getTestcaseCount()
public final int getTestcaseCount(TestStatus status)
statuspublic final java.util.Date getStartTime()
public final TestLogBlock getParent()
public final int getNestingLevel()
public final void setTabs(int[] tabs)
tabs
public final void setTabs(int count,
int spacing)
countspacingpublic final void clearTabs()
public final int[] getTabs()
public final void setLineBreakChars(java.lang.String before,
java.lang.String after)
beforeafterpublic final java.lang.String getLineBreakCharsBefore()
public final java.lang.String getLineBreakCharsAfter()
| Revision History |
7/31/01 Ed Stauff - made changes per code review.
5/16/01 Ed Stauff - added new type EXCEPTION.
5/15/01 Ed Stauff - changes per 2nd API review.
3/27/01 Ed Stauff - made changes per API review.
3/22/01 - API reviewed by Test Automation team.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | CONST | FIELD | CONSTR | METHOD | DETAIL: CONST | FIELD | CONSTR | METHOD | ||||||||
TestLogBlock.java (PRIVATE SOURCES)