Interface
ITestListResultDataBus

Definition

Namespace:ArtOfTest.WebAii.Design.Repository.TestListResults

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public interface ITestListResultDataBus

Derived Classes: CloudTestListResultDataBusLocalTestListResultDataBus

Properties

StorageType

Is this data bus for local or cloud storage

Declaration

cs-api-definition
StorageType StorageType { get; }

Property Value

StorageType

Methods

DeleteTestListResult(string)

Declaration

cs-api-definition
Task DeleteTestListResult(string headerId)

Parameters

headerId

string

Returns

Task

DownloadPerfResultAsync(Guid, CancellationToken)

Loads the perf result from cloud/local disk

Declaration

cs-api-definition
Task<IQueryable<IStorageDocument<ResultsFileXmlRoot>>> DownloadPerfResultAsync(Guid headerId, CancellationToken token)

Parameters

headerId

Guid

token

CancellationToken

Returns

Task<IQueryable<IStorageDocument<ResultsFileXmlRoot>>>

DownloadRunResultsAsync(Guid, CancellationToken, IAttachmentDownloadSettings)

Loads the list of RunResults from cloud/local disk related to the header

Declaration

cs-api-definition
Task<IQueryable<IStorageDocument<RunResult>>> DownloadRunResultsAsync(Guid headerId, CancellationToken token, IAttachmentDownloadSettings attachmentSettings = null)

Parameters

headerId

Guid

token

CancellationToken

attachmentSettings

IAttachmentDownloadSettings

Settings for downloading RunResult attachments

Returns

Task<IQueryable<IStorageDocument<RunResult>>>

DownloadTestListResultAsync(Guid, CancellationToken)

Loads the test list result header from cloud/local disk

Declaration

cs-api-definition
Task<IStorageDocument<TestListResultTransport>> DownloadTestListResultAsync(Guid transportID, CancellationToken token)

Parameters

transportID

Guid

token

CancellationToken

Returns

Task<IStorageDocument<TestListResultTransport>>

DownloadTestListResultsForProjectAsync(Guid)

Loads the list of TestListResultTransports from cloud/local disk related to the project

Declaration

cs-api-definition
Task<IQueryable<IStorageDocument<TestListResultTransport>>> DownloadTestListResultsForProjectAsync(Guid projectId)

Parameters

projectId

Guid

Returns

Task<IQueryable<IStorageDocument<TestListResultTransport>>>

UploadTestListResultAsync(TestListResultTransport)

Saves the TestListResultTransport JSON to cloud/local disk

Declaration

cs-api-definition
Task UploadTestListResultAsync(TestListResultTransport transport)

Parameters

transport

TestListResultTransport

Returns

Task