org.exolab.jmscts.report
Class TestRuns

java.lang.Object
  |
  +--org.exolab.jmscts.report.TestRuns
All Implemented Interfaces:
java.io.Serializable

public class TestRuns
extends java.lang.Object
implements java.io.Serializable

This element describes the results of each run of a test.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
TestRuns()
           
 
Method Summary
 void addTestRun(int index, TestRun vTestRun)
          Method addTestRun
 void addTestRun(TestRun vTestRun)
          Method addTestRun
 void clearTestRun()
          Method clearTestRun
 java.util.Enumeration enumerateTestRun()
          Method enumerateTestRun
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getTest()
          Returns the value of field 'test'.
 TestRun[] getTestRun()
          Method getTestRun
 TestRun getTestRun(int index)
          Method getTestRun
 int getTestRunCount()
          Method getTestRunCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeTestRun(TestRun vTestRun)
          Method removeTestRun
 void setTest(java.lang.String test)
          Sets the value of field 'test'.
 void setTestRun(int index, TestRun vTestRun)
          Method setTestRun
 void setTestRun(TestRun[] testRunArray)
          Method setTestRun
static TestRuns unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRuns

public TestRuns()
Method Detail

addTestRun

public void addTestRun(TestRun vTestRun)
                throws java.lang.IndexOutOfBoundsException
Method addTestRun
Parameters:
vTestRun -  

addTestRun

public void addTestRun(int index,
                       TestRun vTestRun)
                throws java.lang.IndexOutOfBoundsException
Method addTestRun
Parameters:
index -  
vTestRun -  

clearTestRun

public void clearTestRun()
Method clearTestRun

enumerateTestRun

public java.util.Enumeration enumerateTestRun()
Method enumerateTestRun

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden
Overrides:
equals in class java.lang.Object
Parameters:
obj -  

getTest

public java.lang.String getTest()
Returns the value of field 'test'.
Returns:
the value of field 'test'.

getTestRun

public TestRun getTestRun(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getTestRun
Parameters:
index -  

getTestRun

public TestRun[] getTestRun()
Method getTestRun

getTestRunCount

public int getTestRunCount()
Method getTestRunCount

isValid

public boolean isValid()
Method isValid

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
out -  

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
handler -  

removeTestRun

public boolean removeTestRun(TestRun vTestRun)
Method removeTestRun
Parameters:
vTestRun -  

setTest

public void setTest(java.lang.String test)
Sets the value of field 'test'.
Parameters:
test - the value of field 'test'.

setTestRun

public void setTestRun(int index,
                       TestRun vTestRun)
                throws java.lang.IndexOutOfBoundsException
Method setTestRun
Parameters:
index -  
vTestRun -  

setTestRun

public void setTestRun(TestRun[] testRunArray)
Method setTestRun
Parameters:
testRunArray -  

unmarshal

public static TestRuns unmarshal(java.io.Reader reader)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.