Class ExponentialHistogramAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<ExponentialHistogramAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramData>
io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ExponentialHistogramAssert,,io.opentelemetry.sdk.metrics.data.ExponentialHistogramData> org.assertj.core.api.Descriptable<ExponentialHistogramAssert>,org.assertj.core.api.ExtensionPoints<ExponentialHistogramAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramData>
public final class ExponentialHistogramAssert
extends org.assertj.core.api.AbstractAssert<ExponentialHistogramAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramData>
Test assertions for
ExponentialHistogramData.- Since:
- 1.23.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionhasPointsSatisfying(Iterable<? extends Consumer<ExponentialHistogramPointAssert>> assertions) Asserts the exponential histogram has points matching all of the given assertions and no more, in any order.hasPointsSatisfying(Consumer<ExponentialHistogramPointAssert>... assertions) Asserts the exponential histogram has points matching all of the given assertions and no more, in any order.Ensures thataggregation_temporalityfield isCUMULATIVE.isDelta()Ensures thataggregation_temporalityfield isDELTA.Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, 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, 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
-
isCumulative
Ensures thataggregation_temporalityfield isCUMULATIVE. -
isDelta
Ensures thataggregation_temporalityfield isDELTA. -
hasPointsSatisfying
@SafeVarargs public final ExponentialHistogramAssert hasPointsSatisfying(Consumer<ExponentialHistogramPointAssert>... assertions) Asserts the exponential histogram has points matching all of the given assertions and no more, in any order. -
hasPointsSatisfying
public ExponentialHistogramAssert hasPointsSatisfying(Iterable<? extends Consumer<ExponentialHistogramPointAssert>> assertions) Asserts the exponential histogram has points matching all of the given assertions and no more, in any order.
-