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.Framework.Api.TestAssemblyRunnerTests Class Reference
+ Inheritance diagram for NUnit.Framework.Api.TestAssemblyRunnerTests:
+ Collaboration diagram for NUnit.Framework.Api.TestAssemblyRunnerTests:

Public Member Functions

void CreateRunner ()
 
void Load_GoodFile_ReturnsRunnableSuite ()
 
void Load_FileNotFound_ReturnsNonRunnableSuite ()
 
void Load_BadFile_ReturnsNonRunnableSuite ()
 
void CountTestCases_AfterLoad_ReturnsCorrectCount ()
 
void CountTestCases_WithoutLoad_ThrowsInvalidOperation ()
 
void CountTestCases_FileNotFound_ReturnsZero ()
 
void CountTestCases_BadFile_ReturnsZero ()
 
void Run_AfterLoad_ReturnsRunnableSuite ()
 
void Run_AfterLoad_SendsExpectedEvents ()
 
void Run_WithoutLoad_ReturnsError ()
 
void Run_FileNotFound_ReturnsNonRunnableSuite ()
 
void Run_BadFile_ReturnsNonRunnableSuite ()
 
void RunAsync_AfterLoad_ReturnsRunnableSuite ()
 
void RunAsync_AfterLoad_SendsExpectedEvents ()
 
void RunAsync_WithoutLoad_ReturnsError ()
 
void RunAsync_FileNotFound_ReturnsNonRunnableSuite ()
 
void RunAsync_BadFile_ReturnsNonRunnableSuite ()
 
void StopRun_WhenNoTestIsRunning_Succeeds ()
 
void StopRun_WhenTestIsRunning_StopsTest ()
 
void CancelRun_WhenNoTestIsRunning_Succeeds ()
 
void CancelRun_WhenTestIsRunning_StopsTest ()
 

Private Member Functions

void ITestListener. TestStarted (ITest test)
 Called when a test has just started More...
 
void ITestListener. TestFinished (ITestResult result)
 Called when a test has finished More...
 

Private Attributes

const string MOCK_ASSEMBLY = "mock-nunit-assembly.exe"
 
const string BAD_FILE = "mock-nunit-assembly.pdb"
 
const string SLOW_TESTS = "slow-nunit-tests.dll"
 
const string MISSING_FILE = "junk.dll"
 
IDictionary _settings = new Hashtable()
 
ITestAssemblyRunner _runner
 
string _mockAssemblyPath
 
string _slowTestsPath
 
int _testStartedCount
 
int _testFinishedCount
 
int _successCount
 
int _failCount
 
int _skipCount
 
int _inconclusiveCount
 

Member Function Documentation

void NUnit.Framework.Api.TestAssemblyRunnerTests.CreateRunner ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.Load_GoodFile_ReturnsRunnableSuite ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.CountTestCases_WithoutLoad_ThrowsInvalidOperation ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.CountTestCases_FileNotFound_ReturnsZero ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.CountTestCases_BadFile_ReturnsZero ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.Run_WithoutLoad_ReturnsError ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.RunAsync_WithoutLoad_ReturnsError ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.StopRun_WhenNoTestIsRunning_Succeeds ( )
inline
void NUnit.Framework.Api.TestAssemblyRunnerTests.CancelRun_WhenNoTestIsRunning_Succeeds ( )
inline
void ITestListener. NUnit.Framework.Api.TestAssemblyRunnerTests.TestStarted ( ITest  test)
inlineprivate

Called when a test has just started

Parameters
testThe test that is starting

Implements NUnit.Framework.Interfaces.ITestListener.

References NUnit.Framework.Interfaces.ITest.IsSuite.

void ITestListener. NUnit.Framework.Api.TestAssemblyRunnerTests.TestFinished ( ITestResult  result)
inlineprivate

Member Data Documentation

const string NUnit.Framework.Api.TestAssemblyRunnerTests.MOCK_ASSEMBLY = "mock-nunit-assembly.exe"
private
const string NUnit.Framework.Api.TestAssemblyRunnerTests.BAD_FILE = "mock-nunit-assembly.pdb"
private
const string NUnit.Framework.Api.TestAssemblyRunnerTests.SLOW_TESTS = "slow-nunit-tests.dll"
private
const string NUnit.Framework.Api.TestAssemblyRunnerTests.MISSING_FILE = "junk.dll"
private
IDictionary NUnit.Framework.Api.TestAssemblyRunnerTests._settings = new Hashtable()
private
ITestAssemblyRunner NUnit.Framework.Api.TestAssemblyRunnerTests._runner
private
string NUnit.Framework.Api.TestAssemblyRunnerTests._mockAssemblyPath
private
string NUnit.Framework.Api.TestAssemblyRunnerTests._slowTestsPath
private
int NUnit.Framework.Api.TestAssemblyRunnerTests._testStartedCount
private
int NUnit.Framework.Api.TestAssemblyRunnerTests._testFinishedCount
private
int NUnit.Framework.Api.TestAssemblyRunnerTests._successCount
private
int NUnit.Framework.Api.TestAssemblyRunnerTests._failCount
private
int NUnit.Framework.Api.TestAssemblyRunnerTests._skipCount
private
int NUnit.Framework.Api.TestAssemblyRunnerTests._inconclusiveCount
private

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