Interface
ICloudStorageProjectOpener

Definition

Namespace:ArtOfTest.WebAii.Design.Repository

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public interface ICloudStorageProjectOpener

Derived Classes: CloudStorageProjectOpener

Properties

ConnectionStatus

Returns if the user is entitled to access Cloud Storage

Declaration

cs-api-definition
string ConnectionStatus { get; }

Property Value

string

IsCredentialsChanged

Signals when credentials have been changed and a new LicenseSession is required

Declaration

cs-api-definition
bool IsCredentialsChanged { get; set; }

Property Value

bool

LicenseSession

Manages connecting to the user account service to get a storage token

Declaration

cs-api-definition
ICloudLicenseSession LicenseSession { get; set; }

Property Value

ICloudLicenseSession

Methods

GetLocalProjectPath(string)

Builds the full local disk path of the given project

Declaration

cs-api-definition
string GetLocalProjectPath(string projectName)

Parameters

projectName

string

Returns

string

SaveProjectAndTestLocallyAsync(IStorageDocument<ProjectNameTransport>, Guid, string)

Writes out the project and specific test to the project's local disk location.

Declaration

cs-api-definition
Task<bool> SaveProjectAndTestLocallyAsync(IStorageDocument<ProjectNameTransport> projectNameDocument, Guid testId, string path)

Parameters

projectNameDocument

IStorageDocument<ProjectNameTransport>

testId

Guid

path

string

Returns

Task<bool>

SaveProjectLocallyAsync(IStorageDocument<ProjectNameTransport>, string)

Writes out the project settings and attachments to the project's local disk location.

Declaration

cs-api-definition
Task<Project> SaveProjectLocallyAsync(IStorageDocument<ProjectNameTransport> projectNameDocument, string path)

Parameters

projectNameDocument

IStorageDocument<ProjectNameTransport>

path

string

Returns

Task<Project>

SaveProjectWithTestListsAndTestsLocallyAsync(IStorageDocument<ProjectNameTransport>, string, bool)

Writes out the project settings and attachments, test lists and tests to the project's local disk location.

Declaration

cs-api-definition
Task<Project> SaveProjectWithTestListsAndTestsLocallyAsync(IStorageDocument<ProjectNameTransport> projectNameDocument, string path, bool skipLoadTests = false)

Parameters

projectNameDocument

IStorageDocument<ProjectNameTransport>

path

string

skipLoadTests

bool

Returns

Task<Project>

SaveTestByPathLocallyAsync(string, string)

Writes out only the specific test to the project's local disk location without redownloading a project.

Declaration

cs-api-definition
Task SaveTestByPathLocallyAsync(string projectPath, string relativeTestPath)

Parameters

projectPath

string

relativeTestPath

string

Taken from a coded Test call to ExecuteTest; most likely absolute.

Returns

Task

SaveTestLocallyAsync(Guid, string)

Writes out only the specific test to the project's local disk location without redownloading a project.

Declaration

cs-api-definition
Task SaveTestLocallyAsync(Guid testId, string projectPath)

Parameters

testId

Guid

projectPath

string

Returns

Task