/external/chromium_org/jingle/notifier/listener/ |
non_blocking_push_client_unittest.cc | 25 NonBlockingPushClientTest() : fake_push_client_(NULL) {} 51 if (fake_push_client_) { 55 fake_push_client_ = new FakePushClient(); 56 return scoped_ptr<PushClient>(fake_push_client_); 63 FakePushClient* fake_push_client_; member in class:notifier::__anon13149::NonBlockingPushClientTest 73 EXPECT_TRUE(fake_push_client_->subscriptions().empty()); 77 fake_push_client_->subscriptions(), subscriptions)); 86 EXPECT_TRUE(fake_push_client_->email().empty()); 87 EXPECT_TRUE(fake_push_client_->token().empty()); 89 EXPECT_EQ(kEmail, fake_push_client_->email()) [all...] |
/external/chromium_org/components/invalidation/ |
push_client_channel_unittest.cc | 21 : fake_push_client_(new notifier::FakePushClient()), 23 scoped_ptr<notifier::PushClient>(fake_push_client_)), 45 notifier::FakePushClient* fake_push_client_; member in class:syncer::__anon11176::PushClientChannelTest 61 fake_push_client_->subscriptions(), 70 EXPECT_TRUE(fake_push_client_->email().empty()); 71 EXPECT_TRUE(fake_push_client_->token().empty()); 73 EXPECT_EQ(kEmail, fake_push_client_->email()); 74 EXPECT_EQ(kToken, fake_push_client_->token()); 81 fake_push_client_->EnableNotifications(); 83 fake_push_client_->DisableNotifications [all...] |
p2p_invalidator_unittest.cc | 22 P2PInvalidatorTestDelegate() : fake_push_client_(NULL) {} 33 DCHECK(!fake_push_client_); 35 fake_push_client_ = new notifier::FakePushClient(); 38 scoped_ptr<notifier::PushClient>(fake_push_client_), 48 return fake_push_client_; 53 fake_push_client_ = NULL; 62 fake_push_client_->EnableNotifications(); 64 fake_push_client_->DisableNotifications(ToNotifierReasonForTest(state)); 75 fake_push_client_->SimulateIncomingNotification(notification); 80 notifier::FakePushClient* fake_push_client_; member in class:syncer::__anon11174::P2PInvalidatorTestDelegate [all...] |
sync_invalidation_listener_unittest.cc | 268 fake_push_client_(new notifier::FakePushClient()), 271 scoped_ptr<notifier::PushClient>(fake_push_client_)))), 441 fake_push_client_->EnableNotifications(); 445 fake_push_client_->DisableNotifications(reason); 457 notifier::FakePushClient* const fake_push_client_; member in class:syncer::__anon11181::SyncInvalidationListenerTest::notifier [all...] |