|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
org.apache.ddlutils.util.DatabaseTestHelper
Class that provides utility stuff for cpmaring data in databases.
Constructor Summary | |
DatabaseTestHelper()
|
Method Summary | |
void |
assertHasSameData(Database model,
Platform origDbPlatform,
Platform testedDbPlatform)
Asserts that the data in the tables described by the given model is the same in the database accessed by the second platform as is in the database accessed by the first platform. |
void |
assertHasSameData(String failureMsg,
Database model,
Platform origDbPlatform,
Platform testedDbPlatform)
Asserts that the data in the tables described by the given model is the same in the database accessed by the second platform as is in the database accessed by the first platform. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DatabaseTestHelper()
Method Detail |
public void assertHasSameData(Database model, Platform origDbPlatform, Platform testedDbPlatform)
model
- The database model to checkorigDbPlatform
- The first platformtestedDbPlatform
- The second platformpublic void assertHasSameData(String failureMsg, Database model, Platform origDbPlatform, Platform testedDbPlatform)
failureMsg
- The failure message to issue if the data is not the samemodel
- The database model to checkorigDbPlatform
- The first platformtestedDbPlatform
- The second platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |