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 |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual BuildSpec's additionalProperties is equal to the given one.
|
S |
hasOutput(io.fabric8.openshift.api.model.BuildOutput output)
Verifies that the actual BuildSpec's output is equal to the given one.
|
S |
hasResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
Verifies that the actual BuildSpec's resources is equal to the given one.
|
S |
hasRevision(io.fabric8.openshift.api.model.SourceRevision revision)
Verifies that the actual BuildSpec's revision is equal to the given one.
|
S |
hasServiceAccount(String serviceAccount)
Verifies that the actual BuildSpec's serviceAccount is equal to the given one.
|
S |
hasSource(io.fabric8.openshift.api.model.BuildSource source)
Verifies that the actual BuildSpec's source is equal to the given one.
|
S |
hasStrategy(io.fabric8.openshift.api.model.BuildStrategy strategy)
Verifies that the actual BuildSpec's strategy is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, 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
protected AbstractBuildSpecAssert(A actual, Class<S> selfType)
AbstractBuildSpecAssert
to make assertions on actual BuildSpec.actual
- the BuildSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual BuildSpec's additionalProperties to.AssertionError
- - if the actual BuildSpec's additionalProperties is not equal to the given one.public S hasOutput(io.fabric8.openshift.api.model.BuildOutput output)
output
- the given output to compare the actual BuildSpec's output to.AssertionError
- - if the actual BuildSpec's output is not equal to the given one.public S hasResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
resources
- the given resources to compare the actual BuildSpec's resources to.AssertionError
- - if the actual BuildSpec's resources is not equal to the given one.public S hasRevision(io.fabric8.openshift.api.model.SourceRevision revision)
revision
- the given revision to compare the actual BuildSpec's revision to.AssertionError
- - if the actual BuildSpec's revision is not equal to the given one.public S hasServiceAccount(String serviceAccount)
serviceAccount
- the given serviceAccount to compare the actual BuildSpec's serviceAccount to.AssertionError
- - if the actual BuildSpec's serviceAccount is not equal to the given one.public S hasSource(io.fabric8.openshift.api.model.BuildSource source)
source
- the given source to compare the actual BuildSpec's source to.AssertionError
- - if the actual BuildSpec's source is not equal to the given one.public S hasStrategy(io.fabric8.openshift.api.model.BuildStrategy strategy)
strategy
- the given strategy to compare the actual BuildSpec's strategy to.AssertionError
- - if the actual BuildSpec's strategy is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.