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.Internal.Test Class Referenceabstract

The Test abstract class represents a test within the framework. More...

+ Inheritance diagram for NUnit.Framework.Internal.Test:
+ Collaboration diagram for NUnit.Framework.Internal.Test:

Public Member Functions

abstract TestResult MakeTestResult ()
 Creates a TestResult for this test. More...
 
void ApplyAttributesToTest (ICustomAttributeProvider provider)
 Modify a newly constructed test by applying any of NUnit's common attributes, based on a supplied ICustomAttributeProvider, which is usually the reflection element from which the test was constructed, but may not be in some instances. The attributes retrieved are saved for use in subsequent operations. More...
 
TNode ToXml (bool recursive)
 Returns the Xml representation of the test More...
 
abstract TNode AddToXml (TNode parentNode, bool recursive)
 Returns an XmlNode representing the current result after adding it as a child of the supplied parent node. More...
 
int CompareTo (object obj)
 Compares this test to another test for sorting purposes More...
 

Protected Member Functions

 Test (string name)
 Constructs a test given its name More...
 
 Test (string pathName, string name)
 Constructs a test given the path through the test hierarchy to its parent and a name. More...
 
 Test (ITypeInfo typeInfo)
 TODO: Documentation needed for constructor More...
 
 Test (IMethodInfo method)
 Construct a test from a MethodInfo More...
 
void PopulateTestNode (TNode thisNode, bool recursive)
 Add standard attributes and members to a test node. More...
 

Protected Attributes

MethodInfo[] setUpMethods
 The SetUp methods. More...
 
MethodInfo[] tearDownMethods
 The teardown methods More...
 

Properties

string Id [get, set]
 Gets or sets the id of the test More...
 
string Name [get, set]
 Gets or sets the name of the test More...
 
string FullName [get, set]
 Gets or sets the fully qualified name of the test More...
 
string ClassName [get]
 Gets the name of the class containing this test. Returns null if the test is not associated with a class. More...
 
virtual string MethodName [get]
 Gets the name of the method implementing this test. Returns null if the test is not implemented as a method. More...
 
ITypeInfo TypeInfo [get, private set]
 Gets the TypeInfo of the fixture used in running this test or null if no fixture type is associated with it. More...
 
IMethodInfo Method [get, set]
 Gets a MethodInfo for the method implementing this test. Returns null if the test is not implemented as a method. More...
 
RunState RunState [get, set]
 Whether or not the test should be run More...
 
abstract string XmlElementName [get]
 Gets the name used for the top-level element in the XML representation of this test More...
 
virtual string TestType [get]
 Gets a string representing the type of test. Used as an attribute value in the XML representation of a test and has no other function in the framework. More...
 
virtual int TestCaseCount [get]
 Gets a count of test cases represented by or contained under this test. More...
 
IPropertyBag Properties [get, private set]
 Gets the properties for this test More...
 
bool IsSuite [get]
 Returns true if this is a TestSuite More...
 
abstract bool HasChildren [get]
 Gets a bool indicating whether the current test has any descendant tests. More...
 
ITest Parent [get, set]
 Gets the parent as a Test object. Used by the core to set the parent. More...
 
abstract
System.Collections.Generic.IList
< ITest
Tests [get]
 Gets this test's child tests More...
 
virtual object Fixture [get, set]
 Gets or sets a fixture object for running this test. More...
 
static string IdPrefix [get, set]
 Static prefix used for ids in this AppDomain. Set by FrameworkController. More...
 
int Seed [get, set]
 Gets or Sets the Int value representing the seed for the RandomGenerator More...
 
- Properties inherited from NUnit.Framework.Interfaces.ITest
string Id [get]
 Gets the id of the test More...
 
string Name [get]
 Gets the name of the test More...
 
string FullName [get]
 Gets the fully qualified name of the test More...
 
string ClassName [get]
 Gets the name of the class containing this test. Returns null if the test is not associated with a class. More...
 
string MethodName [get]
 Gets the name of the method implementing this test. Returns null if the test is not implemented as a method. More...
 
ITypeInfo TypeInfo [get]
 Gets the Type of the test fixture, if applicable, or null if no fixture type is associated with this test. More...
 
IMethodInfo Method [get]
 Gets an IMethod for the method implementing this test. Returns null if the test is not implemented as a method. More...
 
RunState RunState [get]
 Gets the RunState of the test, indicating whether it can be run. More...
 
