public static IMatcher SetTestMatcher(this ITestingContext context)
        {
            var matcher = context.GetMatcher();

            context.Storage.Set(matcher, "matcher");
            return(matcher);
        }
示例#2
0
 public TaxGiven(TestingContext context)
 {
     this.context = context;
 }
示例#3
0
 public EmployeeWhen(TestingContext context)
 {
     this.context = context;
 }
示例#4
0
 public InsuranceThen(TestingContext context)
 {
     this.context = context;
 }
示例#5
0
 public PerfTest(TestingContext context)
 {
     this.context = context;
 }
示例#6
0
 public CompanyThen(TestingContext context)
 {
     this.context = context;
 }
示例#7
0
 public InsuranceGiven(TestingContext context)
 {
     this.context = context;
 }
示例#8
0
 public WorkProjectWhen(TestingContext context)
 {
     this.context = context;
 }
示例#9
0
 public CompanyPropertyWhen(TestingContext context)
 {
     this.context = context;
 }
示例#10
0
 public ThenException(TestingContext context)
 {
     this.context = context;
 }
 public LoggerMustProduceInfo(TestingContext context)
 {
     this.context = context;
 }
示例#12
0
 public TaxGiven(TestingContext context)
 {
     this.context = context;
 }
 public CompanyPropertyGiven(TestingContext context)
 {
     this.context = context;
 }
示例#14
0
 public PerfTest(TestingContext context)
 {
     this.context = context;
 }
示例#15
0
 public ThenException(TestingContext context)
 {
     this.context = context;
 }
示例#16
0
 public DepartmentGiven(TestingContext context)
 {
     this.context = context;
 }
示例#17
0
 public CompanyWhen(TestingContext context)
 {
     this.context = context;
 }
示例#18
0
 public AssignmentThen(TestingContext context)
 {
     this.context = context;
 }
示例#19
0
 public DepartmentWhen(TestingContext context)
 {
     this.context = context;
 }
示例#20
0
 public WorkProjectWhen(TestingContext context)
 {
     this.context = context;
 }
示例#21
0
 public static IMatcher TestMatcher(this ITestingContext context)
 {
     return(context.Storage.Get <IMatcher>("matcher"));
 }
示例#22
0
 public AssignmentThen(TestingContext context)
 {
     this.context = context;
 }
示例#23
0
 public EmployeeWhen(TestingContext context)
 {
     this.context = context;
 }
示例#24
0
 public LoggerMustProduceInfo(TestingContext context)
 {
     this.context = context;
 }