edu.cornell.cs.sam.ui
Class TestScript.TestResult

java.lang.Object
  extended by edu.cornell.cs.sam.ui.TestScript.TestResult
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
TestScript

public static class TestScript.TestResult
extends java.lang.Object
implements java.io.Serializable

This stores results from a test case run

See Also:
Serialized Form

Field Summary
protected  boolean ioSuccessful
           
protected  TestScript.Test.DataType returnValue
           
protected  boolean stackCleared
           
protected  java.lang.String testName
           
 
Constructor Summary
TestScript.TestResult(java.lang.String testName)
           
 
Method Summary
 TestScript.Test.DataType getReturnValue()
           
 java.lang.String getTestName()
           
 boolean isIOSuccessful()
           
 boolean isStackCleared()
           
 void loadFromProperties(java.util.Properties props)
           
protected  void loadFromProperties(java.util.Properties props, boolean loadRetVal)
           
 java.util.Properties saveToProperties()
           
protected  java.util.Properties saveToProperties(boolean saveTestResult)
           
 void setIOSuccessful(boolean s)
           
 void setReturnValue(TestScript.Test.DataType returnValue)
           
 void setStackCleared(boolean s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testName

protected java.lang.String testName

returnValue

protected TestScript.Test.DataType returnValue

stackCleared

protected boolean stackCleared

ioSuccessful

protected boolean ioSuccessful
Constructor Detail

TestScript.TestResult

public TestScript.TestResult(java.lang.String testName)
Method Detail

getTestName

public java.lang.String getTestName()

getReturnValue

public TestScript.Test.DataType getReturnValue()

setReturnValue

public void setReturnValue(TestScript.Test.DataType returnValue)

isStackCleared

public boolean isStackCleared()

isIOSuccessful

public boolean isIOSuccessful()

setStackCleared

public void setStackCleared(boolean s)

setIOSuccessful

public void setIOSuccessful(boolean s)

saveToProperties

public java.util.Properties saveToProperties()
                                      throws java.io.IOException
Throws:
java.io.IOException

saveToProperties

protected java.util.Properties saveToProperties(boolean saveTestResult)
                                         throws java.io.IOException
Throws:
java.io.IOException

loadFromProperties

public void loadFromProperties(java.util.Properties props)
                        throws java.io.IOException
Throws:
java.io.IOException

loadFromProperties

protected void loadFromProperties(java.util.Properties props,
                                  boolean loadRetVal)
                           throws java.io.IOException
Throws:
java.io.IOException