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!
-
Interface Summary Interface Description StringUtils.TwoPartSplitResult The result of splitting a string into up to two parts. -
Class Summary Class Description AnnotationUtils Collection of utilities for working with annotations.BlacklistedExceptions Deprecated. UseUnrecoverableExceptionsinstead.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.KotlinReflectionUtils Internal Kotlin-specific reflection utilitiesLruCache<K,V> A simple LRU cache with a maximum size.ModuleUtils Collection of utilities for working withjava.lang.Moduleand 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.ResourceUtils Collection of static utility methods for working with resources.RuntimeUtils Collection of utilities for working withRuntime,RuntimeMXBean, etc.ServiceLoaderUtils Collection of utilities for working withServiceLoader.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.CycleErrorHandling 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 PreconditionViolationException Deprecated. Use PreconditionViolationException instead.