Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
 public TestObjectViewModel()
     : base(null, true)
 {
     _testObject = new TestObject("N/A", 0);
 }