int TestCaseCount [get]
 Count of the test cases ( 1 if this is a test case ) More...
 
IPropertyBag Properties [get]
 Gets the properties of the test More...
 
ITest Parent [get]
 Gets the parent test, if any. More...
 
bool IsSuite [get]
 Returns true if this is a test suite More...
 
bool HasChildren [get]
 Gets a bool indicating whether the current test has any descendant tests. More...
 
System.Collections.Generic.IList
< ITest
Tests [get]
 Gets this test's child tests More...
 
object Fixture [get]
 Gets a fixture object for running this test. More...
 

Private Member Functions

void Initialize (string name)
 

Static Private Member Functions

static string GetNextId ()
 

Static Private Attributes

static int _nextID = 1000
 Static value to seed ids. It's started at 1000 so any uninitialized ids will stand out. More...
 

Detailed Description

The Test abstract class represents a test within the framework.

Constructor & Destructor Documentation

NUnit.Framework.Internal.Test.Test ( string  name)
inlineprotected

Constructs a test given its name

Parameters
nameThe name of the test
NUnit.Framework.Internal.Test.Test ( string  pathName,
string  name 
)
inlineprotected

Constructs a test given the path through the test hierarchy to its parent and a name.

Parameters
pathNameThe parent tests full name
nameThe name of the test
NUnit.Framework.Internal.Test.Test ( ITypeInfo  typeInfo)
inlineprotected

TODO: Documentation needed for constructor

Parameters
typeInfo

References NUnit.Framework.Interfaces.ITypeInfo.GetDisplayName(), and NUnit.Framework.Interfaces.ITypeInfo.Namespace.

NUnit.Framework.Internal.Test.Test ( IMethodInfo  method)
inlineprotected

Member Function Documentation

void NUnit.Framework.Internal.Test.Initialize ( string  name)
inlineprivate
static string NUnit.Framework.Internal.Test.GetNextId ( )
inlinestaticprivate
abstract TestResult NUnit.Framework.Internal.Test.MakeTestResult ( )
pure virtual
void NUnit.Framework.Internal.Test.ApplyAttributesToTest ( ICustomAttributeProvider  provider)
inline

Modify a newly constructed test by applying any of NUnit's common attributes, based on a supplied ICustomAttributeProvider, which is usually the reflection element from which the test was constructed, but may not be in some instances. The attributes retrieved are saved for use in subsequent operations.

Parameters
providerAn object implementing ICustomAttributeProvider

Referenced by NUnit.Framework.Internal.Builders.DefaultTestCaseBuilder.BuildParameterizedMethodSuite(), and NUnit.Framework.Api.DefaultTestAssemblyBuilder.BuildTestAssembly().

void NUnit.Framework.Internal.Test.PopulateTestNode ( TNode  thisNode,
bool  recursive 
)
inlineprotected

Add standard attributes and members to a test node.

Parameters
thisNode
recursive

References NUnit.Framework.Interfaces.TNode.AddAttribute().

TNode NUnit.Framework.Internal.Test.ToXml ( bool  recursive)
inline

Returns the Xml representation of the test

Parameters
recursiveIf true, include child tests recursively
Returns

Implements NUnit.Framework.Interfaces.IXmlNodeBuilder.

Referenced by NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), and NUnit.Framework.Internal.TestXmlTests.TestNameWithInvalidCharacter().

abstract TNode NUnit.Framework.Internal.Test.AddToXml ( TNode  parentNode,
bool  recursive 
)
pure virtual

Returns an XmlNode representing the current result after adding it as a child of the supplied parent node.

Parameters
parentNodeThe parent node.
recursiveIf true, descendant results are included
Returns

Implements NUnit.Framework.Interfaces.IXmlNodeBuilder.

Implemented in NUnit.Framework.Internal.TestSuite, NUnit.Framework.Internal.TestMethod, and NUnit.Framework.Attributes.TestDummy.

Referenced by NUnit.Framework.Internal.TestSuite.AddToXml().

int NUnit.Framework.Internal.Test.CompareTo ( object  obj)
inline

Compares this test to another test for sorting purposes

Parameters
objThe other test
Returns
Value of -1, 0 or +1 depending on whether the current test is less than, equal to or greater than the other test

References NUnit.Framework.Internal.Test.FullName.

Member Data Documentation

