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.CategoryAttribute Class Reference

Attribute used to apply a category to a test More...

+ Inheritance diagram for NUnit.Framework.CategoryAttribute:
+ Collaboration diagram for NUnit.Framework.CategoryAttribute:

Public Member Functions

 CategoryAttribute (string name)
 Construct attribute for a given category based on a name. The name may not contain the characters ',', '+', '-' or '!'. However, this is not checked in the constructor since it would cause an error to arise at as the test was loaded without giving a clear indication of where the problem is located. The error is handled in NUnitFramework.cs by marking the test as not runnable. More...
 
void ApplyToTest (Test test)
 Modifies a test by adding a category to it. More...
 
- Public Member Functions inherited from NUnit.Framework.NUnitAttribute
 NUnitAttribute ()
 Default constructor More...
 

Protected Member Functions

 CategoryAttribute ()
 Protected constructor uses the Type name as the name of the category. More...
 

Protected Attributes

string categoryName
 The name of the category More...
 

Properties

string Name [get]
 The name of the category More...
 

Detailed Description

Attribute used to apply a category to a test

Constructor & Destructor Documentation

NUnit.Framework.CategoryAttribute.CategoryAttribute ( string  name)
inline

Construct attribute for a given category based on a name. The name may not contain the characters ',', '+', '-' or '!'. However, this is not checked in the constructor since it would cause an error to arise at as the test was loaded without giving a clear indication of where the problem is located. The error is handled in NUnitFramework.cs by marking the test as not runnable.

Parameters
nameThe name of the category
NUnit.Framework.CategoryAttribute.CategoryAttribute ( )
inlineprotected

Protected constructor uses the Type name as the name of the category.

Member Function Documentation

Member Data Documentation

string NUnit.Framework.CategoryAttribute.categoryName
protected

The name of the category

Property Documentation

string NUnit.Framework.CategoryAttribute.Name
get

The name of the category


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