Class DoublePointDataAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<PointAssertT,PointT>
io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert<DoublePointDataAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
io.opentelemetry.sdk.testing.assertj.DoublePointDataAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<DoublePointDataAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>, org.assertj.core.api.Descriptable<DoublePointDataAssert>, org.assertj.core.api.ExtensionPoints<DoublePointDataAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>

public class DoublePointDataAssert extends AbstractPointDataAssert<DoublePointDataAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
Test assertions for DoublePointData.
  • Field Summary

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    DoublePointDataAssert(io.opentelemetry.sdk.metrics.data.DoublePointData actual)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    hasValue(double expected)
    Ensures the as_double field matches the expected value.

    Methods inherited from class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert

    attributes, exemplars, hasAttributes, hasEpochNanos, hasExemplars, hasStartEpochNanos

    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, 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
  • Constructor Details

    • DoublePointDataAssert

      protected DoublePointDataAssert(io.opentelemetry.sdk.metrics.data.DoublePointData actual)
  • Method Details

    • hasValue

      public DoublePointDataAssert hasValue(double expected)
      Ensures the as_double field matches the expected value.