|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.mockrunner.base.BaseTestCase com.mockrunner.connector.ConnectorTestCaseAdapter
public abstract class ConnectorTestCaseAdapter
Delegator for ConnectorTestModule
. You can
subclass this adapter or use ConnectorTestModule
directly (so your test case can use another base class).
This adapter extends BaseTestCase
.
It can be used if you want to use several modules in conjunction.
This class is generated from the ConnectorTestModule
and should not be edited directly.
Constructor Summary | |
---|---|
ConnectorTestCaseAdapter()
|
|
ConnectorTestCaseAdapter(java.lang.String name)
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectorTestCaseAdapter()
public ConnectorTestCaseAdapter(java.lang.String name)
Method Detail |
---|
protected void tearDown() throws java.lang.Exception
tearDown
in class BaseTestCase
java.lang.Exception
protected void setUp() throws java.lang.Exception
ConnectorTestModule
. If you
overwrite this method, you must call super.setUp()
.
setUp
in class junit.framework.TestCase
java.lang.Exception
protected ConnectorTestModule getConnectorTestModule()
ConnectorTestModule
.
ConnectorTestModule
protected void setConnectorTestModule(ConnectorTestModule connectorTestModule)
ConnectorTestModule
.
connectorTestModule
- the ConnectorTestModule
protected void verifyConnectionClosed()
ConnectorTestModule.verifyConnectionClosed()
protected InteractionHandler getInteractionHandler()
ConnectorTestModule.getInteractionHandler()
protected java.util.List getInteractionList()
ConnectorTestModule.getInteractionList()
protected java.util.List getCreatedIndexedRecords(java.lang.String recordName)
ConnectorTestModule.getCreatedIndexedRecords(String)
protected java.util.List getCreatedIndexedRecords()
ConnectorTestModule.getCreatedIndexedRecords()
protected java.util.List getCreatedMappedRecords(java.lang.String recordName)
ConnectorTestModule.getCreatedMappedRecords(String)
protected java.util.List getCreatedMappedRecords()
ConnectorTestModule.getCreatedMappedRecords()
protected void verifyAllInteractionsClosed()
ConnectorTestModule.verifyAllInteractionsClosed()
protected void verifyInteractionClosed(int index)
ConnectorTestModule.verifyInteractionClosed(int)
protected void verifyNumberCreatedIndexedRecords(int expected)
ConnectorTestModule.verifyNumberCreatedIndexedRecords(int)
protected void verifyNumberCreatedIndexedRecords(java.lang.String recordName, int expected)
ConnectorTestModule.verifyNumberCreatedIndexedRecords(String, int)
protected void verifyNumberCreatedMappedRecords(int expected)
ConnectorTestModule.verifyNumberCreatedMappedRecords(int)
protected void verifyNumberCreatedMappedRecords(java.lang.String recordName, int expected)
ConnectorTestModule.verifyNumberCreatedMappedRecords(String, int)
protected void verifyLocalTransactionCommitted()
ConnectorTestModule.verifyLocalTransactionCommitted()
protected void verifyLocalTransactionNotCommitted()
ConnectorTestModule.verifyLocalTransactionNotCommitted()
protected void verifyLocalTransactionRolledBack()
ConnectorTestModule.verifyLocalTransactionRolledBack()
protected void verifyLocalTransactionNotRolledBack()
ConnectorTestModule.verifyLocalTransactionNotRolledBack()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |