class SoftProxies
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static net.bytebuddy.ByteBuddy |
BYTE_BUDDY |
private static net.bytebuddy.TypeCache<net.bytebuddy.TypeCache.SimpleKey> |
CACHE |
private ErrorCollector |
collector |
private static net.bytebuddy.implementation.Implementation |
ERROR_COLLECTOR |
private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
METHODS_CHANGING_THE_OBJECT_UNDER_TEST |
private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
METHODS_NOT_TO_PROXY |
private static net.bytebuddy.implementation.Implementation |
PROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST |
Constructor and Description |
---|
SoftProxies() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
collectError(java.lang.Throwable error) |
(package private) IterableSizeAssert<?> |
createIterableSizeAssertProxy(IterableSizeAssert<?> iterableSizeAssert) |
(package private) MapSizeAssert<?,?> |
createMapSizeAssertProxy(MapSizeAssert<?,?> mapSizeAssert) |
(package private) RecursiveComparisonAssert<?> |
createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> recursiveComparisonAssert) |
(package private) <V,T> V |
createSoftAssertionProxy(java.lang.Class<V> assertClass,
java.lang.Class<T> actualClass,
T actual) |
private static <V> java.lang.Class<? extends V> |
createSoftAssertionProxyClass(java.lang.Class<V> assertClass) |
(package private) java.util.List<java.lang.Throwable> |
errorsCollected() |
(package private) static <V> java.lang.Class<? extends V> |
generateProxyClass(java.lang.Class<V> assertClass) |
private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
methodsNamed(java.lang.String name) |
boolean |
wasSuccess() |
private static final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> METHODS_CHANGING_THE_OBJECT_UNDER_TEST
private static final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> METHODS_NOT_TO_PROXY
private static final net.bytebuddy.ByteBuddy BYTE_BUDDY
private static final net.bytebuddy.implementation.Implementation PROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST
private static final net.bytebuddy.implementation.Implementation ERROR_COLLECTOR
private static final net.bytebuddy.TypeCache<net.bytebuddy.TypeCache.SimpleKey> CACHE
private final ErrorCollector collector
public boolean wasSuccess()
void collectError(java.lang.Throwable error)
java.util.List<java.lang.Throwable> errorsCollected()
<V,T> V createSoftAssertionProxy(java.lang.Class<V> assertClass, java.lang.Class<T> actualClass, T actual)
private static <V> java.lang.Class<? extends V> createSoftAssertionProxyClass(java.lang.Class<V> assertClass)
IterableSizeAssert<?> createIterableSizeAssertProxy(IterableSizeAssert<?> iterableSizeAssert)
MapSizeAssert<?,?> createMapSizeAssertProxy(MapSizeAssert<?,?> mapSizeAssert)
RecursiveComparisonAssert<?> createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> recursiveComparisonAssert)
static <V> java.lang.Class<? extends V> generateProxyClass(java.lang.Class<V> assertClass)
private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodsNamed(java.lang.String name)