Class SummaryPointDataAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<PointAssertT,PointT>
io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert<SummaryPointDataAssert,io.opentelemetry.sdk.metrics.data.SummaryPointData>
io.opentelemetry.sdk.testing.assertj.SummaryPointDataAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<SummaryPointDataAssert,,io.opentelemetry.sdk.metrics.data.SummaryPointData> org.assertj.core.api.Descriptable<SummaryPointDataAssert>,org.assertj.core.api.ExtensionPoints<SummaryPointDataAssert,io.opentelemetry.sdk.metrics.data.SummaryPointData>
public class SummaryPointDataAssert
extends AbstractPointDataAssert<SummaryPointDataAssert,io.opentelemetry.sdk.metrics.data.SummaryPointData>
Asserts for (deprecated) Summary points.
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSummaryPointDataAssert(io.opentelemetry.sdk.metrics.data.SummaryPointData actual) -
Method Summary
Modifier and TypeMethodDescriptionhasCount(long expected) Ensure the summary has seen the expected count of measurements.hasSum(double expected) Ensure the summary has the expected sum across all observed measurements.hasValues(io.opentelemetry.sdk.metrics.data.ValueAtQuantile... values) Ensure the summary has exactly, in any order, the given percentile values.Methods inherited from class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
attributes, exemplars, hasAttributes, hasEpochNanos, hasExemplars, hasStartEpochNanosMethods 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, 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
-
Constructor Details
-
SummaryPointDataAssert
protected SummaryPointDataAssert(io.opentelemetry.sdk.metrics.data.SummaryPointData actual)
-
-
Method Details
-
hasCount
Ensure the summary has seen the expected count of measurements. -
hasSum
Ensure the summary has the expected sum across all observed measurements. -
hasValues
public SummaryPointDataAssert hasValues(io.opentelemetry.sdk.metrics.data.ValueAtQuantile... values) Ensure the summary has exactly, in any order, the given percentile values.
-