Package io.prestosql.testing.assertions
Class PrestoExceptionAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
-
- org.assertj.core.api.AbstractObjectAssert<SELF,ACTUAL>
-
- org.assertj.core.api.AbstractThrowableAssert<PrestoExceptionAssert,PrestoException>
-
- io.prestosql.testing.assertions.PrestoExceptionAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<PrestoExceptionAssert,PrestoException>
,org.assertj.core.api.Descriptable<PrestoExceptionAssert>
,org.assertj.core.api.ExtensionPoints<PrestoExceptionAssert,PrestoException>
public final class PrestoExceptionAssert extends org.assertj.core.api.AbstractThrowableAssert<PrestoExceptionAssert,PrestoException>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrestoExceptionAssert
assertPrestoExceptionThrownBy(org.assertj.core.api.ThrowableAssert.ThrowingCallable throwingCallable)
PrestoExceptionAssert
hasErrorCode(ErrorCodeSupplier errorCodeSupplier)
PrestoExceptionAssert
hasLocation(int lineNumber, int columnNumber)
-
Methods inherited from class org.assertj.core.api.AbstractThrowableAssert
doesNotThrowAnyException, hasBeenThrown, hasCause, hasCauseExactlyInstanceOf, hasCauseInstanceOf, hasCauseReference, hasMessage, hasMessage, hasMessageContaining, hasMessageContaining, hasMessageContainingAll, hasMessageEndingWith, hasMessageEndingWith, hasMessageFindingMatch, hasMessageMatching, hasMessageNotContaining, hasMessageNotContainingAny, hasMessageStartingWith, hasMessageStartingWith, hasNoCause, hasNoSuppressedExceptions, hasRootCause, hasRootCauseExactlyInstanceOf, hasRootCauseInstanceOf, hasRootCauseMessage, hasRootCauseMessage, hasStackTraceContaining, hasStackTraceContaining, hasSuppressedException
-
Methods inherited from class org.assertj.core.api.AbstractObjectAssert
as, as, extracting, extracting, extracting, extracting, extracting, extracting, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveComparison, usingRecursiveComparison
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
assertPrestoExceptionThrownBy
public static PrestoExceptionAssert assertPrestoExceptionThrownBy(org.assertj.core.api.ThrowableAssert.ThrowingCallable throwingCallable)
-
hasErrorCode
public PrestoExceptionAssert hasErrorCode(ErrorCodeSupplier errorCodeSupplier)
-
hasLocation
public PrestoExceptionAssert hasLocation(int lineNumber, int columnNumber)
-
-