Wiki
Show
Ignore:
Timestamp:
02/27/10 22:11:13 (2 years ago)
Author:
Chuck.Esterbrook
Message:

Code cleanup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/Cobra.Lang/Native.cs

    r2253 r2294  
    747747        set { 
    748748            _showTestProgress = value; 
    749         } 
    750     } 
    751  
    752     static private TextWriter _testProgressWriter = null; 
    753  
    754     static public TextWriter TestProgressWriter { 
    755         get { 
    756             return _testProgressWriter==null ? Console.Out : _testProgressWriter; 
    757         } 
    758         set { 
    759             _testProgressWriter = value; 
    760         } 
    761     } 
    762  
    763     static public void TestBegan(string className) { 
    764         if (ShowTestProgress) { 
    765             TestProgressWriter.WriteLine("Testing {0}...", className); 
    766             TestProgressWriter.Flush(); 
    767         } 
    768     } 
    769  
    770     static public void TestEnded(string className) { 
    771         if (ShowTestProgress) { 
    772             TestProgressWriter.WriteLine("Completed testing of {0}.{1}", className, Environment.NewLine); 
    773             TestProgressWriter.Flush(); 
    774749        } 
    775750    }