| java.lang.Object net.sourceforge.groboutils.junit.v1.parser.DelegateTestCreator
DelegateTestCreator | public class DelegateTestCreator implements ITestCreator(Code) | | Allows for an ordered set of TestCreator instances to be queried for
generating instances.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2003/02/10 22:52:20 $ since: November 4, 2002 |
Method Summary | |
public boolean | canCreate(Class theClass) Checks if the creator can be used on the given class.
Parameters: theClass - the class to check if parsing is acceptable. | public Test | createTest(Class theClass, Method method) Creates a new test, based on the given class and method of the
class. |
DelegateTestCreator | public DelegateTestCreator(ITestCreator[] tc)(Code) | | Create the delegation with an ordered array of creators. The
creators are searched from index 0 to the last index for a valid
creator.
|
canCreate | public boolean canCreate(Class theClass)(Code) | | Checks if the creator can be used on the given class.
Parameters: theClass - the class to check if parsing is acceptable. whether the creator can generate a test based ontheClass. |
|
|