SunSPOT API V3.0


com.sun.spot.testFramework
Class SystemOutTestResultLog

java.lang.Object
  extended by com.sun.spot.testFramework.SystemOutTestResultLog
All Implemented Interfaces:
ITestResultLog
Direct Known Subclasses:
InterIsolateTestResultLog

public class SystemOutTestResultLog
extends Object
implements ITestResultLog


Field Summary
protected  StringBuffer errors
           
protected  StringBuffer failures
           
 
Constructor Summary
SystemOutTestResultLog()
           
 
Method Summary
 void addErrors(String extraErrors)
           
 void addFailures(String extraFailures)
           
 void finishTestRun(int testsRun, int testFailed, int testErrors, long testDuration)
           
 void reportError(int testNumber)
           
 void reportFailure(int testNumber, String exceptionMessage)
           
 void reportSuccess(int testNumber)
           
 void showResults()
           
 void startTestRun(String testClassName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errors

protected StringBuffer errors

failures

protected StringBuffer failures
Constructor Detail

SystemOutTestResultLog

public SystemOutTestResultLog()
Method Detail

startTestRun

public void startTestRun(String testClassName)
Specified by:
startTestRun in interface ITestResultLog

finishTestRun

public void finishTestRun(int testsRun,
                          int testFailed,
                          int testErrors,
                          long testDuration)
Specified by:
finishTestRun in interface ITestResultLog

reportSuccess

public void reportSuccess(int testNumber)
Specified by:
reportSuccess in interface ITestResultLog

reportError

public void reportError(int testNumber)
Specified by:
reportError in interface ITestResultLog

reportFailure

public void reportFailure(int testNumber,
                          String exceptionMessage)
Specified by:
reportFailure in interface ITestResultLog

showResults

public void showResults()
Specified by:
showResults in interface ITestResultLog

addErrors

public void addErrors(String extraErrors)

addFailures

public void addFailures(String extraFailures)

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.