Arch4J 1.1

org.arch4j.dataaccess
Class DatabaseManagerTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.arch4j.dataaccess.DatabaseManagerTest
All Implemented Interfaces:
junit.framework.Test

public class DatabaseManagerTest
extends junit.framework.TestCase

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

domain

public String domain
Constructor Detail

DatabaseManagerTest

public DatabaseManagerTest(String name)
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

suite

public static junit.framework.Test suite()

testSelectNoParametersUsingQueryObject

public void testSelectNoParametersUsingQueryObject()

testSelectNoParameters

public void testSelectNoParameters()

testSelectWithParameters

public void testSelectWithParameters()

testInsert

public void testInsert()

testInsertWithNull

public void testInsertWithNull()

testUpdate

public void testUpdate()

testDelete

public void testDelete()

testExecute

public void testExecute()

testExecuteProperty

public void testExecuteProperty()

setUpData

protected void setUpData()

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.