junitx.ddtunit.functest
Class ProcessConstructorValuesTest

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.ProcessConstructorValuesTest
All Implemented Interfaces:
junit.framework.Test, IDDTTestCase

public class ProcessConstructorValuesTest
extends DDTTestCase

Test reading/instanciation of objects by defining a constructor call.

Author:
jg

Field Summary
 
Fields inherited from class groovy.util.GroovyTestCase
TEST_SCRIPT_NAME_PREFIX
 
Constructor Summary
ProcessConstructorValuesTest(String name)
           
 
Method Summary
protected  void initContext()
           
 void testCollectionWithConstructorElements()
           
 void testComplexWithConstructorCollectionArg()
           
 void testGenericWithComplexField()
           
 void testReadConstructor()
          Test retrieval of objects with different types of constructors.
 
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

ProcessConstructorValuesTest

public ProcessConstructorValuesTest(String name)
Parameters:
name - of testmethod to execute
Method Detail

initContext

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

testReadConstructor

public void testReadConstructor()
Test retrieval of objects with different types of constructors.


testGenericWithComplexField

public void testGenericWithComplexField()

testCollectionWithConstructorElements

public void testCollectionWithConstructorElements()

testComplexWithConstructorCollectionArg

public void testComplexWithConstructorCollectionArg()


Copyright © 2004-2011. All Rights Reserved.