Class LongSumAssert

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

public final class LongSumAssert extends org.assertj.core.api.AbstractAssert<LongSumAssert,io.opentelemetry.sdk.metrics.data.SumData<io.opentelemetry.sdk.metrics.data.LongPointData>>
Test assertions for long SumData.
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
    Asserts the sum has points matching all the given assertions and no more, in any order.
    Asserts the sum has points matching all the given assertions and no more, in any order.
    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.

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

    actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, 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, usingEquals, usingEquals, 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, describedAs
  • Method Details

    • isMonotonic

      public LongSumAssert isMonotonic()
      Ensures that is_monotonic field is true.
    • isNotMonotonic

      public LongSumAssert isNotMonotonic()
      Ensures that is_monotonic field is false.
    • isCumulative

      public LongSumAssert isCumulative()
      Ensures that aggregation_temporality field is CUMULATIVE.
    • isDelta

      public LongSumAssert isDelta()
      Ensures that aggregation_temporality field is DELTA.
    • hasPointsSatisfying

      @SafeVarargs public final LongSumAssert hasPointsSatisfying(Consumer<LongPointAssert>... assertions)
      Asserts the sum has points matching all the given assertions and no more, in any order.
    • hasPointsSatisfying

      public LongSumAssert hasPointsSatisfying(Iterable<? extends Consumer<LongPointAssert>> assertions)
      Asserts the sum has points matching all the given assertions and no more, in any order.