Package org.igniterealtime.smack.inttest
Class AbstractSmackLowLevelIntegrationTest
- java.lang.Object
-
- org.igniterealtime.smack.inttest.AbstractSmackIntTest
-
- org.igniterealtime.smack.inttest.AbstractSmackLowLevelIntegrationTest
-
- Direct Known Subclasses:
AbstractSmackSpecificLowLevelIntegrationTest
,LoginIntegrationTest
,LowLevelRosterIntegrationTest
,MultiUserChatLowLevelIntegrationTest
,WaitForClosingStreamElementTest
,XmppConnectionIntegrationTest
public abstract class AbstractSmackLowLevelIntegrationTest extends AbstractSmackIntTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
AbstractSmackIntTest.Condition
-
-
Field Summary
Fields Modifier and Type Field Description protected Configuration
configuration
The configurationprotected org.jxmpp.jid.DomainBareJid
service
-
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
INSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSmackLowLevelIntegrationTest(SmackIntegrationTestEnvironment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jivesoftware.smack.AbstractXMPPConnection
getConnectedConnection()
protected org.jivesoftware.smack.AbstractXMPPConnection
getUnconnectedConnection()
protected java.util.List<org.jivesoftware.smack.AbstractXMPPConnection>
getUnconnectedConnections(int count)
protected void
recycle(org.jivesoftware.smack.AbstractXMPPConnection connection)
-
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
-
-
-
Field Detail
-
configuration
protected final Configuration configuration
The configuration
-
service
protected final org.jxmpp.jid.DomainBareJid service
-
-
Constructor Detail
-
AbstractSmackLowLevelIntegrationTest
protected AbstractSmackLowLevelIntegrationTest(SmackIntegrationTestEnvironment environment)
-
-
Method Detail
-
getConnectedConnection
protected org.jivesoftware.smack.AbstractXMPPConnection getConnectedConnection() throws java.lang.InterruptedException, org.jivesoftware.smack.XMPPException, org.jivesoftware.smack.SmackException, java.io.IOException
- Throws:
java.lang.InterruptedException
org.jivesoftware.smack.XMPPException
org.jivesoftware.smack.SmackException
java.io.IOException
-
getUnconnectedConnection
protected org.jivesoftware.smack.AbstractXMPPConnection getUnconnectedConnection() 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
-
getUnconnectedConnections
protected java.util.List<org.jivesoftware.smack.AbstractXMPPConnection> getUnconnectedConnections(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
-
recycle
protected void recycle(org.jivesoftware.smack.AbstractXMPPConnection connection)
-
-