public class TopiaDAOTest extends Object
TopiaDAO.
Last update : $Date$
By : $Author$| Modifier and Type | Field and Description |
|---|---|
protected TopiaContext |
context |
protected PersonDAO |
dao |
TopiaDatabase |
db |
| Constructor and Description |
|---|
TopiaDAOTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Person |
createPerson(String name) |
protected void |
createPersons(int number) |
void |
findAllLazyByQuery() |
void |
iterateOnTopiaDAO() |
void |
setup() |
void |
testCreateAndFindInTransaction()
Test de creer une entité et de verifier qu'elle est
présente dans la persistence au sein de la transaction.
|
public final TopiaDatabase db
protected TopiaContext context
protected PersonDAO dao
public void setup()
throws TopiaException
TopiaExceptionpublic void testCreateAndFindInTransaction()
throws Exception
Exception - if any exception while testpublic void findAllLazyByQuery()
throws TopiaException
TopiaExceptionpublic void iterateOnTopiaDAO()
throws TopiaException
TopiaExceptionprotected void createPersons(int number)
throws TopiaException
TopiaExceptionCopyright © 2004–2015 CodeLutin. All rights reserved.