com.agical.rmock.extension.junit
Class DynamicTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by com.agical.rmock.extension.junit.DynamicTestSuite
All Implemented Interfaces:
junit.framework.Test

public abstract class DynamicTestSuite
extends junit.framework.TestSuite


Field Summary
protected  MatchAction addAllToSuite
           
protected  ConstraintFactory is
           
 
Constructor Summary
DynamicTestSuite(java.lang.String name)
           
DynamicTestSuite(java.lang.String name, Configurator configurator)
           
DynamicTestSuite(java.lang.String name, Configurator configurator, java.lang.String testStructureName)
           
 
Method Summary
protected  java.util.Iterator allClasses()
           
 int countTestCases()
           
protected  CollectionSelector forEach(Expression expression)
           
 void run(junit.framework.TestResult result)
           
 void setTestStructureListener(TestStructureListener testStructureListener)
           
 void setTestSuiteListener(TestSuiteListener testSuiteListener)
           
protected abstract  void setupSuite()
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

is

protected final ConstraintFactory is

addAllToSuite

protected final MatchAction addAllToSuite
Constructor Detail

DynamicTestSuite

public DynamicTestSuite(java.lang.String name)

DynamicTestSuite

public DynamicTestSuite(java.lang.String name,
                        Configurator configurator)

DynamicTestSuite

public DynamicTestSuite(java.lang.String name,
                        Configurator configurator,
                        java.lang.String testStructureName)
Method Detail

allClasses

protected java.util.Iterator allClasses()

setupSuite

protected abstract void setupSuite()

forEach

protected CollectionSelector forEach(Expression expression)

setTestSuiteListener

public void setTestSuiteListener(TestSuiteListener testSuiteListener)

countTestCases

public int countTestCases()
Specified by:
countTestCases in interface junit.framework.Test
Overrides:
countTestCases in class junit.framework.TestSuite

run

public void run(junit.framework.TestResult result)
Specified by:
run in interface junit.framework.Test
Overrides:
run in class junit.framework.TestSuite

setTestStructureListener

public void setTestStructureListener(TestStructureListener testStructureListener)


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