|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MockResultSet | |
---|---|
com.mockrunner.jdbc | |
com.mockrunner.mock.jdbc |
Uses of MockResultSet in com.mockrunner.jdbc |
---|
Methods in com.mockrunner.jdbc that return MockResultSet | |
---|---|
MockResultSet |
ArrayResultSetFactory.create(java.lang.String id)
Returns a MockResultSet with the given ID, containing
values based on the elements given at construction. |
MockResultSet |
FileResultSetFactory.create(java.lang.String id)
|
MockResultSet |
ResultSetFactory.create(java.lang.String id)
|
MockResultSet |
XMLResultSetFactory.create(java.lang.String id)
Makes and returns a MockResultSet created from an existing and valid XML Document . |
MockResultSet |
AbstractResultSetHandler.createResultSet()
Creates a new ResultSet with a
random id. |
MockResultSet |
AbstractResultSetHandler.createResultSet(ResultSetFactory factory)
Returns a new ResultSet created by the specified factory. |
MockResultSet |
AbstractResultSetHandler.createResultSet(java.lang.String id)
Creates a new ResultSet with the specified id. |
MockResultSet |
AbstractResultSetHandler.createResultSet(java.lang.String id,
ResultSetFactory factory)
Returns a new ResultSet created by the specified factory. |
MockResultSet |
XMLResultSetFactory.createSybaseResultSet(java.lang.String id)
Return a MockResultSet with proper column names and rows based on the XML Document . |
MockResultSet |
AbstractResultSetHandler.getGeneratedKeys(java.lang.String sql)
Returns the first generated keys ResultSet that
matches the specified SQL string. |
MockResultSet |
AbstractParameterResultSetHandler.getGeneratedKeys(java.lang.String sql,
java.util.Map parameters)
Returns the first generated keys ResultSet that
matches the specified SQL string. |
MockResultSet |
AbstractResultSetHandler.getGlobalGeneratedKeys()
Returns the global generated keys ResultSet . |
MockResultSet |
AbstractResultSetHandler.getGlobalResultSet()
Returns the global ResultSet . |
MockResultSet[] |
AbstractResultSetHandler.getGlobalResultSets()
Returns the global ResultSet[] . |
MockResultSet |
AbstractResultSetHandler.getResultSet(java.lang.String sql)
Returns the first ResultSet that matches the
specified SQL string. |
MockResultSet |
AbstractParameterResultSetHandler.getResultSet(java.lang.String sql,
java.util.Map parameters)
Returns the first ResultSet that matches the
specified SQL string and the specified parameters. |
MockResultSet[] |
AbstractResultSetHandler.getResultSets(java.lang.String sql)
Returns the first ResultSet[] that matches the
specified SQL string. |
MockResultSet[] |
AbstractParameterResultSetHandler.getResultSets(java.lang.String sql,
java.util.Map parameters)
Returns the first ResultSet[] that matches the
specified SQL string and the specified parameters. |
protected MockResultSet |
BasicJDBCTestCaseAdapter.getReturnedResultSet(java.lang.String id)
Delegates to JDBCTestModule.getReturnedResultSet(String) |
protected MockResultSet |
JDBCTestCaseAdapter.getReturnedResultSet(java.lang.String id)
Delegates to JDBCTestModule.getReturnedResultSet(String) |
MockResultSet |
JDBCTestModule.getReturnedResultSet(java.lang.String id)
Returns the ResultSet objects with the specified id. |
Methods in com.mockrunner.jdbc with parameters of type MockResultSet | |
---|---|
void |
AbstractResultSetHandler.addReturnedResultSet(MockResultSet resultSet)
Collects all ResultSet objects that were returned by
a Statement , PreparedStatement or
CallableStatement . |
void |
AbstractResultSetHandler.addReturnedResultSets(MockResultSet[] resultSets)
Collects all ResultSet[] objects that were returned by
a Statement , PreparedStatement or
CallableStatement . |
void |
AbstractResultSetHandler.prepareGeneratedKeys(java.lang.String sql,
MockResultSet generatedKeysResult)
Prepare the generated keys ResultSet
for a specified SQL string. |
void |
AbstractParameterResultSetHandler.prepareGeneratedKeys(java.lang.String sql,
MockResultSet generatedKeysResult,
java.util.List parameters)
Prepare the generated keys ResultSet
for a specified SQL string. |
void |
AbstractParameterResultSetHandler.prepareGeneratedKeys(java.lang.String sql,
MockResultSet generatedKeysResult,
java.util.Map parameters)
Prepare the generated keys ResultSet
for a specified SQL string. |
void |
AbstractParameterResultSetHandler.prepareGeneratedKeys(java.lang.String sql,
MockResultSet generatedKeysResult,
java.lang.Object[] parameters)
Prepare the generated keys ResultSet
for a specified SQL string. |
void |
AbstractResultSetHandler.prepareGlobalGeneratedKeys(MockResultSet generatedKeysResult)
Prepare the global generated keys ResultSet . |
void |
AbstractResultSetHandler.prepareGlobalResultSet(MockResultSet resultSet)
Prepare the global ResultSet . |
void |
AbstractResultSetHandler.prepareGlobalResultSets(MockResultSet[] resultSets)
Prepare an array of global ResultSet objects. |
void |
AbstractResultSetHandler.prepareResultSet(java.lang.String sql,
MockResultSet resultSet)
Prepare a ResultSet for a specified SQL string. |
void |
AbstractParameterResultSetHandler.prepareResultSet(java.lang.String sql,
MockResultSet resultSet,
java.util.List parameters)
Prepare a ResultSet for a specified SQL string and
the specified parameters. |
void |
AbstractParameterResultSetHandler.prepareResultSet(java.lang.String sql,
MockResultSet resultSet,
java.util.Map parameters)
Prepare a ResultSet for a specified SQL string and
the specified parameters. |
void |
AbstractParameterResultSetHandler.prepareResultSet(java.lang.String sql,
MockResultSet resultSet,
java.lang.Object[] parameters)
Prepare a ResultSet for a specified SQL string and
the specified parameters. |
void |
AbstractResultSetHandler.prepareResultSets(java.lang.String sql,
MockResultSet[] resultSets)
Prepare an array of ResultSet objects for a specified SQL string. |
void |
AbstractParameterResultSetHandler.prepareResultSets(java.lang.String sql,
MockResultSet[] resultSets,
java.util.List parameters)
Prepare an array of ResultSet objects for a specified SQL string and
the specified parameters. |
void |
AbstractParameterResultSetHandler.prepareResultSets(java.lang.String sql,
MockResultSet[] resultSets,
java.util.Map parameters)
Prepare an array of ResultSet objects for a specified SQL string and
the specified parameters. |
void |
AbstractParameterResultSetHandler.prepareResultSets(java.lang.String sql,
MockResultSet[] resultSets,
java.lang.Object[] parameters)
Prepare an array of ResultSet objects for a specified SQL string and
the specified parameters. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
int number,
java.util.List columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, int, List) |
protected void |
JDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
int number,
java.util.List columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, int, List) |
void |
JDBCTestModule.verifyResultSetColumn(MockResultSet resultSet,
int number,
java.util.List columnData)
Verifies that a column of a ResultSet is equal to the
entries in the specified List . |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
int number,
java.lang.Object[] columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, int, Object[]) |
protected void |
JDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
int number,
java.lang.Object[] columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, int, Object[]) |
void |
JDBCTestModule.verifyResultSetColumn(MockResultSet resultSet,
int number,
java.lang.Object[] columnData)
Verifies that a column of a ResultSet is equal to the
entries in the specified array. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
java.lang.String name,
java.util.List columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, String, List) |
protected void |
JDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
java.lang.String name,
java.util.List columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, String, List) |
void |
JDBCTestModule.verifyResultSetColumn(MockResultSet resultSet,
java.lang.String name,
java.util.List columnData)
Verifies that a column of a ResultSet is equal to the
entries in the specified List . |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
java.lang.String name,
java.lang.Object[] columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, String, Object[]) |
protected void |
JDBCTestCaseAdapter.verifyResultSetColumn(MockResultSet resultSet,
java.lang.String name,
java.lang.Object[] columnData)
Delegates to JDBCTestModule.verifyResultSetColumn(MockResultSet, String, Object[]) |
void |
JDBCTestModule.verifyResultSetColumn(MockResultSet resultSet,
java.lang.String name,
java.lang.Object[] columnData)
Verifies that a column of a ResultSet is equal to the
entries in the specified array. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetEquals(MockResultSet source,
MockResultSet target)
Delegates to JDBCTestModule.verifyResultSetEquals(MockResultSet, MockResultSet) |
protected void |
JDBCTestCaseAdapter.verifyResultSetEquals(MockResultSet source,
MockResultSet target)
Delegates to JDBCTestModule.verifyResultSetEquals(MockResultSet, MockResultSet) |
void |
JDBCTestModule.verifyResultSetEquals(MockResultSet source,
MockResultSet target)
Verifies that a ResultSet is equal to another one. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetEquals(java.lang.String id,
MockResultSet target)
Delegates to JDBCTestModule.verifyResultSetEquals(String, MockResultSet) |
protected void |
JDBCTestCaseAdapter.verifyResultSetEquals(java.lang.String id,
MockResultSet target)
Delegates to JDBCTestModule.verifyResultSetEquals(String, MockResultSet) |
void |
JDBCTestModule.verifyResultSetEquals(java.lang.String id,
MockResultSet target)
Verifies that a ResultSet is equal to another one. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRow(MockResultSet resultSet,
int number,
java.util.List rowData)
Delegates to JDBCTestModule.verifyResultSetRow(MockResultSet, int, List) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRow(MockResultSet resultSet,
int number,
java.util.List rowData)
Delegates to JDBCTestModule.verifyResultSetRow(MockResultSet, int, List) |
void |
JDBCTestModule.verifyResultSetRow(MockResultSet resultSet,
int number,
java.util.List rowData)
Verifies that a row of a ResultSet is equal to the
entries in the specified List . |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRow(MockResultSet resultSet,
int number,
java.lang.Object[] rowData)
Delegates to JDBCTestModule.verifyResultSetRow(MockResultSet, int, Object[]) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRow(MockResultSet resultSet,
int number,
java.lang.Object[] rowData)
Delegates to JDBCTestModule.verifyResultSetRow(MockResultSet, int, Object[]) |
void |
JDBCTestModule.verifyResultSetRow(MockResultSet resultSet,
int number,
java.lang.Object[] rowData)
Verifies that a row of a ResultSet is equal to the
entries in the specified array. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRowDeleted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowDeleted(MockResultSet, int) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRowDeleted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowDeleted(MockResultSet, int) |
void |
JDBCTestModule.verifyResultSetRowDeleted(MockResultSet resultSet,
int number)
Verifies that the specified row of a ResultSet was
deleted. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRowInserted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowInserted(MockResultSet, int) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRowInserted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowInserted(MockResultSet, int) |
void |
JDBCTestModule.verifyResultSetRowInserted(MockResultSet resultSet,
int number)
Verifies that the specified row of a ResultSet was
inserted. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRowNotDeleted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowNotDeleted(MockResultSet, int) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRowNotDeleted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowNotDeleted(MockResultSet, int) |
void |
JDBCTestModule.verifyResultSetRowNotDeleted(MockResultSet resultSet,
int number)
Verifies that the specified row of a ResultSet was
not deleted. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRowNotInserted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowNotInserted(MockResultSet, int) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRowNotInserted(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowNotInserted(MockResultSet, int) |
void |
JDBCTestModule.verifyResultSetRowNotInserted(MockResultSet resultSet,
int number)
Verifies that the specified row of a ResultSet was
not inserted. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRowNotUpdated(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowNotUpdated(MockResultSet, int) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRowNotUpdated(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowNotUpdated(MockResultSet, int) |
void |
JDBCTestModule.verifyResultSetRowNotUpdated(MockResultSet resultSet,
int number)
Verifies that the specified row of a ResultSet was
not updated. |
protected void |
BasicJDBCTestCaseAdapter.verifyResultSetRowUpdated(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowUpdated(MockResultSet, int) |
protected void |
JDBCTestCaseAdapter.verifyResultSetRowUpdated(MockResultSet resultSet,
int number)
Delegates to JDBCTestModule.verifyResultSetRowUpdated(MockResultSet, int) |
void |
JDBCTestModule.verifyResultSetRowUpdated(MockResultSet resultSet,
int number)
Verifies that the specified row of a ResultSet was
updated. |
Uses of MockResultSet in com.mockrunner.mock.jdbc |
---|
Methods in com.mockrunner.mock.jdbc that return MockResultSet | |
---|---|
protected MockResultSet |
MockStatement.cloneResultSet(MockResultSet resultSet)
|
protected MockResultSet[] |
MockStatement.cloneResultSets(MockResultSet[] resultSets)
|
protected MockResultSet |
MockStatement.determineGeneratedKeysResultSet(java.lang.String sql)
|
Methods in com.mockrunner.mock.jdbc with parameters of type MockResultSet | |
---|---|
protected MockResultSet |
MockStatement.cloneResultSet(MockResultSet resultSet)
|
protected MockResultSet[] |
MockStatement.cloneResultSets(MockResultSet[] resultSets)
|
boolean |
MockResultSet.isEqual(MockResultSet resultSet)
Returns if the specified ResultSet is equal to
this ResultSet . |
protected void |
MockStatement.setLastGeneratedKeysResultSet(MockResultSet generatedKeys)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |