|
|||||||||
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.eigenbase.test.DiffTestCase
net.sf.farrago.test.ResultSetTestCase
net.sf.farrago.test.FarragoTestCase
net.sf.farrago.test.FennelDmlTest
public class FennelDmlTest
FennelDmlTest tests execution of Farrago DML statements over data stored in Fennel (including both temporary and permanent tables).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.farrago.test.FarragoTestCase |
---|
FarragoTestCase.Cleanup, FarragoTestCase.CleanupFactory |
Field Summary |
---|
Fields inherited from class net.sf.farrago.test.FarragoTestCase |
---|
allocOwner, connection, preparedStmt, repos, stmt, tracer |
Fields inherited from class net.sf.farrago.test.ResultSetTestCase |
---|
resultSet |
Fields inherited from class org.eigenbase.test.DiffTestCase |
---|
logFile, logOutputStream, refFile |
Constructor Summary | |
---|---|
FennelDmlTest(String testName)
Creates a new FennelDmlTest object. |
Method Summary | |
---|---|
protected void |
setUp()
|
static Test |
suite()
|
void |
testCheckpoint()
Tests explicit checkpoint (results are not verifiable so just test that the statement is accepted). |
void |
testDelete()
Tests DELETE. |
void |
testDeleteNothing()
|
void |
testDeleteWithFilter()
Tests DELETE ... |
void |
testInsert()
Tests INSERT ... |
void |
testInsertColumnList()
Tests INSERT ... |
void |
testInsertImplicitDefault()
Tests INSERT with an implied DEFAULT value. |
void |
testInsertMultiRow()
Tests INSERT ... |
void |
testInsertPrepared()
Tests INSERT ... |
void |
testInsertSingleRow()
Tests INSERT ... |
void |
testInsertWithFilter()
Tests INSERT ... |
void |
testPrimaryUpdate()
Tests UPDATE which can be performed without updating any secondary indexes. |
void |
testSavepoints()
Tests savepoint API. |
void |
testSecondaryUpdate()
Tests UPDATE to a column covered by a secondary index. |
void |
testSelfInsert()
Tests INSERT where source and target are the same table. |
Methods inherited from class net.sf.farrago.test.FarragoTestCase |
---|
forceShutdown, getJdbcUri, getSession, getTestlogRoot, getTestlogRootStatic, newConnection, newJdbcEngineDriver, restoreParameters, restoreParameters, runCleanup, runSqlLineTest, runSqlLineTest, saveParameters, saveParameters, setRefFileDiffMasks, shouldDiff, staticSetUp, staticTearDown, tearDown, tearDownImpl, wrappedSuite, wrappedSuite |
Methods inherited from class net.sf.farrago.test.ResultSetTestCase |
---|
compareResultList, compareResultLists, compareResultSet, compareResultSetWithDelta, compareResultSetWithPattern, getResultSetCount |
Methods inherited from class org.eigenbase.test.DiffTestCase |
---|
addDiffMask, addIgnorePattern, diffFile, diffLines, diffTestLog, fileContents, openTestLog, openTestLogOutputStream, setGC, setVerbose |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FennelDmlTest(String testName) throws Exception
testName
- .
Exception
- .Method Detail |
---|
public static Test suite()
public void testInsert() throws Exception
Exception
- .public void testInsertSingleRow() throws Exception
Exception
- .public void testInsertColumnList() throws Exception
Exception
- .public void testInsertMultiRow() throws Exception
Exception
- .public void testInsertImplicitDefault() throws Exception
Exception
- .public void testInsertWithFilter() throws Exception
Exception
- .public void testSelfInsert() throws Exception
Exception
- .public void testInsertPrepared() throws Exception
Exception
- .public void testDelete() throws Exception
Exception
- .public void testDeleteNothing() throws Exception
Exception
public void testDeleteWithFilter() throws Exception
Exception
- .public void testPrimaryUpdate() throws Exception
Exception
- .public void testSecondaryUpdate() throws Exception
Exception
- .public void testCheckpoint() throws Exception
Exception
- .public void testSavepoints() throws Exception
Exception
- .protected void setUp() throws Exception
setUp
in class FarragoTestCase
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |