Home
last modified time | relevance | path

Searched refs:MEASURE_LONG (Results 1 – 5 of 5) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DMetricUtilsTest.java60 private static final MeasureLong MEASURE_LONG = field in MetricUtilsTest
107 assertThat(MetricUtils.getType(MEASURE_LONG, LAST_VALUE)).isEqualTo(Type.GAUGE_INT64); in getType()
109 assertThat(MetricUtils.getType(MEASURE_LONG, SUM)).isEqualTo(Type.CUMULATIVE_INT64); in getType()
111 assertThat(MetricUtils.getType(MEASURE_LONG, MEAN)).isEqualTo(Type.CUMULATIVE_DOUBLE); in getType()
113 assertThat(MetricUtils.getType(MEASURE_LONG, COUNT)).isEqualTo(Type.CUMULATIVE_INT64); in getType()
116 assertThat(MetricUtils.getType(MEASURE_LONG, DISTRIBUTION)) in getType()
DRecordUtilsTest.java53 private static final MeasureLong MEASURE_LONG = field in RecordUtilsTest
83 assertThat(RecordUtils.createMutableAggregation(Sum.create(), MEASURE_LONG).toAggregationData()) in createMutableAggregation()
90 RecordUtils.createMutableAggregation(Count.create(), MEASURE_LONG).toAggregationData()) in createMutableAggregation()
96 RecordUtils.createMutableAggregation(Mean.create(), MEASURE_LONG).toAggregationData()) in createMutableAggregation()
103 RecordUtils.createMutableAggregation(LastValue.create(), MEASURE_LONG) in createMutableAggregation()
DViewManagerImplTest.java92 private static final MeasureLong MEASURE_LONG = field in ViewManagerImplTest
278 testRecordCumulative(MEASURE_LONG, DISTRIBUTION, 1000, 2000, 3000, 4000); in testRecordLong_distribution_cumulative()
288 testRecordCumulative(MEASURE_LONG, SUM, 1000, 2000, 3000, 4000); in testRecordLong_sum_cumulative()
298 testRecordCumulative(MEASURE_LONG, LAST_VALUE, 1000, 2000, 3000, 4000); in testRecordLong_lastvalue_cumulative()
338 MEASURE_LONG, in testRecordLong_mean_interval()
364 MEASURE_LONG, in testRecordLong_sum_interval()
390 MEASURE_LONG, in testRecordLong_lastvalue_interval()
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtilsTest.java87 private static final MeasureLong MEASURE_LONG = field in StackdriverExportUtilsTest
139 assertThat(StackdriverExportUtils.createValueType(SUM, MEASURE_LONG)) in createValueType()
143 assertThat(StackdriverExportUtils.createValueType(COUNT, MEASURE_LONG)) in createValueType()
147 assertThat(StackdriverExportUtils.createValueType(MEAN, MEASURE_LONG)) in createValueType()
151 assertThat(StackdriverExportUtils.createValueType(DISTRIBUTION, MEASURE_LONG)) in createValueType()
155 assertThat(StackdriverExportUtils.createValueType(LAST_VALUE, MEASURE_LONG)) in createValueType()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DViewDataTest.java205 createView(Sum.create(), MEASURE_LONG), in preventAggregationAndAggregationDataMismatch_SumLong_SumDouble() local
237 createView(LastValue.create(), MEASURE_LONG), in preventAggregationAndAggregationDataMismatch_LastValueLong_LastValueDouble() local
299 private static final Measure MEASURE_LONG = field in ViewDataTest