Package net.qdevzone.docunit
Class AbstractDocAssert<SELF extends Assert<SELF>>
java.lang.Object
net.qdevzone.docunit.AbstractDocAssert<SELF>
- All Implemented Interfaces:
Assert<SELF>
- Direct Known Subclasses:
CSVAssertions,DocumentAssert,ExcelAssertions,ImageAssertions,JSONAssertions,PdfAssertions,TextAssertions,WordAssertions,XmlAssertions,ZipAssertions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteArrayInputStreamdescribedAs(String description) describedAs(String description, Object... args) describedAs(org.assertj.core.description.Description description) protected AssertionErrorprotected AssertionErrorfailureWithCause(Throwable cause, String errorMessage, Object... arguments) protected booleanisElementOfCustomAssert(StackTraceElement stackTraceElement) isEmpty()isEqualTo(byte[] expected) isIn(byte[]... values) isNotEqualTo(byte[] other) isNotIn(byte[]... values) isSize(long expected) isSizeBetween(long min, long max) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.qdevzone.docunit.Assert
actual, isNotValid, isValid
-
Field Details
-
info
public org.assertj.core.api.WritableAssertionInfo info -
myself
-
-
Constructor Details
-
AbstractDocAssert
-
-
Method Details
-
createInputStream
-
isEmpty
-
isNotEmpty
- Specified by:
isNotEmptyin interfaceAssert<SELF extends Assert<SELF>>
-
isEqualTo
-
isNotEqualTo
- Specified by:
isNotEqualToin interfaceAssert<SELF extends Assert<SELF>>
-
isSize
-
isSizeBetween
- Specified by:
isSizeBetweenin interfaceAssert<SELF extends Assert<SELF>>
-
isIn
-
isNotIn
-
describedAs
-
describedAs
-
describedAs
-
failure
-
failureWithCause
protected AssertionError failureWithCause(Throwable cause, String errorMessage, Object... arguments) -
isElementOfCustomAssert
-