Top Description Constructors Methods
org.junit.platform.suite.engine

pack-priv final Class LifecycleMethodUtils

extends Object
Class Inheritance
Static Imports
org.junit.platform.commons.support.AnnotationSupport.findAnnotatedMethods

Collection of utilities for working with test lifecycle methods.
Since
1.11

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static DiscoveryIssue
createError(String message, Method method)

pack-priv static List<Method>
findAfterSuiteMethods(Class<?> testClass, DiscoveryIssueReporter issueReporter)

pack-priv static List<Method>
private static List<Method>
findMethodsAndCheckStaticAndNonPrivate(Class<?> testClass, Class<? extends Annotation> annotationType, HierarchyTraversalMode traversalMode, DiscoveryIssueReporter issueReporter)

private static DiscoveryIssueReporter.Condition<Method>
hasNoParameters(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)

private static DiscoveryIssueReporter.Condition<Method>
isNotPrivate(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)

private static DiscoveryIssueReporter.Condition<Method>
isStatic(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)

private static DiscoveryIssueReporter.Condition<Method>
returnsPrimitiveVoid(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LifecycleMethodUtilsback to summary
private LifecycleMethodUtils()

Method Detail

createErrorback to summary
private static DiscoveryIssue createError(String message, Method method)
findAfterSuiteMethodsback to summary
pack-priv static List<Method> findAfterSuiteMethods(Class<?> testClass, DiscoveryIssueReporter issueReporter)
findBeforeSuiteMethodsback to summary
pack-priv static List<Method> findBeforeSuiteMethods(Class<?> testClass, DiscoveryIssueReporter issueReporter)
findMethodsAndCheckStaticAndNonPrivateback to summary
private static List<Method> findMethodsAndCheckStaticAndNonPrivate(Class<?> testClass, Class<? extends Annotation> annotationType, HierarchyTraversalMode traversalMode, DiscoveryIssueReporter issueReporter)
hasNoParametersback to summary
private static DiscoveryIssueReporter.Condition<Method> hasNoParameters(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)
isNotPrivateback to summary
private static DiscoveryIssueReporter.Condition<Method> isNotPrivate(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)
isStaticback to summary
private static DiscoveryIssueReporter.Condition<Method> isStatic(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)
returnsPrimitiveVoidback to summary
private static DiscoveryIssueReporter.Condition<Method> returnsPrimitiveVoid(Class<? extends Annotation> annotationType, DiscoveryIssueReporter issueReporter)