|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.testing.unit.ResultExpresser
public abstract class ResultExpresser
Interface for expressing test results.
Version History
EPG - Initial - 18 JUN 04
Nested Class Summary | |
---|---|
static class |
ResultExpresser.expressionType
|
Constructor Summary | |
---|---|
ResultExpresser()
|
Method Summary | |
---|---|
abstract void |
express(java.lang.String date,
ResultExpresser.expressionType type,
Result theResult,
int index,
java.lang.String name,
java.lang.String message,
int numberPass,
int numberFail,
int numberInconclusive,
int numberException,
int numberAbort,
long time,
long size,
java.lang.String code,
java.util.List<NV> values)
Submit a full expression. |
void |
expressCase(java.lang.String date,
Result theResult,
int index,
java.lang.String name,
java.lang.String message,
long time,
long size,
java.lang.String code,
java.util.List<NV> values)
Submit a CASE expression. |
void |
expressCaseSimple(java.lang.String date,
Result theResult,
int index,
java.lang.String name,
java.lang.String message)
Submit a simple CASE expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultExpresser()
Method Detail |
---|
public abstract void express(java.lang.String date, ResultExpresser.expressionType type, Result theResult, int index, java.lang.String name, java.lang.String message, int numberPass, int numberFail, int numberInconclusive, int numberException, int numberAbort, long time, long size, java.lang.String code, java.util.List<NV> values) throws ThingsException
date
- Date in string format.type
- The type as an expresisonTypetheResult
- The result as Resultindex
- The index ply of this result (useful for nesting groups).name
- The name of test.message
- The message from the result.numberPass
- Number of passes (as a roll-up if a group).numberFail
- Number of fails (as a roll-up if a group).numberInconclusive
- Number of inconclusive (as a roll-up if a group).numberException
- Number of exception (as a roll-up if a group).numberAbort
- Number of abort (as a roll-up if a group).time
- Time in miliseconds to run. Negative number means no result.size
- Size of the resulting data. Negative number means no reault.code
- Error or success code from the operation (as a String). null means no code.values
- A list of name/value pairs.
ThingsException
Result
public void expressCase(java.lang.String date, Result theResult, int index, java.lang.String name, java.lang.String message, long time, long size, java.lang.String code, java.util.List<NV> values) throws ThingsException
date
- Date in string format.theResult
- The result as Resultindex
- The index ply of this result (useful for nesting groups).name
- The name of test.message
- The message from the result.time
- Time in miliseconds to run. Negative number means no result.size
- Size of the resulting data. Negative number means no reault.code
- Error or success code from the operation (as a String). null means no code.values
- A list of name/value pairs.
ThingsException
Result
public void expressCaseSimple(java.lang.String date, Result theResult, int index, java.lang.String name, java.lang.String message) throws ThingsException
date
- Date in string format.theResult
- The result as Resultindex
- The index ply of this result (useful for nesting groups).name
- The name of test.message
- The message from the result.
ThingsException
Result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |