NUnit.Framework.Internal.TestResult Members

The members of NUnit.Framework.Internal.TestResult are listed below.

See Also: Inherited members from System.Object

Public Constructors

Construct a test result given a Test

Protected Fields

assertCountint. Number of asserts executed by this test
messagestring. Message giving the reason for failure, error or skipping the test
resultStateXamarin.iOS.dll=NUnit.Framework.Api.ResultState. Indicates the result of the test
readonly
testXamarin.iOS.dll=NUnit.Framework.Api.ITest. The test that this result pertains to

Public Properties

AssertCountint. Gets or sets the count of asserts executed when running the test.
[read-only]
ChildrenIList<Xamarin.iOS.dll=NUnit.Framework.Api.ITestResult>. Gets the collection of child results.
DurationTimeSpan. Documentation for this section has not yet been entered.
[read-only]
abstract
FailCountint. Gets the number of test cases that failed when running the test and all its children.
[read-only]
FullNamestring. Gets the full name of the test result
[read-only]
HasChildrenbool. Indicates whether this result has any child results. Test HasChildren before accessing Children to avoid the creation of an empty collection.
[read-only]
abstract
InconclusiveCountint. Gets the number of test cases that were inconclusive when running the test and all its children.
[read-only]
Messagestring. Gets the message associated with a test failure or with not running the test
[read-only]
Namestring. Gets the name of the test result
[read-only]
abstract
PassCountint. Gets the number of test cases that passed when running the test and all its children.
[read-only]
ResultStateXamarin.iOS.dll=NUnit.Framework.Api.ResultState. Gets the ResultState of the test result, which indicates the success or failure of the test.
[read-only]
abstract
SkipCountint. Gets the number of test cases that were skipped when running the test and all its children.
[read-only]
StackTracestring. Gets any stacktrace associated with an error or failure. Not available in the Compact Framework 1.0.
[read-only]
TestXamarin.iOS.dll=NUnit.Framework.Api.ITest. Documentation for this section has not yet been entered.

Public Methods

AddResult(Xamarin.iOS.dll=NUnit.Framework.Internal.TestResult)
Documentation for this section has not yet been entered.
AddToXml(Xamarin.iOS.dll=NUnit.Framework.Api.XmlNode, bool) : Xamarin.iOS.dll=NUnit.Framework.Api.XmlNode
Documentation for this section has not yet been entered.
RecordException(Exception)
Set the test result based on the type of exception thrown
SetResult(Xamarin.iOS.dll=NUnit.Framework.Api.ResultState)
Set the result of the test
SetResult(string, Xamarin.iOS.dll=NUnit.Framework.Api.ResultState)
Set the result of the test
SetResult(string, string, Xamarin.iOS.dll=NUnit.Framework.Api.ResultState)
Set the result of the test
ToXml(bool) : Xamarin.iOS.dll=NUnit.Framework.Api.XmlNode
Documentation for this section has not yet been entered.