Class LongGaugeAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<LongGaugeAssert,io.opentelemetry.sdk.metrics.data.GaugeData<io.opentelemetry.sdk.metrics.data.LongPointData>>
io.opentelemetry.sdk.testing.assertj.LongGaugeAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<LongGaugeAssert,,io.opentelemetry.sdk.metrics.data.GaugeData<io.opentelemetry.sdk.metrics.data.LongPointData>> org.assertj.core.api.Descriptable<LongGaugeAssert>,org.assertj.core.api.ExtensionPoints<LongGaugeAssert,io.opentelemetry.sdk.metrics.data.GaugeData<io.opentelemetry.sdk.metrics.data.LongPointData>>
public final class LongGaugeAssert
extends org.assertj.core.api.AbstractAssert<LongGaugeAssert,io.opentelemetry.sdk.metrics.data.GaugeData<io.opentelemetry.sdk.metrics.data.LongPointData>>
Assertions for an exported long
GaugeData.- Since:
- 1.14.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptioncontainsPointsSatisfying(Iterable<? extends Consumer<LongPointAssert>> assertions) Asserts that for each given assertion, at least one point in the gauge satisfies it.final LongGaugeAssertcontainsPointsSatisfying(Consumer<LongPointAssert>... assertions) Asserts that for each given assertion, at least one point in the gauge satisfies it.hasPointsSatisfying(Iterable<? extends Consumer<LongPointAssert>> assertions) Asserts the gauge has points matching all of the given assertions and no more, in any order.final LongGaugeAsserthasPointsSatisfying(Consumer<LongPointAssert>... assertions) Asserts the gauge has points matching all of the given assertions and no more, in any order.Methods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, 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, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
hasPointsSatisfying
@SafeVarargs public final LongGaugeAssert hasPointsSatisfying(Consumer<LongPointAssert>... assertions) Asserts the gauge has points matching all of the given assertions and no more, in any order. -
hasPointsSatisfying
public LongGaugeAssert hasPointsSatisfying(Iterable<? extends Consumer<LongPointAssert>> assertions) Asserts the gauge has points matching all of the given assertions and no more, in any order. -
containsPointsSatisfying
@SafeVarargs public final LongGaugeAssert containsPointsSatisfying(Consumer<LongPointAssert>... assertions) Asserts that for each given assertion, at least one point in the gauge satisfies it. Extra points that match none of the assertions are allowed, and a single point may satisfy multiple assertions.- Since:
- 1.62.0
-
containsPointsSatisfying
public LongGaugeAssert containsPointsSatisfying(Iterable<? extends Consumer<LongPointAssert>> assertions) Asserts that for each given assertion, at least one point in the gauge satisfies it. Extra points that match none of the assertions are allowed, and a single point may satisfy multiple assertions.- Since:
- 1.62.0
-