public abstract class AbstractJobSpecAssert<S extends AbstractJobSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.JobSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
JobSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractJobSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual JobSpec. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
autoSelector()
Navigates to the property autoSelector so that assertions can be done on it
|
S |
hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
Verifies that the actual JobSpec's activeDeadlineSeconds is equal to the given one.
|
S |
hasCompletions(Integer completions)
Verifies that the actual JobSpec's completions is equal to the given one.
|
S |
hasParallelism(Integer parallelism)
Verifies that the actual JobSpec's parallelism is equal to the given one.
|
LabelSelectorAssert |
selector()
Navigates to the property selector so that assertions can be done on it
|
PodTemplateSpecAssert |
template()
Navigates to the property template so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
protected AbstractJobSpecAssert(A actual, Class<S> selfType)
AbstractJobSpecAssert
to make assertions on actual JobSpec.actual
- the JobSpec we want to make assertions on.public S hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
activeDeadlineSeconds
- the given activeDeadlineSeconds to compare the actual JobSpec's activeDeadlineSeconds to.AssertionError
- - if the actual JobSpec's activeDeadlineSeconds is not equal to the given one.public org.assertj.core.api.MapAssert additionalProperties()
public org.assertj.core.api.BooleanAssert autoSelector()
public S hasCompletions(Integer completions)
completions
- the given completions to compare the actual JobSpec's completions to.AssertionError
- - if the actual JobSpec's completions is not equal to the given one.public S hasParallelism(Integer parallelism)
parallelism
- the given parallelism to compare the actual JobSpec's parallelism to.AssertionError
- - if the actual JobSpec's parallelism is not equal to the given one.public LabelSelectorAssert selector()
public PodTemplateSpecAssert template()
Copyright © 2011–2016 Red Hat. All rights reserved.