Class UnorderedCollectIteratorAssert<T>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<UnorderedCollectIteratorAssert<T>,Iterator<T>>
-
- org.apache.flink.connector.testframe.utils.UnorderedCollectIteratorAssert<T>
-
- Type Parameters:
T- The type of records in the test data and collect iterator
- All Implemented Interfaces:
org.assertj.core.api.Assert<UnorderedCollectIteratorAssert<T>,Iterator<T>>,org.assertj.core.api.Descriptable<UnorderedCollectIteratorAssert<T>>,org.assertj.core.api.ExtensionPoints<UnorderedCollectIteratorAssert<T>,Iterator<T>>
public class UnorderedCollectIteratorAssert<T> extends org.assertj.core.api.AbstractAssert<UnorderedCollectIteratorAssert<T>,Iterator<T>>
This assertion used to compare records in the collect iterator to the target test data with different semantics (AT_LEAST_ONCE, EXACTLY_ONCE) for unordered messages.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnorderedCollectIteratorAssert(Iterator<T> collectorIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmatchesRecordsFromSource(List<List<T>> recordsBySplitsFromSource, org.apache.flink.streaming.api.CheckpointingMode semantic)UnorderedCollectIteratorAssert<T>withNumRecordsLimit(int limit)-
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
withNumRecordsLimit
public UnorderedCollectIteratorAssert<T> withNumRecordsLimit(int limit)
-
-