Uses of Interface
org.dbunit.dataset.ITable
Packages that use ITable
Package
Description
-
Uses of ITable in org.dbunit
Methods in org.dbunit that return ITableModifier and TypeMethodDescriptionDefaultPrepAndExpectedTestCase.applyColumnFilters(ITable table, String[] excludeColumns, String[] includeColumns) Apply the specified exclude and include column filters to the specified table.DefaultPrepAndExpectedTestCase.loadTableDataFromDatabase(String tableName, IDatabaseConnection connection) DefaultPrepAndExpectedTestCase.loadTableDataFromDataSet(String tableName) Methods in org.dbunit with parameters of type ITableModifier and TypeMethodDescriptionDefaultPrepAndExpectedTestCase.applyColumnFilters(ITable table, String[] excludeColumns, String[] includeColumns) Apply the specified exclude and include column filters to the specified table.static voidAssertion.assertEquals(ITable expectedTable, ITable actualTable) static voidAssertion.assertEquals(ITable expectedTable, ITable actualTable, FailureHandler failureHandler) static voidAssertion.assertEquals(ITable expectedTable, ITable actualTable, Column[] additionalColumnInfo) static voidAssertion.assertEqualsByQuery(ITable expectedTable, IDatabaseConnection connection, String tableName, String sqlQuery, String[] ignoreCols) static voidAssertion.assertEqualsIgnoreCols(ITable expectedTable, ITable actualTable, String[] ignoreCols) static voidAssertion.assertWithValueComparer(ITable expectedTable, ITable actualTable, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) static voidAssertion.assertWithValueComparer(ITable expectedTable, ITable actualTable, FailureHandler failureHandler, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) static voidAssertion.assertWithValueComparer(ITable expectedTable, ITable actualTable, Column[] additionalColumnInfo, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) protected voidDefaultPrepAndExpectedTestCase.compareData(ITable expectedTable, ITable actualTable, Column[] additionalColumnInfo, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) Compare the tables, enables easy overriding.protected Column[]DefaultPrepAndExpectedTestCase.makeAdditionalColumnInfo(ITable expectedTable, String[] excludeColumns) Don't add excluded columns to additionalColumnInfo as they are not found and generate a not found message in the fail message.protected voidDefaultPrepAndExpectedTestCase.verifyData(ITable expectedTable, ITable actualTable, String[] excludeColumns, String[] includeColumns, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) For the specified expected and actual tables (and excluding and including the specified columns), verify the actual data is as expected. -
Uses of ITable in org.dbunit.assertion
Methods in org.dbunit.assertion that return ITableMethods in org.dbunit.assertion with parameters of type ITableModifier and TypeMethodDescriptionvoidDbUnitAssert.assertEquals(ITable expectedTable, ITable actualTable) Asserts that the two specified tables are equals.voidDbUnitAssert.assertEquals(ITable expectedTable, ITable actualTable, FailureHandler failureHandler) Asserts that the two specified tables are equals.voidDbUnitAssert.assertEquals(ITable expectedTable, ITable actualTable, Column[] additionalColumnInfo) Asserts that the two specified tables are equals.voidDbUnitAssert.assertEqualsByQuery(ITable expectedTable, IDatabaseConnection connection, String tableName, String sqlQuery, String[] ignoreCols) Compare a table with a table generated from an sql query.voidDbUnitAssert.assertEqualsIgnoreCols(ITable expectedTable, ITable actualTable, String[] ignoreCols) Compare the given tables ignoring specified columns.voidDbUnitAssertBase.assertWithValueComparer(ITable expectedTable, ITable actualTable, FailureHandler failureHandler, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) Asserts the two specifiedITables comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the specified failureHandler.voidDbUnitValueComparerAssert.assertWithValueComparer(ITable expectedTable, ITable actualTable) Asserts the two specifiedITables comparing their columns using the defaultValueComparerand handles failures using the defaultFailureHandler.voidDbUnitValueComparerAssert.assertWithValueComparer(ITable expectedTable, ITable actualTable, ValueComparer defaultValueComparer) Asserts the two specifiedITables comparing their columns using the specified defaultValueComparer and handles failures using the defaultFailureHandler.voidDbUnitValueComparerAssert.assertWithValueComparer(ITable expectedTable, ITable actualTable, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) Asserts the two specifiedITables comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the defaultFailureHandler.voidDbUnitValueComparerAssert.assertWithValueComparer(ITable expectedTable, ITable actualTable, Column[] additionalColumnInfo, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) Asserts the two specifiedITables comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the defaultFailureHandler, using additionalColumnInfo, if specified.protected voidDbUnitAssertBase.compareData(ITable expectedTable, ITable actualTable, DbUnitAssert.ComparisonColumn[] comparisonCols, FailureHandler failureHandler) protected voidDbUnitAssertBase.compareData(ITable expectedTable, ITable actualTable, DbUnitAssert.ComparisonColumn[] comparisonCols, FailureHandler failureHandler, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers) protected voidDbUnitAssertBase.compareData(ITable expectedTable, ITable actualTable, DbUnitAssert.ComparisonColumn[] comparisonCols, FailureHandler failureHandler, ValueComparer defaultValueComparer, Map<String, ValueComparer> columnValueComparers, int rowNum, int columnNum) protected booleanDbUnitAssertBase.compareRowCounts(ITable expectedTable, ITable actualTable, FailureHandler failureHandler, String expectedTableName) protected voidDbUnitAssertBase.failIfNecessary(ITable expectedTable, ITable actualTable, FailureHandler failureHandler, int rowNum, String columnName, Object expectedValue, Object actualValue, String failMessage) DefaultFailureHandler.getAdditionalInfo(ITable expectedTable, ITable actualTable, int row, String columnName) FailureHandler.getAdditionalInfo(ITable expectedTable, ITable actualTable, int row, String columnName) Returns a string to be appended to the assertion failure message.protected ObjectDefaultFailureHandler.getColumnValue(ITable table, int rowIndex, String columnName) Constructors in org.dbunit.assertion with parameters of type ITableModifierConstructorDescriptionDifference(ITable expectedTable, ITable actualTable, int rowIndex, String columnName, Object expectedValue, Object actualValue) Difference(ITable expectedTable, ITable actualTable, int rowIndex, String columnName, Object expectedValue, Object actualValue, String failMessage) -
Uses of ITable in org.dbunit.assertion.comparer.value
Methods in org.dbunit.assertion.comparer.value with parameters of type ITableModifier and TypeMethodDescriptionValueComparer.compare(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) Compare expected and actual values.ValueComparerBase.compare(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) Compare expected and actual values.ConditionalSelectorMultiValueComparer.doCompare(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) ConditionalSetBiValueComparer.doCompare(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected abstract StringValueComparerBase.doCompare(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) Do the comparison and return a fail message or null if comparison passes.protected StringValueComparerTemplateBase.doCompare(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) Do the comparison and return a fail message or null if comparison passes.protected booleanConditionalSetBiValueComparer.isActualValueInValues(ITable actualTable, int rowNum) protected booleanIsActualContainingExpectedStringValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualEqualToExpectedValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualEqualToExpectedWithEmptyFailMessageValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualGreaterThanExpectedValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualGreaterThanOrEqualToExpectedValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualLessThanExpectedValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualLessThanOrEqualToExpectedValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualNotEqualToExpectedValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualNotNullValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualNullValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanIsActualWithinToleranceOfExpectedTimestampValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanNeverFailsValueComparer.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected booleanTimestampIgnoreMillisValueComparerBase.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) protected abstract booleanValueComparerTemplateBase.isExpected(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue) Make the instance from the row in the table.ValueComparerSelector.select(ITable expectedTable, ITable actualTable, int rowNum, String columnName, DataType dataType, Object expectedValue, Object actualValue, Map<Object, ValueComparer> valueComparers) -
Uses of ITable in org.dbunit.database
Subinterfaces of ITable in org.dbunit.databaseClasses in org.dbunit.database that implement ITableModifier and TypeClassDescriptionclassclassclassclassThis class is a wrapper for another table with the condition that only a subset of the original table will be available - the subset is defined by the set of primary keys that are allowed in the new table.classMethods in org.dbunit.database that return ITableModifier and TypeMethodDescriptionAbstractDatabaseConnection.createQueryTable(String resultName, String sql) IDatabaseConnection.createQueryTable(String tableName, String sql) Creates a table with the result of the specified SQL statement.AbstractDatabaseConnection.createTable(String tableName) AbstractDatabaseConnection.createTable(String resultName, PreparedStatement preparedStatement) IDatabaseConnection.createTable(String tableName) Creates a table with the result of aselect * from tableNameSQL statement.IDatabaseConnection.createTable(String tableName, PreparedStatement preparedStatement) Creates a table using the given PreparedStatement to retrieve a ResultSet.DatabaseTableIterator.getTable()QueryTableIterator.getTable()Returns the current table.Constructors in org.dbunit.database with parameters of type ITableModifierConstructorDescriptionPrimaryKeyFilteredTableWrapper(ITable table, Set allowedPKs) Creates a PKFilteredTable given an original table and the allowed primary keys for that table. -
Uses of ITable in org.dbunit.dataset
Classes in org.dbunit.dataset that implement ITableModifier and TypeClassDescriptionclassclassclassDeprecated.All IDataSet implementations are case insensitive since DbUnit 1.5classA table that filters some columns out from the original table.classclassDefault table implementation backed by a simple java in-memory list.classclassDecorator that replaces configured values from the decorated table with replacement values.classFilters table rows by using arbitrary column values of the table to check if a row should be filtered or not.classThis is a ITable decorator that provide a sorted view of the decorated table.Methods in org.dbunit.dataset that return ITableModifier and TypeMethodDescriptionDeprecated.DefaultTableIterator.getTable()Returns the specified table.ITableIterator.getTable()Returns the current table.ITable[]AbstractDataSet.getTables()static ITable[]Search and returns the specified tables from the specified dataSet.static ITable[]Returns the tables from the specified dataset.static ITable[]DataSetUtils.getTables(ITableIterator iterator) Returns the tables from the specified iterator.ITable[]IDataSet.getTables()Deprecated.UseIDataSet.iterator()orIDataSet.reverseIterator()instead.Methods in org.dbunit.dataset with parameters of type ITableModifier and TypeMethodDescriptionvoidAdd a new table in this dataset.voidDefaultTable.addTableRows(ITable table) Inserts all rows from the specified table.static voidDataSetUtils.assertEquals(ITable expectedTable, ITable actualTable) Deprecated.Use Assertion.assertEqualsConstructors in org.dbunit.dataset with parameters of type ITableModifierConstructorDescriptionAbstractRowComparator(ITable table, Column[] sortColumns) CachedTable(ITable table) CaseInsensitiveTable(ITable table) Deprecated.ColumnFilterTable(ITable table, IColumnFilter columnFilter) CompositeDataSet(ITable[] tables) Creates a composite dataset that combines tables having identical name.CompositeDataSet(ITable[] tables, boolean caseSensitiveTableNames) Creates a composite dataset that combines tables having identical name.CompositeTable(String newName, ITable table) Creates a composite dataset that encapsulate the specified table with a new name.CompositeTable(ITableMetaData metaData, ITable table) Creates a composite table that combines the specified metadata with the specified table.CompositeTable(ITableMetaData metaData, ITable[] tables) Creates a composite table that combines the specified metadata with the specified tables.CompositeTable(ITable table1, ITable table2) Creates a composite table that combines the specified specified tables.DefaultDataSet(ITable table) DefaultDataSet(ITable[] tables) DefaultDataSet(ITable[] tables, boolean caseSensitiveTableNames) Creates a default dataset which consists of the given tablesDefaultDataSet(ITable table1, ITable table2) DefaultTableIterator(ITable[] tables) DefaultTableIterator(ITable[] tables, boolean reversed) ForwardOnlyTable(ITable table) LowerCaseDataSet(ITable table) LowerCaseDataSet(ITable[] tables) ReplacementTable(ITable table) Create a new ReplacementTable object that decorates the specified table.ReplacementTable(ITable table, Map objectMap, Map substringMap, String startDelimiter, String endDelimiter) RowComparator(ITable table, Column[] sortColumns) RowComparatorByString(ITable table, Column[] sortColumns) RowFilterTable(ITable table, IRowFilter rowFilter) Creates a newITablewhere some rows can be filtered out from the original tableSortedTable(ITable table) Sort the decorated table by its own columns order which is defined bygetTableMetaData().SortedTable(ITable table, String[] columnNames) Sort the decorated table by specified columns order.SortedTable(ITable table, Column[] columns) Sort the decorated table by specified columns order.SortedTable(ITable table, Column[] columns, boolean useSpecifiedColumns) Sort the decorated table by specified columns order.SortedTable(ITable table, ITableMetaData metaData) Sort the decorated table by specified metadata columns order. -
Uses of ITable in org.dbunit.dataset.filter
Methods in org.dbunit.dataset.filter that return ITableModifier and TypeMethodDescriptionstatic ITableDefaultColumnFilter.excludedColumnsTable(ITable table, String[] columnNames) Returns a table backed by the specified table but with specified columns excluded.static ITableDefaultColumnFilter.excludedColumnsTable(ITable table, Column[] columns) Returns a table backed by the specified table but with specified columns excluded.SequenceTableIterator.getTable()static ITableDefaultColumnFilter.includedColumnsTable(ITable table, String[] columnNames) Returns a table backed by the specified table that only exposes specified columns.static ITableDefaultColumnFilter.includedColumnsTable(ITable table, Column[] columns) Returns a table backed by the specified table that only exposes specified columns.Methods in org.dbunit.dataset.filter with parameters of type ITableModifier and TypeMethodDescriptionstatic ITableDefaultColumnFilter.excludedColumnsTable(ITable table, String[] columnNames) Returns a table backed by the specified table but with specified columns excluded.static ITableDefaultColumnFilter.excludedColumnsTable(ITable table, Column[] columns) Returns a table backed by the specified table but with specified columns excluded.static ITableDefaultColumnFilter.includedColumnsTable(ITable table, String[] columnNames) Returns a table backed by the specified table that only exposes specified columns.static ITableDefaultColumnFilter.includedColumnsTable(ITable table, Column[] columns) Returns a table backed by the specified table that only exposes specified columns. -
Uses of ITable in org.dbunit.dataset.stream
Methods in org.dbunit.dataset.stream that return ITable -
Uses of ITable in org.dbunit.dataset.xml
Methods in org.dbunit.dataset.xml that return ITable -
Uses of ITable in org.dbunit.operation
Methods in org.dbunit.operation with parameters of type ITableModifier and TypeMethodDescriptionprotected booleanInsertOperation.equalsIgnoreMapping(BitSet ignoreMapping, ITable table, int row) protected BitSetInsertOperation.getIgnoreMapping(ITable table, int row) -
Uses of ITable in org.dbunit.util
Methods in org.dbunit.util with parameters of type ITable