|
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.DataAccessProviderTest
This test assumes that the dataaccess.properties file exists with the following contents:
junit1.driver=oracle.jdbc.driver.OracleDriver junit1.url=jdbc:oracle:thin:@vail:1521:spiderdb junit1.username=rbrown junit1.password=rbrown junit2.driver=oracle.jdbc.driver.OracleDriver junit2.url=jdbc:oracle:thin:@vail:1521:spiderdb junit3.driver=oracle.jdbc.driver.OracleDriver
Constructor Summary | |
DataAccessProviderTest(String name)
|
Method Summary | |
protected void |
setUpData(DatabaseManager broker)
|
void |
testBadLogicalName()
|
void |
testSuccessful()
|
void |
testSuccessUserPass()
|
void |
testValidDriverBadURL()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
Constructor Detail |
public DataAccessProviderTest(String name)
Method Detail |
public void testSuccessful()
public void testSuccessUserPass()
public void testBadLogicalName()
public void testValidDriverBadURL()
protected void setUpData(DatabaseManager broker) throws SQLException
SQLException
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |