Home
last modified time | relevance | path

Searched refs:xmpp_client (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Dhangoutpubsubclient_unittest.cc185 xmpp_client = new buzz::FakeXmppClient(runner.get()); in HangoutPubSubClientTest()
186 client.reset(new buzz::HangoutPubSubClient(xmpp_client, pubsubjid, nick)); in HangoutPubSubClientTest()
226 buzz::FakeXmppClient* xmpp_client; member in HangoutPubSubClientTest
234 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F()
253 ASSERT_EQ(2U, xmpp_client->sent_stanzas().size()); in TEST_F()
254 EXPECT_EQ(expected_presenter_request, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F()
255 EXPECT_EQ(expected_media_request, xmpp_client->sent_stanzas()[1]->Str()); in TEST_F()
282 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(presenter_response)); in TEST_F()
307 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(media_response)); in TEST_F()
337 xmpp_client->HandleStanza( in TEST_F()
[all …]
Dmucroomlookuptask_unittest.cc70 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp()
81 buzz::FakeXmppClient* xmpp_client; member in MucRoomLookupTaskTest
92 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F()
96 xmpp_client, lookup_server_jid, room_name, room_domain); in TEST_F()
109 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F()
110 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F()
124 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F()
134 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F()
137 xmpp_client, lookup_server_jid, hangout_id); in TEST_F()
149 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F()
[all …]
Dmucroomconfigtask_unittest.cc65 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp()
76 buzz::FakeXmppClient* xmpp_client; member in MucRoomConfigTaskTest
83 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F()
89 xmpp_client, room_jid, "ponies", room_features); in TEST_F()
111 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F()
112 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F()
122 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F()
131 xmpp_client, room_jid, "ponies", room_features); in TEST_F()
140 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(error_iq)); in TEST_F()
Dpubsubclient_unittest.cc82 xmpp_client = new buzz::FakeXmppClient(runner.get()); in PubSubClientTest()
83 client.reset(new buzz::PubSubClient(xmpp_client, pubsubjid, node)); in PubSubClientTest()
101 buzz::FakeXmppClient* xmpp_client; member in PubSubClientTest
120 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F()
121 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F()
137 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(result_iq)); in TEST_F()
160 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(items_message)); in TEST_F()
181 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(result_iq)); in TEST_F()
204 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F()
205 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F()
[all …]
Dmucroomdiscoverytask_unittest.cc79 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp()
90 buzz::FakeXmppClient* xmpp_client; member in MucRoomDiscoveryTaskTest
98 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F()
101 xmpp_client, room_jid); in TEST_F()
111 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F()
112 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F()
134 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F()
148 xmpp_client, room_jid); in TEST_F()
160 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(error_iq)); in TEST_F()
Dmucroomuniquehangoutidtask_unittest.cc66 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp()
77 buzz::FakeXmppClient* xmpp_client; member in MucRoomUniqueHangoutIdTaskTest
84 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F()
87 xmpp_client, lookup_server_jid); in TEST_F()
98 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F()
99 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F()
111 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F()
Dpingtask_unittest.cc60 xmpp_client = new PingXmppClient(runner, this); in SetUp()
77 PingXmppClient* xmpp_client; member in PingTaskTest
95 buzz::PingTask* task = new buzz::PingTask(xmpp_client, in TEST_F()
101 EXPECT_EQ_WAIT(xmpp_client->sent_stanzas().size(), expected_ping_count, in TEST_F()
110 buzz::PingTask* task = new buzz::PingTask(xmpp_client, in TEST_F()
/external/chromium_org/jingle/notifier/base/
Dweak_xmpp_client_unittest.cc39 void ConnectSignals(buzz::XmppClient* xmpp_client) { in ConnectSignals() argument
40 xmpp_client->SignalStateChange.connect( in ConnectSignals()
42 xmpp_client->SignalLogInput.connect( in ConnectSignals()
44 xmpp_client->SignalLogOutput.connect( in ConnectSignals()
56 void RaiseSignals(buzz::XmppClient* xmpp_client) { in RaiseSignals() argument
57 xmpp_client->SignalStateChange(kState); in RaiseSignals()
58 xmpp_client->SignalLogInput(kInputLog, arraysize(kInputLog)); in RaiseSignals()
59 xmpp_client->SignalLogOutput(kOutputLog, arraysize(kOutputLog)); in RaiseSignals()
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
Dcallclient.h104 CallClient(buzz::XmppClient* xmpp_client,
Dcallclient.cc374 CallClient::CallClient(buzz::XmppClient* xmpp_client, in CallClient() argument
376 : xmpp_client_(xmpp_client), in CallClient()