public class TestClient extends AbstractClient
gson, HTTP_RSP_OK| 构造器和说明 |
|---|
TestClient(Credential credential) |
TestClient(Credential credential,
ClientProfile clientProfile) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancelTest(Long testId)
cancel test
|
GetDebugStatusResponse |
getDebugStatus(Long testId,
Integer deviceId) |
GetInstallProcessResponse |
getInstallProcess(Long testId,
Integer deviceId,
Integer installId) |
TestDevice[] |
getTestDevices(Long testId,
boolean log,
boolean image,
boolean error)
get test devices
|
TestStatus |
getTestStatus(Long testId)
获取测试状态
|
InstallAppResponse |
installApp(Long testId,
Integer deviceId,
Integer appId,
Boolean resign) |
TestInfo |
startAutomationTest(AutomationTest test)
Start automation test
|
TestInfo |
startCompatibilityTest(CompatibilityTest test)
StartCompatibilityTestRequest
|
DebugTestInfo |
startDebugTest(Integer deviceId,
String projectKey) |
TestInfo |
startFunctionalTest(FunctionalTest test)
start functional test
|
StartDebugConnectResponse |
startRemoteDebugConnect(Long testId,
int deviceId) |
getClientProfile, getCredential, getLogger, internalRequest, setClientProfile, setCredential, setLogger, setProfilepublic TestClient(Credential credential)
public TestClient(Credential credential, ClientProfile clientProfile)
public TestInfo startAutomationTest(AutomationTest test) throws CloudTestSDKException
test - auto test parametersCloudTestSDKException - CloudTestSDKExceptionpublic DebugTestInfo startDebugTest(Integer deviceId, String projectKey) throws CloudTestSDKException
public StartDebugConnectResponse startRemoteDebugConnect(Long testId, int deviceId) throws CloudTestSDKException
public void cancelTest(Long testId) throws CloudTestSDKException
testId - test idCloudTestSDKException - CloudTestSDKExceptionpublic TestDevice[] getTestDevices(Long testId, boolean log, boolean image, boolean error) throws CloudTestSDKException
testId - test IDlog - require log?image - require image?error - require error?CloudTestSDKException - CloudTestSDKExceptionpublic TestStatus getTestStatus(Long testId) throws CloudTestSDKException
testId - 测试IDCloudTestSDKException - CloudTestSDKExceptionpublic GetDebugStatusResponse getDebugStatus(Long testId, Integer deviceId) throws CloudTestSDKException
public InstallAppResponse installApp(Long testId, Integer deviceId, Integer appId, Boolean resign) throws CloudTestSDKException
public GetInstallProcessResponse getInstallProcess(Long testId, Integer deviceId, Integer installId) throws CloudTestSDKException
public TestInfo startFunctionalTest(FunctionalTest test) throws CloudTestSDKException
test - FunctionalTestCloudTestSDKException - CloudTestSDKExceptionpublic TestInfo startCompatibilityTest(CompatibilityTest test) throws CloudTestSDKException
test - CompatibilityTestCloudTestSDKException - CloudTestSDKExceptionCopyright © 2022. All rights reserved.