com.agical.rmock.extension.junit
Class BasicJUnitStrategyTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.agical.rmock.extension.junit.AbstractStrategyTestCase
              extended by com.agical.rmock.extension.junit.BasicJUnitStrategyTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractMockStrategyTestCase, RMockThreadSupportingTestCase

public abstract class BasicJUnitStrategyTestCase
extends AbstractStrategyTestCase


Field Summary
 
Fields inherited from class com.agical.rmock.extension.junit.AbstractStrategyTestCase
is
 
Constructor Summary
BasicJUnitStrategyTestCase()
           
BasicJUnitStrategyTestCase(java.lang.String name)
           
BasicJUnitStrategyTestCase(java.lang.String name, Hub hub)
           
 
Method Summary
protected  TestStep createSetupStep(java.lang.String test)
           
protected  TestStep createStrategy(java.lang.String test)
          Implement this method to return a strategy to run for the given test.
protected  TestStep createTearDownStep(java.lang.String test)
           
protected  TestStep createTestStep(java.lang.String test)
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class com.agical.rmock.extension.junit.AbstractStrategyTestCase
assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, getHub, getStrategyRunner, getVerifiable, runBare, setAsserter, setStrategyRunner, setTestCaseListener, setVerifiable
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicJUnitStrategyTestCase

public BasicJUnitStrategyTestCase()

BasicJUnitStrategyTestCase

public BasicJUnitStrategyTestCase(java.lang.String name)

BasicJUnitStrategyTestCase

public BasicJUnitStrategyTestCase(java.lang.String name,
                                  Hub hub)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

createSetupStep

protected TestStep createSetupStep(java.lang.String test)

createStrategy

protected TestStep createStrategy(java.lang.String test)
Description copied from class: AbstractStrategyTestCase
Implement this method to return a strategy to run for the given test.

Specified by:
createStrategy in class AbstractStrategyTestCase
Parameters:
test - The test to get the strategy for
Returns:
The strategy for the test.

createTestStep

protected TestStep createTestStep(java.lang.String test)

createTearDownStep

protected TestStep createTearDownStep(java.lang.String test)


Copyright © 2005-2009 Agical AB. All Rights Reserved.