~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to src/NUnitFramework/core/NullListener.cs

  • Committer: jnewkirk
  • Date: 2002-07-10 20:00:13 UTC
  • Revision ID: vcs-imports@canonical.com-20020710200013-j8us5mbi0usp7p02
initialĀ load

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
 
 
3
namespace Nunit.Core
 
4
{
 
5
        /// <summary>
 
6
        /// Summary description for NullListener.
 
7
        /// </summary>
 
8
        public class NullListener : EventListener
 
9
        {
 
10
                public void TestStarted(TestCase testCase){}
 
11
                        
 
12
                public void TestFinished(TestCaseResult result){}
 
13
 
 
14
                public void SuiteStarted(TestSuite suite){}
 
15
 
 
16
                public void SuiteFinished(TestSuiteResult result){}
 
17
 
 
18
                public static EventListener NULL
 
19
                {
 
20
                        get { return new NullListener();}
 
21
                }
 
22
        }
 
23
}