public class DatabaseTestHelper
extends junit.framework.Assert
| Constructor and Description |
|---|
DatabaseTestHelper() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, failNotEquals, failNotSame, failSame, formatpublic 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 platformCopyright © 2005-2013 Apache Software Foundation. All Rights Reserved.