コード例 #1
0
ファイル: TestMethodTests.cs プロジェクト: nnieslan/StatLight
        protected override void Before_all_tests()
        {
            base.Before_all_tests();

            _methodInfo = MockNUnitTestClass.GetPassingTest();
            _testMethod = new TestMethod(_methodInfo);
            _testMethod.ShouldNotBeNull();
        }
コード例 #2
0
ファイル: TestMethodTests.cs プロジェクト: tr002196/StatLight
        protected override void Before_all_tests()
        {
            base.Before_all_tests();

            _methodInfo = MockNUnitTestClass.GetPassingTest();
            _testMethod = new TestMethod(_methodInfo);
            _testMethod.ShouldNotBeNull();
        }
コード例 #3
0
        public void Should_report_correct_TestName_for_specified_TestCase_test_names()
        {
            ITestMethod testMethods = GetTestMethodsForTest("TestCaseWithName").FirstOrDefault();

            testMethods.ShouldNotBeNull();

            // funny the attributes come back out of order???
            testMethods.Name.ShouldBeEqualTo("SomeManuallyControlledTestName");
        }
コード例 #4
0
ファイル: TestMethodTests.cs プロジェクト: tr002196/StatLight
 public void testMethod_should_exist()
 {
     _testMethod.ShouldNotBeNull();
 }