1
// ****************************************************************
2
// Copyright 2007, Charlie Poole
3
// This is free software licensed under the NUnit license. You may
4
// obtain a copy of the license at http://nunit.org
5
// ****************************************************************
14
/// The TextDisplay interface is implemented by object - generally
15
/// controls - that display text.
17
public interface TextDisplay : TestObserver
20
/// The output types handled by this display
22
TextDisplayContent Content { get; set; }
25
/// Clears the display
30
/// Appends text to the display
32
/// <param name="text">The text to append</param>
33
void Write( string text );
36
/// Appends text to the display followed by a newline
38
/// <param name="text">The text to append</param>
39
void WriteLine( string text );
41
void Write( NUnit.Core.TestOutput output );
44
/// Gets the current text - used mainly for testing
1
// ****************************************************************
2
// Copyright 2007, Charlie Poole
3
// This is free software licensed under the NUnit license. You may
4
// obtain a copy of the license at http://nunit.org
5
// ****************************************************************
14
/// The TextDisplay interface is implemented by object - generally
15
/// controls - that display text.
17
public interface TextDisplay : TestObserver
20
/// The output types handled by this display
22
TextDisplayContent Content { get; set; }
25
/// Clears the display
30
/// Appends text to the display
32
/// <param name="text">The text to append</param>
33
void Write( string text );
36
/// Appends text to the display followed by a newline
38
/// <param name="text">The text to append</param>
39
void WriteLine( string text );
41
void Write( NUnit.Core.TestOutput output );
44
/// Gets the current text - used mainly for testing