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.
Provides a base H2 in memory unit test case.
- Since:
- 4.3.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertDateEquals
(Date expected, Date actual) Deprecated.Assert the dates are equal ignoring any time differences.protected String[]
Deprecated.protected String
Deprecated.protected String
Deprecated.protected String
Deprecated.protected void
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
-
Constructor Details
-
BaseH2TestCase
public BaseH2TestCase()Deprecated.
-
-
Method Details
-
assertDateEquals
Deprecated.Assert the dates are equal ignoring any time differences.- Overrides:
assertDateEquals
in classCayenneTestCase
- Parameters:
expected
- the expected dateactual
- the actual date
-
loadTestData
Deprecated.- Specified by:
loadTestData
in classH2TestCase
- Throws:
Exception
-
getDataSourceUrl
Deprecated.- Specified by:
getDataSourceUrl
in classH2TestCase
-
getDataSourceUser
Deprecated.- Specified by:
getDataSourceUser
in classH2TestCase
-
getDataSourcePassword
Deprecated.- Specified by:
getDataSourcePassword
in classH2TestCase
-
getDataSourceJndiNames
Deprecated.- Specified by:
getDataSourceJndiNames
in classH2TestCase
-
H2Test