C# Class Pepino.Domain.Entities.Scenario

Inheritance: IHaveTestResults, IEntity
Exibir arquivo Open project: AcklenAvenue/Pepino Class Usage Examples

Public Methods

Method Description
AddCriterion ( CriterionType type, Criterion criterion ) : LinkedCriterion
ChangeCriterionOrder ( System.Guid id, int newPriority ) : void
ChangeName ( string newName ) : void
GetLastScreenshot ( ) : string
GetLinkedCriteria ( ) : IOrderedEnumerable
GetTestStatus ( ) : TestStatus
LastResult ( ) : StepRunResult
LastRun ( ) : DateTime?
Queue ( ) : void
RemoveCriterion ( System.Guid criterionId ) : void
Scenario ( System.Guid id, string name, Story story ) : System

Protected Methods

Method Description
Scenario ( ) : System

Method Details

AddCriterion() public method

public AddCriterion ( CriterionType type, Criterion criterion ) : LinkedCriterion
type CriterionType
criterion Criterion
return LinkedCriterion

ChangeCriterionOrder() public method

public ChangeCriterionOrder ( System.Guid id, int newPriority ) : void
id System.Guid
newPriority int
return void

ChangeName() public method

public ChangeName ( string newName ) : void
newName string
return void

GetLastScreenshot() public method

public GetLastScreenshot ( ) : string
return string

GetLinkedCriteria() public method

public GetLinkedCriteria ( ) : IOrderedEnumerable
return IOrderedEnumerable

GetTestStatus() public method

public GetTestStatus ( ) : TestStatus
return TestStatus

LastResult() public method

public LastResult ( ) : StepRunResult
return StepRunResult

LastRun() public method

public LastRun ( ) : DateTime?
return DateTime?

Queue() public method

public Queue ( ) : void
return void

RemoveCriterion() public method

public RemoveCriterion ( System.Guid criterionId ) : void
criterionId System.Guid
return void

Scenario() protected method

protected Scenario ( ) : System
return System

Scenario() public method

public Scenario ( System.Guid id, string name, Story story ) : System
id System.Guid
name string
story Story
return System