Package org.hibernate.validator.testutil
Class ConstraintViolationAssert.ConstraintViolationSetAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<IterableAssert<ConstraintViolation<?>>,Iterable<? extends ConstraintViolation<?>>>
org.assertj.core.api.AbstractIterableAssert<IterableAssert<ConstraintViolation<?>>,Iterable<? extends ConstraintViolation<?>>,ConstraintViolation<?>,ObjectAssert<ConstraintViolation<?>>>
org.assertj.core.api.FactoryBasedNavigableIterableAssert<IterableAssert<ConstraintViolation<?>>,Iterable<? extends ConstraintViolation<?>>,ConstraintViolation<?>,ObjectAssert<ConstraintViolation<?>>>
org.assertj.core.api.IterableAssert<ConstraintViolation<?>>
org.hibernate.validator.testutil.ConstraintViolationAssert.ConstraintViolationSetAssert
- All Implemented Interfaces:
Assert<IterableAssert<ConstraintViolation<?>>,
,Iterable<? extends ConstraintViolation<?>>> Descriptable<IterableAssert<ConstraintViolation<?>>>
,EnumerableAssert<IterableAssert<ConstraintViolation<?>>,
,ConstraintViolation<?>> ExtensionPoints<IterableAssert<ConstraintViolation<?>>,
,Iterable<? extends ConstraintViolation<?>>> ObjectEnumerableAssert<IterableAssert<ConstraintViolation<?>>,
ConstraintViolation<?>>
- Enclosing class:
ConstraintViolationAssert
public static class ConstraintViolationAssert.ConstraintViolationSetAssert
extends IterableAssert<ConstraintViolation<?>>
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractIterableAssert
iterables
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConstraintViolationSetAssert
(Set<? extends ConstraintViolation<?>> actualViolations) -
Method Summary
Modifier and TypeMethodDescriptionvoid
containsOneOfViolations
(ConstraintViolationAssert.ViolationExpectation... expectedViolations) void
void
containsOnlyViolations
(ConstraintViolationAssert.ViolationExpectation... expectedViolations) void
containsPath
(ConstraintViolationAssert.PathExpectation expectedPath) void
containsPaths
(ConstraintViolationAssert.PathExpectation... expectedPaths) describedAs
(String description, Object... args) Methods inherited from class org.assertj.core.api.IterableAssert
assertThatIterable, newAbstractIterableAssert
Methods inherited from class org.assertj.core.api.FactoryBasedNavigableIterableAssert
assertThat, toAssert
Methods inherited from class org.assertj.core.api.AbstractIterableAssert
allMatch, allMatch, allSatisfy, allSatisfy, anyMatch, anySatisfy, anySatisfy, are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, as, as, contains, containsAll, containsAnyElementsOf, containsAnyOf, containsAnyOfForProxy, containsExactly, containsExactlyElementsOf, containsExactlyForProxy, containsExactlyInAnyOrder, containsExactlyInAnyOrderElementsOf, containsExactlyInAnyOrderForProxy, containsForProxy, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyForProxy, containsOnlyNulls, containsOnlyOnce, containsOnlyOnceElementsOf, containsOnlyOnceForProxy, containsSequence, containsSequence, containsSequenceForProxy, containsSubsequence, containsSubsequence, containsSubsequenceForProxy, describedAs, doesNotContain, doesNotContainAnyElementsOf, doesNotContainForProxy, doesNotContainNull, doesNotContainSequence, doesNotContainSequence, doesNotContainSequenceForProxy, doesNotContainSubsequence, doesNotContainSubsequence, doesNotContainSubsequenceForProxy, doesNotHave, doesNotHaveAnyElementsOfTypes, doesNotHaveDuplicates, doesNotHaveSameClassAs, doNotHave, element, element, elements, endsWith, endsWith, endsWithForProxy, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, extractingResultOf, extractingResultOf, filteredOn, filteredOn, filteredOn, filteredOn, filteredOn, filteredOnAssertions, filteredOnAssertions, filteredOnNull, first, first, flatExtracting, flatExtracting, flatExtracting, flatExtracting, flatExtracting, flatExtracting, flatExtractingForProxy, flatMap, flatMap, flatMap, flatMap, getComparatorsByType, getComparatorsForElementPropertyOrFieldTypes, has, hasAtLeastOneElementOfType, hasExactlyElementsOfTypes, hasOnlyElementsOfType, hasOnlyElementsOfTypes, hasOnlyOneElementSatisfying, hasSameClassAs, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, hasToString, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, is, isEmpty, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEmpty, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNullOrEmpty, isOfAnyClassIn, isSameAs, isSubsetOf, isSubsetOf, isSubsetOfForProxy, last, last, map, map, map, navigationDescription, newAbstractIterableAssertForProxy, noneMatch, noneSatisfy, noneSatisfy, overridingErrorMessage, satisfiesExactly, satisfiesExactly, satisfiesExactlyForProxy, satisfiesExactlyInAnyOrder, satisfiesExactlyInAnyOrder, satisfiesExactlyInAnyOrderForProxy, satisfiesOnlyOnce, satisfiesOnlyOnce, satisfiesOnlyOnceForProxy, singleElement, singleElement, size, startsWith, startsWithForProxy, usingComparator, usingComparator, usingComparatorForElementFieldsWithNames, usingComparatorForElementFieldsWithType, usingComparatorForType, usingComparisonStrategy, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, usingRecursiveFieldByFieldElementComparator, usingRecursiveFieldByFieldElementComparator, usingRecursiveFieldByFieldElementComparatorIgnoringFields, usingRecursiveFieldByFieldElementComparatorOnFields, withFailMessage, withThreadDumpOnError, zipSatisfy
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, descriptionText, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, hashCode, hasSameHashCodeAs, hasToString, isElementOfCustomAssert, isInstanceOfSatisfying, isNull, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, withFailMessage, withRepresentation
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, describedAs
-
Constructor Details
-
ConstraintViolationSetAssert
-
-
Method Details
-
describedAs
public ConstraintViolationAssert.ConstraintViolationSetAssert describedAs(String description, Object... args) - Specified by:
describedAs
in interfaceDescriptable<IterableAssert<ConstraintViolation<?>>>
- Overrides:
describedAs
in classAbstractIterableAssert<IterableAssert<ConstraintViolation<?>>,
Iterable<? extends ConstraintViolation<?>>, ConstraintViolation<?>, ObjectAssert<ConstraintViolation<?>>>
-
containsOnlyViolations
public void containsOnlyViolations(ConstraintViolationAssert.ViolationExpectation... expectedViolations) -
containsOneOfViolations
public void containsOneOfViolations(ConstraintViolationAssert.ViolationExpectation... expectedViolations) -
containsOnlyPaths
-
containsPath
-
containsPaths
-