internal TestFixtureViewModel(TestFixture fixture, TestSuiteViewModel parent)
 {
     _fixture = fixture;
     Parent = parent;
     _tests = new List<TestViewModel>();
     foreach (var test in _fixture.Tests)
     {
         _tests.Add(new TestViewModel(test, this));
     }
     DetermineName();
 }
Exemplo n.º 2
0
 /// <summary>
 /// ctor.
 /// </summary>
 /// <param name="fixture"></param>
 /// <param name="testMethod"></param>
 public Test(TestFixture fixture, MethodInfo testMethod)
 {
     _fixture = fixture;
     Method = testMethod;
 }