IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
The Test abstract class represents a test within the framework. More...
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... | |
![]() | |
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... | |
The Test abstract class represents a test within the framework.
|
inlineprotected |
Constructs a test given its name
name | The name of the test |
|
inlineprotected |
Constructs a test given the path through the test hierarchy to its parent and a name.
pathName | The parent tests full name |
name | The name of the test |
|
inlineprotected |
TODO: Documentation needed for constructor
typeInfo |
References NUnit.Framework.Interfaces.ITypeInfo.GetDisplayName(), and NUnit.Framework.Interfaces.ITypeInfo.Namespace.
|
inlineprotected |
Construct a test from a MethodInfo
method |
References NUnit.Framework.Interfaces.ITypeInfo.FullName, NUnit.Framework.Interfaces.IMethodInfo.Name, and NUnit.Framework.Interfaces.IMethodInfo.TypeInfo.
|
inlineprivate |
|
inlinestaticprivate |
|
pure virtual |
Creates a TestResult for this test.
Implemented in NUnit.Framework.Internal.TestSuite, NUnit.Framework.Internal.TestMethod, and NUnit.Framework.Attributes.TestDummy.
Referenced by NUnit.Framework.Internal.Execution.CompositeWorkItem.SkipChildren(), and NUnit.Framework.Internal.Execution.WorkItem.WorkItem().
|
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.
provider | An object implementing ICustomAttributeProvider |
Referenced by NUnit.Framework.Internal.Builders.DefaultTestCaseBuilder.BuildParameterizedMethodSuite(), and NUnit.Framework.Api.DefaultTestAssemblyBuilder.BuildTestAssembly().
|
inlineprotected |
Add standard attributes and members to a test node.
thisNode | |
recursive |
References NUnit.Framework.Interfaces.TNode.AddAttribute().
|
inline |
Returns the Xml representation of the test
recursive | If true, include child tests recursively |
Implements NUnit.Framework.Interfaces.IXmlNodeBuilder.
Referenced by NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), and NUnit.Framework.Internal.TestXmlTests.TestNameWithInvalidCharacter().
|
pure virtual |
Returns an XmlNode representing the current result after adding it as a child of the supplied parent node.
parentNode | The parent node. |
recursive | If true, descendant results are included |
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().
|
inline |
Compares this test to another test for sorting purposes
obj | The other test |
References NUnit.Framework.Internal.Test.FullName.
|
staticprivate |
Static value to seed ids. It's started at 1000 so any uninitialized ids will stand out.
|
protected |
The SetUp methods.
|
protected |
The teardown methods
|
getset |
Gets or sets the id of the test
Referenced by NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), NUnit.Framework.Internal.TestExecutionContextTests.FixtureSetUpCanAccessFixtureId(), NUnit.Framework.Internal.TestNameGenerator.TestIDFragment.GetText(), NUnit.Framework.Internal.Tests.TestNameGeneratorTests.InitializeMethodInfos(), NUnit.Framework.Internal.TestExecutionContextTests.OneTimeTearDown(), NUnit.Framework.Internal.TestExecutionContextTests.SetUpCanAccessTestId(), and NUnit.Framework.Internal.TestExecutionContextTests.TestCanAccessItsOwnId().
|
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().
|
getset |
Gets or sets the fully qualified name of the test
Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod(), NUnit.Framework.Internal.TestFixtureTests.CanConstructFrom(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanSpecifyTestName_FixedText(), NUnit.Framework.Attributes.TestCaseAttributeTests.CanSpecifyTestName_WithMethodName(), NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), NUnit.Framework.Internal.TestExecutionContextTests.Cleanup(), NUnit.Framework.Internal.Test.CompareTo(), NUnit.Framework.Attributes.ParameterizedTestFixtureNamingTests.FixtureInstancesAreNamedCorrectly(), NUnit.Framework.Internal.TestExecutionContextTests.FixtureSetUpCanAccessFixtureFullName(), NUnit.Framework.Internal.Builders.NamespaceTreeBuilder.GetNamespaceForFixture(), NUnit.Framework.Attributes.ParameterizedTestFixtureNamingTests.MethodWithoutParamsIsNamedCorrectly(), NUnit.Framework.Attributes.ParameterizedTestFixtureNamingTests.MethodWithParamsIsNamedCorrectly(), NUnit.Framework.Internal.TestExecutionContextTests.OneTimeTearDown(), NUnit.Framework.Internal.TestExecutionContextTests.SetUpCanAccessTestFullName(), NUnit.Framework.Internal.TestExecutionContextTests.TestCanAccessItsOwnFullName(), NUnit.Framework.Internal.TestMethod.TestMethod(), NUnit.Framework.Internal.TestMethodSignatureTests.TestMethodWithMultipleTestCasesUsesCorrectNames(), and NUnit.Framework.Attributes.ParameterizedTestFixtureNamingTests.TopLevelSuiteIsNamedCorrectly().
|
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().
|
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().
|
getprivate set |
Gets the TypeInfo of the fixture used in running this test or null if no fixture type is associated with it.
Referenced by NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.AddTestCasesToFixture(), NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.CheckTestFixtureIsValid(), NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest(), NUnit.Framework.Internal.Execution.WorkItem.InitializeContext(), NUnit.Framework.Internal.Execution.CompositeWorkItem.InitializeSetUpAndTearDownCommands(), NUnit.Framework.Internal.Execution.CommandBuilder.MakeOneTimeSetUpCommand(), and NUnit.Framework.Internal.Commands.OneTimeSetUpCommand.OneTimeSetUpCommand().
|
getset |
Gets a MethodInfo for the method implementing this test. Returns null if the test is not implemented as a method.
Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.CheckTestMethodSignature(), NUnit.Framework.Internal.TestNameGenerator.NameFragment.GetText(), NUnit.Framework.Internal.Execution.WorkItem.InitializeContext(), and NUnit.Framework.Internal.Execution.CommandBuilder.MakeOneTimeSetUpCommand().
|
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().
|
get |
Gets the name used for the top-level element in the XML representation of this test
Referenced by NUnit.Framework.Internal.TestXmlTests.CheckXmlForTest().
|
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().
|
get |
Gets a count of test cases represented by or contained under this test.
Referenced by NUnit.Framework.Attributes.TheoryTests.AllValuesMayBeSuppliedByAttributes(), NUnit.Framework.Attributes.TheoryTests.BooleanArgumentsAreSuppliedAutomatically(), NUnit.Framework.Attributes.TheoryTests.DatapointAndAttributeDataMayBeCombined(), NUnit.Framework.Attributes.TheoryTests.EnumArgumentsAreSuppliedAutomatically(), NUnit.Framework.Api.DefaultTestAssemblyBuilder.GetFixtures(), NUnit.Framework.Attributes.AttributeInheritanceTests.InheritedTestAttributeIsRecognized(), NUnit.Framework.Attributes.TheoryTests.SimpleTestIgnoresDataPoints(), and NUnit.Framework.Attributes.TheoryTests.TheoryWithDatapointsIsRunnable().
|
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().
|
get |
Returns true if this is a TestSuite
Referenced by NUnit.Framework.Internal.Execution.CompositeWorkItem.SkipChildren().
|
get |
Gets a bool indicating whether the current test has any descendant tests.
|
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().
|
get |
Gets this test's child tests
A list of child tests
Referenced by NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithFrenchCanadianCulture(), and NUnit.Framework.Internal.CultureSettingAndDetectionTests.LoadWithRussianCulture().
|
getset |
Gets or sets a fixture object for running this test.
Referenced by NUnit.TestUtilities.TestBuilder.MakeFixture(), and NUnit.TestUtilities.TestBuilder.MakeParameterizedMethodSuite().
|
staticgetset |
Static prefix used for ids in this AppDomain. Set by FrameworkController.
|
getset |
Gets or Sets the Int value representing the seed for the RandomGenerator