Class IntegrationTestRosterUtil

java.lang.Object
org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil

public class IntegrationTestRosterUtil extends Object
  • 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