|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMockDatabase
Provides a convenient abstraction of what a mock database should look like for SQLUnit mock testing.
| Method Summary | |
|---|---|
com.mockrunner.mock.jdbc.MockResultSet |
getResultSet(java.lang.String methodName,
int resultSetId)
Returns a MockResultSet given the method name to query and the resultset id desired. |
| Method Detail |
|---|
com.mockrunner.mock.jdbc.MockResultSet getResultSet(java.lang.String methodName,
int resultSetId)
throws java.lang.Exception
public MockResultSet method(Integer resultsetId);
methodName - the name of the private method.resultSetId - which resultset to return in case of multiple
resultsets. The index is 1-based, the default for this parameter is 1.
java.lang.Exception - if one is thrown in the delegated method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||