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.Interfaces.ITest Interface Reference

Common interface supported by all representations of a test. Only includes informational fields. The Run method is specifically excluded to allow for data-only representations of a test. More...

+ Inheritance diagram for NUnit.Framework.Interfaces.ITest:
+ Collaboration diagram for NUnit.Framework.Interfaces.ITest:

Properties

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...
 

Additional Inherited Members

- Public Member Functions inherited from NUnit.Framework.Interfaces.IXmlNodeBuilder
TNode ToXml (bool recursive)
 Returns a TNode representing the current object. More...
 
TNode AddToXml (TNode parentNode, bool recursive)
 Returns a TNode representing the current object after adding it as a child of the supplied parent node. More...
 

Detailed Description

Common interface supported by all representations of a test. Only includes informational fields. The Run method is specifically excluded to allow for data-only representations of a test.

Property Documentation

string NUnit.Framework.Interfaces.ITest.Id
get
string NUnit.Framework.Interfaces.ITest.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.Filters.ClassNameFilter.Match().

string NUnit.Framework.Interfaces.ITest.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.Filters.MethodNameFilter.Match().

ITypeInfo NUnit.Framework.Interfaces.ITest.TypeInfo
get

Gets the Type of the test fixture, if applicable, or null if no fixture type is associated with this test.

Referenced by NUnit.Framework.Internal.TestFixtureTests.FixtureNotNullTestAttribute.BeforeTest().

IMethodInfo NUnit.Framework.Interfaces.ITest.Method
get

Gets an IMethod for the method implementing this test. Returns null if the test is not implemented as a method.

ITest NUnit.Framework.Interfaces.ITest.Parent
get

Gets the parent test, if any.

The parent test or null if none exists.

Referenced by NUnit.Framework.Internal.TestProgressReporter.GetParent(), and NUnit.Framework.Internal.TestFilter.MatchParent().

bool NUnit.Framework.Interfaces.ITest.HasChildren
get

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

object NUnit.Framework.Interfaces.ITest.Fixture
get

Gets a fixture object for running this test.

Referenced by NUnit.Framework.Internal.TestFixtureTests.FixtureNotNullTestAttribute.BeforeTest().


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