Class FormTest


public class FormTest extends AbstractSmackIntegrationTest
Tests the DataForms extensions.
  • Constructor Details

  • Method Details

    • testFilloutForm

      @SmackIntegrationTest public void testFilloutForm() throws org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException
      1. Create a form to fill out and send it to the other user 2. Retrieve the form to fill out, complete it and return it to the requestor 3. Retrieve the completed form and check that everything is OK
      Throws:
      InterruptedException - if the calling thread was interrupted.
      org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.