IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnitLite.TextUI Class Reference
+ Collaboration diagram for NUnitLite.TextUI:

Public Member Functions

 TextUI (TextWriter writer, TextReader reader, CommandLineOptions options)
 
void DisplayHeader ()
 Writes the header. More...
 
void DisplayTestFiles (IEnumerable< string > testFiles)
 
void DisplayTestFilters ()
 
void DisplayHelp ()
 
void DisplayRunSettings ()
 
void TestFinished (ITestResult result)
 
void WaitForUser (string message)
 
void DisplaySummaryReport (ResultSummary summary)
 
void DisplayErrorsAndFailuresReport (ITestResult result)
 
void DisplayNotRunReport (ITestResult result)
 
void WriteLine (string message)
 
void DisplayError (string message)
 
void DisplayErrors (IList< string > messages)
 
 TextUI (NUnitLiteOptions options)
 
 TextUI (ExtendedTextWriter writer, NUnitLiteOptions options)
 
void DisplayHeader ()
 Writes the header. More...
 
void DisplayTestFiles (string[] testFiles)
 
void DisplayHelp ()
 
void DisplayRequestedOptions ()
 
void DisplayRuntimeEnvironment ()
 Displays info about the runtime environment. More...
 
void DisplayTestFilters ()
 
void DisplayRunSettings ()
 
void TestFinished (ITestResult result)
 
void WaitForUser (string message)
 
void DisplaySummaryReport (ResultSummary summary)
 
void DisplayErrorsAndFailuresReport (ITestResult result)
 
void DisplayNotRunReport (ITestResult result)
 
void DisplayWarning (string text)
 
void DisplayError (string text)
 
void DisplayErrors (IList< string > messages)
 

Private Member Functions

void WriteSummaryCount (string label, int count)
 
void DisplayErrorsAndFailures (ITestResult result)
 
void DisplayNotRunResults (ITestResult result)
 
void DisplayTestResult (ITestResult result)
 
void WriteLabel (string label, object option)
 
void WriteLabelLine (string label, object option)
 
void WriteSummaryCount (string label, int count)
 
void WriteSummaryCount (string label, int count, ColorStyle color)
 
void DisplayErrorsAndFailures (ITestResult result)
 
void DisplayNotRunResults (ITestResult result)
 
void DisplayTestResult (ITestResult result)
 
void WriteLine (ColorStyle style, string text)
 
void WriteHeader (string text)
 
void WriteSubHeader (string text)
 
void WriteSectionHeader (string text)
 
void WriteHelpLine (string text)
 
void WriteLabel (string label, object option)
 
void WriteLabelLine (string label, object option)
 
void WriteLabelLine (string label, object option, ColorStyle valueStyle)
 
void SkipLine ()
 

Private Attributes

TextWriter _writer
 
TextReader _reader
 
CommandLineOptions _options
 
int _reportIndex
 
ExtendedTextWriter _outWriter
 
NUnitLiteOptions _options
 
bool _testCreatedOutput = false
 

Static Private Attributes

static readonly char[] TRIM_CHARS = { '\r', '\n' }
 

Constructor & Destructor Documentation

NUnitLite.TextUI.TextUI ( TextWriter  writer,
TextReader  reader,
CommandLineOptions  options 
)
inline
NUnitLite.TextUI.TextUI ( NUnitLiteOptions  options)
inline
NUnitLite.TextUI.TextUI ( ExtendedTextWriter  writer,
NUnitLiteOptions  options 
)
inline

Member Function Documentation

void NUnitLite.TextUI.DisplayHeader ( )
inline
void NUnitLite.TextUI.DisplayTestFiles ( IEnumerable< string >  testFiles)
inline
void NUnitLite.TextUI.DisplayHelp ( )
inline
void NUnitLite.TextUI.WaitForUser ( string  message)
inline
void NUnitLite.TextUI.WriteSummaryCount ( string  label,
int  count 
)
inlineprivate
void NUnitLite.TextUI.DisplayError ( string  message)
inline
void NUnitLite.TextUI.DisplayErrors ( IList< string >  messages)
inline
void NUnitLite.TextUI.WriteLabel ( string  label,
object  option 
)
inlineprivate
void NUnitLite.TextUI.WriteLabelLine ( string  label,
object  option 
)
inlineprivate
void NUnitLite.TextUI.DisplayTestFiles ( string[]  testFiles)
inline
void NUnitLite.TextUI.DisplayRuntimeEnvironment ( )
inline
void NUnitLite.TextUI.WaitForUser ( string  message)
inline
void NUnitLite.TextUI.WriteSummaryCount ( string  label,
int  count 
)
inlineprivate
void NUnitLite.TextUI.WriteSummaryCount ( string  label,
int  count,
ColorStyle  color 
)
inlineprivate
void NUnitLite.TextUI.DisplayWarning ( string  text)
inline
void NUnitLite.TextUI.DisplayError ( string  text)
inline
void NUnitLite.TextUI.DisplayErrors ( IList< string >  messages)
inline
void NUnitLite.TextUI.WriteLine ( ColorStyle  style,
string  text 
)
inlineprivate
void NUnitLite.TextUI.WriteHeader ( string  text)
inlineprivate
void NUnitLite.TextUI.WriteSubHeader ( string  text)
inlineprivate
void NUnitLite.TextUI.WriteHelpLine ( string  text)
inlineprivate
void NUnitLite.TextUI.WriteLabel ( string  label,
object  option 
)
inlineprivate
void NUnitLite.TextUI.WriteLabelLine ( string  label,
object  option 
)
inlineprivate
void NUnitLite.TextUI.WriteLabelLine ( string  label,
object  option,
ColorStyle  valueStyle 
)
inlineprivate

Member Data Documentation

TextWriter NUnitLite.TextUI._writer
private
TextReader NUnitLite.TextUI._reader
private
CommandLineOptions NUnitLite.TextUI._options
private
readonly char [] NUnitLite.TextUI.TRIM_CHARS = { '\r', '\n' }
staticprivate
int NUnitLite.TextUI._reportIndex
private
ExtendedTextWriter NUnitLite.TextUI._outWriter
private
NUnitLiteOptions NUnitLite.TextUI._options
private
bool NUnitLite.TextUI._testCreatedOutput = false
private

The documentation for this class was generated from the following file: