Class PhaseAssertion
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<S,A>
-
- com.xebialabs.xlrelease.assertions.PlanItemAssertion<PhaseAssertion,com.xebialabs.xlrelease.domain.Phase>
-
- com.xebialabs.xlrelease.assertions.PhaseAssertion
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<PhaseAssertion,com.xebialabs.xlrelease.domain.Phase>,org.assertj.core.api.Descriptable<PhaseAssertion>,org.assertj.core.api.ExtensionPoints<PhaseAssertion,com.xebialabs.xlrelease.domain.Phase>
public class PhaseAssertion extends PlanItemAssertion<PhaseAssertion,com.xebialabs.xlrelease.domain.Phase>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPhaseAssertion(com.xebialabs.xlrelease.domain.Phase actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhaseAssertionhasOriginId(java.lang.String id)PhaseAssertionhasStatus(com.xebialabs.xlrelease.domain.status.PhaseStatus status)PhaseAssertionhasTitle(java.lang.String expectedTitle)PhaseAssertionisAborted()PhaseAssertionisCompleted()PhaseAssertionisCopiedFrom(com.xebialabs.xlrelease.domain.Phase other)PhaseAssertionisFailed()PhaseAssertionisFailing()PhaseAssertionisInProgress()PhaseAssertionisNotPhaseVersionOriginal()PhaseAssertionisPhaseVersionMostRecent()PhaseAssertionisPhaseVersionOriginal()PhaseAssertionisPlanned()-
Methods inherited from class com.xebialabs.xlrelease.assertions.PlanItemAssertion
hasCiAttributes, hasDueDate, hasDueDate, hasEndDate, hasEndDate, hasFlagComment, hasFlagStatus, hasId, hasNoEndDate, hasNoScheduledStartDate, hasNoStartDate, hasOwner, hasPlannedDuration, hasScheduledStartDate, hasScheduledStartDate, hasStartDate, hasStartDate, isInFolder, isOverdueNotified
-
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
hasOriginId
public PhaseAssertion hasOriginId(java.lang.String id)
-
hasStatus
public PhaseAssertion hasStatus(com.xebialabs.xlrelease.domain.status.PhaseStatus status)
-
hasTitle
public PhaseAssertion hasTitle(java.lang.String expectedTitle)
-
isCopiedFrom
public PhaseAssertion isCopiedFrom(com.xebialabs.xlrelease.domain.Phase other)
-
isPhaseVersionMostRecent
public PhaseAssertion isPhaseVersionMostRecent()
-
isPhaseVersionOriginal
public PhaseAssertion isPhaseVersionOriginal()
-
isNotPhaseVersionOriginal
public PhaseAssertion isNotPhaseVersionOriginal()
-
isCompleted
public PhaseAssertion isCompleted()
-
isInProgress
public PhaseAssertion isInProgress()
-
isFailed
public PhaseAssertion isFailed()
-
isAborted
public PhaseAssertion isAborted()
-
isPlanned
public PhaseAssertion isPlanned()
-
isFailing
public PhaseAssertion isFailing()
-
-