~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to src/NUnitCore/tests/AssemblyTests.cs

  • Committer: Charlie Poole
  • Date: 2011-03-15 22:31:23 UTC
  • Revision ID: charlie@nunit.org-20110315223123-3k3nt5wt7ygnpk2h
Stop showing assembly with no tests as an error

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                        TestSuiteBuilder builder = new TestSuiteBuilder();
66
66
                        Test suite = builder.Build( new TestPackage( noTestFixturesDll ) );
67
67
            Assert.IsNotNull(suite, "Unable to load " + noTestFixturesDll);
68
 
            Assert.AreEqual(RunState.NotRunnable, suite.RunState);
69
 
                        Assert.AreEqual( suite.IgnoreReason, "Has no TestFixtures" );
 
68
            Assert.AreEqual(RunState.Runnable, suite.RunState);
70
69
                        Assert.AreEqual( 0, suite.Tests.Count );
71
70
                }
72
71