int NUnit.Framework.Internal.Test._nextID = 1000
staticprivate

Static value to seed ids. It's started at 1000 so any uninitialized ids will stand out.

MethodInfo [] NUnit.Framework.Internal.Test.setUpMethods
protected

The SetUp methods.

MethodInfo [] NUnit.Framework.Internal.Test.tearDownMethods
protected

The teardown methods

Property Documentation

string NUnit.Framework.Internal.Test.Name
getset

Gets or sets the name of the test

Referenced by NUnit.Framework.Internal.Builders.NamespaceTreeBuilder.AddSetUpFixture(), NUnit.Framework.Internal.TestFixtureTests.CanConstructFrom(), NUnit.Framework.Attributes.CategoryAttributeTests.CanSpecifyOnMethodAndTestCase(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanSpecifyTestName_FixedText(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanSpecifyTestName_WithMethodName(), NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), NUnit.TestUtilities.TestFinder.Find(), NUnit.Framework.Attributes.ParameterizedTestFixtureNamingTests.FixtureInstancesAreNamedCorrectly(), NUnit.Framework.Internal.TestExecutionContextTests.FixtureSetUpCanAccessFixtureName(), NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithFrenchCanadianCulture(), NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithFrenchCulture(), NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithRussianCulture(), NUnit.Framework.Attributes.ParameterizedTestFixtureNamingTests.MethodWithParamsIsNamedCorrectly(), NUnit.Framework.Internal.TestExecutionContextTests.OneTimeTearDown(), NUnit.Framework.Internal.TestExecutionContextTests.SetUpCanAccessTestName(), NUnit.Framework.Internal.TestExecutionContextTests.TestCanAccessItsOwnName(), NUnit.Framework.Internal.TestMethodSignatureTests.TestMethodWithMultipleTestCasesUsesCorrectNames(), NUnit.Framework.Internal.TestXmlTests.TestNameWithInvalidCharacter(), and NUnit.Framework.Attributes.ParameterizedTestFixtureNamingTests.TopLevelSuiteIsNamedCorrectly().

string NUnit.Framework.Internal.Test.FullName
getset
string NUnit.Framework.Internal.Test.ClassName
get

Gets the name of the class containing this test. Returns null if the test is not associated with a class.

Referenced by NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest().

virtual string NUnit.Framework.Internal.Test.MethodName
get

Gets the name of the method implementing this test. Returns null if the test is not implemented as a method.

Referenced by NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest().

RunState NUnit.Framework.Internal.Test.RunState
getset

Whether or not the test should be run

Referenced by NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.AddTestCasesToFixture(), NUnit.Framework.PlatformAttribute.ApplyToTest(), NUnit.Framework.CultureAttribute.ApplyToTest(), NUnit.Framework.ExplicitAttribute.ApplyToTest(), NUnit.Framework.IgnoreAttribute.ApplyToTest(), NUnit.Framework.CategoryAttribute.ApplyToTest(), NUnit.Framework.Internal.TestParameters.ApplyToTest(), NUnit.Framework.Api.DefaultTestAssemblyBuilder.Build(), NUnit.Framework.SetUpFixtureAttribute.BuildFrom(), NUnit.Framework.TestCaseAttribute.BuildFrom(), NUnit.Framework.Api.DefaultTestAssemblyBuilder.BuildTestAssembly(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanExcludePlatform(), NUnit.Framework.Attributes.TestFixtureSourceTests.CanIgnoreIndividualFixtures(), NUnit.Framework.Attributes.TestCaseSourceTests.CanIgnoreIndividualTestCases(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanIgnoreIndividualTestCases(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanIncludePlatform(), NUnit.Framework.Attributes.TestFixtureSourceTests.CanMarkIndividualFixturesExplicit(), NUnit.Framework.Attributes.TestCaseSourceTests.CanMarkIndividualTestCasesExplicit(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanMarkIndividualTestCasesExplicit(), NUnit.Framework.Internal.TestFixtureTests.CannotRunGenericFixtureWithNoArgsProvided(), NUnit.Framework.Internal.TestFixtureTests.CanRunGenericFixtureDerivedFromAbstractFixtureWithArgsProvided(), NUnit.Framework.Internal.TestFixtureTests.CanRunGenericFixtureWithProperArgsProvided(), NUnit.Framework.Attributes.ApplyToTestTests.CategoryAttributeSetsCategoryOnNonRunnableTest(), NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.CheckTestFixtureIsValid(), NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), NUnit.Framework.Attributes.ApplyToTestTests.CombinatorialAttributeSetsJoinTypeOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeDoesNotAffectNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeExcludingCurrentCultureSkipsTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeExcludingOtherCultureRunsTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeIncludingCurrentCultureRunsTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeIncludingOtherCultureSkipsTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeWithMultipleCulturesIncluded(), NUnit.Framework.Attributes.ApplyToTestTests.DescriptionAttributeSetsDescriptionOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeDoesNotAffectNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeMakesTestExplicit(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeSetsIgnoreReason(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeWithIgnoreIgnoresTest(), NUnit.Framework.Internal.TestFixtureTests.FixtureUsingIgnoreAttributeIsIgnored(), NUnit.Framework.Internal.TestFixtureTests.FixtureUsingIgnorePropertyIsIgnored(), NUnit.Framework.Internal.TestFixtureTests.FixtureUsingIgnoreReasonPropertyIsIgnored(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeDoesNotAffectNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeIgnoresTest(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeIgnoresTestUntilDateSpecified(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeIgnoresTestUntilDateTimeSpecified(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeMarksTestAsRunnableAfterUntilDatePasses(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeSetsIgnoreReason(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeWithExplicitIgnoresTest(), NUnit.TestUtilities.TestAssert.IsNotRunnable(), NUnit.TestUtilities.TestAssert.IsRunnable(), NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithFrenchCanadianCulture(), NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithFrenchCulture(), NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithRussianCulture(), NUnit.Framework.Internal.Execution.CommandBuilder.MakeOneTimeSetUpCommand(), NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.MarkAsNotRunnable(), NUnit.Framework.Attributes.ApplyToTestTests.MaxTimeAttributeSetsMaxTimeOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.PairwiseAttributeSetsJoinTypeOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.PlatformAttributeDoesNotAffectNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.PlatformAttributeRunsTest(), NUnit.Framework.Attributes.ApplyToTestTests.PlatformAttributeSkipsTest(), NUnit.Framework.Attributes.DescriptionTests.ReflectionTest(), NUnit.Framework.Tests.Attributes.TestOfTests.ReflectionTest(), NUnit.Framework.Tests.Attributes.AuthorTests.ReflectionTest(), NUnit.Framework.Attributes.ApplyToTestTests.RepeatAttributeSetsRepeatCountOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresMTAAttributeSetsApartmentStateOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresSTAAttributeSetsApartmentStateOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresThreadAttributeSetsRequiresThreadOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.SequentialAttributeSetsJoinTypeOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.SetCultureAttributeSetsSetCulturePropertyOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.SetUICultureAttributeSetsSetUICulturePropertyOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.SetUp(), NUnit.Framework.Internal.Execution.SimpleWorkItem.SimpleWorkItem(), NUnit.Framework.Attributes.TestMethodBuilderTests.TestAttribute_NoArgs_Runnable(), NUnit.Framework.Attributes.TestMethodBuilderTests.TestAttribute_WithArgs_NotRunnable(), and NUnit.Framework.Attributes.CategoryAttributeTests.TestWithInvalidCategoryNameIsNotRunnable().

abstract string NUnit.Framework.Internal.Test.XmlElementName
get

Gets the name used for the top-level element in the XML representation of this test

Referenced by NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest().

virtual string NUnit.Framework.Internal.Test.TestType
get

Gets a string representing the type of test. Used as an attribute value in the XML representation of a test and has no other function in the framework.

Referenced by NUnit.Framework.Internal.Execution.CommandBuilder.MakeOneTimeTearDownCommand(), NUnitLite.NUnit2XmlOutputWriter.StartTestElement(), and NUnit.Framework.Internal.TestXmlTests.TestTypeTests().

IPropertyBag NUnit.Framework.Internal.Test.Properties
getprivate set

Gets the properties for this test

Referenced by NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.AddTestCasesToFixture(), NUnit.Framework.PlatformAttribute.ApplyToTest(), NUnit.Framework.CultureAttribute.ApplyToTest(), NUnit.Framework.ExplicitAttribute.ApplyToTest(), NUnit.Framework.IgnoreAttribute.ApplyToTest(), NUnit.Framework.TestAttribute.ApplyToTest(), NUnit.Framework.CategoryAttribute.ApplyToTest(), NUnit.Framework.CombiningStrategyAttribute.ApplyToTest(), NUnit.Framework.Tests.Attributes.AuthorTests.Author(), NUnit.Framework.Tests.Attributes.AuthorTests.AuthorOnTestCase(), NUnit.Framework.Api.DefaultTestAssemblyBuilder.Build(), NUnit.Framework.SetUpFixtureAttribute.BuildFrom(), NUnit.Framework.TestCaseAttribute.BuildFrom(), NUnit.Framework.Api.DefaultTestAssemblyBuilder.BuildTestAssembly(), NUnit.Framework.Attributes.CategoryAttributeTests.CanDeriveFromCategoryAttribute(), NUnit.Framework.Attributes.PropertyAttributeTests.CanDeriveFromPropertyAttribute(), NUnit.Framework.Attributes.TestCaseSourceTests.CanIgnoreIndividualTestCases(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanIgnoreIndividualTestCases(), NUnit.Framework.Attributes.TestCaseSourceTests.CanMarkIndividualTestCasesExplicit(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanMarkIndividualTestCasesExplicit(), NUnit.Framework.Internal.TestFixtureTests.CannotRunGenericFixtureWithNoArgsProvided(), NUnit.Framework.Attributes.ParameterizedTestFixtureTests.CanSpecifyCategory(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanSpecifyCategory(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanSpecifyDescription(), NUnit.Framework.Attributes.ParameterizedTestFixtureTests.CanSpecifyMultipleCategories(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanSpecifyMultipleCategories(), NUnit.Framework.Attributes.CategoryAttributeTests.CanSpecifyOnMethodAndTestCase(), NUnit.Framework.Attributes.ApplyToTestTests.CategoryAttributeSetsCategory(), NUnit.Framework.Attributes.ApplyToTestTests.CategoryAttributeSetsCategoryOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.CategoryAttributeSetsMultipleCategories(), NUnit.Framework.Attributes.CategoryAttributeTests.CategoryOnFixture(), NUnit.Framework.Attributes.CategoryAttributeTests.CategoryOnTestMethod(), NUnit.Framework.Attributes.RepeatAttributeTests.CategoryWorksWithRepeatedTest(), NUnit.Framework.Attributes.RetryAttributeTests.CategoryWorksWithRetry(), NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.CheckTestFixtureIsValid(), NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), NUnit.Framework.Attributes.ApplyToTestTests.CombinatorialAttributeSetsJoinType(), NUnit.Framework.Attributes.ApplyToTestTests.CombinatorialAttributeSetsJoinTypeOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeExcludingCurrentCultureSkipsTest(), NUnit.Framework.Attributes.ApplyToTestTests.CultureAttributeIncludingOtherCultureSkipsTest(), NUnit.Framework.Attributes.PropertyAttributeTests.CustomPropertyAttribute(), NUnit.Framework.Attributes.CategoryAttributeTests.DerivedCategoryMayBeInherited(), NUnit.Framework.Attributes.DescriptionTests.Description(), NUnit.Framework.Attributes.ApplyToTestTests.DescriptionAttributeSetsDescription(), NUnit.Framework.Attributes.ApplyToTestTests.DescriptionAttributeSetsDescriptionOnNonRunnableTest(), NUnit.Framework.Attributes.DescriptionTests.DescriptionOnTestCase(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeDoesNotAffectNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeSetsIgnoreReason(), NUnit.Framework.Attributes.DescriptionTests.FixtureDescription(), NUnit.Framework.Internal.TestExecutionContextTests.FixtureSetUpCanAccessFixtureProperties(), NUnit.Framework.Internal.TestFixtureTests.FixtureUsingIgnoreAttributeIsIgnored(), NUnit.Framework.Internal.TestFixtureTests.FixtureUsingIgnorePropertyIsIgnored(), NUnit.Framework.Internal.TestFixtureTests.FixtureUsingIgnoreReasonPropertyIsIgnored(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeDoesNotAffectNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeSetsIgnoreReason(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeUntilSetsTheReason(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeWithUntilAddsIgnoreUntilDateProperty(), NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeWithUntilAddsIgnoreUntilDatePropertyPastUntilDate(), NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.MarkAsNotRunnable(), NUnit.Framework.Attributes.ApplyToTestTests.MaxTimeAttributeSetsMaxTime(), NUnit.Framework.Attributes.ApplyToTestTests.MaxTimeAttributeSetsMaxTimeOnNonRunnableTest(), NUnit.Framework.Tests.Attributes.AuthorTests.NoAuthor(), NUnit.Framework.Attributes.DescriptionTests.NoDescription(), NUnit.Framework.Tests.Attributes.TestOfTests.NoTestOf(), NUnit.Framework.Internal.TestExecutionContextTests.OneTimeTearDown(), NUnit.Framework.Attributes.ApplyToTestTests.PairwiseAttributeSetsJoinType(), NUnit.Framework.Attributes.ApplyToTestTests.PairwiseAttributeSetsJoinTypeOnNonRunnableTest(), NUnit.Framework.Attributes.PropertyAttributeTests.PropertiesWithNumericValues(), NUnit.Framework.Attributes.PropertyAttributeTests.PropertyWithStringValue(), NUnit.Framework.Attributes.PropertyAttributeTests.PropertyWorksOnFixtures(), NUnit.Framework.Attributes.ApplyToTestTests.RepeatAttributeSetsRepeatCount(), NUnit.Framework.Attributes.ApplyToTestTests.RepeatAttributeSetsRepeatCountOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresMTAAttributeSetsApartmentState(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresMTAAttributeSetsApartmentStateOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresSTAAttributeSetsApartmentState(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresSTAAttributeSetsApartmentStateOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresThreadAttributeMaySetApartmentState(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresThreadAttributeSetsRequiresThread(), NUnit.Framework.Attributes.ApplyToTestTests.RequiresThreadAttributeSetsRequiresThreadOnNonRunnableTest(), NUnit.Framework.Tests.Attributes.AuthorTests.SeparateAuthorAttribute(), NUnit.Framework.Tests.Attributes.AuthorTests.SeparateAuthorWithEmailAttribute(), NUnit.Framework.Attributes.DescriptionTests.SeparateDescriptionAttribute(), NUnit.Framework.Tests.Attributes.TestOfTests.SeparateTestOfAttribute(), NUnit.Framework.Tests.Attributes.TestOfTests.SeparateTestOfStringMethod(), NUnit.Framework.Attributes.ApplyToTestTests.SequentialAttributeSetsJoinType(), NUnit.Framework.Attributes.ApplyToTestTests.SequentialAttributeSetsJoinTypeOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.SetCultureAttributeSetsSetCultureProperty(), NUnit.Framework.Attributes.ApplyToTestTests.SetCultureAttributeSetsSetCulturePropertyOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.SetUICultureAttributeSetsSetUICultureProperty(), NUnit.Framework.Attributes.ApplyToTestTests.SetUICultureAttributeSetsSetUICulturePropertyOnNonRunnableTest(), NUnit.Framework.Internal.TestXmlTests.SetUp(), NUnit.Framework.Internal.TestResultTests.SetUp(), NUnit.Framework.Internal.TestExecutionContextTests.SetUpCanAccessTestProperties(), NUnit.Framework.Internal.TestExecutionContextTests.TestCanAccessItsOwnProperties(), NUnit.Framework.Tests.Attributes.TestOfTests.TestOf(), and NUnit.Framework.Tests.Attributes.TestOfTests.TestOfOnTestCase().

bool NUnit.Framework.Internal.Test.IsSuite
get
abstract bool NUnit.Framework.Internal.Test.HasChildren
get

Gets a bool indicating whether the current test has any descendant tests.

ITest NUnit.Framework.Internal.Test.Parent
getset

Gets the parent as a Test object. Used by the core to set the parent.

Referenced by NUnit.Framework.Internal.TestSuite.Add(), and NUnit.Framework.Internal.Builders.NamespaceTreeBuilder.AddSetUpFixture().

abstract System.Collections.Generic.IList<ITest> NUnit.Framework.Internal.Test.Tests
get
virtual object NUnit.Framework.Internal.Test.Fixture
getset

Gets or sets a fixture object for running this test.

Referenced by NUnit.TestUtilities.TestBuilder.MakeFixture(), and NUnit.TestUtilities.TestBuilder.MakeParameterizedMethodSuite().

string NUnit.Framework.Internal.Test.IdPrefix
staticgetset

Static prefix used for ids in this AppDomain. Set by FrameworkController.

int NUnit.Framework.Internal.Test.Seed
getset

Gets or Sets the Int value representing the seed for the RandomGenerator


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