Esempio n. 1
0
 public TestHarness(TestAttributeBase attribute, MethodInfo method)
 {
     Attribute =attribute;
     Method = method;
     if (attribute != null)
     {
         Category = attribute.GetCategories(method);
         Description = attribute.GetDescription(method);
         Timeout = attribute.GetTimeout(method);
     }
 }
Esempio n. 2
0
 public TestHarness(TestAttributeBase attribute, MethodInfo method)
 {
     Attribute = attribute;
     Method    = method;
     if (attribute != null)
     {
         Category    = attribute.GetCategories(method);
         Description = attribute.GetDescription(method);
         Timeout     = attribute.GetTimeout(method);
     }
 }