Class LongPointAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<PointAssertT,PointT>
io.opentelemetry.sdk.testing.assertj.AbstractPointAssert<LongPointAssert,io.opentelemetry.sdk.metrics.data.LongPointData>
io.opentelemetry.sdk.testing.assertj.LongPointAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<LongPointAssert,,io.opentelemetry.sdk.metrics.data.LongPointData> org.assertj.core.api.Descriptable<LongPointAssert>,org.assertj.core.api.ExtensionPoints<LongPointAssert,io.opentelemetry.sdk.metrics.data.LongPointData>
public final class LongPointAssert
extends AbstractPointAssert<LongPointAssert,io.opentelemetry.sdk.metrics.data.LongPointData>
Assertions for an exported
LongPointData.- 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.LongExemplarData... exemplars) Asserts the point has the specified exemplars, in any order.hasExemplarsSatisfying(Iterable<? extends Consumer<LongExemplarAssert>> assertions) Asserts the point has exemplars matching all of the assertions, in any order.final LongPointAsserthasExemplarsSatisfying(Consumer<LongExemplarAssert>... assertions) Asserts the point has exemplars matching all of the assertions, in any order.hasValue(long 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 LongPointAssert hasExemplars(io.opentelemetry.sdk.metrics.data.LongExemplarData... exemplars) Asserts the point has the specified exemplars, in any order. -
hasExemplarsSatisfying
@SafeVarargs public final LongPointAssert hasExemplarsSatisfying(Consumer<LongExemplarAssert>... assertions) Asserts the point has exemplars matching all of the assertions, in any order. -
hasExemplarsSatisfying
public LongPointAssert hasExemplarsSatisfying(Iterable<? extends Consumer<LongExemplarAssert>> assertions) Asserts the point has exemplars matching all of the assertions, in any order.
-