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
NUnit.TestUtilities.ResultSummary Class Reference

Summary description for ResultSummary. More...

Public Member Functions

 ResultSummary ()
 
 ResultSummary (ITestResult result)
 

Properties

string Name [get]
 
bool Success [get]
 
int ResultCount [get]
 Returns the number of test cases for which results have been summarized. Any tests excluded by use of Category or Explicit attributes are not counted. More...
 
int TestsRun [get]
 Returns the number of test cases actually run, which is the same as ResultCount, less any Skipped, Ignored or NonRunnable tests. More...
 
int Passed [get]
 Returns the number of tests that passed More...
 
int Failed [get]
 Returns the number of test cases that failed. More...
 
int Inconclusive [get]
 Returns the number of test cases that failed. More...
 
int Skipped [get]
 Returns the number of test cases that were skipped. More...
 
DateTime StartTime [get]
 Gets the start time of the test run. More...
 
DateTime EndTime [get]
 Gets the end time of the test run. More...
 
double Duration [get]
 Gets the duration of the test run in seconds. More...
 

Private Member Functions

void Summarize (ITestResult result)
 

Private Attributes

int resultCount = 0
 
int failureCount = 0
 
int successCount = 0
 
int inconclusiveCount = 0
 
int skipCount = 0
 
DateTime startTime = DateTime.MinValue
 
DateTime endTime = DateTime.MaxValue
 
double duration = 0.0d
 
string name
 

Detailed Description

Summary description for ResultSummary.

Constructor & Destructor Documentation

NUnit.TestUtilities.ResultSummary.ResultSummary ( )
inline
NUnit.TestUtilities.ResultSummary.ResultSummary ( ITestResult  result)
inline

Member Function Documentation

Member Data Documentation

int NUnit.TestUtilities.ResultSummary.resultCount = 0
private
int NUnit.TestUtilities.ResultSummary.failureCount = 0
private
int NUnit.TestUtilities.ResultSummary.successCount = 0
private
int NUnit.TestUtilities.ResultSummary.inconclusiveCount = 0
private
int NUnit.TestUtilities.ResultSummary.skipCount = 0
private
DateTime NUnit.TestUtilities.ResultSummary.startTime = DateTime.MinValue
private
DateTime NUnit.TestUtilities.ResultSummary.endTime = DateTime.MaxValue
private
double NUnit.TestUtilities.ResultSummary.duration = 0.0d
private
string NUnit.TestUtilities.ResultSummary.name
private

Property Documentation

string NUnit.TestUtilities.ResultSummary.Name
get
bool NUnit.TestUtilities.ResultSummary.Success
get
int NUnit.TestUtilities.ResultSummary.ResultCount
get

Returns the number of test cases for which results have been summarized. Any tests excluded by use of Category or Explicit attributes are not counted.

Referenced by NUnit.Framework.Internal.TestMethodSignatureTests.RunningTestsThroughFixtureGivesCorrectResults().

int NUnit.TestUtilities.ResultSummary.TestsRun
get

Returns the number of test cases actually run, which is the same as ResultCount, less any Skipped, Ignored or NonRunnable tests.

Referenced by NUnit.Framework.Internal.TestMethodSignatureTests.RunningTestsThroughFixtureGivesCorrectResults(), and NUnit.Framework.Internal.TestMethodSignatureTests.TestMethodWithMultipleTestCasesExecutesMultipleTimes().

int NUnit.TestUtilities.ResultSummary.Passed
get

Returns the number of tests that passed

Referenced by NUnit.Framework.Attributes.DatapointTests.RunTestOnFixture().

int NUnit.TestUtilities.ResultSummary.Failed
get
int NUnit.TestUtilities.ResultSummary.Inconclusive
get

Returns the number of test cases that failed.

Referenced by NUnit.Framework.Attributes.DatapointTests.RunTestOnFixture().

int NUnit.TestUtilities.ResultSummary.Skipped
get

Returns the number of test cases that were skipped.

Referenced by NUnit.Framework.Internal.TestMethodSignatureTests.RunningTestsThroughFixtureGivesCorrectResults().

DateTime NUnit.TestUtilities.ResultSummary.StartTime
get

Gets the start time of the test run.

DateTime NUnit.TestUtilities.ResultSummary.EndTime
get

Gets the end time of the test run.

double NUnit.TestUtilities.ResultSummary.Duration
get

Gets the duration of the test run in seconds.


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