Package org.jivesoftware.smackx.xdata
Class FormTest
java.lang.Object
org.igniterealtime.smack.inttest.AbstractSmackIntTest
org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
org.jivesoftware.smackx.xdata.FormTest
Tests the DataForms extensions.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
AbstractSmackIntTest.Condition
-
Field Summary
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
connection, connections, conOne, conThree, conTwo
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
INSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout
-
Constructor Summary
-
Method Summary
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
performActionAndWaitForPresence
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
assertResult, assertResult, assertResult, assertResult, createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
Constructor Details
-
FormTest
-
-
Method Details
-
testFilloutForm
@SmackIntegrationTest public void testFilloutForm() throws org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException1. 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.
-