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") 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
Constructors Constructor Description IoTDiscoveryIntegrationTest(SmackIntegrationTestEnvironment environment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerClaimAndUnregisterThing()
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, createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
-
-
-
Constructor Detail
-
IoTDiscoveryIntegrationTest
public IoTDiscoveryIntegrationTest(SmackIntegrationTestEnvironment environment) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException, TestNotPossibleException
- Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
TestNotPossibleException
-
-
Method Detail
-
registerClaimAndUnregisterThing
@SmackIntegrationTest public void registerClaimAndUnregisterThing() throws org.jivesoftware.smack.XMPPException.XMPPErrorException, java.lang.InterruptedException, org.jivesoftware.smack.SmackException
- Throws:
org.jivesoftware.smack.XMPPException.XMPPErrorException
java.lang.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, java.lang.InterruptedException, org.jivesoftware.smack.SmackException.SmackMessageException, org.jivesoftware.smack.SmackException.NotConnectedException, org.jivesoftware.smack.SmackException.NoResponseException
- Throws:
org.jivesoftware.smack.XMPPException.XMPPErrorException
java.lang.InterruptedException
org.jivesoftware.smack.SmackException.SmackMessageException
org.jivesoftware.smack.SmackException.NotConnectedException
org.jivesoftware.smack.SmackException.NoResponseException
-
-