Class XLReleaseAssertions

  • All Implemented Interfaces:
    org.assertj.core.api.InstanceOfAssertFactories

    public class XLReleaseAssertions
    extends org.assertj.core.api.Assertions
    Brings 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AttachmentAssertion assertThat​(com.xebialabs.xlrelease.domain.Attachment actual)  
      static ChangesAssertion assertThat​(com.xebialabs.xlrelease.domain.Changes actual)  
      static PhaseAssertion assertThat​(com.xebialabs.xlrelease.domain.Phase phase)  
      static ReleaseAssertion assertThat​(com.xebialabs.xlrelease.domain.Release release)  
      static ReleaseTriggerAssertion assertThat​(com.xebialabs.xlrelease.domain.ReleaseTrigger actual)  
      static TaskAssertion assertThat​(com.xebialabs.xlrelease.domain.Task task)  
      static TeamAssertion assertThat​(com.xebialabs.xlrelease.domain.Team actual)  
      static VariableReferenceAssertion assertThat​(com.xebialabs.xlrelease.domain.variables.reference.VariableReference actual)  
      static VariableAssertion assertThat​(com.xebialabs.xlrelease.domain.variables.Variable actual)  
      static TeamListAssertion assertThatTeamList​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XLReleaseAssertions

        public XLReleaseAssertions()
    • 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)