Package org.junit.platform.commons.util
Internal common utilities for JUnit.
DISCLAIMER
These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!
-
Class Summary Class Description AnnotationUtils Collection of utilities for working with annotations.BlacklistedExceptions Internal utilities for working with blacklisted exceptions.ClassFilter Class-related predicate holder used by reflection utilities.ClassLoaderUtils Collection of utilities for working with ClassLoader and associated tasks.ClassUtils Collection of utilities for working withclasses
.CollectionUtils Collection of utilities for working withCollections
.ExceptionUtils Collection of utilities for working with exceptions.FunctionUtils Collection of utilities for working withFunctions
,Predicates
, etc.ModuleUtils Collection of utilities for working withjava.lang.Module
and friends.PackageUtils Collection of utilities for working with packages.Preconditions Collection of utilities for asserting preconditions for method and constructor arguments.ReflectionUtils Collection of utilities for working with the Java reflection APIs.StringUtils Collection of utilities for working withStrings
,CharSequences
, etc.ToStringBuilder Simple builder for generating strings in custom implementations oftoString()
. -
Enum Summary Enum Description ReflectionUtils.HierarchyTraversalMode Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy. -
Exception Summary Exception Description ModuleUtils Collection of utilities for working withjava.lang.Module
and friends.PreconditionViolationException Thrown if a precondition is violated.