|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.TestSuite
com.mucommander.test.ConditionalTestSuite
com.mucommander.test.SingleConditionalTestSuite
public abstract class SingleConditionalTestSuite
SingleConditionalTestSuite is a ConditionalTestSuite that operates on a single test case.
It implements populateTestSuite() by adding the TestCase class returned by getTestCaseClass() to
the test suite, making subclassing a bit easier.
| Constructor Summary | |
|---|---|
SingleConditionalTestSuite()
|
|
| Method Summary | |
|---|---|
protected abstract java.lang.Class |
getTestCaseClass()
Returns the Class of the TestCase to be added to this test suite. |
protected void |
populateTestSuite()
Populates this test suite with the JUnit tests to be performed. |
| Methods inherited from class com.mucommander.test.ConditionalTestSuite |
|---|
isEnabled |
| Methods inherited from class junit.framework.TestSuite |
|---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SingleConditionalTestSuite()
| Method Detail |
|---|
protected void populateTestSuite()
ConditionalTestSuiteConditionalTestSuite.ConditionalTestSuite() only if this test suite is enabled, as
reported by ConditionalTestSuite.isEnabled().
populateTestSuite in class ConditionalTestSuiteprotected abstract java.lang.Class getTestCaseClass()
Class of the TestCase to be added to this test suite. Although it is
not enforced, the returned class must extend junit.framework.TestCase.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard