public class EntityCapsTest extends AbstractSmackIntegrationTest
AbstractSmackIntTest.Conditionconnection, connections, conOne, conThree, conTwoINSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout| Constructor and Description |
|---|
EntityCapsTest(SmackIntegrationTestEnvironment environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testCapsChanged() |
void |
testEntityCaps() |
void |
testLocalEntityCaps() |
void |
testPreventDiscoInfo()
Test if entity caps actually prevent a disco info request and reply.
|
performActionAndWaitForPresencecreateNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTruepublic EntityCapsTest(SmackIntegrationTestEnvironment environment)
@BeforeClass public void setUp() throws org.jivesoftware.smack.SmackException.NotLoggedInException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException, java.util.concurrent.TimeoutException
org.jivesoftware.smack.SmackException.NotLoggedInExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedExceptionjava.util.concurrent.TimeoutException@AfterClass public void tearDown() throws org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedException@SmackIntegrationTest public void testLocalEntityCaps() throws java.lang.InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedException@SmackIntegrationTest public void testPreventDiscoInfo() throws java.lang.Exception
java.lang.Exception - if exception.@SmackIntegrationTest public void testCapsChanged() throws java.lang.Exception
java.lang.Exception@SmackIntegrationTest public void testEntityCaps() throws org.jivesoftware.smack.XMPPException, java.lang.InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.SmackException.NotConnectedException, java.util.concurrent.TimeoutException
org.jivesoftware.smack.XMPPExceptionjava.lang.InterruptedExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.util.concurrent.TimeoutException