/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::__anon12620::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::__anon10988::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 | 23 P2PInvalidatorTestDelegate() : fake_push_client_(NULL) {} 34 DCHECK(!fake_push_client_); 36 fake_push_client_ = new notifier::FakePushClient(); 39 scoped_ptr<notifier::PushClient>(fake_push_client_), 49 return fake_push_client_; 54 fake_push_client_ = NULL; 63 fake_push_client_->EnableNotifications(); 65 fake_push_client_->DisableNotifications(ToNotifierReasonForTest(state)); 76 fake_push_client_->SimulateIncomingNotification(notification); 81 notifier::FakePushClient* fake_push_client_; member in class:syncer::__anon10986::P2PInvalidatorTestDelegate [all...] |
sync_invalidation_listener_unittest.cc | 281 fake_push_client_(new notifier::FakePushClient()), 284 scoped_ptr<notifier::PushClient>(fake_push_client_)))), 448 fake_push_client_->EnableNotifications(); 452 fake_push_client_->DisableNotifications(reason); 464 notifier::FakePushClient* const fake_push_client_; member in class:syncer::__anon10990::SyncInvalidationListenerTest::notifier [all...] |