com.agical.rmock.extension.junit
Class RMockThreadSupportingTestCase

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
                  extended by com.agical.rmock.extension.junit.RMockThreadSupportingTestCase
All Implemented Interfaces:
junit.framework.Test

public class RMockThreadSupportingTestCase
extends BasicJUnitStrategyTestCase

(c) 2005 Agical AB


Field Summary
 
Fields inherited from class com.agical.rmock.extension.junit.AbstractStrategyTestCase
is
 
Constructor Summary
RMockThreadSupportingTestCase()
           
RMockThreadSupportingTestCase(java.lang.String testName)
           
 
Method Summary
 void addThreadedTestConcurrentStep(java.lang.String methodToCall)
          Add a name of a method you want to add to the list of methods that are run concurrently with your test, i.e.
 void addThreadedTestPreceedingStep(java.lang.String methodToCall)
          Add a name of a method you want to add to the list of methods that are run concurrently before your test is executed, i.e.
protected  TestStep createTestStep(java.lang.String test)
           
 
Methods inherited from class com.agical.rmock.extension.junit.BasicJUnitStrategyTestCase
createSetupStep, createStrategy, createTearDownStep, setUp, 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

RMockThreadSupportingTestCase

public RMockThreadSupportingTestCase(java.lang.String testName)

RMockThreadSupportingTestCase

public RMockThreadSupportingTestCase()
Method Detail

createTestStep

protected TestStep createTestStep(java.lang.String test)
Overrides:
createTestStep in class BasicJUnitStrategyTestCase

addThreadedTestPreceedingStep

public void addThreadedTestPreceedingStep(java.lang.String methodToCall)
Add a name of a method you want to add to the list of methods that are run concurrently before your test is executed, i.e. like a concurrent test fixture. The method must have return type void and take no arguments.


addThreadedTestConcurrentStep

public void addThreadedTestConcurrentStep(java.lang.String methodToCall)
Add a name of a method you want to add to the list of methods that are run concurrently with your test, i.e. to verify that your tested class can handle the calls while performing some other task. The method must have return type void and take no arguments.



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