~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to src/NUnitCore/core/Builders/TestAssemblyBuilder.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:
150
150
                }
151
151
                        }
152
152
 
153
 
                        if ( fixtures.Count == 0 )
154
 
                        {
155
 
                                testAssembly.RunState = RunState.NotRunnable;
156
 
                                testAssembly.IgnoreReason = "Has no TestFixtures";
157
 
                        }
158
 
                        
159
153
            NUnitFramework.ApplyCommonAttributes( assembly, testAssembly );
160
154
 
161
155
            testAssembly.Properties["_PID"] = System.Diagnostics.Process.GetCurrentProcess().Id;