Esempio n. 1
0
 public TargetConstraint(TestDefinition testDefinition)
 {
     if (typeof(IApplyToTarget).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
 }
Esempio n. 2
0
 public ApplicationConstraint(TestDefinition testDefinition)
 {
     if (typeof (IApplyToApplication).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
 }
Esempio n. 3
0
 public EnvironmentConstraint(TestDefinition testDefinition)
 {
     if (typeof (IApplyToEnvironment).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
 }
 public ApplicationConstraint(TestDefinition testDefinition)
 {
     if (typeof(IApplyToApplication).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
 }
 public EnvironmentConstraint(TestDefinition testDefinition)
 {
     if (typeof(IApplyToEnvironment).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
 }
Esempio n. 6
0
 public TargetConstraint(TestDefinition testDefinition)
 {
     if (typeof (IApplyToTarget).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
 }
Esempio n. 7
0
 public TagConstraint(TestDefinition testDefinition)
 {
     if (typeof (IHaveTags).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
     else
     {
         _tags = new string[0];
     }
 }
Esempio n. 8
0
 public TagConstraint(TestDefinition testDefinition)
 {
     if (typeof(IHaveTags).IsAssignableFrom(testDefinition.TestType))
     {
         TestDefinition = testDefinition;
     }
     else
     {
         _tags = new string[0];
     }
 }