Class XLReleaseAssertions
- java.lang.Object
-
- org.assertj.core.api.Assertions
-
- com.xebialabs.xlrelease.assertions.XLReleaseAssertions
-
- All Implemented Interfaces:
org.assertj.core.api.InstanceOfAssertFactories
public class XLReleaseAssertions extends org.assertj.core.api.AssertionsBrings our custom assertions into scope. Use this instead of the default FEST Assert class.
-
-
Field Summary
-
Fields inherited from interface org.assertj.core.api.InstanceOfAssertFactories
ARRAY, ARRAY_2D, ATOMIC_BOOLEAN, ATOMIC_INTEGER, ATOMIC_INTEGER_ARRAY, ATOMIC_INTEGER_FIELD_UPDATER, ATOMIC_LONG, ATOMIC_LONG_ARRAY, ATOMIC_LONG_FIELD_UPDATER, ATOMIC_MARKABLE_REFERENCE, ATOMIC_REFERENCE, ATOMIC_REFERENCE_ARRAY, ATOMIC_REFERENCE_FIELD_UPDATER, ATOMIC_STAMPED_REFERENCE, BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BOOLEAN_2D_ARRAY, BOOLEAN_ARRAY, BYTE, BYTE_2D_ARRAY, BYTE_ARRAY, CHAR_2D_ARRAY, CHAR_ARRAY, CHAR_SEQUENCE, CHARACTER, CLASS, COLLECTION, COMPLETABLE_FUTURE, COMPLETION_STAGE, DATE, DOUBLE, DOUBLE_2D_ARRAY, DOUBLE_ARRAY, DOUBLE_PREDICATE, DOUBLE_STREAM, DURATION, FILE, FLOAT, FLOAT_2D_ARRAY, FLOAT_ARRAY, FUTURE, INPUT_STREAM, INSTANT, INT_2D_ARRAY, INT_ARRAY, INT_PREDICATE, INT_STREAM, INTEGER, ITERABLE, ITERATOR, LIST, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, LONG, LONG_2D_ARRAY, LONG_ADDER, LONG_ARRAY, LONG_PREDICATE, LONG_STREAM, MAP, MATCHER, OFFSET_DATE_TIME, OFFSET_TIME, OPTIONAL, OPTIONAL_DOUBLE, OPTIONAL_INT, OPTIONAL_LONG, PATH, PERIOD, PREDICATE, SHORT, SHORT_2D_ARRAY, SHORT_ARRAY, SPLITERATOR, STREAM, STRING, STRING_BUFFER, STRING_BUILDER, THROWABLE, URI_TYPE, URL_TYPE, ZONED_DATE_TIME
-
-
Constructor Summary
Constructors Constructor Description XLReleaseAssertions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttachmentAssertionassertThat(com.xebialabs.xlrelease.domain.Attachment actual)static ChangesAssertionassertThat(com.xebialabs.xlrelease.domain.Changes actual)static PhaseAssertionassertThat(com.xebialabs.xlrelease.domain.Phase phase)static ReleaseAssertionassertThat(com.xebialabs.xlrelease.domain.Release release)static ReleaseTriggerAssertionassertThat(com.xebialabs.xlrelease.domain.ReleaseTrigger actual)static TaskAssertionassertThat(com.xebialabs.xlrelease.domain.Task task)static TeamAssertionassertThat(com.xebialabs.xlrelease.domain.Team actual)static VariableReferenceAssertionassertThat(com.xebialabs.xlrelease.domain.variables.reference.VariableReference actual)static VariableAssertionassertThat(com.xebialabs.xlrelease.domain.variables.Variable actual)static TeamListAssertionassertThatTeamList(java.util.List<com.xebialabs.xlrelease.domain.Team> actual)-
Methods inherited from class org.assertj.core.api.Assertions
allOf, allOf, anyOf, anyOf, as, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThatCode, assertThatCollection, assertThatComparable, assertThatException, assertThatExceptionOfType, assertThatIllegalArgumentException, assertThatIllegalStateException, assertThatIndexOutOfBoundsException, assertThatIOException, assertThatIterable, assertThatIterator, assertThatList, assertThatNoException, assertThatNullPointerException, assertThatObject, assertThatPath, assertThatPredicate, assertThatReflectiveOperationException, assertThatRuntimeException, assertThatStream, assertThatThrownBy, assertThatThrownBy, assertWith, atIndex, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, catchException, catchIllegalArgumentException, catchIllegalStateException, catchIndexOutOfBoundsException, catchIOException, catchNullPointerException, catchReflectiveOperationException, catchRuntimeException, catchThrowable, catchThrowableOfType, contentOf, contentOf, contentOf, contentOf, contentOf, contentOf, doesNotHave, entry, extractProperty, extractProperty, fail, fail, fail, failBecauseExceptionWasNotThrown, filter, filter, from, in, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, not, not, notIn, offset, offset, registerCustomDateFormat, registerCustomDateFormat, registerFormatterForType, setAllowComparingPrivateFields, setAllowExtractingPrivateFields, setDescriptionConsumer, setExtractBareNamePropertyMethods, setLenientDateParsing, setMaxElementsForPrinting, setMaxLengthForSingleLineDescription, setMaxStackTraceElementsDisplayed, setPrintAssertionsDescription, setRemoveAssertJRelatedElementsFromStackTrace, shouldHaveThrown, tuple, useDefaultDateFormatsOnly, useDefaultRepresentation, useRepresentation, within, within, within, within, within, within, within, within, within, withinPercentage, withinPercentage, withinPercentage, withMarginOf, withPrecision, withPrecision
-
-
-
-
Method Detail
-
assertThat
public static PhaseAssertion assertThat(com.xebialabs.xlrelease.domain.Phase phase)
-
assertThat
public static ReleaseAssertion assertThat(com.xebialabs.xlrelease.domain.Release release)
-
assertThat
public static TaskAssertion assertThat(com.xebialabs.xlrelease.domain.Task task)
-
assertThat
public static ChangesAssertion assertThat(com.xebialabs.xlrelease.domain.Changes actual)
-
assertThat
public static VariableReferenceAssertion assertThat(com.xebialabs.xlrelease.domain.variables.reference.VariableReference actual)
-
assertThat
public static VariableAssertion assertThat(com.xebialabs.xlrelease.domain.variables.Variable actual)
-
assertThat
public static TeamAssertion assertThat(com.xebialabs.xlrelease.domain.Team actual)
-
assertThatTeamList
public static TeamListAssertion assertThatTeamList(java.util.List<com.xebialabs.xlrelease.domain.Team> actual)
-
assertThat
public static ReleaseTriggerAssertion assertThat(com.xebialabs.xlrelease.domain.ReleaseTrigger actual)
-
assertThat
public static AttachmentAssertion assertThat(com.xebialabs.xlrelease.domain.Attachment actual)
-
-