Class DoubleSumAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<DoubleSumAssert,io.opentelemetry.sdk.metrics.data.SumData<io.opentelemetry.sdk.metrics.data.DoublePointData>>
io.opentelemetry.sdk.testing.assertj.DoubleSumAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<DoubleSumAssert,
,io.opentelemetry.sdk.metrics.data.SumData<io.opentelemetry.sdk.metrics.data.DoublePointData>> org.assertj.core.api.Descriptable<DoubleSumAssert>
,org.assertj.core.api.ExtensionPoints<DoubleSumAssert,
io.opentelemetry.sdk.metrics.data.SumData<io.opentelemetry.sdk.metrics.data.DoublePointData>>
public final class DoubleSumAssert
extends org.assertj.core.api.AbstractAssert<DoubleSumAssert,io.opentelemetry.sdk.metrics.data.SumData<io.opentelemetry.sdk.metrics.data.DoublePointData>>
Test assertions for double
SumData
.- Since:
- 1.14.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<DoublePointAssert>> assertions) Asserts the sum has points matching all of the given assertions and no more, in any order.final DoubleSumAssert
hasPointsSatisfying
(Consumer<DoublePointAssert>... assertions) Asserts the sum has points matching all of the given assertions and no more, in any order.Ensures thataggregation_temporality
field isCUMULATIVE
.isDelta()
Ensures thataggregation_temporality
field isDELTA
.Ensures thatis_monotonic
field is true.Ensures thatis_monotonic
field is false.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, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
isMonotonic
Ensures thatis_monotonic
field is true. -
isNotMonotonic
Ensures thatis_monotonic
field is false. -
isCumulative
Ensures thataggregation_temporality
field isCUMULATIVE
. -
isDelta
Ensures thataggregation_temporality
field isDELTA
. -
hasPointsSatisfying
@SafeVarargs public final DoubleSumAssert hasPointsSatisfying(Consumer<DoublePointAssert>... assertions) Asserts the sum has points matching all of the given assertions and no more, in any order. -
hasPointsSatisfying
public DoubleSumAssert hasPointsSatisfying(Iterable<? extends Consumer<DoublePointAssert>> assertions) Asserts the sum has points matching all of the given assertions and no more, in any order.
-