Class ExponentialHistogramPointAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<PointAssertT,PointT>
io.opentelemetry.sdk.testing.assertj.AbstractPointAssert<ExponentialHistogramPointAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramPointData>
io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ExponentialHistogramPointAssert,,io.opentelemetry.sdk.metrics.data.ExponentialHistogramPointData> org.assertj.core.api.Descriptable<ExponentialHistogramPointAssert>,org.assertj.core.api.ExtensionPoints<ExponentialHistogramPointAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramPointData>
public final class ExponentialHistogramPointAssert
extends AbstractPointAssert<ExponentialHistogramPointAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramPointData>
Test assertions for
ExponentialHistogramPointData.- Since:
- 1.23.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionhasCount(long expected) Ensures thecountfield matches the expected value.hasExemplars(io.opentelemetry.sdk.metrics.data.DoubleExemplarData... exemplars) Asserts the point has the specified exemplars, in any order.hasExemplarsSatisfying(Iterable<? extends Consumer<DoubleExemplarAssert>> assertions) Asserts the point has exemplars matching all of the assertions, in any order.hasExemplarsSatisfying(Consumer<DoubleExemplarAssert>... assertions) Asserts the point has exemplars matching all of the assertions, in any order.hasMax(double expected) Ensures theminfield matches the expected value.hasMin(double expected) Ensures theminfield matches the expected value.Ensures thenegativeBucketsfield satisfies the provided assertion.Ensures thepositiveBucketsfield satisfies the provided assertion.hasScale(int expected) Ensures thescalefield matches the expected value.hasSum(double expected) Ensures thesumfield matches the expected value.hasZeroCount(long expected) Ensures thezeroCountfield matches the expected value.Methods inherited from class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
hasAttribute, hasAttribute, hasAttributes, hasAttributes, hasAttributesSatisfying, hasAttributesSatisfying, hasAttributesSatisfying, hasAttributesSatisfyingExactly, hasAttributesSatisfyingExactly, hasEpochNanos, hasStartEpochNanosMethods 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
-
hasSum
Ensures thesumfield matches the expected value. -
hasMin
Ensures theminfield matches the expected value. -
hasMax
Ensures theminfield matches the expected value. -
hasCount
Ensures thecountfield matches the expected value. -
hasScale
Ensures thescalefield matches the expected value. -
hasZeroCount
Ensures thezeroCountfield matches the expected value. -
hasPositiveBucketsSatisfying
public ExponentialHistogramPointAssert hasPositiveBucketsSatisfying(Consumer<ExponentialHistogramBucketsAssert> assertion) Ensures thepositiveBucketsfield satisfies the provided assertion. -
hasNegativeBucketsSatisfying
public ExponentialHistogramPointAssert hasNegativeBucketsSatisfying(Consumer<ExponentialHistogramBucketsAssert> assertion) Ensures thenegativeBucketsfield satisfies the provided assertion. -
hasExemplars
public ExponentialHistogramPointAssert hasExemplars(io.opentelemetry.sdk.metrics.data.DoubleExemplarData... exemplars) Asserts the point has the specified exemplars, in any order. -
hasExemplarsSatisfying
@SafeVarargs public final ExponentialHistogramPointAssert hasExemplarsSatisfying(Consumer<DoubleExemplarAssert>... assertions) Asserts the point has exemplars matching all of the assertions, in any order. -
hasExemplarsSatisfying
public ExponentialHistogramPointAssert hasExemplarsSatisfying(Iterable<? extends Consumer<DoubleExemplarAssert>> assertions) Asserts the point has exemplars matching all of the assertions, in any order.
-