C# Class Pepino.Domain.Entities.LinkedCriterion

Inheritance: IHaveTestResults, IEntity
ファイルを表示 Open project: AcklenAvenue/Pepino Class Usage Examples

Public Methods

Method Description
GetLastScreenshot ( ) : string
GetLinkedSteps ( ) : IEnumerable
GetTestStatus ( ) : TestStatus
LastResult ( ) : StepRunResult
LastRun ( ) : DateTime?
LinkedCriterion ( System.Guid linkedCriterionId, Scenario scenario, CriterionType type, Criterion criterion, int priority ) : System
Queue ( ) : void
QueueStep ( System.Guid stepId ) : void
SetPriority ( int newPriority ) : void
StartStep ( System.Guid stepId, System.DateTime startTime ) : void
StopStepWithFailure ( System.Guid stepId, System.DateTime finishedAt, double duration, string exceptionMessage, string exceptionType, string stackTrace, string screenShotUrl ) : void
StopStopWithSuccess ( System.Guid stepId, System.DateTime finishedAt, double duration, string screenShotUrl ) : void

Protected Methods

Method Description
LinkedCriterion ( ) : System

Private Methods

Method Description
NextResultOrderNumber ( System.Guid stepId ) : int

Method Details

GetLastScreenshot() public method

public GetLastScreenshot ( ) : string
return string

GetLinkedSteps() public method

public GetLinkedSteps ( ) : IEnumerable
return IEnumerable

GetTestStatus() public method

public GetTestStatus ( ) : TestStatus
return TestStatus

LastResult() public method

public LastResult ( ) : StepRunResult
return StepRunResult

LastRun() public method

public LastRun ( ) : DateTime?
return DateTime?

LinkedCriterion() protected method

protected LinkedCriterion ( ) : System
return System

LinkedCriterion() public method

public LinkedCriterion ( System.Guid linkedCriterionId, Scenario scenario, CriterionType type, Criterion criterion, int priority ) : System
linkedCriterionId System.Guid
scenario Scenario
type CriterionType
criterion Criterion
priority int
return System

Queue() public method

public Queue ( ) : void
return void

QueueStep() public method

public QueueStep ( System.Guid stepId ) : void
stepId System.Guid
return void

SetPriority() public method

public SetPriority ( int newPriority ) : void
newPriority int
return void

StartStep() public method

public StartStep ( System.Guid stepId, System.DateTime startTime ) : void
stepId System.Guid
startTime System.DateTime
return void

StopStepWithFailure() public method

public StopStepWithFailure ( System.Guid stepId, System.DateTime finishedAt, double duration, string exceptionMessage, string exceptionType, string stackTrace, string screenShotUrl ) : void
stepId System.Guid
finishedAt System.DateTime
duration double
exceptionMessage string
exceptionType string
stackTrace string
screenShotUrl string
return void

StopStopWithSuccess() public method

public StopStopWithSuccess ( System.Guid stepId, System.DateTime finishedAt, double duration, string screenShotUrl ) : void
stepId System.Guid
finishedAt System.DateTime
duration double
screenShotUrl string
return void