HomeSort by relevance Sort by last modified time
    Searched refs:fake_push_client_ (Results 1 - 4 of 4) sorted by null

  /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::__anon10766::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/sync/notifier/
push_client_channel_unittest.cc 21 : fake_push_client_(new notifier::FakePushClient()),
23 scoped_ptr<notifier::PushClient>(fake_push_client_)),
44 notifier::FakePushClient* fake_push_client_; member in class:syncer::__anon12445::PushClientChannelTest
122 fake_push_client_->subscriptions(),
131 EXPECT_TRUE(fake_push_client_->email().empty());
132 EXPECT_TRUE(fake_push_client_->token().empty());
134 EXPECT_EQ(kEmail, fake_push_client_->email());
135 EXPECT_EQ(kToken, fake_push_client_->token());
141 EXPECT_TRUE(fake_push_client_->sent_notifications().empty());
148 ASSERT_EQ(1u, fake_push_client_->sent_notifications().size())
    [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::__anon12443::P2PInvalidatorTestDelegate
    [all...]
sync_invalidation_listener_unittest.cc 252 fake_push_client_(new notifier::FakePushClient()),
255 scoped_ptr<notifier::PushClient>(fake_push_client_)),
379 fake_push_client_->EnableNotifications();
383 fake_push_client_->DisableNotifications(reason);
419 notifier::FakePushClient* const fake_push_client_; member in class:syncer::__anon12448::SyncInvalidationListenerTest::notifier

Completed in 115 milliseconds