Package org.jivesoftware.smackx.iot
Class IoTDiscoveryIntegrationTest
java.lang.Object
org.igniterealtime.smack.inttest.AbstractSmackIntTest
org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
org.jivesoftware.smackx.iot.IoTDiscoveryIntegrationTest
@SpecificationReference(document="XEP-0347",
version="0.5.1")
public class IoTDiscoveryIntegrationTest
extends AbstractSmackIntegrationTest
-
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
Modifier and TypeMethodDescriptionvoid
static org.jivesoftware.smackx.iot.discovery.ThingState
registerThing
(org.jivesoftware.smackx.iot.discovery.IoTDiscoveryManager iotDiscoveryManager, org.jivesoftware.smackx.iot.Thing thing) 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
-
IoTDiscoveryIntegrationTest
public IoTDiscoveryIntegrationTest(SmackIntegrationTestEnvironment environment) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, TestNotPossibleException - Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
InterruptedException
TestNotPossibleException
-
-
Method Details
-
registerClaimAndUnregisterThing
@SmackIntegrationTest public void registerClaimAndUnregisterThing() throws org.jivesoftware.smack.XMPPException.XMPPErrorException, InterruptedException, org.jivesoftware.smack.SmackException- Throws:
org.jivesoftware.smack.XMPPException.XMPPErrorException
InterruptedException
org.jivesoftware.smack.SmackException
-
registerThing
public static org.jivesoftware.smackx.iot.discovery.ThingState registerThing(org.jivesoftware.smackx.iot.discovery.IoTDiscoveryManager iotDiscoveryManager, org.jivesoftware.smackx.iot.Thing thing) throws org.jivesoftware.smack.XMPPException.XMPPErrorException, InterruptedException, org.jivesoftware.smack.SmackException.SmackMessageException, org.jivesoftware.smack.SmackException.NotConnectedException, org.jivesoftware.smack.SmackException.NoResponseException - Throws:
org.jivesoftware.smack.XMPPException.XMPPErrorException
InterruptedException
org.jivesoftware.smack.SmackException.SmackMessageException
org.jivesoftware.smack.SmackException.NotConnectedException
org.jivesoftware.smack.SmackException.NoResponseException
-