Package org.jivesoftware.smackx.muc
Class MultiUserChatEntityIntegrationTest
java.lang.Object
org.igniterealtime.smack.inttest.AbstractSmackIntTest
org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
org.jivesoftware.smackx.muc.AbstractMultiUserChatIntegrationTest
org.jivesoftware.smackx.muc.MultiUserChatEntityIntegrationTest
@SpecificationReference(document="XEP-0045",
                        version="1.34.6")
public class MultiUserChatEntityIntegrationTest
extends AbstractMultiUserChatIntegrationTest
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
AbstractSmackIntTest.Condition - 
Field Summary
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
connection, connections, conOne, conThree, conTwoFields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
INSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout - 
Constructor Summary
ConstructorsConstructorDescription - 
Method Summary
Modifier and TypeMethodDescriptionvoidAsserts that a MUC service can have its features discovered.voidAsserts that a MUC service can be discovered.voidAsserts that a MUC Service returns disco info for a room.voidAsserts that a MUC Service returns disco info for a room's items.voidAsserts that a MUC Service lists its public rooms.voidAsserts that a non-occupant receives a Bad Request error when attempting to query an occupant by their occupant JID.Methods inherited from class org.jivesoftware.smackx.muc.AbstractMultiUserChatIntegrationTest
getRandomRoomMethods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
performActionAndWaitForPresenceMethods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
assertResult, assertResult, assertResult, assertResult, createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue 
- 
Constructor Details
- 
MultiUserChatEntityIntegrationTest
public MultiUserChatEntityIntegrationTest(SmackIntegrationTestEnvironment environment) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, TestNotPossibleException, org.jivesoftware.smackx.muc.MultiUserChatException.MucAlreadyJoinedException, org.jivesoftware.smackx.muc.MultiUserChatException.MissingMucCreationAcknowledgeException, org.jivesoftware.smackx.muc.MultiUserChatException.NotAMucServiceException, org.jxmpp.stringprep.XmppStringprepException - Throws:
 org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedExceptionTestNotPossibleExceptionorg.jivesoftware.smackx.muc.MultiUserChatException.MucAlreadyJoinedExceptionorg.jivesoftware.smackx.muc.MultiUserChatException.MissingMucCreationAcknowledgeExceptionorg.jivesoftware.smackx.muc.MultiUserChatException.NotAMucServiceExceptionorg.jxmpp.stringprep.XmppStringprepException
 
 - 
 - 
Method Details
- 
mucTestForDiscoveringMuc
@SmackIntegrationTest(section="6.1", quote="An entity often discovers a MUC service by sending a Service Discovery items (\"disco#items\") request to its own server. The server then returns the services that are associated with it.") public void mucTestForDiscoveringMuc() throws ExceptionAsserts that a MUC service can be discovered.- Throws:
 Exception- when errors occur
 - 
mucTestForDiscoveringFeatures
@SmackIntegrationTest(section="6.2", quote="An entity may wish to discover if a service implements the Multi-User Chat protocol; in order to do so, it sends a service discovery information (\"disco#info\") query to the MUC service\'s JID. The service MUST return its identity and the features it supports.") public void mucTestForDiscoveringFeatures() throws ExceptionAsserts that a MUC service can have its features discovered.- Throws:
 Exception- when errors occur
 - 
mucTestForDiscoveringRooms
@SmackIntegrationTest(section="6.3", quote="The service discovery items (\"disco#items\") protocol enables an entity to query a service for a list of associated items, which in the case of a chat service would consist of the specific chat rooms hosted by theservice. The service SHOULD return a full list of the public rooms it hosts (i.e., not return any rooms thatare hidden).") public void mucTestForDiscoveringRooms() throws ExceptionAsserts that a MUC Service lists its public rooms.- Throws:
 Exception- when errors occur
 - 
mucTestForDiscoveringRoomInfo
@SmackIntegrationTest(section="6.4", quote="Using the disco#info protocol, an entity may also query a specific chat room for more detailed information about the room....The room MUST return its identity and SHOULD return the features it supports") public void mucTestForDiscoveringRoomInfo() throws ExceptionAsserts that a MUC Service returns disco info for a room.- Throws:
 Exception- when errors occur
 - 
mucTestForDiscoveringRoomItems
@SmackIntegrationTest(section="6.5", quote="An entity MAY also query a specific chat room for its associated items. An implementation MAY return a list of existing occupants if that information is publicly available, or return no list at all if this information is kept private.") public void mucTestForDiscoveringRoomItems() throws ExceptionAsserts that a MUC Service returns disco info for a room's items.- Throws:
 Exception- when errors occur
 - 
mucTestForRejectingDiscoOnRoomOccupantByNonOccupant
@SmackIntegrationTest(section="6.6", quote="If a non-occupant attempts to send a disco request to an address of the form <room@service/nick>, a MUC service MUST return a <bad-request> error") public void mucTestForRejectingDiscoOnRoomOccupantByNonOccupant() throws ExceptionAsserts that a non-occupant receives a Bad Request error when attempting to query an occupant by their occupant JID.- Throws:
 Exception- when errors occur
 
 -