public abstract class AbstractProbeAssert<S extends AbstractProbeAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Probe>
extends org.assertj.core.api.AbstractAssert<S,A>
Probe
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractProbeAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Probe. |
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
|
ExecActionAssert |
exec()
Navigates to the property exec so that assertions can be done on it
|
S |
hasFailureThreshold(Integer failureThreshold)
Verifies that the actual Probe's failureThreshold is equal to the given one.
|
S |
hasInitialDelaySeconds(Integer initialDelaySeconds)
Verifies that the actual Probe's initialDelaySeconds is equal to the given one.
|
S |
hasPeriodSeconds(Integer periodSeconds)
Verifies that the actual Probe's periodSeconds is equal to the given one.
|
S |
hasSuccessThreshold(Integer successThreshold)
Verifies that the actual Probe's successThreshold is equal to the given one.
|
S |
hasTimeoutSeconds(Integer timeoutSeconds)
Verifies that the actual Probe's timeoutSeconds is equal to the given one.
|
HTTPGetActionAssert |
httpGet()
Navigates to the property httpGet so that assertions can be done on it
|
TCPSocketActionAssert |
tcpSocket()
Navigates to the property tcpSocket 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 AbstractProbeAssert(A actual, Class<S> selfType)
AbstractProbeAssert
to make assertions on actual Probe.actual
- the Probe we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public ExecActionAssert exec()
public S hasFailureThreshold(Integer failureThreshold)
failureThreshold
- the given failureThreshold to compare the actual Probe's failureThreshold to.AssertionError
- - if the actual Probe's failureThreshold is not equal to the given one.public HTTPGetActionAssert httpGet()
public S hasInitialDelaySeconds(Integer initialDelaySeconds)
initialDelaySeconds
- the given initialDelaySeconds to compare the actual Probe's initialDelaySeconds to.AssertionError
- - if the actual Probe's initialDelaySeconds is not equal to the given one.public S hasPeriodSeconds(Integer periodSeconds)
periodSeconds
- the given periodSeconds to compare the actual Probe's periodSeconds to.AssertionError
- - if the actual Probe's periodSeconds is not equal to the given one.public S hasSuccessThreshold(Integer successThreshold)
successThreshold
- the given successThreshold to compare the actual Probe's successThreshold to.AssertionError
- - if the actual Probe's successThreshold is not equal to the given one.public TCPSocketActionAssert tcpSocket()
public S hasTimeoutSeconds(Integer timeoutSeconds)
timeoutSeconds
- the given timeoutSeconds to compare the actual Probe's timeoutSeconds to.AssertionError
- - if the actual Probe's timeoutSeconds is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.