A B C D E F G H I J L M N O P R S T V W
A
- addListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Add the supplied
LogRecordListenerto the set of registered listeners. - AnnotationSupport - Class in org.junit.platform.commons.support
-
Common annotation support.
- AnnotationUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with annotations.
- append(String, Object) - Method in class org.junit.platform.commons.util.ToStringBuilder
- assertPackageNameIsValid(String) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Assert that the supplied package name is valid in terms of Java syntax.
B
- BlacklistedExceptions - Class in org.junit.platform.commons.util
-
Internal utilities for working with blacklisted exceptions.
- BOTTOM_UP - org.junit.platform.commons.support.HierarchyTraversalMode
-
Traverse the hierarchy using bottom-up semantics.
- BOTTOM_UP - org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Traverse the hierarchy using bottom-up semantics.
C
- ClassFilter - Class in org.junit.platform.commons.util
-
Class-related predicate holder used by reflection utilities.
- ClassLoaderUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with ClassLoader and associated tasks.
- ClassSupport - Class in org.junit.platform.commons.support
-
Common class support.
- ClassUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
classes. - clear() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Clear all existing
log recordsthat have been submitted to this listener. - CollectionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Collections. - condition(boolean, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
predicateistrue. - condition(boolean, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
predicateistrue. - config(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwableand message from the providedmessageSupplierat config level. - config(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat config level. - containsIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringcontains any ISO control characters. - containsNoNullElements(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no
nullelements. - containsNoNullElements(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no
nullelements. - containsNoNullElements(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no
nullelements. - containsNoNullElements(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no
nullelements. - containsWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringcontains any whitespace characters.
D
- debug(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwableand message from the providedmessageSupplierat debug level. - debug(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat debug level. - doesNotContainIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringdoes not contain any ISO control characters. - doesNotContainWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringdoes not contain any whitespace characters.
E
- error(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwableand message from the providedmessageSupplierat error level. - error(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat error level. - ExceptionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with exceptions.
F
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied classpath
rootthat match the specifiedclassFilterandclassNameFilterpredicates. - findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
moduleNamethat match the specifiedclassFilterandclassNameFilterpredicates. - findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Find all classes for the given module name.
- findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
basePackageNamethat match the specifiedclassFilterandclassNameFilterpredicates. - findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllNonSystemBootModuleNames() - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Find all non-system boot modules names.
- findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified
annotationTypeand match the specifiedpredicate, using top-down search semantics within the type hierarchy. - findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified
annotationTypeand match the specifiedpredicate. - findAnnotatedMethods(Class<?>, Class<? extends Annotation>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all methods of the supplied class or interface that are annotated or meta-annotated with the specified
annotationType. - findAnnotatedMethods(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of
annotationTypethat is either directly present, meta-present, or indirectly present on the suppliedelement. - findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of
annotationTypethat is either present or meta-present on the supplied optionalelement. - findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findConstructors(Class<?>, Predicate<Constructor<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all constructors in the supplied class that match the supplied predicate.
- findFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all fields of the supplied class or interface that match the specified
predicate. - findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first
Methodof the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted. - findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first
Methodof the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted. - findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findMethods(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all methods of the supplied class or interface that match the specified
predicate, using top-down search semantics within the type hierarchy. - findMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all methods of the supplied class or interface that match the specified
predicate. - findMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all nested classes within the given class that conform to the given predicate.
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all
publicfields of the supplied class or interface that are of the specifiedfieldTypeand annotated or meta-annotated with the specifiedannotationType. - findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all repeatable annotations of
annotationTypethat are either present, indirectly present, or meta-present on the suppliedAnnotatedElement. - findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- FunctionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Functions,Predicates, etc.
G
- getAllAssignmentCompatibleClasses(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Return all classes and interfaces that can be used as assignment types for instances of the specified
Class, including itself. - getAllClasspathRootDirectories() - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getAttribute(Class<?>, String) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Get the value of the specified attribute name, specified as a string, or an empty
Optionalif the attribute was not found. - getAttribute(Class<?>, Function<Package, String>) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Get the package attribute for the supplied
typeusing the suppliedfunction. - getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the sole declared
Constructorfor the supplied class. - getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
- getFullyQualifiedMethodName(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Build the fully qualified method name for the method described by the supplied class, method name, and parameter types.
- getLocation(Object) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
Get the location from which the supplied object's class was loaded.
- getLogger(Class<?>) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Get a
Loggerfor the specified class. - getModuleName(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the name of the module that the class or interface is a member of.
- getModuleVersion(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the raw version of the module that the class or interface is a member of.
- getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Read the only element of a collection of size 1.
- getOutermostInstance(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the outermost instance of the required type, searching recursively through enclosing instances.
- getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the wrapper type for the supplied primitive type.
H
- HierarchyTraversalMode - Enum in org.junit.platform.commons.support
-
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.
I
- info(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwableand message from the providedmessageSupplierat info level. - info(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat info level. - invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Invoke the supplied method, making it accessible if necessary and masking any checked exception as an unchecked exception.
- invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isAbstract(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isAbstract(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Determine if an annotation of
annotationTypeis either present or meta-present on the suppliedelement. - isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Determine if an annotation of
annotationTypeis either present or meta-present on the suppliedelement. - isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Determine if an annotation of
annotationTypeis either present or meta-present on the supplied optionalelement. - isArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object is an array.
- isAssignableTo(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object can be assigned to the supplied type for the purpose of reflective method invocations.
- isBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringis blank (i.e.,nullor consisting only of whitespace characters). - isInnerClass(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isJavaPlatformModuleSystemAvailable() - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Determine if the current Java runtime supports the Java Platform Module System.
- isMethodPresent(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if a
Methodmatching the suppliedPredicateis present within the type hierarchy of the specified class, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted. - isNotBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringis not blank. - isNotPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPublic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPublic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
J
- JUnitException - Exception in org.junit.platform.commons
-
Base class for all
RuntimeExceptionsthrown by JUnit. - JUnitException(String) - Constructor for exception org.junit.platform.commons.JUnitException
- JUnitException(String, Throwable) - Constructor for exception org.junit.platform.commons.JUnitException
L
- loadClass(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Load a class by its primitive name or fully qualified name, using the default
ClassLoader. - loadClass(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- loadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Load a class by its primitive name or fully qualified name, using the supplied
ClassLoader. - Logger - Interface in org.junit.platform.commons.logging
-
The
LoggerAPI serves as a simple logging facade forjava.util.logging(JUL). - LoggerFactory - Class in org.junit.platform.commons.logging
-
Factory for the
Loggerfacade for JUL. - LogRecordListener - Class in org.junit.platform.commons.logging
-
LogRecordListeneris only intended for testing purposes within JUnit's own test suite. - LogRecordListener() - Constructor for class org.junit.platform.commons.logging.LogRecordListener
- logRecordSubmitted(LogRecord) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Inform the listener of a
LogRecordthat was submitted to JUL for processing.
M
- makeAccessible(T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- match(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
-
Test class using the stored class predicate.
- match(String) - Method in class org.junit.platform.commons.util.ClassFilter
-
Test name using the stored name predicate.
- ModuleUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
java.lang.Moduleand friends. - ModuleUtils() - Constructor for class org.junit.platform.commons.util.ModuleUtils
N
- newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Create a new instance of the specified
Classby invoking the constructor whose argument list matches the types of the supplied arguments. - newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- newInstance(Constructor<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Create a new instance of type
Tby invoking the supplied constructor with the supplied arguments. - notBlank(String, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Stringis not blank. - notBlank(String, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Stringis not blank. - notEmpty(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
nullnor empty. - notEmpty(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
nullnor empty. - notEmpty(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collectionis neithernullnor empty. - notEmpty(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collectionis neithernullnor empty. - notNull(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Objectis notnull. - notNull(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Objectis notnull. - nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of fully qualified class names for the supplied classes.
- nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of fully qualified class names for the supplied classes.
- nullSafeToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
-
Convert the supplied
Objectto aStringusing the following algorithm. - nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of mapped values for the supplied classes.
- nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of mapped values for the supplied classes.
O
- of(Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
-
Create a
ClassFilterinstance that accepts all names but filters classes. - of(Predicate<String>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
-
Create a
ClassFilterinstance that filters by names and classes. - org.junit.platform.commons - package org.junit.platform.commons
-
Internal common library of JUnit.
- org.junit.platform.commons.annotation - package org.junit.platform.commons.annotation
-
Common annotations for the JUnit Platform.
- org.junit.platform.commons.logging - package org.junit.platform.commons.logging
-
Internal logging package.
- org.junit.platform.commons.support - package org.junit.platform.commons.support
-
Maintained common support APIs provided by the JUnit Platform.
- org.junit.platform.commons.util - package org.junit.platform.commons.util
-
Internal common utilities for JUnit.
P
- PackageUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with packages.
- Preconditions - Class in org.junit.platform.commons.util
-
Collection of utilities for asserting preconditions for method and constructor arguments.
- PreconditionViolationException - Exception in org.junit.platform.commons.util
-
Thrown if a precondition is violated.
- PreconditionViolationException(String) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
- PreconditionViolationException(String, Throwable) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
R
- readFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the value of a potentially inaccessible or nonexistent field.
- readFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the value of a potentially inaccessible static field.
- readFieldValue(Field, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the value of a potentially inaccessible field.
- readStackTrace(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
-
Read the stacktrace of the supplied
Throwableinto a String. - ReflectionSupport - Class in org.junit.platform.commons.support
-
Common reflection and classpath scanning support.
- ReflectionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with the Java reflection APIs.
- ReflectionUtils.HierarchyTraversalMode - Enum in org.junit.platform.commons.util
-
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.
- removeListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Remove the supplied
LogRecordListenerfrom the set of registered listeners. - rethrowIfBlacklisted(Throwable) - Static method in class org.junit.platform.commons.util.BlacklistedExceptions
-
Rethrow the supplied
exceptionif it is blacklisted. - returnsVoid(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
S
- stream() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log recordsthat have been submitted to this listener. - stream(Class<?>) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log recordsthat have been submitted to this listener for the logger name equal to the name of the given class. - stream(Class<?>, Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log recordsthat have been submitted to this listener for the logger name equal to the name of the given class at the given log level. - StringUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Strings,CharSequences, etc.
T
- test(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
- Testable - Annotation Type in org.junit.platform.commons.annotation
-
@Testableis used to signal to IDEs and tooling vendors that the annotated or meta-annotated element is testable. - throwAsUncheckedException(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
-
Throw the supplied
Throwable, masked as an unchecked exception. - TOP_DOWN - org.junit.platform.commons.support.HierarchyTraversalMode
-
Traverse the hierarchy using top-down semantics.
- TOP_DOWN - org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Traverse the hierarchy using top-down semantics.
- toStream(Object) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Convert an object of one of the following supported types into a
Stream. - toString() - Method in class org.junit.platform.commons.util.ToStringBuilder
- ToStringBuilder - Class in org.junit.platform.commons.util
-
Simple builder for generating strings in custom implementations of
toString(). - ToStringBuilder(Class<?>) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
- ToStringBuilder(Object) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
- toUnmodifiableList() - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Return a
Collectorthat accumulates the input elements into a new unmodifiable list, in encounter order. - trace(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwableand message from the providedmessageSupplierat trace level. - trace(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat trace level.
V
- valueOf(String) - Static method in enum org.junit.platform.commons.support.HierarchyTraversalMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.junit.platform.commons.support.HierarchyTraversalMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - Static variable in class org.junit.platform.commons.util.ModuleUtils
-
Version hint is set to
"base"here.
W
- warn(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwableand message from the providedmessageSupplierat warning level. - warn(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat warning level. - where(Function<T, V>, Predicate<? super V>) - Static method in class org.junit.platform.commons.util.FunctionUtils
-
Return a predicate that first applies the specified function and then tests the specified predicate against the result of the function.