public static class MetricAssertions.GaugeAssert<T> extends org.assertj.core.api.AbstractAssert<MetricAssertions.GaugeAssert<T>,Gauge<T>>
Gauge
s.Modifier and Type | Method and Description |
---|---|
MetricAssertions.GaugeAssert<T> |
isCloseTo(long value,
long epsilon)
Verifies that the gauges value is close to the expected value within a certain deviation.
|
MetricAssertions.GaugeAssert<T> |
isEqualTo(Object expected)
Verifies that the gauges value is equal to the expected one.
|
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
public MetricAssertions.GaugeAssert<T> isEqualTo(Object expected)
isEqualTo
in interface org.assertj.core.api.Assert<MetricAssertions.GaugeAssert<T>,Gauge<T>>
isEqualTo
in class org.assertj.core.api.AbstractAssert<MetricAssertions.GaugeAssert<T>,Gauge<T>>
expected
- the given value to compare the actual value to.public MetricAssertions.GaugeAssert<T> isCloseTo(long value, long epsilon)
value
- the expected valueepsilon
- the maximum deviation from the expected valueCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.