public class ProxyableObjectArrayAssert<ELEMENT> extends AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
actual, info, myself, throwUnsupportedExceptionOnEquals
Constructor and Description |
---|
ProxyableObjectArrayAssert(AtomicReferenceArray<ELEMENT> actual) |
ProxyableObjectArrayAssert(ELEMENT[] actual) |
ProxyableObjectArrayAssert(ProxyableObjectArrayAssert<ELEMENT> actual) |
Modifier and Type | Method and 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) |
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, zipSatisfy
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
public ProxyableObjectArrayAssert(ELEMENT[] actual)
public ProxyableObjectArrayAssert(AtomicReferenceArray<ELEMENT> actual)
public ProxyableObjectArrayAssert(ProxyableObjectArrayAssert<ELEMENT> actual)
protected ProxyableObjectArrayAssert<ELEMENT> newObjectArrayAssert(ELEMENT[] array)
newObjectArrayAssert
in class AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
protected <E> AbstractListAssert<?,List<? extends E>,E,ObjectAssert<E>> newListAssertInstance(List<? extends E> newActual)
AbstractObjectArrayAssert
Implementations need to redefine it so that some methods, such as AbstractObjectArrayAssert.extracting(Function)
, are able
to build the appropriate list assert (eg: ListAssert
versus ProxyableListAssert
).
The default implementation will assume that this concrete implementation is NOT a soft assertion.
newListAssertInstance
in class AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
E
- the type of elements.newActual
- new valueAbstractListAssert
.Copyright © 2014–2019 AssertJ. All rights reserved.