Свойство | Type | Description | |
---|---|---|---|
DeclaringTypeInfo | ITypeInfo | ||
setUpMethods | System.Reflection.MethodInfo[] | ||
tearDownMethods | System.Reflection.MethodInfo[] |
Свойство | Type | Description | |
---|---|---|---|
GetNextId | string | ||
Initialize | void |
Méthode | Description | |
---|---|---|
AddToXml ( TNode parentNode, bool recursive ) : TNode |
Returns an XmlNode representing the current result after adding it as a child of the supplied parent node.
|
|
ApplyAttributesToTest ( |
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.
|
|
ApplyAttributesToTest ( ICustomAttributeProvider provider ) : void |
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.
|
|
ApplyAttributesToTest ( |
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.
|
|
CompareTo ( object obj ) : int |
Compares this test to another test for sorting purposes
|
|
MakeTestResult ( ) : NUnit.Framework.Internal.TestResult |
Creates a TestResult for this test.
|
|
ToXml ( bool recursive ) : TNode |
Returns the Xml representation of the test
|
Méthode | Description | |
---|---|---|
PopulateTestNode ( TNode thisNode, bool recursive ) : void |
Add standard attributes and members to a test node.
|
|
Test ( IMethodInfo method ) : System |
Construct a test from a MethodInfo
|
|
Test ( ITypeInfo typeInfo ) : System |
TODO: Documentation needed for constructor
|
|
Test ( string name ) : System |
Constructs a test given its name
|
|
Test ( string pathName, string name ) : System |
Constructs a test given the path through the test hierarchy to its parent and a name.
|
Méthode | Description | |
---|---|---|
GetNextId ( ) : string | ||
Initialize ( string name ) : void |
public abstract AddToXml ( TNode parentNode, bool recursive ) : TNode | ||
parentNode | TNode | The parent node. |
recursive | bool | If true, descendant results are included |
Résultat | TNode |
public ApplyAttributesToTest ( |
||
provider | An object deriving from MemberInfo | |
Résultat | void |
public ApplyAttributesToTest ( ICustomAttributeProvider provider ) : void | ||
provider | ICustomAttributeProvider | An object implementing ICustomAttributeProvider |
Résultat | void |
public ApplyAttributesToTest ( |
||
provider | An object deriving from MemberInfo | |
Résultat | void |
public CompareTo ( object obj ) : int | ||
obj | object | The other test |
Résultat | int |
public abstract MakeTestResult ( ) : NUnit.Framework.Internal.TestResult | ||
Résultat | NUnit.Framework.Internal.TestResult |
protected PopulateTestNode ( TNode thisNode, bool recursive ) : void | ||
thisNode | TNode | |
recursive | bool | |
Résultat | void |
protected Test ( IMethodInfo method ) : System | ||
method | IMethodInfo | |
Résultat | System |
protected Test ( ITypeInfo typeInfo ) : System | ||
typeInfo | ITypeInfo | |
Résultat | System |
protected Test ( string name ) : System | ||
name | string | The name of the test |
Résultat | System |
protected Test ( string pathName, string name ) : System | ||
pathName | string | The parent tests full name |
name | string | The name of the test |
Résultat | System |
public ToXml ( bool recursive ) : TNode | ||
recursive | bool | If true, include child tests recursively |
Résultat | TNode |
protected MethodInfo[],System.Reflection setUpMethods | ||
Résultat | System.Reflection.MethodInfo[] |