org.javagen.funcgen.visitor
Class TestExpanderVisitor

java.lang.Object
  extended by org.javagen.agile.core.visitor.DefaultVisitor
      extended by org.javagen.agile.core.visitor.TypeLookupVisitor
          extended by org.javagen.funcgen.visitor.TestExpanderVisitor
All Implemented Interfaces:
org.javagen.agile.core.Generator, org.javagen.agile.core.visitor.Visit, org.javagen.agile.core.visitor.Visitor

public class TestExpanderVisitor
extends org.javagen.agile.core.visitor.TypeLookupVisitor

Expand Suites with permutations declarations into a set of tests, one for each combination of permutations.

Author:
Richard Easterling

Field Summary
 
Fields inherited from class org.javagen.agile.core.visitor.TypeLookupVisitor
defualtVisit, visitInstances
 
Fields inherited from class org.javagen.agile.core.visitor.DefaultVisitor
itinerary
 
Constructor Summary
TestExpanderVisitor()
          Setup Suite visitor for expansion.
 
Method Summary
protected  void expandPermutations(Suite suite)
          Create a unique test for each combination of permutations.
 
Methods inherited from class org.javagen.agile.core.visitor.TypeLookupVisitor
addVisitInstances, get, getDefualtVisit, getVisitInstances, put, setDefualtVisit, setVisitInstances, visit
 
Methods inherited from class org.javagen.agile.core.visitor.DefaultVisitor
gen, getItinerary, itinerary, setItinerary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestExpanderVisitor

public TestExpanderVisitor()
Setup Suite visitor for expansion.

Method Detail

expandPermutations

protected void expandPermutations(Suite suite)
Create a unique test for each combination of permutations.

Parameters:
test - that holds permutations


Copyright 2006-2006 Outsource Cafe Inc.. All Rights Reserved.