Changeset - af6b0137485a
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-09-23 09:50:22
hanzz.k@gmail.com
Remove forgotten dumpReceived from test
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/tests/user.cpp
Show inline comments
 
@@ -179,13 +179,12 @@ class UserTest : public CPPUNIT_NS :: TestFixture, public BasicTest {
 
		loop->processEvents();
 

	
 
		CPPUNIT_ASSERT_EQUAL(std::string(""), room);
 
		CPPUNIT_ASSERT_EQUAL(std::string(""), roomNickname);
 
		CPPUNIT_ASSERT_EQUAL(std::string(""), roomPassword);
 

	
 
		dumpReceived();
 
		CPPUNIT_ASSERT_EQUAL(2, (int) received2.size());
 
		CPPUNIT_ASSERT(dynamic_cast<Swift::Presence *>(getStanza(received2[1])));
 
		CPPUNIT_ASSERT_EQUAL(Swift::StatusShow::Away, dynamic_cast<Swift::Presence *>(getStanza(received2[1]))->getShow());
 
		CPPUNIT_ASSERT_EQUAL(std::string("user@localhost/resource2"), dynamic_cast<Swift::Presence *>(getStanza(received2[1]))->getTo().toString());
 
		CPPUNIT_ASSERT_EQUAL(std::string("#room@localhost/anotheruser"), dynamic_cast<Swift::Presence *>(getStanza(received2[1]))->getFrom().toString());
 
		CPPUNIT_ASSERT(getStanza(received2[1])->getPayload<Swift::MUCUserPayload>());
0 comments (0 inline, 0 general)