public class NamedPreparedStatementTest extends RhnBaseTestCase
Constructor and Description |
---|
NamedPreparedStatementTest() |
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 |
testColonInQuotes() |
void |
testCreateSQL() |
void |
testNotFoundBindParam() |
void |
testPrepare() |
void |
testTwoBindPrepare() |
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
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 testColonInQuotes() throws java.lang.Exception
java.lang.Exception
public void testCreateSQL() throws java.lang.Exception
java.lang.Exception
public void testPrepare() throws java.lang.Exception
java.lang.Exception
public void testTwoBindPrepare() throws java.lang.Exception
java.lang.Exception
public void testNotFoundBindParam() throws java.lang.Exception
java.lang.Exception