Пример #1
0
 public void TestTemplateMethod()
 {
     WasRunObj test = new WasRunObj("TestMethod");
     test.Run(m_result);
     Assert.Equal("SetUp TestMethod TearDown ", test.Log);
 }
Пример #2
0
 public void TestFailedResult()
 {
     WasRunObj test = new WasRunObj("TestBrokenMethod");
     test.Run(m_result);
     Assert.Equal("1 run, 1 failed", m_result.Summary);
 }
Пример #3
0
 public void TestTearDownWhenTestFailed()
 {
     WasRunObj test = new WasRunObj("TestBrokenMethod");
     test.Run(m_result);
     Assert.Equal("SetUp TestBrokenMethod TearDown ", test.Log);
 }