InterfaceITestListResultDataBus
Definition
Namespace:ArtOfTest.WebAii.Design.Repository.TestListResults
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public interface ITestListResultDataBus
Derived Classes:
Properties
StorageType
Is this data bus for local or cloud storage
Declaration
StorageType StorageType { get; }
Property Value
StorageType
Methods
DownloadPerfResultAsync(Guid, CancellationToken)
Loads the perf result from cloud/local disk
Declaration
Task<IQueryable<IStorageDocument<ResultsFileXmlRoot>>> DownloadPerfResultAsync(Guid headerId, CancellationToken token)
Parameters
headerId
token
Returns
Task<IQueryable<IStorageDocument<ResultsFileXmlRoot>>>
DownloadRunResultsAsync(Guid, CancellationToken, IAttachmentDownloadSettings)
Loads the list of RunResults from cloud/local disk related to the header
Declaration
Task<IQueryable<IStorageDocument<RunResult>>> DownloadRunResultsAsync(Guid headerId, CancellationToken token, IAttachmentDownloadSettings attachmentSettings = null)
Parameters
headerId
token
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
Task<IStorageDocument<TestListResultTransport>> DownloadTestListResultAsync(Guid transportID, CancellationToken token)
Parameters
transportID
token
Returns
Task<IStorageDocument<TestListResultTransport>>
DownloadTestListResultsForProjectAsync(Guid)
Loads the list of TestListResultTransports from cloud/local disk related to the project
Declaration
Task<IQueryable<IStorageDocument<TestListResultTransport>>> DownloadTestListResultsForProjectAsync(Guid projectId)
Parameters
projectId
Returns
Task<IQueryable<IStorageDocument<TestListResultTransport>>>
UploadTestListResultAsync(TestListResultTransport)
Saves the TestListResultTransport JSON to cloud/local disk
Declaration
Task UploadTestListResultAsync(TestListResultTransport transport)
Parameters
transport
TestListResultTransport
Returns