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.Tests.ActionAttributeTests Class Reference
+ Collaboration diagram for NUnit.Framework.Tests.ActionAttributeTests:

Public Member Functions

void Setup ()
 
void TestsRunSuccessfully ()
 
void ExpectedOutput_InCorrectOrder ()
 
void ActionsWrappingAssembly ()
 
void ActionsWrappingSetUpFixture ()
 
void ActionsWrappingTestFixture ()
 
void ActionsWrappingParameterizedMethodSuite ()
 
void CorrectNumberOfEventsReceived ()
 
void ActionsWrappingTestMethod (string testName)
 

Private Member Functions

void CheckActionsOnSuite (string suiteName, int firstEvent, int lastEvent, params string[] tags)
 
void CheckActionsOnTestCase (string testName)
 
void CheckBeforeAfterActionPair (int index1, int index2, string testName, string tag)
 

Private Attributes

ITestResult _result = null
 
int _numEvents = -1
 

Static Private Attributes

static readonly string ASSEMBLY_PATH = AssemblyHelper.GetAssemblyPath(typeof(ActionAttributeFixture))
 
static readonly string ASSEMBLY_NAME = System.IO.Path.GetFileName(ASSEMBLY_PATH)
 
static readonly string[] ExpectedAssemblyActions
 
static readonly string[] ExpectedSetUpFixtureActions
 
static readonly string[] ExpectedTestFixtureActions
 
static readonly string[] ExpectedParameterizedTestActions
 
static readonly string[] ExpectedTestCaseActions
 
static readonly List< string > ExpectedEvents
 
static readonly int NumTestCaseActions = ExpectedTestCaseActions.Length
 
static readonly int EventsPerTestCase = 2 * NumTestCaseActions + 1
 
static readonly int NumTestCaseEvents = 3 * EventsPerTestCase
 
static readonly int NumParameterizedTestActions = ExpectedParameterizedTestActions.Length
 
static readonly int NumTestFixtureActions = ExpectedTestFixtureActions.Length
 
static readonly int NumSetUpFixtureActions = ExpectedSetUpFixtureActions.Length
 
static readonly int NumAssemblyActions = ExpectedAssemblyActions.Length
 

Member Function Documentation

void NUnit.Framework.Tests.ActionAttributeTests.TestsRunSuccessfully ( )
inline
void NUnit.Framework.Tests.ActionAttributeTests.ExpectedOutput_InCorrectOrder ( )
inline
void NUnit.Framework.Tests.ActionAttributeTests.ActionsWrappingAssembly ( )
inline
void NUnit.Framework.Tests.ActionAttributeTests.ActionsWrappingSetUpFixture ( )
inline
void NUnit.Framework.Tests.ActionAttributeTests.ActionsWrappingTestFixture ( )
inline
void NUnit.Framework.Tests.ActionAttributeTests.ActionsWrappingParameterizedMethodSuite ( )
inline
void NUnit.Framework.Tests.ActionAttributeTests.CorrectNumberOfEventsReceived ( )
inline
void NUnit.Framework.Tests.ActionAttributeTests.ActionsWrappingTestMethod ( string  testName)
inline
void NUnit.Framework.Tests.ActionAttributeTests.CheckActionsOnSuite ( string  suiteName,
int  firstEvent,
int  lastEvent,
params string[]  tags 
)
inlineprivate
void NUnit.Framework.Tests.ActionAttributeTests.CheckActionsOnTestCase ( string  testName)
inlineprivate
void NUnit.Framework.Tests.ActionAttributeTests.CheckBeforeAfterActionPair ( int  index1,
int  index2,
string  testName,
string  tag 
)
inlineprivate

Member Data Documentation

readonly string NUnit.Framework.Tests.ActionAttributeTests.ASSEMBLY_PATH = AssemblyHelper.GetAssemblyPath(typeof(ActionAttributeFixture))
staticprivate
readonly string NUnit.Framework.Tests.ActionAttributeTests.ASSEMBLY_NAME = System.IO.Path.GetFileName(ASSEMBLY_PATH)
staticprivate
ITestResult NUnit.Framework.Tests.ActionAttributeTests._result = null
private
int NUnit.Framework.Tests.ActionAttributeTests._numEvents = -1
private
readonly string [] NUnit.Framework.Tests.ActionAttributeTests.ExpectedAssemblyActions
staticprivate
Initial value:
= new string[] {
"OnAssembly", "OnAssembly", "OnAssembly" }
readonly string [] NUnit.Framework.Tests.ActionAttributeTests.ExpectedSetUpFixtureActions
staticprivate
Initial value:
= new string[] {
"OnBaseSetupFixture", "OnBaseSetupFixture", "OnBaseSetupFixture",
"OnSetupFixture", "OnSetupFixture", "OnSetupFixture"
}
readonly string [] NUnit.Framework.Tests.ActionAttributeTests.ExpectedTestFixtureActions
staticprivate
Initial value:
= new string[] {
"OnBaseInterface", "OnBaseInterface", "OnBaseInterface",
"OnBaseFixture", "OnBaseFixture", "OnBaseFixture",
"OnInterface", "OnInterface", "OnInterface",
"OnFixture", "OnFixture", "OnFixture"
}
readonly string [] NUnit.Framework.Tests.ActionAttributeTests.ExpectedParameterizedTestActions
staticprivate
Initial value:
= new string[] {
"OnMethod", "OnMethod"
}
readonly string [] NUnit.Framework.Tests.ActionAttributeTests.ExpectedTestCaseActions
staticprivate
Initial value:
= new string[] {
"OnMethod", "OnMethod", "OnMethod",
"OnFixture", "OnFixture",
"OnInterface", "OnInterface",
"OnBaseFixture", "OnBaseFixture",
"OnBaseInterface", "OnBaseInterface",
"OnSetupFixture", "OnSetupFixture",
"OnBaseSetupFixture", "OnBaseSetupFixture",
"OnAssembly", "OnAssembly"
}
readonly List<string> NUnit.Framework.Tests.ActionAttributeTests.ExpectedEvents
staticprivate
readonly int NUnit.Framework.Tests.ActionAttributeTests.NumTestCaseActions = ExpectedTestCaseActions.Length
staticprivate
readonly int NUnit.Framework.Tests.ActionAttributeTests.EventsPerTestCase = 2 * NumTestCaseActions + 1
staticprivate
readonly int NUnit.Framework.Tests.ActionAttributeTests.NumTestCaseEvents = 3 * EventsPerTestCase
staticprivate
readonly int NUnit.Framework.Tests.ActionAttributeTests.NumParameterizedTestActions = ExpectedParameterizedTestActions.Length
staticprivate
readonly int NUnit.Framework.Tests.ActionAttributeTests.NumTestFixtureActions = ExpectedTestFixtureActions.Length
staticprivate
readonly int NUnit.Framework.Tests.ActionAttributeTests.NumSetUpFixtureActions = ExpectedSetUpFixtureActions.Length
staticprivate
readonly int NUnit.Framework.Tests.ActionAttributeTests.NumAssemblyActions = ExpectedAssemblyActions.Length
staticprivate

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