Home
last modified time | relevance | path

Searched refs:LABEL_VALUES (Results 1 – 10 of 10) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DDerivedDoubleGaugeImplTest.java52 private static final List<LabelValue> LABEL_VALUES = field in DerivedDoubleGaugeImplTest
126 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, null, null); in createTimeSeries_WithNullFunction()
131 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, new QueueManager(), queueManagerFunction); in createTimeSeries_WithObjFunction()
139 LABEL_VALUES, Point.create(Value.doubleValue(2.5), TEST_TIME), null))); in createTimeSeries_WithObjFunction()
144 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, new QueueManager(), queueManagerFunction); in createTimeSeries_WithSameLabel()
147 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, null, queueManagerFunction); in createTimeSeries_WithSameLabel()
152 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, null, negativeDoubleFunction); in addTimeSeries_WithNullObj()
160 LABEL_VALUES, Point.create(Value.doubleValue(-200.5), TEST_TIME), null))); in addTimeSeries_WithNullObj()
165 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, null, doubleFunction); in removeTimeSeries()
170 derivedDoubleGauge.removeTimeSeries(LABEL_VALUES); in removeTimeSeries()
[all …]
DMetricRegistryImplTest.java61 private static final List<LabelValue> LABEL_VALUES = field in MetricRegistryImplTest
239 longGauge.getOrCreateTimeSeries(LABEL_VALUES); in addLongGauge_GetMetrics()
248 LABEL_VALUES, Point.create(Value.longValue(0), TEST_TIME), null))); in addLongGauge_GetMetrics()
254 doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in addDoubleGauge_GetMetrics()
262 LABEL_VALUES, Point.create(Value.doubleValue(0.0), TEST_TIME), null))); in addDoubleGauge_GetMetrics()
269 derivedLongGauge.createTimeSeries(LABEL_VALUES, null, longFunction); in addDerivedLongGauge_GetMetrics()
277 LABEL_VALUES, Point.create(Value.longValue(5), TEST_TIME), null))); in addDerivedLongGauge_GetMetrics()
284 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, null, doubleFunction); in addDerivedDoubleGauge_GetMetrics()
292 LABEL_VALUES, Point.create(Value.doubleValue(5.0), TEST_TIME), null))); in addDerivedDoubleGauge_GetMetrics()
315 LongPoint longPoint = longGauge.getOrCreateTimeSeries(LABEL_VALUES); in getMetrics()
[all …]
DDerivedLongGaugeImplTest.java52 private static final List<LabelValue> LABEL_VALUES = field in DerivedLongGaugeImplTest
130 derivedLongGauge.createTimeSeries(LABEL_VALUES, null, null); in createTimeSeries_WithNullFunction()
135 derivedLongGauge.createTimeSeries(LABEL_VALUES, new QueueManager(), queueManagerFunction); in createTimeSeries_WithObjFunction()
144 LABEL_VALUES, Point.create(Value.longValue(2), TEST_TIME), null))); in createTimeSeries_WithObjFunction()
149 derivedLongGauge.createTimeSeries(LABEL_VALUES, null, negativeLongFunction); in addTimeSeries_WithNullObj()
158 LABEL_VALUES, Point.create(Value.longValue(-200), TEST_TIME), null))); in addTimeSeries_WithNullObj()
163 derivedLongGauge.createTimeSeries(LABEL_VALUES, null, longFunction); in removeTimeSeries()
169 derivedLongGauge.removeTimeSeries(LABEL_VALUES); in removeTimeSeries()
182 derivedLongGauge.createTimeSeries(LABEL_VALUES, null, longFunction); in multipleMetrics_GetMetric()
188 LABEL_VALUES, Point.create(Value.longValue(5), TEST_TIME), null)); in multipleMetrics_GetMetric()
[all …]
DLongGaugeImplTest.java54 private static final List<LabelValue> LABEL_VALUES = field in LongGaugeImplTest
101 LongPoint point = longGaugeMetric.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries()
103 LongPoint point1 = longGaugeMetric.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries()
113 LABEL_VALUES, Point.create(Value.longValue(500), TEST_TIME), null))); in getOrCreateTimeSeries()
119 LongPoint point = longGaugeMetric.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries_WithNegativePointValues()
157 longGaugeMetric.getOrCreateTimeSeries(LABEL_VALUES); in removeTimeSeries()
163 LABEL_VALUES, Point.create(Value.longValue(0), TEST_TIME), null))); in removeTimeSeries()
165 longGaugeMetric.removeTimeSeries(LABEL_VALUES); in removeTimeSeries()
178 LongPoint longPoint = longGaugeMetric.getOrCreateTimeSeries(LABEL_VALUES); in clear()
211 LongPoint longPoint = longGaugeMetric.getOrCreateTimeSeries(LABEL_VALUES); in pointImpl_InstanceOf()
[all …]
DDoubleGaugeImplTest.java54 private static final List<LabelValue> LABEL_VALUES = field in DoubleGaugeImplTest
101 DoublePoint point = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries()
103 DoublePoint point1 = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries()
114 LABEL_VALUES, Point.create(Value.doubleValue(500), TEST_TIME), null)))); in getOrCreateTimeSeries()
120 DoublePoint point = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries_WithNegativePointValues()
161 doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in removeTimeSeries()
168 LABEL_VALUES, Point.create(Value.doubleValue(0), TEST_TIME), null)))); in removeTimeSeries()
170 doubleGauge.removeTimeSeries(LABEL_VALUES); in removeTimeSeries()
183 DoublePoint doublePoint = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in clear()
216 DoublePoint doublePoint = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in pointImpl_InstanceOf()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DDerivedDoubleGaugeTest.java40 private static final List<LabelValue> LABEL_VALUES = field in DerivedDoubleGaugeTest
80 derivedDoubleGauge.createTimeSeries(LABEL_VALUES, null, null); in createTimeSeries_WithNullFunction()
DDerivedLongGaugeTest.java40 private static final List<LabelValue> LABEL_VALUES = field in DerivedLongGaugeTest
80 derivedLongGauge.createTimeSeries(LABEL_VALUES, null, null); in createTimeSeries_WithNullFunction()
DDoubleGaugeTest.java40 private static final List<LabelValue> LABEL_VALUES = field in DoubleGaugeTest
86 .isSameAs(doubleGauge.getOrCreateTimeSeries(LABEL_VALUES)); in noopSameAs()
DLongGaugeTest.java40 private static final List<LabelValue> LABEL_VALUES = field in LongGaugeTest
85 .isSameAs(longGauge.getOrCreateTimeSeries(LABEL_VALUES)); in noopSameAs()
DMetricRegistryTest.java42 private static final List<LabelValue> LABEL_VALUES = field in MetricRegistryTest
196 .isSameAs(longGauge.getOrCreateTimeSeries(LABEL_VALUES)); in noopSameAs()
201 .isSameAs(doubleGauge.getOrCreateTimeSeries(LABEL_VALUES)); in noopSameAs()