junitx.ddtunit.functest
Class ProcessCollectionTypeTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by groovy.util.GroovyTestCase
              extended by junitx.ddtunit.DDTTestCase
                  extended by junitx.ddtunit.functest.ProcessCollectionTypeTest
All Implemented Interfaces:
junit.framework.Test, IDDTTestCase

public class ProcessCollectionTypeTest
extends DDTTestCase

Test class for checking read facilities of collection type xml resource objects.

Author:
jg

Field Summary
 
Fields inherited from class groovy.util.GroovyTestCase
TEST_SCRIPT_NAME_PREFIX
 
Constructor Summary
ProcessCollectionTypeTest()
           
 
Method Summary
protected  void initContext()
           
 void testArrayFromCollection()
           
 void testDoubleNestedCollectionInAssert()
          Test assert behavior with empty nested collection as reported by bug 1773974
 void testIdentifyCollection()
           
 void testNestedVoWithCollection()
          Test verifies parsing behavior of Bug 1898143 on sourceforge
 void testReadNestedCollection()
          Test reading of nested collections.
 void testReadNestedMixedType()
          Test reading of nested collections.
 void testReadNullVector()
           
 void testReadVector()
          Test reading simple java.util.Vector object from xml resource.
 
Methods inherited from class junitx.ddtunit.DDTTestCase
addObjectToAssert, assertObject, assertObject, countMethodTests, getGlobalObject, getGlobalObject, getObject, getObject, getResourceObject, getResourceObject, getTestName, initTestData, initTestData, run, run, runBare, runInfo, runMethodTest, runTest, setTestName, validateAsserts
 
Methods inherited from class groovy.util.GroovyTestCase
assertArrayEquals, assertContains, assertContains, assertEquals, assertEquals, assertEquals, assertInspect, assertLength, assertLength, assertLength, assertScript, assertToString, fixEOLs, getMethodName, getName, getTestClassName, notYetImplemented, notYetImplemented, shouldFail, shouldFail, shouldFailWithCause
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junitx.ddtunit.IDDTTestCase
getName
 

Constructor Detail

ProcessCollectionTypeTest

public ProcessCollectionTypeTest()
Method Detail

initContext

protected void initContext()
Specified by:
initContext in class DDTTestCase

testReadVector

public void testReadVector()
Test reading simple java.util.Vector object from xml resource.


testReadNullVector

public void testReadNullVector()

testReadNestedCollection

public void testReadNestedCollection()
Test reading of nested collections.


testReadNestedMixedType

public void testReadNestedMixedType()
Test reading of nested collections.


testArrayFromCollection

public void testArrayFromCollection()

testDoubleNestedCollectionInAssert

public void testDoubleNestedCollectionInAssert()
                                        throws Exception
Test assert behavior with empty nested collection as reported by bug 1773974

Throws:
Exception

testIdentifyCollection

public void testIdentifyCollection()
                            throws Exception
Throws:
Exception

testNestedVoWithCollection

public void testNestedVoWithCollection()
                                throws Exception
Test verifies parsing behavior of Bug 1898143 on sourceforge

Throws:
Exception


Copyright © 2004-2011. All Rights Reserved.