Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/external/
DStatsPuller_test.cpp94 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F() local
95 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F()
96 ASSERT_EQ(1, dataHolder.size()); in TEST_F()
97 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
98 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F()
99 ASSERT_EQ(1, dataHolder[0]->size()); in TEST_F()
100 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
109 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F()
110 ASSERT_EQ(1, dataHolder.size()); in TEST_F()
111 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
[all …]
DStatsCallbackPuller_test.cpp129 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F() local
131 EXPECT_EQ(puller.PullInternal(&dataHolder), PULL_SUCCESS); in TEST_F()
134 ASSERT_EQ(1, dataHolder.size()); in TEST_F()
135 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
136 EXPECT_LT(startTimeNs, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F()
137 EXPECT_GT(endTimeNs, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F()
138 ASSERT_EQ(1, dataHolder[0]->size()); in TEST_F()
139 EXPECT_EQ(value, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
150 vector<shared_ptr<LogEvent>> dataHolder; in TEST_F() local
151 EXPECT_EQ(puller.PullInternal(&dataHolder), PULL_FAIL); in TEST_F()
[all …]