Class MockCloudTestClient
Namespace: TestPlatforms.Cloud
Syntax
public class MockCloudTestClient : ICloudTestClient
Methods
GetBuilds()
Declaration
public GetBuildsResponse GetBuilds()
Returns
Type | Description |
---|---|
GetBuildsResponse |
Implements
GetBuilds(String, String)
Declaration
public GetBuildsResponse GetBuilds(string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
GetBuildsResponse |
Implements
GetJobs()
Declaration
public GetJobsResponse GetJobs()
Returns
Type | Description |
---|---|
GetJobsResponse |
Implements
GetJobs(String, String)
Declaration
public GetJobsResponse GetJobs(string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
GetJobsResponse |
Implements
GetJobStatus(String)
Declaration
public JobStatusResponse GetJobStatus(string jobId)
Parameters
Type | Name | Description |
---|---|---|
String | jobId |
Returns
Type | Description |
---|---|
JobStatusResponse |
Implements
GetJobStatus(String, String, String)
Declaration
public JobStatusResponse GetJobStatus(string jobId, string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | jobId | |
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
JobStatusResponse |
Implements
GetLogs(String)
Declaration
public GetLogResponse GetLogs(string jobId)
Parameters
Type | Name | Description |
---|---|---|
String | jobId |
Returns
Type | Description |
---|---|
GetLogResponse |
Implements
GetLogs(String, String, String)
Declaration
public GetLogResponse GetLogs(string jobId, string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | jobId | |
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
GetLogResponse |
Implements
GetTestResults(String)
Declaration
public TestResultsResponse GetTestResults(string jobId)
Parameters
Type | Name | Description |
---|---|---|
String | jobId |
Returns
Type | Description |
---|---|
TestResultsResponse |
Implements
GetTestResults(String, String, String)
Declaration
public TestResultsResponse GetTestResults(string jobId, string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | jobId | |
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
TestResultsResponse |
Implements
GetUploadURL()
Declaration
public UploadUrlResponse GetUploadURL()
Returns
Type | Description |
---|---|
UploadUrlResponse |
Implements
GetUploadURL(String, String)
Declaration
public UploadUrlResponse GetUploadURL(string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
UploadUrlResponse |
Implements
RunCloudTests(String, List<String>, CloudTestDeviceInput)
Declaration
public JobStatusResponse RunCloudTests(string buildId, List<string> cloudTests, CloudTestDeviceInput cloudTestSubmission)
Parameters
Type | Name | Description |
---|---|---|
String | buildId | |
List<String> | cloudTests | |
CloudTestDeviceInput | cloudTestSubmission |
Returns
Type | Description |
---|---|
JobStatusResponse |
Implements
RunCloudTests(String, List<String>, CloudTestDeviceInput, String, String)
Declaration
public JobStatusResponse RunCloudTests(string buildId, List<string> cloudTests, CloudTestDeviceInput cloudTestSubmission, string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | buildId | |
List<String> | cloudTests | |
CloudTestDeviceInput | cloudTestSubmission | |
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
JobStatusResponse |
Implements
UploadBuild(String, String, String)
Declaration
public UploadUrlResponse UploadBuild(string buildPath, string accessToken, string projectId)
Parameters
Type | Name | Description |
---|---|---|
String | buildPath | |
String | accessToken | |
String | projectId |
Returns
Type | Description |
---|---|
UploadUrlResponse |
Implements
UploadBuildToUrl(String, String)
Declaration
public void UploadBuildToUrl(string uploadURL, string buildPath)
Parameters
Type | Name | Description |
---|---|---|
String | uploadURL | |
String | buildPath |