Class MetricAssertions.CounterAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<MetricAssertions.CounterAssert,org.apache.flink.metrics.Counter>
-
- org.apache.flink.metrics.testutils.MetricAssertions.CounterAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<MetricAssertions.CounterAssert,org.apache.flink.metrics.Counter>,org.assertj.core.api.Descriptable<MetricAssertions.CounterAssert>,org.assertj.core.api.ExtensionPoints<MetricAssertions.CounterAssert,org.apache.flink.metrics.Counter>
- Enclosing class:
- MetricAssertions
public static class MetricAssertions.CounterAssert extends org.assertj.core.api.AbstractAssert<MetricAssertions.CounterAssert,org.apache.flink.metrics.Counter>
This class provides AssertJ assertions forCounters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricAssertions.CounterAssertisEqualTo(Object expected)-
Methods inherited from class org.assertj.core.api.AbstractAssert
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
-
-
-
-
Method Detail
-
isEqualTo
public MetricAssertions.CounterAssert isEqualTo(Object expected)
- Specified by:
isEqualToin interfaceorg.assertj.core.api.Assert<MetricAssertions.CounterAssert,org.apache.flink.metrics.Counter>- Overrides:
isEqualToin classorg.assertj.core.api.AbstractAssert<MetricAssertions.CounterAssert,org.apache.flink.metrics.Counter>
-
-