Class HistogramAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<HistogramAssert,io.opentelemetry.sdk.metrics.data.HistogramData>
io.opentelemetry.sdk.testing.assertj.HistogramAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<HistogramAssert,,io.opentelemetry.sdk.metrics.data.HistogramData> org.assertj.core.api.Descriptable<HistogramAssert>,org.assertj.core.api.ExtensionPoints<HistogramAssert,io.opentelemetry.sdk.metrics.data.HistogramData>
public class HistogramAssert
extends org.assertj.core.api.AbstractAssert<HistogramAssert,io.opentelemetry.sdk.metrics.data.HistogramData>
Test assertions for
HistogramData.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHistogramAssert(io.opentelemetry.sdk.metrics.data.HistogramData actual) -
Method Summary
Modifier and TypeMethodDescriptionEnsures thataggregation_temporalityfield isCUMULATIVE.isDelta()Ensures thataggregation_temporalityfield isDELTA.org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends io.opentelemetry.sdk.metrics.data.HistogramPointData>, io.opentelemetry.sdk.metrics.data.HistogramPointData, ?> points()Returns convenience API to assert against thepointsfield.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
-
HistogramAssert
protected HistogramAssert(io.opentelemetry.sdk.metrics.data.HistogramData actual)
-
-
Method Details
-
isCumulative
Ensures thataggregation_temporalityfield isCUMULATIVE. -
isDelta
Ensures thataggregation_temporalityfield isDELTA. -
points
public org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends io.opentelemetry.sdk.metrics.data.HistogramPointData>, points()io.opentelemetry.sdk.metrics.data.HistogramPointData, ?> Returns convenience API to assert against thepointsfield.
-