| org.archive.crawler.selftest.AltTestSuite
AltTestSuite | public class AltTestSuite extends TestSuite (Code) | | Variant TestSuite that can build tests including methods with an alternate
prefix (other than 'test'). Copies code from TestSuite because necessary
methods to change are private rather than protected.
author: gojomo version: $Id: MaxLinkHopsSelfTest.java 4667 2006-09-26 20:38:48 +0000 (Tue, 26 Sep 2006) paul_jack $ |
Constructor Summary | |
public | AltTestSuite(Class theClass, String prefix) Constructs a TestSuite from the given class. |
altPrefix | String altPrefix(Code) | | a method prefix other than 'test' that is also recognized as tests
|
AltTestSuite | public AltTestSuite(Class theClass, String prefix)(Code) | | Constructs a TestSuite from the given class. Copied from superclass so
that local alternate addTestMethod() will be visible, which in turn uses
an isTestMethod() that accepts methods with the altPrefix in addition
to 'test'.
Parameters: theClass - Class from which to build suite Parameters: prefix - alternate method prefix to also find test methods |
|
|