Class IntegrationTestRosterUtil
java.lang.Object
org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
ensureBothAccountsAreNotInEachOthersRoster
(org.jivesoftware.smack.XMPPConnection conOne, org.jivesoftware.smack.XMPPConnection conTwo) static void
ensureBothAccountsAreSubscribedToEachOther
(org.jivesoftware.smack.XMPPConnection conOne, org.jivesoftware.smack.XMPPConnection conTwo, long timeout) static void
ensureSubscribedTo
(org.jivesoftware.smack.XMPPConnection presenceRequestReceiverConnection, org.jivesoftware.smack.XMPPConnection presenceRequestingConnection, long timeout)
-
Constructor Details
-
IntegrationTestRosterUtil
public IntegrationTestRosterUtil()
-
-
Method Details
-
ensureBothAccountsAreSubscribedToEachOther
public static void ensureBothAccountsAreSubscribedToEachOther(org.jivesoftware.smack.XMPPConnection conOne, org.jivesoftware.smack.XMPPConnection conTwo, long timeout) throws TimeoutException, Exception - Throws:
TimeoutException
Exception
-
ensureSubscribedTo
public static void ensureSubscribedTo(org.jivesoftware.smack.XMPPConnection presenceRequestReceiverConnection, org.jivesoftware.smack.XMPPConnection presenceRequestingConnection, long timeout) throws TimeoutException, Exception - Throws:
TimeoutException
Exception
-
ensureBothAccountsAreNotInEachOthersRoster
public static void ensureBothAccountsAreNotInEachOthersRoster(org.jivesoftware.smack.XMPPConnection conOne, org.jivesoftware.smack.XMPPConnection conTwo) throws org.jivesoftware.smack.SmackException.NotLoggedInException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException - Throws:
org.jivesoftware.smack.SmackException.NotLoggedInException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
InterruptedException
-