Package org.assertj.core.api
Class SoftProxies
- java.lang.Object
-
- org.assertj.core.api.SoftProxies
-
class SoftProxies extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static net.bytebuddy.ByteBuddyBYTE_BUDDYprivate static net.bytebuddy.TypeCache<net.bytebuddy.TypeCache.SimpleKey>CACHEprivate ErrorCollectorcollectorprivate static net.bytebuddy.implementation.ImplementationERROR_COLLECTORprivate static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>METHODS_CHANGING_THE_OBJECT_UNDER_TESTprivate static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>METHODS_NOT_TO_PROXYprivate static net.bytebuddy.implementation.ImplementationPROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST
-
Constructor Summary
Constructors Constructor Description SoftProxies()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcollectError(Throwable error)(package private) IterableSizeAssert<?>createIterableSizeAssertProxy(IterableSizeAssert<?> iterableSizeAssert)(package private) MapSizeAssert<?,?>createMapSizeAssertProxy(MapSizeAssert<?,?> mapSizeAssert)(package private) RecursiveComparisonAssert<?>createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> recursiveComparisonAssert)(package private) <V,T>
VcreateSoftAssertionProxy(Class<V> assertClass, Class<T> actualClass, T actual)private static <V> Class<? extends V>createSoftAssertionProxyClass(Class<V> assertClass)(package private) List<Throwable>errorsCollected()(package private) static <V> Class<? extends V>generateProxyClass(Class<V> assertClass)private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>methodsNamed(String name)booleanwasSuccess()
-
-
-
Field Detail
-
METHODS_CHANGING_THE_OBJECT_UNDER_TEST
private static final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> METHODS_CHANGING_THE_OBJECT_UNDER_TEST
-
METHODS_NOT_TO_PROXY
private static final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> METHODS_NOT_TO_PROXY
-
BYTE_BUDDY
private static final net.bytebuddy.ByteBuddy BYTE_BUDDY
-
PROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST
private static final net.bytebuddy.implementation.Implementation PROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST
-
ERROR_COLLECTOR
private static final net.bytebuddy.implementation.Implementation ERROR_COLLECTOR
-
CACHE
private static final net.bytebuddy.TypeCache<net.bytebuddy.TypeCache.SimpleKey> CACHE
-
collector
private final ErrorCollector collector
-
-
Method Detail
-
wasSuccess
public boolean wasSuccess()
-
collectError
void collectError(Throwable error)
-
createSoftAssertionProxy
<V,T> V createSoftAssertionProxy(Class<V> assertClass, Class<T> actualClass, T actual)
-
createSoftAssertionProxyClass
private static <V> Class<? extends V> createSoftAssertionProxyClass(Class<V> assertClass)
-
createIterableSizeAssertProxy
IterableSizeAssert<?> createIterableSizeAssertProxy(IterableSizeAssert<?> iterableSizeAssert)
-
createMapSizeAssertProxy
MapSizeAssert<?,?> createMapSizeAssertProxy(MapSizeAssert<?,?> mapSizeAssert)
-
createRecursiveComparisonAssertProxy
RecursiveComparisonAssert<?> createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> recursiveComparisonAssert)
-
methodsNamed
private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodsNamed(String name)
-
-