Searched defs:first_watcher (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/base/memory/
H A Dscoped_vector_unittest.cc152 LifeCycleWatcher first_watcher; local
153 EXPECT_EQ(LC_INITIAL, first_watcher.life_cycle_state());
158 scoped_vector.push_back(first_watcher.NewLifeCycleObject());
159 EXPECT_EQ(LC_CONSTRUCTED, first_watcher.life_cycle_state());
161 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0]));
165 EXPECT_EQ(LC_CONSTRUCTED, first_watcher.life_cycle_state());
167 EXPECT_FALSE(first_watcher.IsWatching(scoped_vector[1]));
172 EXPECT_EQ(LC_CONSTRUCTED, first_watcher.life_cycle_state());
175 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0]));
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dscoped_vector_unittest.cc159 LifeCycleWatcher first_watcher; local
160 EXPECT_EQ(LC_INITIAL, first_watcher.life_cycle_state());
165 scoped_vector.push_back(first_watcher.NewLifeCycleObject());
166 EXPECT_EQ(LC_CONSTRUCTED, first_watcher.life_cycle_state());
168 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0]));
172 EXPECT_EQ(LC_CONSTRUCTED, first_watcher.life_cycle_state());
174 EXPECT_FALSE(first_watcher.IsWatching(scoped_vector[1]));
179 EXPECT_EQ(LC_CONSTRUCTED, first_watcher.life_cycle_state());
182 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0]));

Completed in 85 milliseconds