|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
AfterClassStatementBuilder creates a RunAfters statement that evaluates all @AfterClass
annotated methods.BeforeClassStatementBuilder creates a RunBefores statement that evaluates all
@BeforeClass annotated methods.BooleanValidators allow to group TestClassValidators with boolean algebra.ChildExecutor is responsible for executing all tests for the given object.ChildrenCountValidators validate that the given TestClass contains at least 1 child.ChildResolver is responsible for resolving all children for the given TestClass.ClassRuleStatementBuilder creates a RunRules statement that evaluates all @ClassRule
annotated members.ClassStatementBuilder interfaces provides a simple Builder mechanism, used to create Statements.ConstructorValidator validates that test classes have only one public constructor that takes no
arguments for top-level classes and exactly one argument for enclosed classes of type of the enclosing class.ContextDescriber is responsible for creating the Description for a context hierarchy.ContextExecutor is responsible for executing a sub-contexts, represented by the given Class.ContextResolver is responsible for resolving all sub-contexts for the given TestClass.Class, represented by the given class hierarchy.
Statement for the given attributes.
Statement for the given attributes.
DefaultStatementBuilderFactory resolves a List of ClassStatementBuilders for classes and
MethodStatementBuilders for methods.StatementExecutorFactory resolves the StatementExecutors for classes and methods.Description for the given object of type T.
Describer is responsible for creating the Description for the given object.DirectInvokeScheduler is a simple RunnerScheduler implementation that runs all incoming requests
on demand.expected field of the @Test annotation is deprecated. Therefore, this builder is
also marked as deprecated. Please make use of the @Rule annotation.timeout field of the @Test annotation is deprecated. Therefore, this builder is
also marked as deprecated. Please make use of the @Rule annotation.FixtureValidators validate methods annotated with @BeforeClass, @Before, @AfterClass, and @After.TestClass wrapping the given testClass.
TestClass.
Stack of classes, representing the hierarchy of the given Class.
Object that encloses the given target.
TestClassValidator that validates the TestClass instance after the
HierarchicalContextRunner has been created for the corresponding Class.
HierarchicalContextRunner allows test classes to have member classes.HierarchicalRunAfterStatementBuilder creates a RunAfters statement for each context hierarchy
level that evaluates all @After annotated methods on that level.HierarchicalRunBeforeStatementBuilder creates a RunBefores statement for each context hierarchy
level that evaluates all @Before annotated methods on that level.HierarchicalRunRulesStatementBuilder creates RunRules statements for all @Rule annotated
fields and methods along the context hierarchy.HierarchicalContextRunner.
candidate is allowed.
MethodDescriber is responsible for creating the Description for a FrameworkMethod.MethodExecutor is responsible for executing a test for the given FrameworkMethod.MethodResolver is responsible for resolving all tests for the given TestClass.MethodStatementBuilder interfaces provides a simple Builder mechanism, used to create Statements.MethodStatementExecutor extends the StatementExecutor, providing additional notifications when
the test is started and finished.RuleValidators validate methods and fields annotated with @Rule.RunNotifier about all notifications.
RunAll statement takes several statements and executes them all in the given order.Statement that is responsible for running all children of the given test class.
RunChildren statement takes four arguments:
TestClass, ChildExecutor, List of children, RunNotifier
When evaluated, the statement calls ChildExecutor.run(TestClass, Object, RunNotifier) on each child.StatementBuilderFactory resolves a List of ClassStatementBuilders for classes and
MethodStatementBuilders for methods.StatementExecutor evaluates the given Statement and notifies the RunNotifier about all
events that occur during execution.StatementExecutorFactory resolves the StatementExecutors for classes and methods.SuiteDescriber is responsible for creating the Description for a test suite.TestClasses is used to reduce the expensive look-ups and reflection calls that are performed
during the construction of the TestClass instances.TestClassValidator interface provides a simple TestClassValidator.validate(TestClass, List) method.TestClass and adds all errors to the given List.
AssumptionViolatedException is raised.
InitializationError is raised.
Throwable is raised.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||