/// <summary>
 /// Initializes a new instance of the TestInfo class.
 /// </summary>
 /// <param name="tagProvider"></param>
 /// <param name="method"></param>
 public UnitTestDetail(Method method, SmartTagProvider tagProvider)
     : this()
 {
     _method = method;
     Location = method.Location;
     SmartTagProvider = tagProvider;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the TestInfo class.
 /// </summary>
 /// <param name="tagProvider"></param>
 /// <param name="method"></param>
 public UnitTestDetail(Method method, SmartTagProvider tagProvider)
     : this()
 {
     _method          = method;
     Location         = method.Location;
     SmartTagProvider = tagProvider;
 }
Example #3
0
 public UnitTestDetail(string location, SmartTagProvider tagProvider)
     : this()
 {
     Location = location;
     try
     {
         _method = DxCoreUtil.GetMethod(location);
     }
     catch
     {// fail silently, try to get it later
     }
 }
 public UnitTestDetail(string location, SmartTagProvider tagProvider)
     : this()
 {
     Location = location;
     try
     {
         _method = DxCoreUtil.GetMethod(location);
     }
     catch
     {// fail silently, try to get it later
     }
 }