Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/anomaly/
DAnomalyTracker_test.cpp135 MetricDimensionKey keyC = getMockMetricDimensionKey(1, "c"); in TEST() local
145 std::shared_ptr<DimToValMap> bucket0 = MockBucket({{keyA, 1}, {keyB, 2}, {keyC, 1}}); in TEST()
158 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 0, bucket0, {}, {keyA, keyB, keyC})); in TEST()
161 {{keyA, -1}, {keyB, -1}, {keyC, -1}}); in TEST()
168 EXPECT_EQ(anomalyTracker.getSumOverPastBuckets(keyC), 1LL); in TEST()
172 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 1, bucket1, {}, {keyA, keyB, keyC})); in TEST()
175 {{keyA, -1}, {keyB, -1}, {keyC, -1}}); in TEST()
182 EXPECT_EQ(anomalyTracker.getSumOverPastBuckets(keyC), 1LL); in TEST()
184 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 1, bucket1, {}, {keyA, keyB, keyC})); in TEST()
187 {{keyA, -1}, {keyB, -1}, {keyC, -1}}); in TEST()
[all …]