public abstract class AbstractBuildSourceFluentImplAssert<S extends AbstractBuildSourceFluentImplAssert<S,A>,A extends io.fabric8.openshift.api.model.BuildSourceFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
BuildSourceFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractBuildSourceFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual BuildSourceFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveImages(io.fabric8.openshift.api.model.ImageSource... images)
Verifies that the actual BuildSourceFluentImpl's images does not contain the given ImageSource elements.
|
S |
doesNotHaveSecrets(io.fabric8.openshift.api.model.SecretBuildSource... secrets)
Verifies that the actual BuildSourceFluentImpl's secrets does not contain the given SecretBuildSource elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual BuildSourceFluentImpl's additionalProperties is equal to the given one.
|
S |
hasBinary(io.fabric8.openshift.api.model.BinaryBuildSource binary)
Verifies that the actual BuildSourceFluentImpl's binary is equal to the given one.
|
S |
hasContextDir(String contextDir)
Verifies that the actual BuildSourceFluentImpl's contextDir is equal to the given one.
|
S |
hasDockerfile(String dockerfile)
Verifies that the actual BuildSourceFluentImpl's dockerfile is equal to the given one.
|
S |
hasGit(io.fabric8.openshift.api.model.GitBuildSource git)
Verifies that the actual BuildSourceFluentImpl's git is equal to the given one.
|
S |
hasImages(io.fabric8.openshift.api.model.ImageSource... images)
Verifies that the actual BuildSourceFluentImpl's images contains the given ImageSource elements.
|
S |
hasNoImages()
Verifies that the actual BuildSourceFluentImpl has no images.
|
S |
hasNoSecrets()
Verifies that the actual BuildSourceFluentImpl has no secrets.
|
S |
hasOnlyImages(io.fabric8.openshift.api.model.ImageSource... images)
Verifies that the actual BuildSourceFluentImpl's images contains only the given ImageSource elements and nothing else in whatever order.
|
S |
hasOnlySecrets(io.fabric8.openshift.api.model.SecretBuildSource... secrets)
Verifies that the actual BuildSourceFluentImpl's secrets contains only the given SecretBuildSource elements and nothing else in whatever order.
|
S |
hasSecrets(io.fabric8.openshift.api.model.SecretBuildSource... secrets)
Verifies that the actual BuildSourceFluentImpl's secrets contains the given SecretBuildSource elements.
|
S |
hasSourceSecret(io.fabric8.kubernetes.api.model.LocalObjectReference sourceSecret)
Verifies that the actual BuildSourceFluentImpl's sourceSecret is equal to the given one.
|
S |
hasType(String type)
Verifies that the actual BuildSourceFluentImpl's type 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 AbstractBuildSourceFluentImplAssert(A actual, Class<S> selfType)
AbstractBuildSourceFluentImplAssert
to make assertions on actual BuildSourceFluentImpl.actual
- the BuildSourceFluentImpl we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual BuildSourceFluentImpl's additionalProperties to.AssertionError
- - if the actual BuildSourceFluentImpl's additionalProperties is not equal to the given one.public S hasBinary(io.fabric8.openshift.api.model.BinaryBuildSource binary)
binary
- the given binary to compare the actual BuildSourceFluentImpl's binary to.AssertionError
- - if the actual BuildSourceFluentImpl's binary is not equal to the given one.public S hasContextDir(String contextDir)
contextDir
- the given contextDir to compare the actual BuildSourceFluentImpl's contextDir to.AssertionError
- - if the actual BuildSourceFluentImpl's contextDir is not equal to the given one.public S hasDockerfile(String dockerfile)
dockerfile
- the given dockerfile to compare the actual BuildSourceFluentImpl's dockerfile to.AssertionError
- - if the actual BuildSourceFluentImpl's dockerfile is not equal to the given one.public S hasGit(io.fabric8.openshift.api.model.GitBuildSource git)
git
- the given git to compare the actual BuildSourceFluentImpl's git to.AssertionError
- - if the actual BuildSourceFluentImpl's git is not equal to the given one.public S hasImages(io.fabric8.openshift.api.model.ImageSource... images)
images
- the given elements that should be contained in actual BuildSourceFluentImpl's images.AssertionError
- if the actual BuildSourceFluentImpl's images does not contain all given ImageSource elements.public S hasOnlyImages(io.fabric8.openshift.api.model.ImageSource... images)
images
- the given elements that should be contained in actual BuildSourceFluentImpl's images.AssertionError
- if the actual BuildSourceFluentImpl's images does not contain all given ImageSource elements.public S doesNotHaveImages(io.fabric8.openshift.api.model.ImageSource... images)
images
- the given elements that should not be in actual BuildSourceFluentImpl's images.AssertionError
- if the actual BuildSourceFluentImpl's images contains any given ImageSource elements.public S hasNoImages()
AssertionError
- if the actual BuildSourceFluentImpl's images is not empty.public S hasSecrets(io.fabric8.openshift.api.model.SecretBuildSource... secrets)
secrets
- the given elements that should be contained in actual BuildSourceFluentImpl's secrets.AssertionError
- if the actual BuildSourceFluentImpl's secrets does not contain all given SecretBuildSource elements.public S hasOnlySecrets(io.fabric8.openshift.api.model.SecretBuildSource... secrets)
secrets
- the given elements that should be contained in actual BuildSourceFluentImpl's secrets.AssertionError
- if the actual BuildSourceFluentImpl's secrets does not contain all given SecretBuildSource elements.public S doesNotHaveSecrets(io.fabric8.openshift.api.model.SecretBuildSource... secrets)
secrets
- the given elements that should not be in actual BuildSourceFluentImpl's secrets.AssertionError
- if the actual BuildSourceFluentImpl's secrets contains any given SecretBuildSource elements.public S hasNoSecrets()
AssertionError
- if the actual BuildSourceFluentImpl's secrets is not empty.public S hasSourceSecret(io.fabric8.kubernetes.api.model.LocalObjectReference sourceSecret)
sourceSecret
- the given sourceSecret to compare the actual BuildSourceFluentImpl's sourceSecret to.AssertionError
- - if the actual BuildSourceFluentImpl's sourceSecret is not equal to the given one.public S hasType(String type)
type
- the given type to compare the actual BuildSourceFluentImpl's type to.AssertionError
- - if the actual BuildSourceFluentImpl's type is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.