예제 #1
0
 protected TestElementBase(ITestIdentity identity, IList <Task> tasks)
 {
     _identity         = identity;
     _tasks            = tasks;
     _unitTestProvider = identity.Provider;
     _children         = new HashSet <IUnitTestElement>();
 }
예제 #2
0
 protected TestElementBase(ITestIdentity identity, IList<Task> tasks)
 {
     _identity = identity;
       _tasks = tasks;
       _unitTestProvider = identity.ElementId.Provider;
       _children = new HashSet<IUnitTestElement>();
 }
예제 #3
0
 public ChildTestElement(ITestIdentity identity, IList <Task> tasks)
     : base(identity, tasks)
 {
 }
예제 #4
0
 public ClassTestElement(ITestIdentity identity, IList <Task> tasks)
     : base(identity, tasks)
 {
     _testTypeName = new ClrTypeName(identity.Relative);
 }
 public static ITestElement GetElementByIdentity(this IUnitTestElementManager unitTestElementManager, ITestIdentity testIdentity)
 {
     return(unitTestElementManager.GetElementById(testIdentity.ElementId) as ITestElement);
 }
예제 #6
0
 public ChildTestElement(ITestIdentity identity, IList<Task> tasks)
     : base(identity, tasks)
 {
 }
예제 #7
0
 public AnonymousTestDescriptor(ITestIdentity identity = null, Func<ITestContext, ITestContext> execute = null)
 {
     myIdentity = identity;
       myExecute = execute;
 }
예제 #8
0
 protected TestElementBase(ITestIdentity identity, IList <Task> tasks)
 {
     _identity = identity;
     _tasks    = tasks;
     _children = new BindableCollection <IUnitTestElement>(UT.Locks.ReadLock);
 }
예제 #9
0
 public static ITestElement GetElementByIdentity(this IUnitTestElementManager unitTestElementManager, ITestIdentity testIdentity)
 {
     return unitTestElementManager.GetElementById(testIdentity.ElementId) as ITestElement;
 }
예제 #10
0
 public ClassTestElement(ITestIdentity identity, IList<Task> tasks)
     : base(identity, tasks)
 {
     _testTypeName = new ClrTypeName(identity.Relative);
 }