public abstract class AbstractBuildSpecAssert<S extends AbstractBuildSpecAssert<S,A>,A extends io.fabric8.openshift.api.model.BuildSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
BuildSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractBuildSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual BuildSpec. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
S |
hasCompletionDeadlineSeconds(Long completionDeadlineSeconds)
Verifies that the actual BuildSpec's completionDeadlineSeconds is equal to the given one.
|
BuildOutputAssert |
output()
Navigates to the property output so that assertions can be done on it
|
BuildPostCommitSpecAssert |
postCommit()
Navigates to the property postCommit so that assertions can be done on it
|
ResourceRequirementsAssert |
resources()
Navigates to the property resources so that assertions can be done on it
|
SourceRevisionAssert |
revision()
Navigates to the property revision so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
serviceAccount()
Navigates to the property serviceAccount so that assertions can be done on it
|
BuildSourceAssert |
source()
Navigates to the property source so that assertions can be done on it
|
BuildStrategyAssert |
strategy()
Navigates to the property strategy so that assertions can be done on it
|
NavigationListAssert<io.fabric8.openshift.api.model.BuildTriggerCause,BuildTriggerCauseAssert> |
triggeredBy()
Navigates to the property triggeredBy so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator, withFailMessage, withThreadDumpOnError
protected AbstractBuildSpecAssert(A actual, Class<S> selfType)
AbstractBuildSpecAssert
to make assertions on actual BuildSpec.actual
- the BuildSpec we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasCompletionDeadlineSeconds(Long completionDeadlineSeconds)
completionDeadlineSeconds
- the given completionDeadlineSeconds to compare the actual BuildSpec's completionDeadlineSeconds to.AssertionError
- - if the actual BuildSpec's completionDeadlineSeconds is not equal to the given one.public BuildOutputAssert output()
public BuildPostCommitSpecAssert postCommit()
public ResourceRequirementsAssert resources()
public SourceRevisionAssert revision()
public org.assertj.core.api.StringAssert serviceAccount()
public BuildSourceAssert source()
public BuildStrategyAssert strategy()
public NavigationListAssert<io.fabric8.openshift.api.model.BuildTriggerCause,BuildTriggerCauseAssert> triggeredBy()
Copyright © 2011–2016 Red Hat. All rights reserved.