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