| Package | Description |
|---|---|
| fluent.validation | |
| fluent.validation.evaluation | |
| fluent.validation.result |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCheckDsl<L,D> |
class |
CheckDsl<D> |
class |
MapCheckBuilder<K,V> |
| Modifier and Type | Method and Description |
|---|---|
static Check<Object> |
Checks.a(Class<?> expectedClass) |
static Check<Object> |
BasicChecks.a(Class<?> expectedClass) |
static <D> Check<D> |
Checks.allOf(Check<? super D>... operands) |
static <D> Check<D> |
BasicChecks.allOf(Check<? super D>... operands) |
static <D> Check<D> |
Checks.allOf(Iterable<Check<? super D>> operands) |
static <D> Check<D> |
BasicChecks.allOf(Iterable<Check<? super D>> operands) |
static Check<Object> |
Checks.an(Class<?> expectedClass) |
static Check<Object> |
BasicChecks.an(Class<?> expectedClass) |
<U extends T> |
Check.and(Check<? super U> operand)
Compose this check with another one using logical AND operator.
|
static <D> Check<D> |
Checks.anyOf(Check<? super D>... operands) |
static <D> Check<D> |
BasicChecks.anyOf(Check<? super D>... operands) |
static <D> Check<D> |
Checks.anyOf(Iterable<Check<? super D>> operands) |
static <D> Check<D> |
BasicChecks.anyOf(Iterable<Check<? super D>> operands) |
static Check<Object> |
Checks.anything() |
static Check<Object> |
BasicChecks.anything() |
static <T> Check<T[]> |
CollectionChecks.array(Check<Iterator<T>> check) |
static <D extends Comparable<D>> |
Checks.between(D left,
D right) |
static <D extends Comparable<D>> |
ComparisonChecks.between(D left,
D right) |
static <D> Check<D> |
Checks.between(D left,
D right,
Comparator<D> comparator) |
static <D> Check<D> |
ComparisonChecks.between(D left,
D right,
Comparator<D> comparator) |
static <D extends Comparable<D>> |
Checks.betweenInclusive(D left,
D right) |
static <D extends Comparable<D>> |
ComparisonChecks.betweenInclusive(D left,
D right) |
static <D> Check<D> |
Checks.betweenInclusive(D left,
D right,
Comparator<D> comparator) |
static <D> Check<D> |
ComparisonChecks.betweenInclusive(D left,
D right,
Comparator<D> comparator) |
static <T> Check<BlockingQueue<T>> |
CollectionChecks.blockingQueue(Check<Iterator<T>> check,
Duration timeout) |
static Check<ResultSet> |
DatabaseChecks.booleanColumn(int position,
Check<? super Boolean> check) |
static Check<ResultSet> |
DatabaseChecks.booleanColumn(String label,
Check<? super Boolean> check) |
static Check<ResultSet> |
DatabaseChecks.byteColumn(int position,
Check<? super Byte> check) |
static Check<ResultSet> |
DatabaseChecks.byteColumn(String label,
Check<? super Byte> check) |
static Check<ResultSet> |
DatabaseChecks.bytesColumn(int position,
Check<? super byte[]> check) |
static Check<ResultSet> |
DatabaseChecks.bytesColumn(String label,
Check<? super byte[]> check) |
static Check<BigDecimal> |
Checks.closeTo(BigDecimal operand,
BigDecimal precision) |
static Check<BigDecimal> |
NumericChecks.closeTo(BigDecimal operand,
BigDecimal precision) |
static Check<Double> |
Checks.closeTo(double operand,
double precision) |
static Check<Double> |
NumericChecks.closeTo(double operand,
double precision) |
static Check<Float> |
Checks.closeTo(float operand,
float precision) |
static Check<Float> |
NumericChecks.closeTo(float operand,
float precision) |
static <T> Check<Iterable<T>> |
CollectionChecks.collection(Check<Iterator<T>> check) |
static <T> Check<ResultSet> |
DatabaseChecks.column(int position,
Class<T> type,
Check<? super T> check) |
static <T> Check<ResultSet> |
DatabaseChecks.column(String label,
Class<T> type,
Check<? super T> check) |
static Check<ResultSetMetaData> |
DatabaseChecks.columnCount(int expectedValue) |
static Check<ResultSetMetaData> |
DatabaseChecks.columnName(int position,
String expectedName) |
static <D,V> Check<D> |
Checks.compose(String name,
Transformation<? super D,V> transformation,
Check<? super V> check) |
static <D,V> Check<D> |
BasicChecks.compose(String name,
Transformation<? super D,V> transformation,
Check<? super V> check) |
static <T> Check<Iterator<T>> |
CollectionChecks.contains(Iterable<Check<? super T>> elementChecks) |
static Check<String> |
StringChecks.contains(String substring) |
static <T> Check<Iterator<T>> |
CollectionChecks.contains(String elementName,
Iterable<Check<? super T>> elementChecks) |
static <D> Check<Collection<D>> |
CollectionChecks.containsAll(Collection<D> items) |
static <D> Check<Collection<D>> |
CollectionChecks.containsAll(D... items) |
static Check<String> |
StringChecks.containsCaseInsensitive(String substring) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrder(Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrder(String elementName,
Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrderOnly(Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrderOnly(String elementName,
Collection<Check<? super T>> elementChecks) |
static <D> Check<D> |
Checks.createBuilder() |
static <D> Check<D> |
BasicChecks.createBuilder() |
static <D> Check<D> |
Checks.createBuilderWith(Check<D> check) |
static <D> Check<D> |
BasicChecks.createBuilderWith(Check<D> check) |
static Check<ResultSet> |
DatabaseChecks.doubleColumn(int position,
Check<? super Double> check) |
static Check<ResultSet> |
DatabaseChecks.doubleColumn(String label,
Check<? super Double> check) |
static <D> Check<D[]> |
Checks.emptyArray()
Create matcher of empty array.
|
static <D> Check<D[]> |
BasicChecks.emptyArray()
Create matcher of empty array.
|
static <D> Check<Collection<D>> |
CollectionChecks.emptyCollection()
Create matcher of empty collection.
|
static Check<String> |
StringChecks.emptyString() |
static Check<String> |
StringChecks.endsCaseInsensitiveWith(String suffix) |
static Check<String> |
StringChecks.endsWith(String suffix) |
static Check<String> |
StringChecks.equalCaseInsensitiveTo(String expectedValue) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalInAnyOrderTo(Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalInAnyOrderTo(String elementName,
Collection<Check<? super T>> elementChecks) |
static <D extends Comparable<D>> |
Checks.equalOrLessThan(D operand) |
static <D extends Comparable<D>> |
ComparisonChecks.equalOrLessThan(D operand) |
static <D> Check<D> |
Checks.equalOrLessThan(D operand,
Comparator<D> comparator) |
static <D> Check<D> |
ComparisonChecks.equalOrLessThan(D operand,
Comparator<D> comparator) |
static <D extends Comparable<D>> |
Checks.equalOrMoreThan(D operand) |
static <D extends Comparable<D>> |
ComparisonChecks.equalOrMoreThan(D operand) |
static <D> Check<D> |
Checks.equalOrMoreThan(D operand,
Comparator<D> comparator) |
static <D> Check<D> |
ComparisonChecks.equalOrMoreThan(D operand,
Comparator<D> comparator) |
static Check<BigDecimal> |
Checks.equalTo(BigDecimal expectedValue) |
static Check<BigDecimal> |
NumericChecks.equalTo(BigDecimal expectedValue) |
static <D> Check<D> |
Checks.equalTo(D expectedValue) |
static <D> Check<D> |
BasicChecks.equalTo(D expectedValue) |
static Check<Double> |
Checks.equalTo(Double expectedValue) |
static Check<Double> |
NumericChecks.equalTo(Double expectedValue) |
static Check<Float> |
Checks.equalTo(Float expectedValue) |
static Check<Float> |
NumericChecks.equalTo(Float expectedValue) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalTo(Iterable<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalTo(String elementName,
Iterable<Check<? super T>> elementChecks) |
static <D> Check<Iterable<D>> |
CollectionChecks.every(String elementName,
Check<? super D> check) |
static Check<PreparedStatement> |
DatabaseChecks.executeQuery(Check<? super ResultSet> check) |
static <D> Check<Iterable<D>> |
CollectionChecks.exists(String elementName,
Check<? super D> check) |
static Check<ResultSet> |
DatabaseChecks.hasMoreRecords() |
static Check<ResultSet> |
DatabaseChecks.hasNoMoreRecords() |
static <D> Check<Collection<D>> |
CollectionChecks.hasSize(int size)
Create matcher of collection size.
|
static <D> Check<D> |
Checks.check(Predicate<D> predicate,
String expectationDescription) |
static <D> Check<D> |
BasicChecks.check(Predicate<D> predicate,
String expectationDescription) |
static Check<Object> |
Checks.instanceOf(Class<?> expectedClass) |
static Check<Object> |
BasicChecks.instanceOf(Class<?> expectedClass) |
static Check<ResultSet> |
DatabaseChecks.intColumn(int position,
Check<? super Integer> check) |
static Check<ResultSet> |
DatabaseChecks.intColumn(String label,
Check<? super Integer> check) |
static <D> Check<D> |
Checks.is(D expectedValue) |
static <D> Check<D> |
BasicChecks.is(D expectedValue) |
static Check<Object> |
Checks.isA(Class<?> expectedClass) |
static Check<Object> |
BasicChecks.isA(Class<?> expectedClass) |
static Check<Object> |
Checks.isAn(Class<?> expectedClass) |
static Check<Object> |
BasicChecks.isAn(Class<?> expectedClass) |
static Check<Object> |
Checks.isNull() |
static Check<Object> |
BasicChecks.isNull() |
static <D extends Comparable<D>> |
Checks.lessThan(D operand) |
static <D extends Comparable<D>> |
ComparisonChecks.lessThan(D operand) |
static <D> Check<D> |
Checks.lessThan(D operand,
Comparator<D> comparator) |
static <D> Check<D> |
ComparisonChecks.lessThan(D operand,
Comparator<D> comparator) |
static <K,V> Check<Map<K,V>> |
CollectionChecks.mapHas(K key,
Check<? super V> check) |
static Check<String> |
StringChecks.matches(Pattern pattern) |
static Check<String> |
StringChecks.matchesPattern(String pattern) |
static Check<Object> |
XmlChecks.matchesXPath(String xPath) |
static Check<Throwable> |
Checks.message(Check<? super String> check) |
static Check<Throwable> |
BasicChecks.message(Check<? super String> check) |
static Check<ResultSet> |
DatabaseChecks.metadata(Check<? super ResultSetMetaData> check) |
static <V> Check<ResultSetMetaData> |
DatabaseChecks.metadataCheck(String name,
Transformation<ResultSetMetaData,V> function,
Check<? super V> check) |
static <D extends Comparable<D>> |
Checks.moreThan(D operand) |
static <D extends Comparable<D>> |
ComparisonChecks.moreThan(D operand) |
static <D> Check<D> |
Checks.moreThan(D operand,
Comparator<D> comparator) |
static <D> Check<D> |
ComparisonChecks.moreThan(D operand,
Comparator<D> comparator) |
static <D> Check<D> |
Checks.not(D positiveValue) |
static <D> Check<D> |
BasicChecks.not(D positiveValue) |
static <D> Check<D> |
Checks.not(Check<D> positiveCheck) |
static <D> Check<D> |
BasicChecks.not(Check<D> positiveCheck) |
static Check<Object> |
Checks.notNull() |
static Check<Object> |
BasicChecks.notNull() |
static <D> Check<D> |
Checks.nullableCondition(Predicate<D> predicate,
String expectationDescription)
Define a transparent check using provided predicate and string expectation description.
|
static <D> Check<D> |
BasicChecks.nullableCondition(Predicate<D> predicate,
String expectationDescription)
Define a transparent check using provided predicate and string expectation description.
|
static <D> Check<D> |
Checks.oneOf(Collection<D> alternatives)
Create matcher, that matches, if tested object meets one of provided alternatives (or).
|
static <D> Check<D> |
BasicChecks.oneOf(Collection<D> alternatives)
Create matcher, that matches, if tested object meets one of provided alternatives (or).
|
static <D> Check<D> |
Checks.oneOf(D... alternatives)
Create matcher, that matches, if tested object meets one of provided alternatives (or).
|
static <D> Check<D> |
BasicChecks.oneOf(D... alternatives)
Create matcher, that matches, if tested object meets one of provided alternatives (or).
|
<U extends T> |
Check.or(Check<? super U> operand)
Compose this check with another one using logical OR operator.
|
static <T> Check<CallableStatement> |
DatabaseChecks.outParameter(int position,
Class<T> type,
Check<? super T> check) |
static <T> Check<Queue<T>> |
CollectionChecks.queue(Check<Iterator<T>> check) |
static <D> Check<D> |
CollectionChecks.repeatMax(Check<D> attemptCheck,
int max) |
static <D> Check<D> |
CollectionChecks.repeatMax(Check<D> itemCheck,
int max,
Duration delay) |
static <D> Check<D> |
Checks.require(Check<? super D> requirement,
Check<? super D> check) |
static <D> Check<D> |
BasicChecks.require(Check<? super D> requirement,
Check<? super D> check) |
static <D> Check<D> |
Checks.requireNotNull(Check<D> check) |
static <D> Check<D> |
BasicChecks.requireNotNull(Check<D> check) |
static Check<ResultSet> |
DatabaseChecks.resultSetContains(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetContainsInAnyOrder(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetEqualInAnyOrderTo(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetEqualTo(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetStartsInAnyOrderWith(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetStartsWith(Collection<Check<? super ResultSet>> checks) |
static Check<Object> |
Checks.sameClass(Class<?> expectedClass) |
static Check<Object> |
BasicChecks.sameClass(Class<?> expectedClass) |
static <D> Check<D> |
Checks.sameInstance(D expectedInstance) |
static <D> Check<D> |
BasicChecks.sameInstance(D expectedInstance) |
static <R> Check<ResultSet> |
DatabaseChecks.sqlCheck(int position,
Transformation<ResultSet,R> function,
Check<? super R> check) |
static <R> Check<ResultSet> |
DatabaseChecks.sqlCheck(String name,
Transformation<ResultSet,R> function,
Check<? super R> check) |
static Check<String> |
StringChecks.startsCaseInsensitiveWith(String prefix) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsInAnyOrderWith(Collection<Check<? super T>> prefixElementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsInAnyOrderWith(String elementName,
Collection<Check<? super T>> prefixElementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsWith(Iterable<Check<? super T>> prefix) |
static Check<String> |
StringChecks.startsWith(String prefix) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsWith(String elementName,
Iterable<Check<? super T>> prefix) |
static Check<ResultSet> |
DatabaseChecks.stringColumn(int position,
Check<? super String> check) |
static Check<ResultSet> |
DatabaseChecks.stringColumn(String label,
Check<? super String> check) |
static <D> Check<Collection<D>> |
CollectionChecks.subsetOf(Collection<D> superSet)
Create matcher, that matches if tested collection meets subset of provided superset.
|
static <D> Check<Collection<D>> |
CollectionChecks.subsetOf(D... superSet)
Create matcher, that matches if tested collection meets subset of provided superset.
|
static <D,V> Check<D> |
Checks.transform(Transformation<? super D,V> transformation,
Check<? super V> check) |
static <D,V> Check<D> |
BasicChecks.transform(Transformation<? super D,V> transformation,
Check<? super V> check) |
static <D> Check<D> |
Checks.which(Check<D> check) |
static <D> Check<D> |
BasicChecks.which(Check<D> check) |
| Modifier and Type | Method and Description |
|---|---|
static <V> CheckBuilder<V,Check<V>> |
Checks.as(Class<V> type) |
static <V> CheckBuilder<V,Check<V>> |
BasicChecks.as(Class<V> type) |
static <D,V> CheckBuilder<V,Check<D>> |
Checks.has(String name,
Transformation<? super D,V> transformation) |
static <D,V> CheckBuilder<V,Check<D>> |
BasicChecks.has(String name,
Transformation<? super D,V> transformation) |
static CheckBuilder<Object,Check<Object>> |
XmlChecks.hasNode(String xPath) |
static CheckBuilder<Object,Check<Object>> |
XmlChecks.hasNode(String xPath,
QName type) |
static CheckBuilder<Object,Check<String>> |
XmlChecks.hasXPath(String xPath) |
static <T> Collection<Check<? super T>> |
CollectionChecks.items(T... expectedValues) |
static <T> Collection<Check<? super T>> |
CollectionChecks.itemsMatching(Check<? super T>... expectedValues) |
static <D,V> CheckBuilder<V,Check<D>> |
Checks.nullableHas(String name,
Transformation<? super D,V> transformation) |
static <D,V> CheckBuilder<V,Check<D>> |
BasicChecks.nullableHas(String name,
Transformation<? super D,V> transformation) |
| Modifier and Type | Method and Description |
|---|---|
static <D> Check<D> |
Checks.allOf(Check<? super D>... operands) |
static <D> Check<D> |
BasicChecks.allOf(Check<? super D>... operands) |
<U extends T> |
Check.and(Check<? super U> operand)
Compose this check with another one using logical AND operator.
|
static <D> Check<D> |
Checks.anyOf(Check<? super D>... operands) |
static <D> Check<D> |
BasicChecks.anyOf(Check<? super D>... operands) |
static <T> Check<T[]> |
CollectionChecks.array(Check<Iterator<T>> check) |
static <T> Check<BlockingQueue<T>> |
CollectionChecks.blockingQueue(Check<Iterator<T>> check,
Duration timeout) |
static Check<ResultSet> |
DatabaseChecks.booleanColumn(int position,
Check<? super Boolean> check) |
static Check<ResultSet> |
DatabaseChecks.booleanColumn(String label,
Check<? super Boolean> check) |
static Check<ResultSet> |
DatabaseChecks.byteColumn(int position,
Check<? super Byte> check) |
static Check<ResultSet> |
DatabaseChecks.byteColumn(String label,
Check<? super Byte> check) |
static Check<ResultSet> |
DatabaseChecks.bytesColumn(int position,
Check<? super byte[]> check) |
static Check<ResultSet> |
DatabaseChecks.bytesColumn(String label,
Check<? super byte[]> check) |
static <T> Check<Iterable<T>> |
CollectionChecks.collection(Check<Iterator<T>> check) |
static <T> Check<ResultSet> |
DatabaseChecks.column(int position,
Class<T> type,
Check<? super T> check) |
static <T> Check<ResultSet> |
DatabaseChecks.column(String label,
Class<T> type,
Check<? super T> check) |
static <D,V> Check<D> |
Checks.compose(String name,
Transformation<? super D,V> transformation,
Check<? super V> check) |
static <D,V> Check<D> |
BasicChecks.compose(String name,
Transformation<? super D,V> transformation,
Check<? super V> check) |
static <D> Check<D> |
Checks.createBuilderWith(Check<D> check) |
static <D> Check<D> |
BasicChecks.createBuilderWith(Check<D> check) |
static Check<ResultSet> |
DatabaseChecks.doubleColumn(int position,
Check<? super Double> check) |
static Check<ResultSet> |
DatabaseChecks.doubleColumn(String label,
Check<? super Double> check) |
static <T> Result |
Check.evaluate(T data,
Check<? super T> check) |
static <T> Result |
Check.evaluate(T data,
Check<? super T> check,
ResultFactory resultFactory) |
static <D> Check<Iterable<D>> |
CollectionChecks.every(String elementName,
Check<? super D> check) |
static Check<PreparedStatement> |
DatabaseChecks.executeQuery(Check<? super ResultSet> check) |
static <D> Check<Iterable<D>> |
CollectionChecks.exists(String elementName,
Check<? super D> check) |
static Check<ResultSet> |
DatabaseChecks.intColumn(int position,
Check<? super Integer> check) |
static Check<ResultSet> |
DatabaseChecks.intColumn(String label,
Check<? super Integer> check) |
static <T> Collection<Check<? super T>> |
CollectionChecks.itemsMatching(Check<? super T>... expectedValues) |
static <K,V> Check<Map<K,V>> |
CollectionChecks.mapHas(K key,
Check<? super V> check) |
R |
CheckBuilder.matching(Check<? super V> check)
Set check, that a value must match.
|
static Check<Throwable> |
Checks.message(Check<? super String> check) |
static Check<Throwable> |
BasicChecks.message(Check<? super String> check) |
static Check<ResultSet> |
DatabaseChecks.metadata(Check<? super ResultSetMetaData> check) |
static <V> Check<ResultSetMetaData> |
DatabaseChecks.metadataCheck(String name,
Transformation<ResultSetMetaData,V> function,
Check<? super V> check) |
static <D> Check<D> |
Checks.not(Check<D> positiveCheck) |
static <D> Check<D> |
BasicChecks.not(Check<D> positiveCheck) |
<U extends T> |
Check.or(Check<? super U> operand)
Compose this check with another one using logical OR operator.
|
static <T> Check<CallableStatement> |
DatabaseChecks.outParameter(int position,
Class<T> type,
Check<? super T> check) |
static <T> Check<Queue<T>> |
CollectionChecks.queue(Check<Iterator<T>> check) |
static <D> Check<D> |
CollectionChecks.repeatMax(Check<D> attemptCheck,
int max) |
static <D> Check<D> |
CollectionChecks.repeatMax(Check<D> itemCheck,
int max,
Duration delay) |
static <D> Check<D> |
Checks.require(Check<? super D> requirement,
Check<? super D> check) |
static <D> Check<D> |
Checks.require(Check<? super D> requirement,
Check<? super D> check) |
static <D> Check<D> |
BasicChecks.require(Check<? super D> requirement,
Check<? super D> check) |
static <D> Check<D> |
BasicChecks.require(Check<? super D> requirement,
Check<? super D> check) |
static <D> Check<D> |
Checks.requireNotNull(Check<D> check) |
static <D> Check<D> |
BasicChecks.requireNotNull(Check<D> check) |
static <R> Check<ResultSet> |
DatabaseChecks.sqlCheck(int position,
Transformation<ResultSet,R> function,
Check<? super R> check) |
static <R> Check<ResultSet> |
DatabaseChecks.sqlCheck(String name,
Transformation<ResultSet,R> function,
Check<? super R> check) |
static Check<ResultSet> |
DatabaseChecks.stringColumn(int position,
Check<? super String> check) |
static Check<ResultSet> |
DatabaseChecks.stringColumn(String label,
Check<? super String> check) |
static <T> boolean |
Check.that(T data,
Check<? super T> check)
Assert the data using provided check.
|
static <T> void |
Assert.that(T data,
Check<? super T> check)
Assert the data using provided check.
|
static <T> boolean |
Check.that(T data,
Check<? super T> check,
ResultFactory resultFactory)
Assert the data using provided check.
|
static <T> void |
Assert.that(T data,
Check<? super T> check,
ResultFactory resultFactory)
Assert the data using provided check.
|
static <T> void |
Assert.that(T data,
Check<? super T> check,
ResultFactory resultFactory,
ResultVisitor visitor) |
static fluent.validation.ThrowingCheck |
Checks.throwing(Check<? super Throwable> check) |
static fluent.validation.ThrowingCheck |
BasicChecks.throwing(Check<? super Throwable> check) |
static <D,V> Check<D> |
Checks.transform(Transformation<? super D,V> transformation,
Check<? super V> check) |
static <D,V> Check<D> |
BasicChecks.transform(Transformation<? super D,V> transformation,
Check<? super V> check) |
static <D> Check<D> |
Checks.which(Check<D> check) |
static <D> Check<D> |
BasicChecks.which(Check<D> check) |
L |
AbstractCheckDsl.with(Check<? super D> check) |
MapCheckBuilder<K,V> |
MapCheckBuilder.with(K key,
Check<? super V> check) |
| Modifier and Type | Method and Description |
|---|---|
static <D> Check<D> |
Checks.allOf(Iterable<Check<? super D>> operands) |
static <D> Check<D> |
BasicChecks.allOf(Iterable<Check<? super D>> operands) |
static <D> Check<D> |
Checks.anyOf(Iterable<Check<? super D>> operands) |
static <D> Check<D> |
BasicChecks.anyOf(Iterable<Check<? super D>> operands) |
static <T> Check<Iterator<T>> |
CollectionChecks.contains(Iterable<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.contains(String elementName,
Iterable<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrder(Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrder(String elementName,
Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrderOnly(Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.containsInAnyOrderOnly(String elementName,
Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalInAnyOrderTo(Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalInAnyOrderTo(String elementName,
Collection<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalTo(Iterable<Check<? super T>> elementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.equalTo(String elementName,
Iterable<Check<? super T>> elementChecks) |
static Check<ResultSet> |
DatabaseChecks.resultSetContains(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetContainsInAnyOrder(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetEqualInAnyOrderTo(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetEqualTo(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetStartsInAnyOrderWith(Collection<Check<? super ResultSet>> checks) |
static Check<ResultSet> |
DatabaseChecks.resultSetStartsWith(Collection<Check<? super ResultSet>> checks) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsInAnyOrderWith(Collection<Check<? super T>> prefixElementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsInAnyOrderWith(String elementName,
Collection<Check<? super T>> prefixElementChecks) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsWith(Iterable<Check<? super T>> prefix) |
static <T> Check<Iterator<T>> |
CollectionChecks.startsWith(String elementName,
Iterable<Check<? super T>> prefix) |
| Constructor and Description |
|---|
AbstractCheckDsl(Check<? super D> check,
Function<Check<D>,L> factory) |
MapCheckBuilder(Check<? super Map<K,V>> check) |
| Constructor and Description |
|---|
AbstractCheckDsl(Function<Check<D>,L> factory) |
AbstractCheckDsl(Check<? super D> check,
Function<Check<D>,L> factory) |
| Modifier and Type | Method and Description |
|---|---|
default <T> Analyzer.Def |
Analyzer.Def.and(T data,
Check<? super T> check) |
<T> Analyzer.Def |
Analyzer.when(T data,
Check<? super T> check) |
| Modifier and Type | Method and Description |
|---|---|
default <D> TableAggregator<D> |
ResultFactory.table(Object prefix,
ArrayList<Check<? super D>> checks) |
void |
MismatchResultVisitor.tableAggregation(Object prefix,
List<Check<?>> checks,
List<?> items,
List<TableInResult.Cell> results,
boolean value) |
void |
ResultVisitor.tableAggregation(Object prefix,
List<Check<?>> checks,
List<?> items,
List<TableInResult.Cell> results,
boolean value) |
void |
ExpectationVisitor.tableAggregation(Object prefix,
List<Check<?>> checks,
List<?> items,
List<TableInResult.Cell> results,
boolean value) |
| Constructor and Description |
|---|
TableInResult(Object prefix,
List<Check<?>> rows,
List<?> columns,
List<TableInResult.Cell> results,
boolean result) |
Copyright © 2021. All rights reserved.