Class AnnotationsValidator

  • All Implemented Interfaces:
    TestClassValidator

    public final class AnnotationsValidator
    extends java.lang.Object
    implements TestClassValidator
    An AnnotationsValidator validates all annotations of a test class, including its annotated fields and methods.
    Since:
    4.12
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Exception> validateTestClass​(TestClass testClass)
      Validate all annotations of the specified test class that are be annotated with ValidateWith.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationsValidator

        public AnnotationsValidator()
    • Method Detail

      • validateTestClass

        public java.util.List<java.lang.Exception> validateTestClass​(TestClass testClass)
        Validate all annotations of the specified test class that are be annotated with ValidateWith.
        Specified by:
        validateTestClass in interface TestClassValidator
        Parameters:
        testClass - the TestClass that is validated.
        Returns:
        the errors found by the validator.