IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
ResultAdapter adapts a TestResult for consumption by the user test code. More...
Public Member Functions | |
ResultAdapter (TestResult result) | |
Construct a ResultAdapter for a TestResult More... | |
Properties | |
ResultState | Outcome [get] |
Gets a ResultState representing the outcome of the test. More... | |
string | Message [get] |
Gets the message associated with a test failure or with not running the test More... | |
virtual string | StackTrace [get] |
Gets any stacktrace associated with an error or failure. More... | |
int | FailCount [get] |
Gets the number of test cases that failed when running the test and all its children. More... | |
int | PassCount [get] |
Gets the number of test cases that passed when running the test and all its children. More... | |
int | SkipCount [get] |
Gets the number of test cases that were skipped when running the test and all its children. More... | |
int | InconclusiveCount [get] |
Gets the number of test cases that were inconclusive when running the test and all its children. More... | |
Private Attributes | |
readonly TestResult | _result |
ResultAdapter adapts a TestResult for consumption by the user test code.
|
inline |
Construct a ResultAdapter for a TestResult
result | The TestResult to be adapted |
|
private |
|
get |
Gets a ResultState representing the outcome of the test.
Referenced by NUnit.Framework.Tests.TestContextOneTimeTearDownTests.OneTimeTearDown(), NUnit.TestData.TestContextData.TestStateRecordingFixture.SetUp(), NUnit.TestData.TestContextData.TestStateRecordingFixture.TearDown(), NUnit.Framework.Tests.TestContextTearDownTests.TearDown(), and NUnit.TestData.TestContextData.TestStateRecordingFixture.TheTest().
|
get |
Gets the message associated with a test failure or with not running the test
Referenced by NUnit.TestData.TestContextData.TestTestContextInOneTimeTearDown.OneTimeTearDown(), and NUnit.TestData.TestContextData.TestTestContextInTearDown.TearDown().
|
get |
Gets any stacktrace associated with an error or failure.
Referenced by NUnit.TestData.TestContextData.TestTestContextInTearDown.TearDown().
|
get |
Gets the number of test cases that failed when running the test and all its children.
Referenced by NUnit.TestData.TestContextData.TestTestContextInOneTimeTearDown.OneTimeTearDown(), NUnit.Framework.Tests.TestContextOneTimeTearDownTests.OneTimeTearDown(), NUnit.TestData.TestContextData.TestTestContextInTearDown.TearDown(), and NUnit.Framework.Tests.TestContextTearDownTests.TearDown().
|
get |
Gets the number of test cases that passed when running the test and all its children.
Referenced by NUnit.TestData.TestContextData.TestTestContextInOneTimeTearDown.OneTimeTearDown(), NUnit.Framework.Tests.TestContextOneTimeTearDownTests.OneTimeTearDown(), and NUnit.Framework.Tests.TestContextTearDownTests.TearDown().
|
get |
Gets the number of test cases that were skipped when running the test and all its children.
Referenced by NUnit.TestData.TestContextData.TestTestContextInOneTimeTearDown.OneTimeTearDown(), and NUnit.Framework.Tests.TestContextOneTimeTearDownTests.OneTimeTearDown().
|
get |
Gets the number of test cases that were inconclusive when running the test and all its children.
Referenced by NUnit.TestData.TestContextData.TestTestContextInOneTimeTearDown.OneTimeTearDown().