be.objectify.led.factory.object
Class AbstractObjectFactoryTest

java.lang.Object
  extended by be.objectify.led.factory.object.AbstractObjectFactoryTest
Direct Known Subclasses:
AbstractConstrainedObjectFactoryTest, BooleanFactoryTest, CharacterFactoryTest, ListFactoryTest, MapFactoryTest, SetFactoryTest, StringFactoryTest

public abstract class AbstractObjectFactoryTest
extends Object

Author:
Steve Chaloner

Field Summary
protected  FactoryResolver factoryResolver
           
 
Constructor Summary
AbstractObjectFactoryTest()
           
 
Method Summary
protected  Field getField()
           
protected abstract  String getPropertyValue()
           
protected abstract  Object getResult()
           
protected abstract  Class getTargetClass()
           
 void setup()
           
 void tearDown()
           
 void testDefaultFactory_emptyPropertyValue()
           
 void testDefaultFactory_nullPropertyValue()
           
 void testDefaultFactory_populatedPropertyValue()
           
 void testDefaultFactory_zeroLengthPropertyValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factoryResolver

protected FactoryResolver factoryResolver
Constructor Detail

AbstractObjectFactoryTest

public AbstractObjectFactoryTest()
Method Detail

setup

public void setup()

tearDown

public void tearDown()

testDefaultFactory_nullPropertyValue

public void testDefaultFactory_nullPropertyValue()
                                          throws Exception
Throws:
Exception

testDefaultFactory_zeroLengthPropertyValue

public void testDefaultFactory_zeroLengthPropertyValue()
                                                throws Exception
Throws:
Exception

testDefaultFactory_emptyPropertyValue

public void testDefaultFactory_emptyPropertyValue()
                                           throws Exception
Throws:
Exception

testDefaultFactory_populatedPropertyValue

public void testDefaultFactory_populatedPropertyValue()
                                               throws Exception
Throws:
Exception

getPropertyValue

protected abstract String getPropertyValue()

getResult

protected abstract Object getResult()

getTargetClass

protected abstract Class getTargetClass()

getField

protected Field getField()
                  throws Exception
Throws:
Exception


Copyright © 2010 Objectify. All Rights Reserved.