| 156 | } |
| 157 | |
| 158 | void ValidateCounter(RuntimeProfileBase* profile, const string& name, int64_t value) { |
| 159 | RuntimeProfile::Counter* counter = profile->GetCounter(name); |
| 160 | EXPECT_TRUE(counter != NULL); |
| 161 | EXPECT_EQ(counter->value(), value); |
| 162 | } |
| 163 | |
| 164 | TEST(CountersTest, MergeAndUpdate) { |
| 165 | // Create two trees. Each tree has two children, one of which has the |
no test coverage detected