|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.UnitTestCase
public class UnitTestCase
A definition of a single Unit Test testcase.
Constructor Summary | |
---|---|
UnitTestCase()
|
Method Summary | |
---|---|
void |
addComment(int index,
java.lang.String vComment)
|
void |
addComment(java.lang.String vComment)
|
void |
addSchemaDifferences(int index,
SchemaDifferences vSchemaDifferences)
|
void |
addSchemaDifferences(SchemaDifferences vSchemaDifferences)
|
void |
deleteGenerateImported()
|
void |
deleteJavaSourceVersion()
|
void |
deleteSkip()
|
java.util.Enumeration |
enumerateComment()
Method enumerateComment. |
java.util.Enumeration |
enumerateSchemaDifferences()
Method enumerateSchemaDifferences. |
java.lang.String[] |
getComment()
Method getComment.Returns the contents of the collection in an Array. |
java.lang.String |
getComment(int index)
Method getComment. |
int |
getCommentCount()
Method getCommentCount. |
Configuration |
getConfiguration()
Returns the value of field 'configuration'. |
CustomTest |
getCustomTest()
Returns the value of field 'customTest'. |
Failure |
getFailure()
Returns the value of field 'failure'. |
boolean |
getGenerateImported()
Returns the value of field 'generateImported'. |
java.lang.String |
getGoldFile()
Returns the value of field 'goldFile'. |
java.lang.String |
getInput()
Returns the value of field 'input'. |
float |
getJavaSourceVersion()
Returns the value of field 'javaSourceVersion'. |
Listener |
getListener()
Returns the value of field 'listener'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String |
getObjectBuilder()
Returns the value of field 'objectBuilder'. |
SchemaDifferences[] |
getSchemaDifferences()
Method getSchemaDifferences.Returns the contents of the collection in an Array. |
SchemaDifferences |
getSchemaDifferences(int index)
Method getSchemaDifferences. |
int |
getSchemaDifferencesCount()
Method getSchemaDifferencesCount. |
boolean |
getSkip()
Returns the value of field 'skip'. |
UnitTestCaseChoice |
getUnitTestCaseChoice()
Returns the value of field 'unitTestCaseChoice'. |
boolean |
hasGenerateImported()
Method hasGenerateImported. |
boolean |
hasJavaSourceVersion()
Method hasJavaSourceVersion. |
boolean |
hasSkip()
Method hasSkip. |
boolean |
isGenerateImported()
Returns the value of field 'generateImported'. |
boolean |
isSkip()
Returns the value of field 'skip'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllComment()
|
void |
removeAllSchemaDifferences()
|
boolean |
removeComment(java.lang.String vComment)
Method removeComment. |
java.lang.String |
removeCommentAt(int index)
Method removeCommentAt. |
boolean |
removeSchemaDifferences(SchemaDifferences vSchemaDifferences)
Method removeSchemaDifferences. |
SchemaDifferences |
removeSchemaDifferencesAt(int index)
Method removeSchemaDifferencesAt. |
void |
setComment(int index,
java.lang.String vComment)
|
void |
setComment(java.lang.String[] vCommentArray)
|
void |
setConfiguration(Configuration configuration)
Sets the value of field 'configuration'. |
void |
setCustomTest(CustomTest customTest)
Sets the value of field 'customTest'. |
void |
setFailure(Failure failure)
Sets the value of field 'failure'. |
void |
setGenerateImported(boolean generateImported)
Sets the value of field 'generateImported'. |
void |
setGoldFile(java.lang.String goldFile)
Sets the value of field 'goldFile'. |
void |
setInput(java.lang.String input)
Sets the value of field 'input'. |
void |
setJavaSourceVersion(float javaSourceVersion)
Sets the value of field 'javaSourceVersion'. |
void |
setListener(Listener listener)
Sets the value of field 'listener'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setObjectBuilder(java.lang.String objectBuilder)
Sets the value of field 'objectBuilder'. |
void |
setSchemaDifferences(int index,
SchemaDifferences vSchemaDifferences)
|
void |
setSchemaDifferences(SchemaDifferences[] vSchemaDifferencesArray)
|
void |
setSkip(boolean skip)
Sets the value of field 'skip'. |
void |
setUnitTestCaseChoice(UnitTestCaseChoice unitTestCaseChoice)
Sets the value of field 'unitTestCaseChoice'. |
static UnitTestCase |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnitTestCase()
Method Detail |
---|
public void addComment(java.lang.String vComment) throws java.lang.IndexOutOfBoundsException
vComment
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addComment(int index, java.lang.String vComment) throws java.lang.IndexOutOfBoundsException
index
- vComment
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSchemaDifferences(SchemaDifferences vSchemaDifferences) throws java.lang.IndexOutOfBoundsException
vSchemaDifferences
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSchemaDifferences(int index, SchemaDifferences vSchemaDifferences) throws java.lang.IndexOutOfBoundsException
index
- vSchemaDifferences
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteGenerateImported()
public void deleteJavaSourceVersion()
public void deleteSkip()
public java.util.Enumeration enumerateComment()
public java.util.Enumeration enumerateSchemaDifferences()
public java.lang.String getComment(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getComment()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getCommentCount()
public Configuration getConfiguration()
public CustomTest getCustomTest()
public Failure getFailure()
public boolean getGenerateImported()
public java.lang.String getGoldFile()
public java.lang.String getInput()
public float getJavaSourceVersion()
public Listener getListener()
public java.lang.String getName()
public java.lang.String getObjectBuilder()
public SchemaDifferences getSchemaDifferences(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic SchemaDifferences[] getSchemaDifferences()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getSchemaDifferencesCount()
public boolean getSkip()
public UnitTestCaseChoice getUnitTestCaseChoice()
public boolean hasGenerateImported()
public boolean hasJavaSourceVersion()
public boolean hasSkip()
public boolean isGenerateImported()
public boolean isSkip()
public boolean isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
java.io.IOException
- if an IOException occurs during
marshaling
ValidationException
- if this
object is an invalid instance according to the schema
MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllComment()
public void removeAllSchemaDifferences()
public boolean removeComment(java.lang.String vComment)
vComment
-
public java.lang.String removeCommentAt(int index)
index
-
public boolean removeSchemaDifferences(SchemaDifferences vSchemaDifferences)
vSchemaDifferences
-
public SchemaDifferences removeSchemaDifferencesAt(int index)
index
-
public void setComment(int index, java.lang.String vComment) throws java.lang.IndexOutOfBoundsException
index
- vComment
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setComment(java.lang.String[] vCommentArray)
vCommentArray
- public void setConfiguration(Configuration configuration)
configuration
- the value of field 'configuration'.public void setCustomTest(CustomTest customTest)
customTest
- the value of field 'customTest'.public void setFailure(Failure failure)
failure
- the value of field 'failure'.public void setGenerateImported(boolean generateImported)
generateImported
- the value of field 'generateImported'public void setGoldFile(java.lang.String goldFile)
goldFile
- the value of field 'goldFile'.public void setInput(java.lang.String input)
input
- the value of field 'input'.public void setJavaSourceVersion(float javaSourceVersion)
javaSourceVersion
- the value of field
'javaSourceVersion'.public void setListener(Listener listener)
listener
- the value of field 'listener'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setObjectBuilder(java.lang.String objectBuilder)
objectBuilder
- the value of field 'objectBuilder'.public void setSchemaDifferences(int index, SchemaDifferences vSchemaDifferences) throws java.lang.IndexOutOfBoundsException
index
- vSchemaDifferences
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSchemaDifferences(SchemaDifferences[] vSchemaDifferencesArray)
vSchemaDifferencesArray
- public void setSkip(boolean skip)
skip
- the value of field 'skip'.public void setUnitTestCaseChoice(UnitTestCaseChoice unitTestCaseChoice)
unitTestCaseChoice
- the value of field
'unitTestCaseChoice'.public static UnitTestCase unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schema
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |