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