| 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(); |