org.iternine.jeppetto.test
Class SimpleObjectDAOTest

java.lang.Object
  extended by org.iternine.jeppetto.test.SimpleObjectDAOTest

public abstract class SimpleObjectDAOTest
extends Object


Constructor Summary
SimpleObjectDAOTest()
           
 
Method Summary
 void after()
           
 void averageIntValues()
           
 void countAll()
           
 void countDistinctIntValue()
           
 void countRelatedItems()
           
 void countSomeObjects()
           
 void countSomeObjectsUsingAnnotation()
           
 void countSomeObjectsUsingAnnotationGreaterThanEquals()
           
 void countSomeObjectsUsingAnnotationLessThanEquals()
           
 void countSomeObjectsUsingDslStyleGreaterThanEquals()
           
 void countSomeObjectsUsingDslStyleLessThanEquals()
           
protected  void createData()
           
protected  void createExtraData()
           
 void findAndSort()
           
 void findAndSortReturnIterable()
           
 void findByBogusId()
           
 void findById()
           
 void findByIntValue()
           
 void findByLongValue()
           
 void findSimpleObject()
           
 void findSomeObjects()
           
protected abstract  SimpleObjectDAO getSimpleObjectDAO()
           
 void limit()
           
 void limitAndSkip()
           
 void limitAndSkipDSL()
           
 void maxIntValue()
           
 void minIntValue()
           
protected abstract  void reset()
           
 void sumIntValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleObjectDAOTest

public SimpleObjectDAOTest()
Method Detail

getSimpleObjectDAO

protected abstract SimpleObjectDAO getSimpleObjectDAO()

reset

protected abstract void reset()

after

public void after()

findById

public void findById()
              throws NoSuchItemException
Throws:
NoSuchItemException

findByBogusId

public void findByBogusId()
                   throws NoSuchItemException
Throws:
NoSuchItemException

findByIntValue

public void findByIntValue()
                    throws NoSuchItemException
Throws:
NoSuchItemException

findByLongValue

public void findByLongValue()
                     throws NoSuchItemException
Throws:
NoSuchItemException

findSimpleObject

public void findSimpleObject()
                      throws NoSuchItemException
Throws:
NoSuchItemException

countSomeObjects

public void countSomeObjects()

countSomeObjectsUsingAnnotation

public void countSomeObjectsUsingAnnotation()

countSomeObjectsUsingAnnotationGreaterThanEquals

public void countSomeObjectsUsingAnnotationGreaterThanEquals()

countSomeObjectsUsingDslStyleGreaterThanEquals

public void countSomeObjectsUsingDslStyleGreaterThanEquals()

countSomeObjectsUsingAnnotationLessThanEquals

public void countSomeObjectsUsingAnnotationLessThanEquals()

countSomeObjectsUsingDslStyleLessThanEquals

public void countSomeObjectsUsingDslStyleLessThanEquals()

countAll

public void countAll()

sumIntValues

public void sumIntValues()

averageIntValues

public void averageIntValues()

minIntValue

public void minIntValue()

maxIntValue

public void maxIntValue()

countDistinctIntValue

public void countDistinctIntValue()

findSomeObjects

public void findSomeObjects()

findAndSort

public void findAndSort()

findAndSortReturnIterable

public void findAndSortReturnIterable()

countRelatedItems

public void countRelatedItems()

limit

public void limit()

limitAndSkip

public void limitAndSkip()

limitAndSkipDSL

public void limitAndSkipDSL()

createData

protected void createData()

createExtraData

protected void createExtraData()


Copyright © 2012. All Rights Reserved.