C# Class NUnit.Framework.Internal.TestSuiteResult

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

Méthodes publiques

Méthode 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 méthode

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

RecordException() public méthode

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
Résultat void

TestSuiteResult() public méthode

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