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
Constructors Constructor Description AbstractSmackSpecificLowLevelIntegrationTest(SmackIntegrationTestEnvironment environment, java.lang.Class<C> connectionClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmppConnectionDescriptor<C,? extends org.jivesoftware.smack.ConnectionConfiguration,? extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?,?>>
getConnectionDescriptor()
protected C
getSpecificUnconnectedConnection()
protected java.util.List<C>
getSpecificUnconnectedConnections(int count)
-
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackLowLevelIntegrationTest
getConnectedConnection, recycle
-
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
-
-
-
Constructor Detail
-
AbstractSmackSpecificLowLevelIntegrationTest
public AbstractSmackSpecificLowLevelIntegrationTest(SmackIntegrationTestEnvironment environment, java.lang.Class<C> connectionClass)
-
-
Method Detail
-
getConnectionDescriptor
public XmppConnectionDescriptor<C,? extends org.jivesoftware.smack.ConnectionConfiguration,? extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?,?>> getConnectionDescriptor()
-
getSpecificUnconnectedConnection
protected C getSpecificUnconnectedConnection() throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
-
getSpecificUnconnectedConnections
protected java.util.List<C> getSpecificUnconnectedConnections(int count) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
-
-