Class IsSuiteClass

  • All Implemented Interfaces:
    java.util.function.Predicate<java.lang.Class<?>>

    final class IsSuiteClass
    extends java.lang.Object
    implements java.util.function.Predicate<java.lang.Class<?>>
    Since:
    1.8
    • Field Summary

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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static org.junit.platform.engine.DiscoveryIssue createIssue​(java.lang.Class<?> testClass, java.lang.String detailMessage)  
      private boolean hasSuiteAnnotation​(java.lang.Class<?> testClass)  
      private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<java.lang.Class<?>> isNotInner​(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)  
      private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<java.lang.Class<?>> isNotLocal​(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)  
      private static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<java.lang.Class<?>> isNotPrivateUnlessAbstract​(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)  
      boolean test​(java.lang.Class<?> testClass)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Field Detail

      • condition

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

      • IsSuiteClass

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

      • test

        public boolean test​(java.lang.Class<?> testClass)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.Class<?>>
      • hasSuiteAnnotation

        private boolean hasSuiteAnnotation​(java.lang.Class<?> testClass)
      • isNotPrivateUnlessAbstract

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

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

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

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