程序包 org.junit.runners.model
接口概要 接口 说明 Annotatable A model element that may have annotations.RunnerScheduler Represents a strategy for scheduling when individual test methods should be run (in serial or parallel) WARNING: still experimental, may go away.类概要 类 说明 FrameworkField Represents a field on a test class (currently used only for Rules inBlockJUnit4ClassRunner
, but custom runners can make other uses)FrameworkMember<T extends FrameworkMember<T>> Parent class forFrameworkField
andFrameworkMethod
FrameworkMethod Represents a method on a test class to be invoked at the appropriate point in test execution.RunnerBuilder A RunnerBuilder is a strategy for constructing runners for classes.Statement Represents one or more actions to be taken at runtime in the course of running a JUnit test suite.TestClass Wraps a class to be run, providing method validation and annotation searching异常错误概要 异常错误 说明 InitializationError Represents one or more problems encountered while initializing a RunnerMultipleFailureException Collects multipleThrowable
s into one exception.TestTimedOutException Exception thrown when a test fails on timeout.