Lines Matching refs:sr
85 StatsRecords sr(server, size); in TEST_F() local
86 EXPECT_EQ(sr.getStatsData(), makeStatsData(server, 0, 0ms, {})); in TEST_F()
88 sr.push(recordNoError); in TEST_F()
89 EXPECT_EQ(sr.getStatsData(), makeStatsData(server, 1, 10ms, {{NS_R_NO_ERROR, 1}})); in TEST_F()
91 sr.push(recordNoError); in TEST_F()
92 EXPECT_EQ(sr.getStatsData(), makeStatsData(server, 2, 20ms, {{NS_R_NO_ERROR, 2}})); in TEST_F()
94 sr.push(recordTimeout); in TEST_F()
95 EXPECT_EQ(sr.getStatsData(), in TEST_F()
98 sr.push(recordTimeout); in TEST_F()
99 EXPECT_EQ(sr.getStatsData(), in TEST_F()
102 sr.push(recordTimeout); in TEST_F()
103 EXPECT_EQ(sr.getStatsData(), in TEST_F()