/external/webrtc/webrtc/libjingle/xmpp/ |
D | hangoutpubsubclient_unittest.cc | 192 xmpp_client = new buzz::FakeXmppClient(runner.get()); in HangoutPubSubClientTest() 193 client.reset(new buzz::HangoutPubSubClient(xmpp_client, pubsubjid, nick)); in HangoutPubSubClientTest() 233 buzz::FakeXmppClient* xmpp_client; member in HangoutPubSubClientTest 241 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F() 260 ASSERT_EQ(2U, xmpp_client->sent_stanzas().size()); in TEST_F() 261 EXPECT_EQ(expected_presenter_request, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F() 262 EXPECT_EQ(expected_media_request, xmpp_client->sent_stanzas()[1]->Str()); in TEST_F() 289 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(presenter_response)); in TEST_F() 314 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(media_response)); in TEST_F() 344 xmpp_client->HandleStanza( in TEST_F() [all …]
|
D | mucroomlookuptask_unittest.cc | 53 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp() 64 buzz::FakeXmppClient* xmpp_client; member in MucRoomLookupTaskTest 75 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F() 79 xmpp_client, lookup_server_jid, room_name, room_domain); in TEST_F() 92 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F() 93 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F() 107 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F() 117 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F() 120 xmpp_client, lookup_server_jid, hangout_id); in TEST_F() 132 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F() [all …]
|
D | pubsubclient_unittest.cc | 89 xmpp_client = new buzz::FakeXmppClient(runner.get()); in PubSubClientTest() 90 client.reset(new buzz::PubSubClient(xmpp_client, pubsubjid, node)); in PubSubClientTest() 108 buzz::FakeXmppClient* xmpp_client; member in PubSubClientTest 127 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F() 128 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F() 144 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(result_iq)); in TEST_F() 167 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(items_message)); in TEST_F() 188 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(result_iq)); in TEST_F() 211 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F() 212 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F() [all …]
|
D | mucroomconfigtask_unittest.cc | 48 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp() 59 buzz::FakeXmppClient* xmpp_client; member in MucRoomConfigTaskTest 66 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F() 72 xmpp_client, room_jid, "ponies", room_features); in TEST_F() 94 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F() 95 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F() 105 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F() 114 xmpp_client, room_jid, "ponies", room_features); in TEST_F() 123 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(error_iq)); in TEST_F()
|
D | mucroomdiscoverytask_unittest.cc | 62 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp() 73 buzz::FakeXmppClient* xmpp_client; member in MucRoomDiscoveryTaskTest 81 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F() 84 xmpp_client, room_jid); in TEST_F() 94 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F() 95 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F() 117 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F() 131 xmpp_client, room_jid); in TEST_F() 143 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(error_iq)); in TEST_F()
|
D | mucroomuniquehangoutidtask_unittest.cc | 49 xmpp_client = new buzz::FakeXmppClient(runner); in SetUp() 60 buzz::FakeXmppClient* xmpp_client; member in MucRoomUniqueHangoutIdTaskTest 67 ASSERT_EQ(0U, xmpp_client->sent_stanzas().size()); in TEST_F() 70 xmpp_client, lookup_server_jid); in TEST_F() 81 ASSERT_EQ(1U, xmpp_client->sent_stanzas().size()); in TEST_F() 82 EXPECT_EQ(expected_iq, xmpp_client->sent_stanzas()[0]->Str()); in TEST_F() 94 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(response_iq)); in TEST_F()
|
D | pingtask_unittest.cc | 43 xmpp_client = new PingXmppClient(runner, this); in SetUp() 60 PingXmppClient* xmpp_client; member in PingTaskTest 78 buzz::PingTask* task = new buzz::PingTask(xmpp_client, in TEST_F() 84 EXPECT_EQ_WAIT(xmpp_client->sent_stanzas().size(), expected_ping_count, in TEST_F() 93 buzz::PingTask* task = new buzz::PingTask(xmpp_client, in TEST_F()
|