public abstract class AbstractBuildConfigSpecAssert<S extends AbstractBuildConfigSpecAssert<S,A>,A extends io.fabric8.openshift.api.model.BuildConfigSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
BuildConfigSpec specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBuildConfigSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual BuildConfigSpec. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveTriggers(io.fabric8.openshift.api.model.BuildTriggerPolicy... triggers)
Verifies that the actual BuildConfigSpec's triggers does not contain the given BuildTriggerPolicy elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual BuildConfigSpec's additionalProperties is equal to the given one.
|
S |
hasCompletionDeadlineSeconds(Long completionDeadlineSeconds)
Verifies that the actual BuildConfigSpec's completionDeadlineSeconds is equal to the given one.
|
S |
hasNoTriggers()
Verifies that the actual BuildConfigSpec has no triggers.
|
S |
hasOnlyTriggers(io.fabric8.openshift.api.model.BuildTriggerPolicy... triggers)
Verifies that the actual BuildConfigSpec's triggers contains only the given BuildTriggerPolicy elements and nothing else in whatever order.
|
S |
hasOutput(io.fabric8.openshift.api.model.BuildOutput output)
Verifies that the actual BuildConfigSpec's output is equal to the given one.
|
S |
hasResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
Verifies that the actual BuildConfigSpec's resources is equal to the given one.
|
S |
hasRevision(io.fabric8.openshift.api.model.SourceRevision revision)
Verifies that the actual BuildConfigSpec's revision is equal to the given one.
|
S |
hasServiceAccount(String serviceAccount)
Verifies that the actual BuildConfigSpec's serviceAccount is equal to the given one.
|
S |
hasSource(io.fabric8.openshift.api.model.BuildSource source)
Verifies that the actual BuildConfigSpec's source is equal to the given one.
|
S |
hasStrategy(io.fabric8.openshift.api.model.BuildStrategy strategy)
Verifies that the actual BuildConfigSpec's strategy is equal to the given one.
|
S |
hasTriggers(io.fabric8.openshift.api.model.BuildTriggerPolicy... triggers)
Verifies that the actual BuildConfigSpec's triggers contains the given BuildTriggerPolicy elements.
|
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, usingDefaultComparatorprotected AbstractBuildConfigSpecAssert(A actual, Class<S> selfType)
AbstractBuildConfigSpecAssert to make assertions on actual BuildConfigSpec.actual - the BuildConfigSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties - the given additionalProperties to compare the actual BuildConfigSpec's additionalProperties to.AssertionError - - if the actual BuildConfigSpec's additionalProperties is not equal to the given one.public S hasCompletionDeadlineSeconds(Long completionDeadlineSeconds)
completionDeadlineSeconds - the given completionDeadlineSeconds to compare the actual BuildConfigSpec's completionDeadlineSeconds to.AssertionError - - if the actual BuildConfigSpec's completionDeadlineSeconds 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 BuildConfigSpec's output to.AssertionError - - if the actual BuildConfigSpec'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 BuildConfigSpec's resources to.AssertionError - - if the actual BuildConfigSpec'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 BuildConfigSpec's revision to.AssertionError - - if the actual BuildConfigSpec's revision is not equal to the given one.public S hasServiceAccount(String serviceAccount)
serviceAccount - the given serviceAccount to compare the actual BuildConfigSpec's serviceAccount to.AssertionError - - if the actual BuildConfigSpec'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 BuildConfigSpec's source to.AssertionError - - if the actual BuildConfigSpec'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 BuildConfigSpec's strategy to.AssertionError - - if the actual BuildConfigSpec's strategy is not equal to the given one.public S hasTriggers(io.fabric8.openshift.api.model.BuildTriggerPolicy... triggers)
triggers - the given elements that should be contained in actual BuildConfigSpec's triggers.AssertionError - if the actual BuildConfigSpec's triggers does not contain all given BuildTriggerPolicy elements.public S hasOnlyTriggers(io.fabric8.openshift.api.model.BuildTriggerPolicy... triggers)
triggers - the given elements that should be contained in actual BuildConfigSpec's triggers.AssertionError - if the actual BuildConfigSpec's triggers does not contain all given BuildTriggerPolicy elements.public S doesNotHaveTriggers(io.fabric8.openshift.api.model.BuildTriggerPolicy... triggers)
triggers - the given elements that should not be in actual BuildConfigSpec's triggers.AssertionError - if the actual BuildConfigSpec's triggers contains any given BuildTriggerPolicy elements.public S hasNoTriggers()
AssertionError - if the actual BuildConfigSpec's triggers is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.