|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.dbunit.DatabaseTestCase
org.dbunit.DBTestCase
org.dbunit.JndiBasedDBTestCase
com.silverpeas.components.model.AbstractTestDao
org.silverpeas.jdbc.JdbcSqlQueryTest
public class JdbcSqlQueryTest
| Field Summary |
|---|
| Fields inherited from class com.silverpeas.components.model.AbstractTestDao |
|---|
datasource |
| Constructor Summary | |
|---|---|
JdbcSqlQueryTest()
|
|
| Method Summary | |
|---|---|
protected String |
getDatasetFileName()
|
protected String |
getTableCreationFileName()
|
void |
setUp()
|
void |
tearDown()
|
void |
testCreateRowUsingAppendSaveParameter()
|
void |
testCreateTableB()
|
void |
testDeleteRows()
|
void |
testDropTableA()
|
void |
testSelectAll()
|
void |
testSelectAllButUsingUnique()
|
void |
testSelectCountVerifications()
|
void |
testSelectOneParameter()
|
void |
testSelectUsingAppendListOfParameters()
|
void |
testSelectUsingOneAppendParameter()
|
void |
testSelectUsingTwoAppendParametersAndAppendListOfParameters()
|
void |
testUpdateTwoRowsFromThreeUpdatesUsingAppendSaveParameter()
|
| Methods inherited from class com.silverpeas.components.model.AbstractTestDao |
|---|
cleanData, configureJNDIDatasource, getDataSet, getLookupName, getTableCreationScript, getTearDownOperation, prepareData, setUpClass, tearDownClass |
| Methods inherited from class org.dbunit.JndiBasedDBTestCase |
|---|
getJNDIProperties, newDatabaseTester |
| Methods inherited from class org.dbunit.DBTestCase |
|---|
getConnection |
| Methods inherited from class org.dbunit.DatabaseTestCase |
|---|
closeConnection, getDatabaseTester, getOperationListener, getSetUpOperation, setUpDatabaseConfig |
| Methods inherited from class junit.framework.TestCase |
|---|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcSqlQueryTest()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class AbstractTestDaoException
public void tearDown()
throws Exception
tearDown in class AbstractTestDaoExceptionprotected String getDatasetFileName()
getDatasetFileName in class AbstractTestDaoprotected String getTableCreationFileName()
getTableCreationFileName in class AbstractTestDao
public void testSelectCountVerifications()
throws SQLException
SQLException
public void testSelectAll()
throws SQLException
SQLException
public void testSelectAllButUsingUnique()
throws SQLException
SQLException
public void testSelectOneParameter()
throws SQLException
SQLException
public void testSelectUsingOneAppendParameter()
throws SQLException
SQLException
public void testSelectUsingTwoAppendParametersAndAppendListOfParameters()
throws SQLException
SQLException
public void testSelectUsingAppendListOfParameters()
throws SQLException
SQLException
public void testCreateRowUsingAppendSaveParameter()
throws SQLException
SQLException
public void testUpdateTwoRowsFromThreeUpdatesUsingAppendSaveParameter()
throws SQLException
SQLException
public void testDeleteRows()
throws SQLException
SQLException
public void testDropTableA()
throws SQLException
SQLException
public void testCreateTableB()
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||