public class RuleMemberValidator extends Object
TestClass
. All reasons for rejecting the
TestClass
are written to a list of errors.
There are four slightly different validators. The CLASS_RULE_VALIDATOR
validates fields with a ClassRule
annotation and the
RULE_VALIDATOR
validates fields with a Rule
annotation.
The CLASS_RULE_METHOD_VALIDATOR
validates methods with a ClassRule
annotation and the
RULE_METHOD_VALIDATOR
validates methods with a Rule
annotation.
Modifier and Type | Field and Description |
---|---|
static RuleMemberValidator |
CLASS_RULE_METHOD_VALIDATOR
Validates methods with a
ClassRule annotation. |
static RuleMemberValidator |
CLASS_RULE_VALIDATOR
Validates fields with a
ClassRule annotation. |
static RuleMemberValidator |
RULE_METHOD_VALIDATOR
Validates methods with a
Rule annotation. |
static RuleMemberValidator |
RULE_VALIDATOR
Validates fields with a
Rule annotation. |
public static final RuleMemberValidator CLASS_RULE_VALIDATOR
ClassRule
annotation.public static final RuleMemberValidator RULE_VALIDATOR
Rule
annotation.public static final RuleMemberValidator CLASS_RULE_METHOD_VALIDATOR
ClassRule
annotation.public static final RuleMemberValidator RULE_METHOD_VALIDATOR
Rule
annotation.Copyright © 2002-2017 JUnit. All Rights Reserved.