Class DoubleExemplarAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<DoubleExemplarAssert,io.opentelemetry.sdk.metrics.data.DoubleExemplarData>
io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<DoubleExemplarAssert,io.opentelemetry.sdk.metrics.data.DoubleExemplarData>, org.assertj.core.api.Descriptable<DoubleExemplarAssert>, org.assertj.core.api.ExtensionPoints<DoubleExemplarAssert,io.opentelemetry.sdk.metrics.data.DoubleExemplarData>

public final class DoubleExemplarAssert extends org.assertj.core.api.AbstractAssert<DoubleExemplarAssert,io.opentelemetry.sdk.metrics.data.DoubleExemplarData>
Assertions for an exported DoubleExemplarData.
Since:
1.14.0
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    hasEpochNanos(long expected)
    Asserts the exemplar has the given epoch timestamp, in nanos.
    hasFilteredAttribute(io.opentelemetry.api.common.AttributeKey<T> key, T value)
    Asserts the exemplar has the given filtered attribute.
    Asserts the exemplar has the given filtered attribute.
    hasFilteredAttributes(io.opentelemetry.api.common.Attributes expected)
    Asserts the exemplar has the given filtered attributes.
    hasFilteredAttributes(Map.Entry<? extends io.opentelemetry.api.common.AttributeKey<?>,?>... entries)
    Asserts the exemplar has the given filtered attributes.
    Asserts the exemplar has filtered attributes matching all assertions.
    Asserts the exemplar has filtered attributes matching all assertions.
    Asserts the exemplar has filtered attributes matching all assertions and no more.
    Asserts the exemplar has filtered attributes matching all assertions and no more.
    hasSpanId(String expected)
    Asserts the exemplar has the given span ID.
    hasTraceId(String expected)
    Asserts the exemplar has the given trace ID.
    hasValue(double expected)
    Asserts the exemplar has the given value.

    Methods 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, 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