C# Class NUnit.Framework.Internal.TestSuiteResult

Represents the result of running a test suite
Inheritance: NUnit.Framework.Internal.TestResult
Show file Open project: pjcollins/Andr.Unit Class Usage Examples

Public Methods

Method Description
AddResult ( NUnit.Framework.Internal.TestResult result ) : void

Add a child result

RecordException ( Exception ex, FailureSite site ) : void

Set the test result based on the type of exception thrown and the site of the Failure.

TestSuiteResult ( TestSuite suite ) : System

Construct a TestSuiteResult base on a TestSuite

Method Details

AddResult() public method

Add a child result
public AddResult ( NUnit.Framework.Internal.TestResult result ) : void
result NUnit.Framework.Internal.TestResult The child result to be added
return void

RecordException() public method

Set the test result based on the type of exception thrown and the site of the Failure.
public RecordException ( Exception ex, FailureSite site ) : void
ex System.Exception The exception that was thrown
site FailureSite The FailureSite
return void

TestSuiteResult() public method

Construct a TestSuiteResult base on a TestSuite
public TestSuiteResult ( TestSuite suite ) : System
suite TestSuite The TestSuite to which the result applies
return System