Class IsSuiteClass

java.lang.Object
org.junit.platform.suite.engine.IsSuiteClass
All Implemented Interfaces:
Predicate<Class<?>>

final class IsSuiteClass extends Object implements Predicate<Class<?>>
Since:
1.8
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    IsSuiteClass(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static org.junit.platform.engine.DiscoveryIssue
    createIssue(Class<?> testClass, String detailMessage)
     
    private boolean
    hasSuiteAnnotation(Class<?> testClass)
     
    private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>>
    isNotInner(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
     
    private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>>
    isNotLocal(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
     
    private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>>
    isNotPrivateUnlessAbstract(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
     
    boolean
    test(Class<?> testClass)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface Predicate

    and, negate, or
  • Field Details

    • condition

      private final org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>> condition
  • Constructor Details

    • IsSuiteClass

      IsSuiteClass(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
  • Method Details

    • test

      public boolean test(Class<?> testClass)
      Specified by:
      test in interface Predicate<Class<?>>
    • hasSuiteAnnotation

      private boolean hasSuiteAnnotation(Class<?> testClass)
    • isNotPrivateUnlessAbstract

      private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>> isNotPrivateUnlessAbstract(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
    • isNotLocal

      private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>> isNotLocal(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
    • isNotInner

      private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Class<?>> isNotInner(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
    • createIssue

      private static org.junit.platform.engine.DiscoveryIssue createIssue(Class<?> testClass, String detailMessage)