Пример #1
0
 public TestcaseScope()
 {
     this.Constraints.Add(ActivityConstraints.HasParentType <Activity, TestcaseReportScope>(Resources.ParentScope_ValidationMessage + " " + Resources.TestcaseReportScope));
     Body = new ActivityAction <Testcase>
     {
         Argument = new DelegateInArgument <Testcase>(TestcaseContainerPropertyTag),
         Handler  = new Sequence {
             DisplayName = "Do"
         }
     };
 }
Пример #2
0
 public LogTestStatus()
 {
     this.Constraints.Add(ActivityConstraints.HasParentType <Activity, TestcaseScope>(Resources.ParentScope_ValidationMessage + " " + Resources.TestcaseScope));
 }