remoteTester.framework
Class TestResultSerializable

java.lang.Object
  extended byjunit.framework.TestResult
      extended byremoteTester.framework.TestResultSerializable
All Implemented Interfaces:
java.io.Serializable

public class TestResultSerializable
extends junit.framework.TestResult
implements java.io.Serializable

This is the server side TestResult. It can be serialized to bring execution result to client side. It let exceptions come back to the client.

Created by Nicolas FRANK

See Also:
Serialized Form

Field Summary
 
Fields inherited from class junit.framework.TestResult
fErrors, fFailures, fListeners, fRunTests
 
Constructor Summary
TestResultSerializable()
           
 
Method Summary
 java.lang.String getOutput()
          get the testcase execution output
 void runProtected(junit.framework.Test test, junit.framework.Protectable p)
          Runs a TestCase.
 void setOutput(java.lang.String output)
          the testcase execution output
 
Methods inherited from class junit.framework.TestResult
addError, addFailure, addListener, endTest, errorCount, errors, failureCount, failures, removeListener, run, runCount, shouldStop, startTest, stop, wasSuccessful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResultSerializable

public TestResultSerializable()
Method Detail

getOutput

public java.lang.String getOutput()
get the testcase execution output


setOutput

public void setOutput(java.lang.String output)
the testcase execution output

Parameters:
output -

runProtected

public void runProtected(junit.framework.Test test,
                         junit.framework.Protectable p)
Runs a TestCase.



Copyright © 2003-2004 Nicolas FRANK. All Rights Reserved.