org.jivesoftware.smackx.muc
Class MultiUserChatTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jivesoftware.smack.test.SmackTestCase
              extended by org.jivesoftware.smackx.muc.MultiUserChatTest
All Implemented Interfaces:
junit.framework.Test

public class MultiUserChatTest
extends SmackTestCase

Tests the new MUC functionalities.

Author:
Gaston Dombiak

Constructor Summary
MultiUserChatTest(java.lang.String arg0)
           
 
Method Summary
 void testAdmin()
           
 void testAnonymousParticipant()
           
 void testBanUser()
           
 void testChangeSubject()
           
 void testDeafOccupants()
          Test that deaf occupants do not get broadcasted messages.
 void testDiscoverJoinedRooms()
           
 void testDiscoverMUCService()
           
 void testDiscoverMUCSupport()
           
 void testDiscoverRoomInfo()
           
 void testDiscussionHistory()
           
 void testGetAffiliationList()
           
 void testGroupchatCompatibility()
          Test the compatibility of the MUC service with clients that still use the old groupchat protocol.
 void testInvitation()
           
 void testInvitationWithMessage()
           
 void testJoinLeftEvents()
          Check that ParticipantStatusListener is receiving joining and leaving events correctly.
 void testKickParticipant()
           
 void testManyResources()
           
 void testMembership()
           
 void testModerator()
           
 void testOwnership()
           
 void testParticipantPresence()
           
 void testPrivateChat()
           
 void testPrivateIQ()
          Tests that IQ packets can be sent to/from room occupants.
 void testReservedNickname()
           
 void testVoice()
           
 
Methods inherited from class org.jivesoftware.smack.test.SmackTestCase
assertEquals
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiUserChatTest

public MultiUserChatTest(java.lang.String arg0)
Method Detail

testGroupchatCompatibility

public void testGroupchatCompatibility()
Test the compatibility of the MUC service with clients that still use the old groupchat protocol.


testDiscussionHistory

public void testDiscussionHistory()

testParticipantPresence

public void testParticipantPresence()

testAnonymousParticipant

public void testAnonymousParticipant()

testInvitation

public void testInvitation()

testInvitationWithMessage

public void testInvitationWithMessage()

testDiscoverJoinedRooms

public void testDiscoverJoinedRooms()

testDiscoverMUCSupport

public void testDiscoverMUCSupport()

testDiscoverRoomInfo

public void testDiscoverRoomInfo()

testDiscoverMUCService

public void testDiscoverMUCService()

testPrivateChat

public void testPrivateChat()

testPrivateIQ

public void testPrivateIQ()
Tests that IQ packets can be sent to/from room occupants. This case will try to discover information about other room occupants.


testReservedNickname

public void testReservedNickname()

testChangeSubject

public void testChangeSubject()

testKickParticipant

public void testKickParticipant()

testBanUser

public void testBanUser()

testVoice

public void testVoice()

testModerator

public void testModerator()

testMembership

public void testMembership()

testAdmin

public void testAdmin()

testOwnership

public void testOwnership()

testGetAffiliationList

public void testGetAffiliationList()

testJoinLeftEvents

public void testJoinLeftEvents()
Check that ParticipantStatusListener is receiving joining and leaving events correctly.


testManyResources

public void testManyResources()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDeafOccupants

public void testDeafOccupants()
Test that deaf occupants do not get broadcasted messages. Deaf occupants is a Jive extension to MUC so it may not work with other servers.