Class DoublePointAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<PointAssertT,PointT>
io.opentelemetry.sdk.testing.assertj.AbstractPointAssert<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
io.opentelemetry.sdk.testing.assertj.DoublePointAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<DoublePointAssert,,io.opentelemetry.sdk.metrics.data.DoublePointData> org.assertj.core.api.Descriptable<DoublePointAssert>,org.assertj.core.api.ExtensionPoints<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
public final class DoublePointAssert
extends AbstractPointAssert<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
Test assertions for
DoublePointData.- Since:
- 1.14.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionhasExemplars(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.final DoublePointAsserthasExemplarsSatisfying(Consumer<DoubleExemplarAssert>... assertions) Asserts the point has exemplars matching all of the assertions, in any order.hasValue(double expected) Asserts the point has the given 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
areEqual, 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, 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
-
Method Details
-
hasValue
Asserts the point has the given value. -
hasExemplars
public DoublePointAssert hasExemplars(io.opentelemetry.sdk.metrics.data.DoubleExemplarData... exemplars) Asserts the point has the specified exemplars, in any order. -
hasExemplarsSatisfying
@SafeVarargs public final DoublePointAssert hasExemplarsSatisfying(Consumer<DoubleExemplarAssert>... assertions) Asserts the point has exemplars matching all of the assertions, in any order. -
hasExemplarsSatisfying
public DoublePointAssert hasExemplarsSatisfying(Iterable<? extends Consumer<DoubleExemplarAssert>> assertions) Asserts the point has exemplars matching all of the assertions, in any order.
-