org.nuiton.topia.persistence
Class TopiaContextFindTest

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaContextFindTest

public class TopiaContextFindTest
extends Object

Tests the TopiaContext#find|findAll|findUnique methods

Author:
Arnaud Thimel

Field Summary
protected  Address address
           
protected  AddressDAO addressDAO
           
protected  org.nuiton.topia.TopiaContext context
           
 TopiaDatabase db
           
protected  PersonneDAO personneDAO
           
 
Constructor Summary
TopiaContextFindTest()
           
 
Method Summary
 void createCompanies()
           
 void testFind()
           
 void testFindAll()
           
 void testFindDAO()
           
 void testFindUnique()
           
 void testFindUniqueOutOfBounds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

public final TopiaDatabase db

context

protected org.nuiton.topia.TopiaContext context

addressDAO

protected AddressDAO addressDAO

personneDAO

protected PersonneDAO personneDAO

address

protected Address address
Constructor Detail

TopiaContextFindTest

public TopiaContextFindTest()
Method Detail

createCompanies

public void createCompanies()
                     throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

testFindDAO

public void testFindDAO()
                 throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

testFindAll

public void testFindAll()
                 throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

testFind

public void testFind()
              throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

testFindUnique

public void testFindUnique()
                    throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

testFindUniqueOutOfBounds

public void testFindUniqueOutOfBounds()
                               throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException


Copyright © 2004-2012 CodeLutin. All Rights Reserved.