Beispiel #1
0
 public void TestMethodWithReturnTypeIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, nameof(TestMethodSignatureFixture.TestMethodWithReturnValue_WithoutExpectedResult));
 }
 public void CannotRunFixtureTearDownWithReturnValue()
 {
     TestAssert.IsNotRunnable(typeof(FixtureTearDownWithReturnValue));
 }
 public void CannotRunFixtureTearDownWithParameters()
 {
     TestAssert.IsNotRunnable(typeof(FixtureTearDownWithParameters));
 }
 public void CannotRunFixtureSetupWithParameters()
 {
     TestAssert.IsNotRunnable(typeof(FixtureSetUpWithParameters));
 }
 public void CannotRunPrivateFixtureTearDown()
 {
     TestAssert.IsNotRunnable(typeof(PrivateFixtureTearDown));
 }
Beispiel #6
0
 public void PrivateTestMethodIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, "PrivateTestMethod");
 }
Beispiel #7
0
 public void ExpectedResultNotAllowedOnParameterizedMethod()
 {
     TestAssert.IsNotRunnable(typeof(TestMethodSignatureFixture), nameof(TestMethodSignatureFixture.TestCasesWithReturnValueAndArgs_WithExpectedResult));
 }
 public void CannotRunConstructorWithArgsNotSupplied()
 {
     TestAssert.IsNotRunnable(typeof(NoDefaultCtorFixture));
 }
 public void CannotRunBadConstructor()
 {
     TestAssert.IsNotRunnable(typeof(BadCtorFixture));
 }
Beispiel #10
0
 public void UnsupportedNullableTypeArgumentWithNoDatapointsAreNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, "TestWithUnsupportedNullableTypeArgumentWithNoDataPoints");
 }
 public void CannotRunAbstractDerivedFixture()
 {
     TestAssert.IsNotRunnable(typeof(AbstractDerivedTestFixture));
 }
Beispiel #12
0
 public void TheoryWithNoDatapointsIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, "TheoryWithArgumentsButNoDatapoints");
 }
 public void StaticTestMethodWithArgumentsNotProvidedIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, "StaticTestMethodWithArgumentsNotProvided");
 }
 public void CannotRunGenericFixtureWithNoTestFixtureAttribute()
 {
     TestAssert.IsNotRunnable(
         Type.GetType("NUnit.TestData.TestFixtureData.GenericFixtureWithNoTestFixtureAttribute`1,test-assembly"));
 }
Beispiel #15
0
 public void TestMethodWithExpectedReturnAndArgumentsIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, nameof(TestMethodSignatureFixture.TestMethodWithReturnValueAndArgs_WithExpectedResult));
 }
Beispiel #16
0
 public void CannotRunPrivateFixtureSetUp()
 {
     TestAssert.IsNotRunnable(typeof(PrivateFixtureSetUp));
 }
Beispiel #17
0
 public void StaticTestMethodWithArgumentsNotProvidedIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, nameof(TestMethodSignatureFixture.StaticTestMethodWithArgumentsNotProvided));
 }
Beispiel #18
0
 public void CannotRunFixtureSetupWithReturnValue()
 {
     TestAssert.IsNotRunnable(typeof(FixtureSetUpWithReturnValue));
 }
Beispiel #19
0
 public void TestMethodWithReturnTypeIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, "TestMethodWithReturnType");
 }
 public void TestMethodWithReturnTypeIsNotRunnable()
 {
     TestAssert.IsNotRunnable(fixtureType, nameof(TestMethodSignatureFixture.TestMethodWithReturnType));
 }