|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.arch4j.dataaccess.DatabaseManagerTest
This test assumes that the database contains a table named TST_FOO exists with the following structure:
Column Type ------ ---- TST_DATE DATE TST_TEXT VARCHAR2(30) TST_INTEGER NUMBER(10) TST_FLOAT NUMBER(20,6)
Field Summary | |
String |
domain
|
Constructor Summary | |
DatabaseManagerTest(String name)
|
Method Summary | |
void |
setUp()
|
protected void |
setUpData()
|
static junit.framework.Test |
suite()
|
void |
testDelete()
|
void |
testExecute()
|
void |
testExecuteProperty()
|
void |
testInsert()
|
void |
testInsertWithNull()
|
void |
testSelectNoParameters()
|
void |
testSelectNoParametersUsingQueryObject()
|
void |
testSelectWithParameters()
|
void |
testUpdate()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public String domain
Constructor Detail |
public DatabaseManagerTest(String name)
Method Detail |
public void setUp()
setUp
in class junit.framework.TestCase
public static junit.framework.Test suite()
public void testSelectNoParametersUsingQueryObject()
public void testSelectNoParameters()
public void testSelectWithParameters()
public void testInsert()
public void testInsertWithNull()
public void testUpdate()
public void testDelete()
public void testExecute()
public void testExecuteProperty()
protected void setUpData()
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |