Emulates the JUnit 3.8+ construction mechanism.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2003/02/10 22:52:21 $ since: November 3, 2002
Method Summary
public boolean
canCreate(Class theClass) Checks if the creator can be used on the given class.
public Test
createTest(Class theClass, Method method) Creates a new test, based on the given class and method of the
class.
Creates a new test, based on the given class and method of the
class.
Parameters: theClass - the class to parse for testing. Parameters: m - the method that will be tested with the new class instance. exception: InstantiationException - if there was a problem creatingthe class. exception: NoSuchMethodException - if the method does not exist in theclass.