Module org.junit.platform.commons
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 Deprecated. UseUnrecoverableExceptions
instead.ClassFilter Class-related predicate used by reflection utilities.ClassLoaderUtils Collection of utilities for working with ClassLoader and associated tasks.ClassNamePatternFilterUtils Collection of utilities for creating filters based on class names.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.LruCache<K,V> A simple LRU cache with a maximum size.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.RuntimeUtils Collection of utilities for working withRuntime
,RuntimeMXBean
, etc.StringUtils Collection of utilities for working withStrings
,CharSequences
, etc.ToStringBuilder Simple builder for generating strings in custom implementations oftoString()
.UnrecoverableExceptions Internal utilities for working with unrecoverable exceptions. -
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 Deprecated. Use PreconditionViolationException instead.