コード例 #1
0
 public void Setup()
 {
     _testObject = new AsyncSetupTearDownFixture();
     _context    = new TestExecutionContext {
         TestObject = _testObject, CurrentResult = new TestCaseResult(new TestMethod(Success.ElementAt(0)))
     };
 }
コード例 #2
0
        public void Setup()
        {
            _testObject = new AsyncSetupTearDownFixture();
            var method = new MethodWrapper(typeof(AsyncSetupTearDownFixture), Success.ElementAt(0));

            _context = new TestExecutionContext {
                TestObject = _testObject, CurrentResult = new TestCaseResult(new TestMethod(method))
            };
        }