junit.framework
Interface Test

All Known Implementing Classes:
ActiveTestSuite, CorefileFactory, EventLoopTestBed, ExceptionTestCase, GuiTestCase, RegsCase, RepeatedTest, SignalWaiter, StressAttachDetachManyTasks, StressAttachDetachRapidlyCloningMainTask, StressAttachDetachRapidlyForkingMainTask, StressAttachDetachSignaledTask, StressTestAbandon, StressTestJGMemory, StressTestStackTraceAction, TestAbandon, TestActionManager, TestActionsCommand, TestAddress, TestAddressSpace, TestAliasCommands, TestArithmetics, TestArray, TestAsserts, TestAuxv, TestAuxvCommand, TestBreakpoints, TestBreakpoints, TestBuildCompiler, TestByteBuffer, TestByteBuffer, TestCallers, TestCase, TestCase, TestCmdLine, TestCommandlineParser, TestComparable, TestCompletion, TestCompletion, TestCompletionFactory, TestComposite, TestCoreCommand, TestCorefileByteBuffer, TestCorefileFactory, TestCoreRegs, TestCountDownLatch, TestDaemonBlockedAtSignal, TestDebugdump, TestDebugInfoStackTrace, TestDecorator, TestDecoratorTypes, TestDemangler, TestDie, TestDisassemblerCommand, TestDisplayCommand, TestDisplayValue, TestDOM, TestDwarfDie, TestDwfl, TestDwfl, TestDwflCache, TestElf, TestElfSectionCache, TestEnum, TestEnviron, TestEnviron, TestEquals, TestEvalCommands, TestExec, TestExpect, TestFauxv, TestFcatch, TestFcore, TestFdebuginfo, TestFerror, TestFexe, TestFhpd, TestFhpdStepping, TestFhpdThreads, TestFileDescriptor, TestFilterManager, TestFindProc, TestFirstInstruction, TestFloatingPoint, TestFloatingPoint854Format, TestFmaps, TestFork, TestForkFactory, TestFormat, TestFrame, TestFrameDebugInfo, TestFrameIdentifier, TestFrameLevel, TestFrameSymbol, TestFryskAsm, TestFstack, TestFstep, TestFtrace, TestGarbageCollect, TestGccClass, TestGccInterface, TestGenerateCoreCommand, TestGet, TestGlade, TestGlob, TestGoCommand, TestHelloWorld, TestHelp, TestHostGet, TestHpdTestHarness, TestIconManager, TestInfoArgsCommand, TestInfoExeCommand, TestInput, TestInstructions, TestIntegerType, TestInterpreter, TestIsa, TestISA, TestJGMemory, TestKillCommand, TestLeakingFileDescriptor, TestLib, TestLib, TestLib, TestLib, TestLib, TestLibFunctionStepFrame, TestLinuxCore, TestLinuxElfCorefile, TestLinuxExe, TestListCommand, TestLoadCommand, TestLocalMemory, TestLocation, TestLocationExpression, TestLog, TestMapGet, TestMappingGuard, TestMaps, TestMapsCommand, TestMode, TestObjectDeclarationSearchEngine, TestObjectDeclarationSearchEngineTopDown, TestObserverSaveLoad, TestOptions, TestPacking, TestParameterizedCommand, TestPeekCommand, TestPieceLocation, TestPipePair, TestPointer, TestPollEventLoop, TestPool, TestPrefix, TestPreprocessor, TestProcBuilder, TestProcessIdentifier, TestProcForceDetach, TestProcGet, TestProcStopped, TestProcTasksObserver, TestPrototypeCopying, TestPseudoTerminal, TestPtrace, TestPut, TestRefresh, TestRegex, TestRegisterMap, TestRegisters, TestRegisterSet, TestRegs, TestRegs, TestRegs, TestRegs, TestRun, TestRunCommand, TestRuntimeIsa, TestScopeFactory, TestScopes, TestSessionSaveLoad, TestSetParser, TestSetting, TestSetup, TestShellCommand, TestSigChild, TestSignal, TestSignalSet, TestSignalStepFrame, TestSignalTable, TestSignalWaiter, TestSpecial, TestSpeed, TestStackCommands, TestStackTraceAction, TestStartCommand, TestStat, TestStatelessFile, TestStatState, TestStatus, TestStepping, TestSteppingEngine, TestStopEventLoopWhenProcTerminates, TestSuite, TestSymbol, TestSyscallRunning, TestSyscallSignal, TestSyscallsWithAudit, TestSysRoot, TestSysRoot, TestTagsetSaveLoad, TestTaskClonedObserver, TestTaskForkedObserver, TestTaskObserver, TestTaskObserverBlocked, TestTaskObserverCode, TestTaskObserverDetach, TestTaskObserverInstruction, TestTaskObserverInstructionAndCode, TestTaskObserverInstructionSigReturn, TestTaskObserverWatchpoint, TestTaskSyscallObserver, TestTaskTerminateObserver, TestTearDownExpect, TestTearDownFile, TestTearDownProcess, TestTermios, TestTypeFactory, TestULong, TestUnloadCommand, TestUnwind, TestUpdatingDisplayValue, TestUtrace, TestValue, TestWait, TestWaitEventLoop, TestWatchCommand, TestWatchpoint, TestWindowFactorization, TestWordSize

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.