GetTwinTests 类

定义

Test class containing all non error injection tests to be run on JVM and android pertaining to getDeviceTwin/getTwin.

public class GetTwinTests extends DeviceTwinCommon
继承
java.lang.Object
GetTwinTests

继承成员

DeviceTwinCommon.addMultipleDevices(int numberOfDevices) DeviceTwinCommon.addMultipleDevices(int numberOfDevices, boolean openDeviceClients) IntegrationTest.AMQP_AUTHENTICATION_SESSION_TIMEOUT_SECONDS IntegrationTest.AMQP_DEVICE_SESSION_TIMEOUT_SECONDS IntegrationTest.basicTierHubOnlyTestRule DeviceTwinCommon.buildDeviceTwinClientWithAzureSasCredential() DeviceTwinCommon.cleanup() IntegrationTest.continuousIntegrationTestRule DeviceTwinCommon.DELAY_BETWEEN_OPERATIONS DeviceTwinCommon.DESIRED_PROPERTIES_PROPAGATION_TIME_MILLISECONDS IntegrationTest.deviceProvisioningServiceTestRule DeviceTwinCommon.DeviceTwinCommon(IotHubClientProtocol protocol, AuthenticationType authenticationType, ClientType clientType) IntegrationTest.digitalTwinTestRule DeviceTwinCommon.ERROR_INJECTION_WAIT_TIMEOUT_MILLISECONDS IntegrationTest.flakeyTestRule IntegrationTest.HTTP_READ_TIMEOUT DeviceTwinCommon.inputs() DeviceTwinCommon.iotHubConnectionString IntegrationTest.iotHubTestRule IntegrationTest.isBasicTierHub IntegrationTest.isPullRequest DeviceTwinCommon.MAX_DEVICES DeviceTwinCommon.MAX_PROPERTIES_TO_TEST DeviceTwinCommon.MAX_WAIT_TIME_FOR_VERIFICATION_MILLISECONDS DeviceTwinCommon.MAXIMUM_TIME_FOR_IOTHUB_PROPAGATION_BETWEEN_DEVICE_SERVICE_CLIENTS IntegrationTest.multiplexingClientTestRule DeviceTwinCommon.MULTITHREADED_WAIT_TIMEOUT_MILLISECONDS DeviceTwinCommon.PAGE_SIZE DeviceTwinCommon.PERIODIC_WAIT_TIME_FOR_VERIFICATION DeviceTwinCommon.PROPERTY_KEY DeviceTwinCommon.PROPERTY_KEY_QUERY DeviceTwinCommon.PROPERTY_VALUE DeviceTwinCommon.PROPERTY_VALUE_ARRAY DeviceTwinCommon.PROPERTY_VALUE_QUERY DeviceTwinCommon.PROPERTY_VALUE_UPDATE DeviceTwinCommon.PROPERTY_VALUE_UPDATE2 DeviceTwinCommon.PROPERTY_VALUE_UPDATE2_ARRAY DeviceTwinCommon.PROPERTY_VALUE_UPDATE2_ARRAY_PREFIX DeviceTwinCommon.PROPERTY_VALUE_UPDATE_ARRAY DeviceTwinCommon.PROPERTY_VALUE_UPDATE_ARRAY_PREFIX DeviceTwinCommon.readReportedArrayPropertiesAndVerify(DeviceState deviceState, int expectedReportedPropCount) DeviceTwinCommon.readReportedPropertiesAndVerify(DeviceState deviceState, String startsWithValue, int expectedReportedPropCount) IntegrationTest.recycleIdentities DeviceTwinCommon.REPORTED_PROPERTIES_PROPAGATION_DELAY_MILLISECONDS DeviceTwinCommon.RETRY_MILLISECONDS IntegrationTest.runDigitalTwinTests IntegrationTest.runIotHubTests IntegrationTest.runProvisioningTests DeviceTwinCommon.SEND_TIMEOUT_MILLISECONDS DeviceTwinCommon.sendReportedArrayPropertiesAndVerify(int numOfProp) DeviceTwinCommon.sendReportedPropertiesAndVerify(int numOfProp) DeviceTwinCommon.setConnectionStatusCallBack(final List<com.microsoft.azure.sdk.iot.device.DeviceTwin.Pair<IotHubConnectionStatus, Throwable>> actualStatusUpdates) DeviceTwinCommon.setUpNewDeviceAndModule() DeviceTwinCommon.setUpNewDeviceAndModule(boolean openDeviceClient) DeviceTwinCommon.setUpTwin(DeviceState deviceState, boolean openDeviceClient, InternalClient client) IntegrationTest.standardTierHubOnlyTestRule DeviceTwinCommon.START_TWIN_TIMEOUT_MILLISECONDS DeviceTwinCommon.subscribeToDesiredPropertiesAndVerify(int numOfProp, Object propertyValue, Object propertyUpdateValue, String propertyNewValuePrefix) DeviceTwinCommon.TAG_KEY DeviceTwinCommon.TAG_VALUE DeviceTwinCommon.TAG_VALUE_UPDATE DeviceTwinCommon.testGetDeviceTwin() DeviceTwinCommon.testInstance IntegrationTest.throttleResistantTestRule IntegrationTest.timeout DeviceTwinCommon.waitAndVerifyDesiredPropertyCallback(String propPrefix, boolean withVersion) DeviceTwinCommon.waitAndVerifyTwinStatusBecomesSuccess() IntegrationTest.watcher IntegrationTest.x509CertificateGenerator

构造函数

GetTwinTests(IotHubClientProtocol protocol, AuthenticationType authenticationType, ClientType clientType)

方法

serviceClientTokenRenewalWithAzureSasCredential()
testGetDeviceTwinWithAzureSasCredential()
testGetDeviceTwinWithConnectionString()
testGetDeviceTwinWithProxy()

适用于