From 4fee4feb5aa55b59a28e0ff7cb8c173f126e4de2 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Fri, 15 Apr 2005 21:46:53 +0000 Subject: [PATCH] Minor fixes (and some new test cases). git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2486 b35dd754-fafc-0310-a699-88a17e54d16e --- test/org/jivesoftware/smack/FloodTest.java | 35 +++++++++ test/org/jivesoftware/smack/MessageTest.java | 6 +- .../smack/MessengerLoginTest.java | 4 +- test/org/jivesoftware/smack/RosterTest.java | 74 ++++++++++++++++--- .../smackx/muc/MultiUserChatTest.java | 51 ++++++++++++- 5 files changed, 152 insertions(+), 18 deletions(-) diff --git a/test/org/jivesoftware/smack/FloodTest.java b/test/org/jivesoftware/smack/FloodTest.java index c674210a3..4885298ca 100644 --- a/test/org/jivesoftware/smack/FloodTest.java +++ b/test/org/jivesoftware/smack/FloodTest.java @@ -61,6 +61,41 @@ public class FloodTest extends SmackTestCase { } } + /*public void testMUCFlood() { + try { + int floodNumber = 50000; + MultiUserChat chat = new MultiUserChat(getConnection(0), "myroom@" + getMUCDomain()); + chat.create("phatom"); + chat.sendConfigurationForm(new Form(Form.TYPE_SUBMIT)); + + MultiUserChat chat2 = new MultiUserChat(getConnection(1), "myroom@" + getMUCDomain()); + chat2.join("christine"); + + for (int i=0; i