Package org.assertj.core.api
Class ProxyableObjectArrayAssert<ELEMENT>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,ELEMENT[]>
-
- org.assertj.core.api.AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
-
- org.assertj.core.api.ProxyableObjectArrayAssert<ELEMENT>
-
- All Implemented Interfaces:
ArraySortedAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>,ELEMENT>
,Assert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT[]>
,Descriptable<ProxyableObjectArrayAssert<ELEMENT>>
,EnumerableAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>,ELEMENT>
,ExtensionPoints<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT[]>
,IndexedObjectEnumerableAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>,ELEMENT>
,ObjectEnumerableAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>,ELEMENT>
public class ProxyableObjectArrayAssert<ELEMENT> extends AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
Concrete assertions for arrays of objects without any final methods to allow proxying.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractObjectArrayAssert
arrays, comparatorsByType, comparatorsForElementPropertyOrFieldNames, comparatorsForElementPropertyOrFieldTypes, iterables
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, info, myself, objects, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description ProxyableObjectArrayAssert(ELEMENT[] actual)
ProxyableObjectArrayAssert(AtomicReferenceArray<ELEMENT> actual)
ProxyableObjectArrayAssert(ProxyableObjectArrayAssert<ELEMENT> actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <E> AbstractListAssert<?,List<? extends E>,E,ObjectAssert<E>>
newListAssertInstance(List<? extends E> newActual)
Create a friendly soft or "hard" assertion.protected ProxyableObjectArrayAssert<ELEMENT>
newObjectArrayAssert(ELEMENT[] array)
-
Methods inherited from class org.assertj.core.api.AbstractObjectArrayAssert
allMatch, allMatch, allSatisfy, anyMatch, anySatisfy, are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, as, as, contains, contains, containsAll, containsAnyElementsOf, containsAnyOf, containsExactly, containsExactlyElementsOf, containsExactlyInAnyOrder, containsExactlyInAnyOrderElementsOf, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyNulls, containsOnlyOnce, containsSequence, containsSequence, containsSubsequence, containsSubsequence, doesNotContain, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotContainSequence, doesNotContainSequence, doesNotContainSubsequence, doesNotContainSubsequence, doesNotHaveAnyElementsOfTypes, doesNotHaveDuplicates, doNotHave, endsWith, endsWith, extracting, extracting, extracting, extracting, extracting, extracting, extractingResultOf, extractingResultOf, filteredOn, filteredOn, filteredOn, filteredOn, filteredOnAssertions, filteredOnNull, flatExtracting, flatExtracting, flatExtracting, getComparatorsByType, getComparatorsForElementPropertyOrFieldTypes, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasOnlyElementsOfTypes, hasOnlyOneElementSatisfying, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSorted, isSortedAccordingTo, isSubsetOf, isSubsetOf, noneMatch, noneSatisfy, startsWith, usingComparatorForElementFieldsWithNames, usingComparatorForElementFieldsWithType, usingComparatorForType, usingDefaultElementComparator, usingElementComparator, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparator, usingRecursiveFieldByFieldElementComparator, withAssertionState, withComparatorsForElementPropertyOrFieldNames, withComparatorsForElementPropertyOrFieldTypes, withIterables, withObjectArrays, withTypeComparators, zipSatisfy
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
ProxyableObjectArrayAssert
public ProxyableObjectArrayAssert(ELEMENT[] actual)
-
ProxyableObjectArrayAssert
public ProxyableObjectArrayAssert(AtomicReferenceArray<ELEMENT> actual)
-
ProxyableObjectArrayAssert
public ProxyableObjectArrayAssert(ProxyableObjectArrayAssert<ELEMENT> actual)
-
-
Method Detail
-
newObjectArrayAssert
protected ProxyableObjectArrayAssert<ELEMENT> newObjectArrayAssert(ELEMENT[] array)
- Specified by:
newObjectArrayAssert
in classAbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
-
newListAssertInstance
protected <E> AbstractListAssert<?,List<? extends E>,E,ObjectAssert<E>> newListAssertInstance(List<? extends E> newActual)
Description copied from class:AbstractObjectArrayAssert
Create a friendly soft or "hard" assertion.Implementations need to redefine it so that some methods, such as
AbstractObjectArrayAssert.extracting(Function)
, are able to build the appropriate list assert (eg:ListAssert
versusProxyableListAssert
).The default implementation will assume that this concrete implementation is NOT a soft assertion.
- Overrides:
newListAssertInstance
in classAbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
- Type Parameters:
E
- the type of elements.- Parameters:
newActual
- new value- Returns:
- a new
AbstractListAssert
.
-
-