Test
Keywords: junit.framework.Test interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## junit.framework
Interface Test

All Known Implementing Classes:
  ActiveTestSuite, ActiveTestTest, ActiveTestTest.SuccessTest, AssertTest, BaseTestRunnerTest, ComparisonCompactorTest, ComparisonFailureTest, DoublePrecisionAssertTest, ExceptionTestCase, ExceptionTestCaseTest, ExceptionTestCaseTest.ThrowExceptionTestCase, ExceptionTestCaseTest.ThrowNoExceptionTestCase, ExceptionTestCaseTest.ThrowRuntimeExceptionTestCase, ExtensionTest, Failure, InheritedTestCase, MoneyTest, NoArgTestCaseTest, NoTestCases, NotPublicTestCase, NotVoidTestCase, OneTestCase, OverrideTestCase, RepeatedTest, RepeatedTestTest, RepeatedTestTest.SuccessTest, SimpleTest, SimpleTestCollectorTest, SorterTest, StackFilterTest, Success, SuiteTest, TestCase, TestCaseClassLoaderTest, TestCaseTest, TestDecorator, TestImplementorTest, TestImplementorTest.DoubleTestCase, TestListenerTest, TestSetup, TestSuite, TextFeedbackTest, TextRunnerSingleMethodTest, TextRunnerSingleMethodTest.InvocationTest, TextRunnerTest, VectorTest, WasRun

    public interface Test

A Test can be run and collect its results.

See Also:
  `TestResult`

Method Summary
`int` | `countTestCases()` Counts the number of test cases that will be run by this test.
`void` | `run(TestResult result)` Runs a test and collects its result in a TestResult instance.

Method Detail

### countTestCases

    int countTestCases()

  Counts the number of test cases that will be run by this test.

### run

    void run(TestResult result)

  Runs a test and collects its result in a TestResult instance.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD