IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
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' } |
|
inline |
|
inline |
|
inline |
References NUnit.Common.CommandLineOptions.NoColor.
|
inline |
Writes the header.
References NUnit.Common.AssemblyHelper.GetAssemblyName(), and NUnit.Common.String.
Referenced by NUnitLite.Tests.TextUITests.DisplayHeader().
|
inline |
Referenced by NUnitLite.Tests.TextUITests.DisplayTestFiles().
|
inline |
|
inline |
Referenced by NUnitLite.Tests.TextUITests.DisplayHelp().
|
inline |
|
inline |
References NUnit.Common.CommandLineOptions.DisplayTestLabels, NUnit.Framework.Interfaces.ITest.IsSuite, NUnit.Framework.Interfaces.ITest.Name, NUnit.Framework.Interfaces.ITestResult.Output, and NUnit.Framework.Interfaces.ITestResult.Test.
Referenced by NUnitLite.TextRunner.RunTests(), NUnitLite.TextRunner.TestFinished(), NUnitLite.Tests.TextUITests.TestFinished_NoOutput(), and NUnitLite.Tests.TextUITests.TestFinished_WithOutput().
|
inline |
|
inline |
References NUnitLite.ResultSummary.Duration, NUnitLite.ResultSummary.EndTime, NUnitLite.ResultSummary.ErrorCount, NUnitLite.ResultSummary.ExplicitCount, NUnitLite.ResultSummary.FailureCount, NUnitLite.ResultSummary.IgnoreCount, NUnitLite.ResultSummary.InconclusiveCount, NUnitLite.ResultSummary.InvalidCount, NUnitLite.ResultSummary.NotRunCount, NUnitLite.ResultSummary.PassCount, NUnitLite.ResultSummary.ResultState, NUnitLite.ResultSummary.RunCount, NUnitLite.ResultSummary.SkipCount, NUnitLite.ResultSummary.StartTime, NUnit.Framework.Interfaces.ResultState.Status, NUnitLite.TextUI.WriteLabelLine(), and NUnitLite.TextUI.WriteSummaryCount().
Referenced by NUnitLite.TextRunner.ReportResults(), and NUnitLite.Tests.TextUITests.SummaryReportTest().
|
inlineprivate |
References NUnitLite.TextUI.WriteLabel().
Referenced by NUnitLite.TextUI.DisplaySummaryReport().
|
inline |
|
inline |
References NUnitLite.TextUI._reportIndex, and NUnitLite.TextUI.DisplayNotRunResults().
Referenced by NUnitLite.TextRunner.ReportResults(), and NUnitLite.Tests.TextUITests.TestsNotRunTest().
|
inline |
Referenced by NUnitLite.TextUI.DisplayError(), NUnitLite.TextUI.DisplayErrorsAndFailuresReport(), NUnitLite.TextUI.DisplayRunSettings(), NUnitLite.TextUI.DisplayTestFiles(), NUnitLite.TextUI.DisplayTestResult(), NUnitLite.TextUI.DisplayWarning(), NUnitLite.TextUI.WriteHeader(), NUnitLite.TextUI.WriteHelpLine(), NUnitLite.TextUI.WriteSectionHeader(), and NUnitLite.TextUI.WriteSubHeader().
|
inline |
|
inline |
Referenced by NUnitLite.Tests.TextUITests.DisplayErrors().
|
inlineprivate |
References NUnit.Framework.Interfaces.ITestResult.Children, NUnitLite.TextUI.DisplayTestResult(), NUnit.Framework.Interfaces.ITest.IsSuite, NUnit.Framework.Interfaces.ITestResult.ResultState, NUnit.Framework.Interfaces.ResultState.Site, NUnit.Framework.Interfaces.ResultState.Status, and NUnit.Framework.Interfaces.ITestResult.Test.
Referenced by NUnitLite.TextUI.DisplayErrorsAndFailures(), and NUnitLite.TextUI.DisplayErrorsAndFailuresReport().
|
inlineprivate |
|
inlineprivate |
References NUnit.Framework.Interfaces.ITestResult.FullName, NUnit.Framework.Interfaces.ResultState.Label, NUnit.Framework.Interfaces.ITestResult.Message, NUnit.Framework.Interfaces.ITestResult.ResultState, NUnit.Framework.Interfaces.ResultState.Site, NUnit.Framework.Interfaces.ITestResult.StackTrace, and NUnit.Framework.Interfaces.ResultState.Status.
Referenced by NUnitLite.TextUI.DisplayErrorsAndFailures(), and NUnitLite.TextUI.DisplayNotRunResults().
|
inlineprivate |
Referenced by NUnitLite.TextUI.WriteLabelLine(), and NUnitLite.TextUI.WriteSummaryCount().
|
inlineprivate |
|
inline |
Writes the header.
References NUnit.Common.AssemblyHelper.GetAssemblyName(), NUnitLite.TextUI.SkipLine(), NUnit.Common.String, NUnitLite.TextUI.WriteHeader(), and NUnitLite.TextUI.WriteSubHeader().
|
inline |
|
inline |
|
inline |
References NUnit.Common.CommandLineOptions.DefaultTimeout, NUnit.Env.DefaultWorkDirectory, NUnit.Common.CommandLineOptions.InternalTraceLevel, NUnitLite.TextUI.SkipLine(), NUnit.Common.CommandLineOptions.TeamCity, NUnit.Common.CommandLineOptions.TestList, NUnit.Common.CommandLineOptions.WorkDirectory, NUnitLite.TextUI.WriteLabelLine(), NUnit.Common.ExtendedTextWriter.WriteLine(), and NUnitLite.TextUI.WriteSectionHeader().
Referenced by NUnitLite.Tests.TextUITests.DisplayRequestedOptions().
|
inline |
Displays info about the runtime environment.
References NUnitLite.TextUI.SkipLine(), NUnitLite.TextUI.WriteLabelLine(), and NUnitLite.TextUI.WriteSectionHeader().
Referenced by NUnitLite.Tests.TextUITests.DisplayRuntimeEnvironment().
|
inline |
|
inline |
References NUnit.Common.CommandLineOptions.DefaultTimeout, NUnit.Env.DefaultWorkDirectory, NUnit.Common.CommandLineOptions.InternalTraceLevel, NUnit.Common.CommandLineOptions.NumberOfTestWorkers, NUnitLite.TextUI.SkipLine(), NUnit.Common.CommandLineOptions.TeamCity, NUnit.Common.CommandLineOptions.WorkDirectory, NUnitLite.TextUI.WriteLabelLine(), NUnit.Common.ExtendedTextWriter.WriteLine(), and NUnitLite.TextUI.WriteSectionHeader().
|
inline |
References NUnit.Common.CommandLineOptions.DisplayTestLabels, NUnit.Framework.Interfaces.ITest.IsSuite, NUnit.Framework.Interfaces.ITest.Name, NUnit.Framework.Interfaces.ITestResult.Output, NUnitLite.TextUI.SkipLine(), NUnit.Framework.Interfaces.ITestResult.Test, NUnit.Common.ExtendedTextWriter.Write(), and NUnit.Common.ExtendedTextWriter.WriteLine().
|
inline |
References NUnit.Common.ExtendedTextWriter.WriteLine().
|
inline |
References NUnitLite.ResultSummary.Duration, NUnitLite.ResultSummary.EndTime, NUnitLite.ResultSummary.ErrorCount, NUnitLite.ResultSummary.ExplicitCount, NUnitLite.ResultSummary.FailureCount, NUnitLite.ResultSummary.IgnoreCount, NUnitLite.ResultSummary.InconclusiveCount, NUnitLite.ResultSummary.InvalidCount, NUnitLite.ResultSummary.NotRunCount, NUnitLite.ResultSummary.PassCount, NUnitLite.ResultSummary.ResultState, NUnitLite.ResultSummary.RunCount, NUnitLite.ResultSummary.SkipCount, NUnitLite.TextUI.SkipLine(), NUnitLite.ResultSummary.StartTime, NUnit.Framework.Interfaces.ResultState.Status, NUnitLite.TextUI.WriteLabelLine(), NUnit.Common.ExtendedTextWriter.WriteLine(), NUnitLite.TextUI.WriteSectionHeader(), and NUnitLite.TextUI.WriteSummaryCount().
|
inlineprivate |
References NUnit.Common.ExtendedTextWriter.WriteLabel().
|
inlineprivate |
References NUnit.Common.ExtendedTextWriter.WriteLabel().
|
inline |
|
inline |
|
inline |
References NUnitLite.TextUI.WriteLine().
Referenced by NUnitLite.Tests.TextUITests.DisplayWarning().
|
inline |
References NUnitLite.TextUI.WriteLine().
|
inline |
References NUnitLite.TextUI.DisplayError().
|
inlineprivate |
References NUnit.Framework.Interfaces.ITestResult.Children, NUnitLite.TextUI.DisplayErrorsAndFailures(), NUnitLite.TextUI.DisplayTestResult(), NUnit.Framework.Interfaces.ITest.IsSuite, NUnit.Framework.Interfaces.ITestResult.ResultState, NUnit.Framework.Interfaces.ResultState.Site, NUnit.Framework.Interfaces.ResultState.Status, and NUnit.Framework.Interfaces.ITestResult.Test.
|
inlineprivate |
|
inlineprivate |
References NUnit.Framework.Interfaces.ITestResult.FullName, NUnit.Framework.Interfaces.ResultState.Label, NUnit.Framework.Interfaces.ITestResult.Message, NUnit.Framework.Interfaces.ITestResult.ResultState, NUnit.Framework.Interfaces.ResultState.Site, NUnitLite.TextUI.SkipLine(), NUnit.Framework.Interfaces.ITestResult.StackTrace, NUnit.Framework.Interfaces.ResultState.Status, and NUnitLite.TextUI.WriteLine().
|
inlineprivate |
References NUnit.Common.ExtendedTextWriter.WriteLine().
|
inlineprivate |
References NUnitLite.TextUI.WriteLine().
Referenced by NUnitLite.TextUI.DisplayHeader(), and NUnitLite.TextUI.DisplayHelp().
|
inlineprivate |
References NUnitLite.TextUI.WriteLine().
Referenced by NUnitLite.TextUI.DisplayHeader().
|
inlineprivate |
References NUnitLite.TextUI.WriteLine().
Referenced by NUnitLite.TextUI.DisplayErrorsAndFailuresReport(), NUnitLite.TextUI.DisplayHelp(), NUnitLite.TextUI.DisplayNotRunReport(), NUnitLite.TextUI.DisplayRequestedOptions(), NUnitLite.TextUI.DisplayRunSettings(), NUnitLite.TextUI.DisplayRuntimeEnvironment(), NUnitLite.TextUI.DisplaySummaryReport(), and NUnitLite.TextUI.DisplayTestFiles().
|
inlineprivate |
References NUnitLite.TextUI.WriteLine().
Referenced by NUnitLite.TextUI.DisplayHelp().
|
inlineprivate |
References NUnit.Common.ExtendedTextWriter.WriteLabel().
|
inlineprivate |
References NUnit.Common.ExtendedTextWriter.WriteLabelLine().
|
inlineprivate |
References NUnit.Common.ExtendedTextWriter.WriteLabelLine().
|
inlineprivate |
References NUnit.Common.ExtendedTextWriter.WriteLine().
Referenced by NUnitLite.TextUI.DisplayErrorsAndFailuresReport(), NUnitLite.TextUI.DisplayHeader(), NUnitLite.TextUI.DisplayHelp(), NUnitLite.TextUI.DisplayNotRunReport(), NUnitLite.TextUI.DisplayRequestedOptions(), NUnitLite.TextUI.DisplayRunSettings(), NUnitLite.TextUI.DisplayRuntimeEnvironment(), NUnitLite.TextUI.DisplaySummaryReport(), NUnitLite.TextUI.DisplayTestFiles(), NUnitLite.TextUI.DisplayTestResult(), and NUnitLite.TextUI.TestFinished().
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |