org.codehaus.mojo.fit
Class ClassLoaderActionFixture

java.lang.Object
  extended by fit.Fixture
      extended by fit.ActionFixture
          extended by org.codehaus.mojo.fit.ClassLoaderActionFixture
All Implemented Interfaces:
FixtureClassLoaderEnabled

public class ClassLoaderActionFixture
extends fit.ActionFixture
implements FixtureClassLoaderEnabled

Extends ActionFixture to allow a custom ClassLoader to be used for loading fixtures

Author:
Mauro Talevi

Nested Class Summary
 
Nested classes/interfaces inherited from class fit.Fixture
fit.Fixture.RunTime
 
Field Summary
 
Fields inherited from class fit.ActionFixture
actor, cells, empty
 
Fields inherited from class fit.Fixture
args, counts, gray, green, red, summary, yellow
 
Constructor Summary
ClassLoaderActionFixture()
           
ClassLoaderActionFixture(FixtureClassLoader classLoader)
           
 
Method Summary
 void enableClassLoader(FixtureClassLoader classLoader)
           
 fit.Fixture loadFixture(java.lang.String fixtureName)
           
 void start()
           
 
Methods inherited from class fit.ActionFixture
check, doCells, enter, method, method, press
 
Methods inherited from class fit.Fixture
camel, check, counts, doCell, doRow, doRows, doTable, doTables, error, escape, exception, fixtureName, getArgs, getArgsForTable, getLinkedFixtureWithArgs, ignore, info, info, interpretTables, label, parse, right, wrong, wrong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderActionFixture

public ClassLoaderActionFixture()

ClassLoaderActionFixture

public ClassLoaderActionFixture(FixtureClassLoader classLoader)
Method Detail

enableClassLoader

public void enableClassLoader(FixtureClassLoader classLoader)
Specified by:
enableClassLoader in interface FixtureClassLoaderEnabled

start

public void start()
           throws java.lang.Exception
Overrides:
start in class fit.ActionFixture
Throws:
java.lang.Exception

loadFixture

public fit.Fixture loadFixture(java.lang.String fixtureName)
                        throws java.lang.InstantiationException,
                               java.lang.IllegalAccessException
Overrides:
loadFixture in class fit.Fixture
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException


Copyright © 2006-2009 Codehaus. All Rights Reserved.