org.dbunit.database.statement
Class MockBatchStatement
java.lang.Object
org.dbunit.database.statement.MockBatchStatement
- All Implemented Interfaces:
- com.mockobjects.Verifiable, IBatchStatement
public class MockBatchStatement
- extends Object
- implements IBatchStatement, com.mockobjects.Verifiable
- Since:
- Mar 16, 2002
- Version:
- $Revision: 398 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockBatchStatement
public MockBatchStatement()
addExpectedBatchString
public void addExpectedBatchString(String sql)
addExpectedBatchStrings
public void addExpectedBatchStrings(String[] sql)
setExpectedExecuteBatchCalls
public void setExpectedExecuteBatchCalls(int callsCount)
setExpectedClearBatchCalls
public void setExpectedClearBatchCalls(int callsCount)
setExpectedCloseCalls
public void setExpectedCloseCalls(int callsCount)
verify
public void verify()
- Specified by:
verify
in interface com.mockobjects.Verifiable
addBatch
public void addBatch(String sql)
throws SQLException
- Specified by:
addBatch
in interface IBatchStatement
- Throws:
SQLException
executeBatch
public int executeBatch()
throws SQLException
- Specified by:
executeBatch
in interface IBatchStatement
- Throws:
SQLException
clearBatch
public void clearBatch()
throws SQLException
- Specified by:
clearBatch
in interface IBatchStatement
- Throws:
SQLException
close
public void close()
throws SQLException
- Specified by:
close
in interface IBatchStatement
- Throws:
SQLException
Copyright © 2002-2012. All Rights Reserved.