public class AdvDataSourceTest extends RhnBaseTestCase
Constructor and Description |
---|
AdvDataSourceTest(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp()
Called once per test method.
|
protected void |
tearDown()
Tears down the fixture, and closes the HibernateSession.
|
void |
testCollectionCreate() |
void |
testDate()
Test for ModeFactory.getMode methods
|
void |
testDelete() |
void |
testFoo() |
void |
testGetCallable() |
void |
testInClause() |
void |
testInsert() |
void |
testMaxRows() |
void |
testMaxRowsWithElaboration() |
void |
testModes()
Test for ModeFactory.getMode methods
|
void |
testSelectInWithParams() |
void |
testStoredProcedureJDBC() |
void |
testStoredProcedureOracle() |
void |
testStressedElaboration() |
void |
testUpdate() |
void |
testUpdateMultiple()
This test makes sure we can call "execute" multiple times
and re-use the existing internal transaction within the CommitableMode
|
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload
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
public void testDate()
public void testMaxRows()
public void testModes()
public void testInsert() throws java.lang.Exception
java.lang.Exception
public void testDelete() throws java.lang.Exception
java.lang.Exception
public void testUpdate() throws java.lang.Exception
java.lang.Exception
public void testUpdateMultiple() throws java.lang.Exception
java.lang.Exception
- something bad happenedpublic void testGetCallable() throws java.lang.Exception
java.lang.Exception
public void testCollectionCreate()
public void testStoredProcedureJDBC() throws java.lang.Exception
java.lang.Exception
public void testStoredProcedureOracle() throws java.lang.Exception
java.lang.Exception
public void testInClause()
public void testStressedElaboration() throws java.lang.Exception
java.lang.Exception
public void testMaxRowsWithElaboration() throws java.lang.Exception
java.lang.Exception
public void testSelectInWithParams() throws java.lang.Exception
java.lang.Exception
protected void setUp() throws java.lang.Exception
RhnBaseTestCase
setUp
in class RhnBaseTestCase
java.lang.Exception
- if an error occurs during setup.protected void tearDown() throws java.lang.Exception
RhnBaseTestCase
tearDown
in class RhnBaseTestCase
java.lang.Exception
TestCase.tearDown()
,
HibernateFactory.closeSession()
public void testFoo()