Package org.igniterealtime.smack.inttest
Class AbstractSmackSpecificLowLevelIntegrationTest<C extends org.jivesoftware.smack.AbstractXMPPConnection>
java.lang.Object
org.igniterealtime.smack.inttest.AbstractSmackIntTest
org.igniterealtime.smack.inttest.AbstractSmackLowLevelIntegrationTest
org.igniterealtime.smack.inttest.AbstractSmackSpecificLowLevelIntegrationTest<C>
- Direct Known Subclasses:
ModularXmppClientToServerConnectionLowLevelIntegrationTest
,StreamManagementTest
public abstract class AbstractSmackSpecificLowLevelIntegrationTest<C extends org.jivesoftware.smack.AbstractXMPPConnection>
extends AbstractSmackLowLevelIntegrationTest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.igniterealtime.smack.inttest.AbstractSmackLowLevelIntegrationTest
AbstractSmackLowLevelIntegrationTest.UnconnectedConnectionSource
Nested classes/interfaces inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
AbstractSmackIntTest.Condition
-
Field Summary
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackLowLevelIntegrationTest
configuration, service
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
INSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout
-
Constructor Summary
ConstructorDescriptionAbstractSmackSpecificLowLevelIntegrationTest
(SmackIntegrationTestEnvironment environment, Class<C> connectionClass) -
Method Summary
Modifier and TypeMethodDescriptionXmppConnectionDescriptor<C,
? extends org.jivesoftware.smack.ConnectionConfiguration, ? extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?, ?>> protected C
getSpecificUnconnectedConnections
(int count) Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackLowLevelIntegrationTest
getConnectedConnection, recycle
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
assertResult, assertResult, assertResult, assertResult, createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
Constructor Details
-
AbstractSmackSpecificLowLevelIntegrationTest
public AbstractSmackSpecificLowLevelIntegrationTest(SmackIntegrationTestEnvironment environment, Class<C> connectionClass)
-
-
Method Details
-
getConnectionDescriptor
public XmppConnectionDescriptor<C,? extends org.jivesoftware.smack.ConnectionConfiguration, getConnectionDescriptor()? extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?, ?>> -
getSpecificUnconnectedConnection
protected C getSpecificUnconnectedConnection() throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException- Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
InterruptedException
-
getSpecificUnconnectedConnections
protected List<C> getSpecificUnconnectedConnections(int count) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException - Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
InterruptedException
-