Searched refs:fake_push_client_ (Results 1 - 4 of 4) sorted by relevance
/external/chromium_org/sync/notifier/ |
H A D | push_client_channel_unittest.cc | 23 : fake_push_client_(new notifier::FakePushClient()), 25 scoped_ptr<notifier::PushClient>(fake_push_client_)), 47 notifier::FakePushClient* fake_push_client_; member in class:syncer::__anon10767::PushClientChannelTest 63 fake_push_client_->subscriptions(), 72 EXPECT_TRUE(fake_push_client_->email().empty()); 73 EXPECT_TRUE(fake_push_client_->token().empty()); 75 EXPECT_EQ(kEmail, fake_push_client_->email()); 76 EXPECT_EQ(kToken, fake_push_client_->token()); 83 fake_push_client_->EnableNotifications(); 85 fake_push_client_ [all...] |
H A D | p2p_invalidator_unittest.cc | 21 P2PInvalidatorTestDelegate() : fake_push_client_(NULL) {} 32 DCHECK(!fake_push_client_); 34 fake_push_client_ = new notifier::FakePushClient(); 37 scoped_ptr<notifier::PushClient>(fake_push_client_), 47 return fake_push_client_; 52 fake_push_client_ = NULL; 61 fake_push_client_->EnableNotifications(); 63 fake_push_client_->DisableNotifications(ToNotifierReasonForTest(state)); 74 fake_push_client_->SimulateIncomingNotification(notification); 79 notifier::FakePushClient* fake_push_client_; member in class:syncer::__anon10765::P2PInvalidatorTestDelegate [all...] |
H A D | sync_invalidation_listener_unittest.cc | 280 fake_push_client_(new notifier::FakePushClient()), 282 listener_(scoped_ptr<notifier::PushClient>(fake_push_client_)), 446 fake_push_client_->EnableNotifications(); 450 fake_push_client_->DisableNotifications(reason); 462 notifier::FakePushClient* const fake_push_client_; member in class:syncer::__anon10772::SyncInvalidationListenerTest::notifier
|
/external/chromium_org/jingle/notifier/listener/ |
H A D | 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::__anon8926::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_ [all...] |
Completed in 164 milliseconds