Package org.dbunit.dataset
Class AbstractTest
java.lang.Object
org.dbunit.dataset.AbstractTest
- Direct Known Subclasses:
AbstractDataSetTest,AbstractTableFilterTest,AbstractTableIteratorTest
- Since:
- Apr 6, 2003
- Version:
- $Revision$
- Author:
- Manuel Laflamme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertContains(String message, Object[] expected, Object[] actual) voidassertContainsIgnoreCase(String message, String[] expected, String[] actual) voidassertEqualsIgnoreCase(String message, String expected, String actual) protected StringconvertString(String str) Returns the string converted as an identifier according to the metadata rules of the database environment.protected Stringprotected String[]protected String[]protected String[]
-
Constructor Details
-
AbstractTest
public AbstractTest()
-
-
Method Details
-
convertString
Returns the string converted as an identifier according to the metadata rules of the database environment. Most databases convert all metadata identifiers to uppercase. PostgreSQL converts identifiers to lowercase. MySQL preserves case.- Parameters:
str- The identifier.- Returns:
- The identifier converted according to database rules.
- Throws:
Exception
-
getExpectedNames
- Throws:
Exception
-
getExpectedLowerNames
- Throws:
Exception
-
getExpectedDuplicateNames
-
getDuplicateTableName
-
getExtraTableName
-
assertEqualsIgnoreCase
-
assertContains
-
assertContainsIgnoreCase
-