Class
VerificationResult

Represents the result of a call to Verify on the VerificationDescriptor

Definition

Namespace:ArtOfTest.Common.Design.Extensibility

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class VerificationResult : IVerificationResult

Inheritance: objectVerificationResult

Implements: IVerificationResult

Constructors

VerificationResult()

Empty constructor for serialization.

Declaration

cs-api-definition
public VerificationResult()

VerificationResult(bool, string, string)

Create a VerificationResult.

Declaration

cs-api-definition
public VerificationResult(bool assert, string errorMessage, string warningMessage = null)

Parameters

assert

bool

True/False whether the verification is a Pass or Fail.

errorMessage

string

Any custom error message in case of a Fail.

warningMessage

string

Properties

ErrorMessage

Gets any custom error message in case of a failure.

Declaration

cs-api-definition
public string ErrorMessage { get; }

Property Value

string

Implements IVerificationResult.ErrorMessage

HasWarnings

Declaration

cs-api-definition
public bool HasWarnings { get; }

Property Value

bool

Passed

Gets the status of the result.

Declaration

cs-api-definition
public bool Passed { get; }

Property Value

bool

Implements IVerificationResult.Passed

WarningMessage

Gets any custom warning message.

Declaration

cs-api-definition
public string WarningMessage { get; }

Property Value

string