Class ExponentialHistogramBucketsAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<ExponentialHistogramBucketsAssert,io.opentelemetry.sdk.metrics.internal.data.exponentialhistogram.ExponentialHistogramBuckets>
io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ExponentialHistogramBucketsAssert,,io.opentelemetry.sdk.metrics.internal.data.exponentialhistogram.ExponentialHistogramBuckets> org.assertj.core.api.Descriptable<ExponentialHistogramBucketsAssert>,org.assertj.core.api.ExtensionPoints<ExponentialHistogramBucketsAssert,io.opentelemetry.sdk.metrics.internal.data.exponentialhistogram.ExponentialHistogramBuckets>
public class ExponentialHistogramBucketsAssert
extends org.assertj.core.api.AbstractAssert<ExponentialHistogramBucketsAssert,io.opentelemetry.sdk.metrics.internal.data.exponentialhistogram.ExponentialHistogramBuckets>
Test assertions for
ExponentialHistogramBuckets.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExponentialHistogramBucketsAssert(io.opentelemetry.sdk.metrics.internal.data.exponentialhistogram.ExponentialHistogramBuckets actual) -
Method Summary
Modifier and TypeMethodDescriptionEnsures that thecountsfield matches the expected value.hasOffset(int expected) Ensures that thetotalCountfield matches the expected value.hasTotalCount(long expected) Ensures that thetotalCountfield matches the expected value.Methods inherited from class org.assertj.core.api.AbstractAssert
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, 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, 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
-
Constructor Details
-
ExponentialHistogramBucketsAssert
protected ExponentialHistogramBucketsAssert(io.opentelemetry.sdk.metrics.internal.data.exponentialhistogram.ExponentialHistogramBuckets actual)
-
-
Method Details
-
hasCounts
Ensures that thecountsfield matches the expected value.- Parameters:
expected- The bucket counts.
-
hasTotalCount
Ensures that thetotalCountfield matches the expected value.- Parameters:
expected- The expected total count.
-
hasOffset
Ensures that thetotalCountfield matches the expected value.- Parameters:
expected- The expected total count.
-