Class SumDataAssert<T extends io.opentelemetry.sdk.metrics.data.PointData>

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

public class SumDataAssert<T extends io.opentelemetry.sdk.metrics.data.PointData> extends org.assertj.core.api.AbstractAssert<SumDataAssert<T>,io.opentelemetry.sdk.metrics.data.SumData<T>>
Test assertions for SumData.
  • Field Summary

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    SumDataAssert(io.opentelemetry.sdk.metrics.data.SumData<T> actual)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Ensures that aggregation_temporality field is CUMULATIVE.
    Ensures that aggregation_temporality field is DELTA.
    Ensures that is_monotonic field is true.
    Ensures that is_monotonic field is false.
    org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends T>,T,?>
    Returns convenience API to assert against the points field.

    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

    • SumDataAssert

      protected SumDataAssert(io.opentelemetry.sdk.metrics.data.SumData<T> actual)
  • Method Details

    • isMonotonic

      public SumDataAssert<T> isMonotonic()
      Ensures that is_monotonic field is true.
    • isNotMonotonic

      public SumDataAssert<T> isNotMonotonic()
      Ensures that is_monotonic field is false.
    • isCumulative

      public SumDataAssert<T> isCumulative()
      Ensures that aggregation_temporality field is CUMULATIVE.
    • isDelta

      public SumDataAssert<T> isDelta()
      Ensures that aggregation_temporality field is DELTA.
    • points

      public org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends T>,T,?> points()
      Returns convenience API to assert against the points field.