|
|
|
@ -20,6 +20,7 @@ import org.eclipse.paho.client.mqttv3.MqttAsyncClient; |
|
|
|
import org.eclipse.paho.client.mqttv3.MqttMessage; |
|
|
|
import org.junit.After; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Ignore; |
|
|
|
import org.junit.Test; |
|
|
|
import org.thingsboard.server.common.data.ClaimRequest; |
|
|
|
import org.thingsboard.server.common.data.Customer; |
|
|
|
@ -74,21 +75,25 @@ public abstract class AbstractMqttClaimDeviceTest extends AbstractMqttIntegratio |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
@Ignore |
|
|
|
public void testClaimingDevice() throws Exception { |
|
|
|
processTestClaimingDevice(false); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
@Ignore |
|
|
|
public void testClaimingDeviceWithoutSecretAndDuration() throws Exception { |
|
|
|
processTestClaimingDevice(true); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
@Ignore |
|
|
|
public void testGatewayClaimingDevice() throws Exception { |
|
|
|
processTestGatewayClaimingDevice("Test claiming gateway device", false); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
@Ignore |
|
|
|
public void testGatewayClaimingDeviceWithoutSecretAndDuration() throws Exception { |
|
|
|
processTestGatewayClaimingDevice("Test claiming gateway device empty payload", true); |
|
|
|
} |
|
|
|
|