public TestObjectViewModel(ITestSuiteEntry test) : base(null, true) { _testObject = new TestObject(test.Title, test.Id, TestObjectType.Test); CanChecked = true; _testObject.TestPlanID = test.ParentTestSuite.Plan.Id; _testObject.Configurations = test.Configurations; _testObject.TestSuite = test; }
public TestObjectViewModel(ITestSuiteBase testSuite, bool includeTests = true) : base(null, true) { _includeTests = includeTests; _testObject = new TestObject(testSuite.Title, testSuite.Id, TestObjectType.Suite); _testObject.TestSuiteBase = testSuite; _testObject.TestPlanID = testSuite.Plan.Id; StructureFlow += ";" + testSuite.ToString(); CanChecked = testSuite.TestSuiteType == TestSuiteType.StaticTestSuite || testSuite.TestSuiteType == TestSuiteType.RequirementTestSuite; Thread t = new Thread(new ThreadStart(GetInternalTestCaseDetails)); t.Start(); }
public TestObjectViewModel() : base(null, true) { _testObject = new TestObject("N/A", 0); }