org.exolab.jmscts.report
Class CurrentTest

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

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

This element details the state of the current executing test

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

Constructor Summary
CurrentTest()
           
 
Method Summary
 void addRequirementId(int index, java.lang.String vRequirementId)
          Method addRequirementId
 void addRequirementId(java.lang.String vRequirementId)
          Method addRequirementId
 void clearRequirementId()
          Method clearRequirementId
 java.util.Enumeration enumerateRequirementId()
          Method enumerateRequirementId
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String[] getRequirementId()
          Method getRequirementId
 java.lang.String getRequirementId(int index)
          Method getRequirementId
 int getRequirementIdCount()
          Method getRequirementIdCount
 java.lang.String getTest()
          Returns the value of field 'test'.
 TestRun getTestRun()
          Returns the value of field 'testRun'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeRequirementId(java.lang.String vRequirementId)
          Method removeRequirementId
 void setRequirementId(int index, java.lang.String vRequirementId)
          Method setRequirementId
 void setRequirementId(java.lang.String[] requirementIdArray)
          Method setRequirementId
 void setTest(java.lang.String test)
          Sets the value of field 'test'.
 void setTestRun(TestRun testRun)
          Sets the value of field 'testRun'.
static CurrentTest 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

CurrentTest

public CurrentTest()
Method Detail

addRequirementId

public void addRequirementId(java.lang.String vRequirementId)
                      throws java.lang.IndexOutOfBoundsException
Method addRequirementId
Parameters:
vRequirementId -  

addRequirementId

public void addRequirementId(int index,
                             java.lang.String vRequirementId)
                      throws java.lang.IndexOutOfBoundsException
Method addRequirementId
Parameters:
index -  
vRequirementId -  

clearRequirementId

public void clearRequirementId()
Method clearRequirementId

enumerateRequirementId

public java.util.Enumeration enumerateRequirementId()
Method enumerateRequirementId

equals

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

getRequirementId

public java.lang.String getRequirementId(int index)
                                  throws java.lang.IndexOutOfBoundsException
Method getRequirementId
Parameters:
index -  

getRequirementId

public java.lang.String[] getRequirementId()
Method getRequirementId

getRequirementIdCount

public int getRequirementIdCount()
Method getRequirementIdCount

getTest

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

getTestRun

public TestRun getTestRun()
Returns the value of field 'testRun'. The field 'testRun' has the following description: This element describes the results of a single test run.
Returns:
the value of field 'testRun'.

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 -  

removeRequirementId

public boolean removeRequirementId(java.lang.String vRequirementId)
Method removeRequirementId
Parameters:
vRequirementId -  

setRequirementId

public void setRequirementId(int index,
                             java.lang.String vRequirementId)
                      throws java.lang.IndexOutOfBoundsException
Method setRequirementId
Parameters:
index -  
vRequirementId -  

setRequirementId

public void setRequirementId(java.lang.String[] requirementIdArray)
Method setRequirementId
Parameters:
requirementIdArray -  

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(TestRun testRun)
Sets the value of field 'testRun'. The field 'testRun' has the following description: This element describes the results of a single test run.
Parameters:
testRun - the value of field 'testRun'.

unmarshal

public static CurrentTest 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.