Package org.jivesoftware.smackx.caps
Class EntityCapsTest
java.lang.Object
org.igniterealtime.smack.inttest.AbstractSmackIntTest
org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
org.jivesoftware.smackx.caps.EntityCapsTest
@SpecificationReference(document="XEP-0115",
                        version="1.6.0")
public class EntityCapsTest
extends AbstractSmackIntegrationTest
- 
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
Constructors - 
Method Summary
Methods 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
- 
EntityCapsTest
 
 - 
 - 
Method Details
- 
setUp
@BeforeClass public void setUp() throws org.jivesoftware.smack.SmackException.NotLoggedInException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, TimeoutException- Throws:
 org.jivesoftware.smack.SmackException.NotLoggedInExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedExceptionTimeoutException
 - 
tearDown
@AfterClass public void tearDown() throws org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException- Throws:
 org.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedException
 - 
testLocalEntityCaps
@SmackIntegrationTest public void testLocalEntityCaps() throws InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException- Throws:
 InterruptedExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedException
 - 
testPreventDiscoInfo
Test if entity caps actually prevent a disco info request and reply.- Throws:
 Exception- if exception.
 - 
testCapsChanged
- Throws:
 Exception
 - 
testEntityCaps
@SmackIntegrationTest public void testEntityCaps() throws org.jivesoftware.smack.XMPPException, InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.SmackException.NotConnectedException, TimeoutException- Throws:
 org.jivesoftware.smack.XMPPExceptionInterruptedExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionTimeoutException
 
 -