Class IntegrationTestRosterUtil
java.lang.Object
org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidensureBothAccountsAreNotInEachOthersRoster(org.jivesoftware.smack.XMPPConnection conOne, org.jivesoftware.smack.XMPPConnection conTwo) static voidensureBothAccountsAreSubscribedToEachOther(org.jivesoftware.smack.XMPPConnection conOne, org.jivesoftware.smack.XMPPConnection conTwo, long timeout) static voidensureSubscribedTo(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:
TimeoutExceptionException
-
ensureSubscribedTo
public static void ensureSubscribedTo(org.jivesoftware.smack.XMPPConnection presenceRequestReceiverConnection, org.jivesoftware.smack.XMPPConnection presenceRequestingConnection, long timeout) throws TimeoutException, Exception - Throws:
TimeoutExceptionException
-
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.NotLoggedInExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedException
-