/external/chromium_org/ash/system/chromeos/power/ |
power_status_unittest.cc | 49 test_observer_.reset(new TestObserver); 50 power_status_->AddObserver(test_observer_.get()); 54 power_status_->RemoveObserver(test_observer_.get()); 55 test_observer_.reset(); 63 scoped_ptr<TestObserver> test_observer_; member in class:ash::internal::PowerStatusTest 76 EXPECT_EQ(1, test_observer_->power_changed_count()); 82 EXPECT_EQ(2, test_observer_->power_changed_count());
|
/external/chromium_org/chromeos/network/ |
network_sms_handler_unittest.cc | 81 test_observer_.reset(new TestObserver()); 82 network_sms_handler_->AddObserver(test_observer_.get()); 95 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::NetworkSmsHandlerTest 99 EXPECT_EQ(test_observer_->message_count(), 0); 102 const std::set<std::string>& messages(test_observer_->messages()); 110 test_observer_->ClearMessages(); 113 EXPECT_GE(test_observer_->message_count(), 1);
|
network_state_handler_unittest.cc | 145 network_state_handler_->RemoveObserver(test_observer_.get(), FROM_HERE); 146 test_observer_.reset(); 154 test_observer_.reset(new TestObserver(network_state_handler_.get())); 155 network_state_handler_->AddObserver(test_observer_.get(), FROM_HERE); 195 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::NetworkStateHandlerTest 205 test_observer_->network_count()); 208 test_observer_->default_network()); 219 test_observer_->default_network_connection_state()); 224 size_t initial_changed_count = test_observer_->manager_changed_count(); 230 EXPECT_EQ(initial_changed_count + 1, test_observer_->manager_changed_count()) [all...] |
network_configuration_handler_unittest.cc | 428 test_observer_.reset(new TestObserver()); 429 network_state_handler_->AddObserver(test_observer_.get(), FROM_HERE); 435 test_observer_->ClearPropertyUpdates(); 440 network_state_handler_->RemoveObserver(test_observer_.get(), FROM_HERE); 485 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::NetworkConfigurationHandlerStubTest 522 EXPECT_EQ(1, test_observer_->PropertyUpdatesForService(service_path)); 542 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService(service_path));
|
/external/chromium_org/chrome/browser/history/android/ |
sqlite_cursor.h | 145 test_observer_ = test_observer; 192 TestObserver* test_observer_; member in class:SQLiteCursor
|
/external/chromium_org/chromeos/audio/ |
cras_audio_handler_unittest.cc | 225 cras_audio_handler_->RemoveAudioObserver(test_observer_.get()); 226 test_observer_.reset(); 240 test_observer_.reset(new TestObserver); 241 cras_audio_handler_->AddAudioObserver(test_observer_.get()); 254 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::CrasAudioHandlerTest 321 EXPECT_EQ(0, test_observer_->active_output_node_changed_count()); 333 EXPECT_EQ(1, test_observer_->active_output_node_changed_count()); 349 EXPECT_EQ(0, test_observer_->active_input_node_changed_count()); 358 EXPECT_EQ(1, test_observer_->active_input_node_changed_count()); 373 EXPECT_EQ(0, test_observer_->audio_nodes_changed_count()) [all...] |