public class EntityCapsTest extends AbstractSmackIntegrationTest
AbstractSmackIntTest.Conditionconnection, 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.
|
createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTruepublic EntityCapsTest(SmackIntegrationTestEnvironment environment)
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.TimeoutExceptionpublic void tearDown()
throws org.jivesoftware.smack.SmackException.NotConnectedException,
java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedExceptionpublic 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.NotConnectedExceptionpublic void testPreventDiscoInfo()
throws java.lang.Exception
org.jivesoftware.smack.XMPPExceptionjava.lang.InterruptedExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionjava.lang.Exceptionpublic void testCapsChanged()
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