Package com.avoka.fc.core.test
Class BaseH2TestCase
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- com.avoka.fc.core.test.CayenneTestCase
-
- com.avoka.fc.core.test.H2TestCase
-
- com.avoka.fc.core.test.BaseH2TestCase
-
- All Implemented Interfaces:
junit.framework.Test
@Deprecated public class BaseH2TestCase extends H2TestCase
Deprecated.please useH2Test
Provides a base H2 in memory unit test case.- Since:
- 4.3.4
-
-
Constructor Summary
Constructors Constructor Description BaseH2TestCase()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
assertDateEquals(Date expected, Date actual)
Deprecated.Assert the dates are equal ignoring any time differences.protected String[]
getDataSourceJndiNames()
Deprecated.protected String
getDataSourcePassword()
Deprecated.protected String
getDataSourceUrl()
Deprecated.protected String
getDataSourceUser()
Deprecated.protected void
loadTestData()
Deprecated.-
Methods inherited from class com.avoka.fc.core.test.H2TestCase
initDatabaseSchema, setUp, setupDataSource, tearDown
-
Methods inherited from class com.avoka.fc.core.test.CayenneTestCase
getDataContext
-
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
-
-
-
-
Method Detail
-
assertDateEquals
public void assertDateEquals(Date expected, Date actual)
Deprecated.Assert the dates are equal ignoring any time differences.- Overrides:
assertDateEquals
in classCayenneTestCase
- Parameters:
expected
- the expected dateactual
- the actual date
-
loadTestData
protected void loadTestData() throws Exception
Deprecated.- Specified by:
loadTestData
in classH2TestCase
- Throws:
Exception
-
getDataSourceUrl
protected String getDataSourceUrl()
Deprecated.- Specified by:
getDataSourceUrl
in classH2TestCase
-
getDataSourceUser
protected String getDataSourceUser()
Deprecated.- Specified by:
getDataSourceUser
in classH2TestCase
-
getDataSourcePassword
protected String getDataSourcePassword()
Deprecated.- Specified by:
getDataSourcePassword
in classH2TestCase
-
getDataSourceJndiNames
protected String[] getDataSourceJndiNames()
Deprecated.- Specified by:
getDataSourceJndiNames
in classH2TestCase
-
-