public void SetUp() { test = new TestMethod(typeof(DummySuite).GetMethod("DummyMethod")); test.Properties.Set(PropertyNames.Description, "Test description"); test.Properties.Add(PropertyNames.Category, "Dubious"); test.Properties.Set("Priority", "low"); testResult = test.MakeTestResult(); TestSuite suite = new TestSuite(typeof(DummySuite)); suite.Properties.Set(PropertyNames.Description, "Suite description"); suite.Properties.Add(PropertyNames.Category, "Fast"); suite.Properties.Add("Value", 3); suiteResult = suite.MakeTestResult(); SimulateTestRun(); }
public void SetUp() { test = new TestMethod(typeof(DummySuite).GetMethod("DummyMethod")); test.Properties.Set(PropertyNames.Description, "Test description"); test.Properties.Add(PropertyNames.Category, "Dubious"); test.Properties.Set("Priority", "low"); testResult = test.MakeTestResult(); TestSuite suite = new TestSuite(typeof(DummySuite)); suite.Properties.Set(PropertyNames.Description, "Suite description"); suite.Properties.Add(PropertyNames.Category, "Fast"); suite.Properties.Add("Value", 3); suiteResult = suite.MakeTestResult(); SimulateTestRun(); }
public void SetUp() { expectedDuration = 0.125; expectedStart = new DateTime(1968, 4, 8, 15, 05, 30, 250, DateTimeKind.Utc); expectedEnd = expectedStart.AddSeconds(expectedDuration); test = new TestMethod(typeof(DummySuite).GetMethod("DummyMethod")); test.Properties.Set(PropertyNames.Description, "Test description"); test.Properties.Add(PropertyNames.Category, "Dubious"); test.Properties.Set("Priority", "low"); testResult = test.MakeTestResult(); TestSuite suite = new TestSuite(typeof(DummySuite)); suite.Properties.Set(PropertyNames.Description, "Suite description"); suite.Properties.Add(PropertyNames.Category, "Fast"); suite.Properties.Add("Value", 3); suiteResult = suite.MakeTestResult(); SimulateTestRun(); }
public void SetUp() { expectedDuration = TimeSpan.FromMilliseconds(125); expectedStart = new DateTime(1968, 4, 8, 15, 05, 30, 250, DateTimeKind.Utc); expectedEnd = expectedStart + expectedDuration; test = new TestMethod(typeof(DummySuite).GetMethod("DummyMethod")); test.Properties.Set(PropertyNames.Description, "Test description"); test.Properties.Add(PropertyNames.Category, "Dubious"); test.Properties.Set("Priority", "low"); testResult = test.MakeTestResult(); TestSuite suite = new TestSuite(typeof(DummySuite)); suite.Properties.Set(PropertyNames.Description, "Suite description"); suite.Properties.Add(PropertyNames.Category, "Fast"); suite.Properties.Add("Value", 3); suiteResult = suite.MakeTestResult(); SimulateTestRun(); }