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