public class TopiaDAOTest extends Object
TopiaDAO.
Last update : $Date: 2014-04-03 19:43:45 +0200 (Thu, 03 Apr 2014) $
By : $Author: athimel $| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.topia.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 org.nuiton.topia.TopiaContext context
protected PersonDAO dao
public void setup()
throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionpublic void testCreateAndFindInTransaction()
throws Exception
Exception - if any exception while testpublic void findAllLazyByQuery()
throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionpublic void iterateOnTopiaDAO()
throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionprotected void createPersons(int number)
throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionCopyright © 2004–2014 CodeLutin. All rights reserved.