IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
PropertyAttribute is used to attach information to a test as a name/value pair.. More...
Public Member Functions | |
PropertyAttribute (string propertyName, string propertyValue) | |
Construct a PropertyAttribute with a name and string value More... | |
PropertyAttribute (string propertyName, int propertyValue) | |
Construct a PropertyAttribute with a name and int value More... | |
PropertyAttribute (string propertyName, double propertyValue) | |
Construct a PropertyAttribute with a name and double value More... | |
virtual void | ApplyToTest (Test test) |
Modifies a test by adding properties to it. More... | |
![]() | |
NUnitAttribute () | |
Default constructor More... | |
Protected Member Functions | |
PropertyAttribute () | |
Constructor for derived classes that set the property dictionary directly. More... | |
PropertyAttribute (object propertyValue) | |
Constructor for use by derived classes that use the name of the type as the property name. Derived classes must ensure that the Type of the property value is a standard type supported by the BCL. Any custom types will cause a serialization Exception when in the client. More... | |
Properties | |
IPropertyBag | Properties [get] |
Gets the property dictionary for this attribute More... | |
Private Attributes | |
PropertyBag | properties = new PropertyBag() |
PropertyAttribute is used to attach information to a test as a name/value pair..
|
inline |
Construct a PropertyAttribute with a name and string value
propertyName | The name of the property |
propertyValue | The property value |
References NUnit.Framework.Internal.PropertyBag.Add().
|
inline |
Construct a PropertyAttribute with a name and int value
propertyName | The name of the property |
propertyValue | The property value |
References NUnit.Framework.Internal.PropertyBag.Add().
|
inline |
Construct a PropertyAttribute with a name and double value
propertyName | The name of the property |
propertyValue | The property value |
References NUnit.Framework.Internal.PropertyBag.Add().
|
inlineprotected |
Constructor for derived classes that set the property dictionary directly.
|
inlineprotected |
Constructor for use by derived classes that use the name of the type as the property name. Derived classes must ensure that the Type of the property value is a standard type supported by the BCL. Any custom types will cause a serialization Exception when in the client.
References NUnit.Framework.Internal.PropertyBag.Add().
|
inlinevirtual |
Modifies a test by adding properties to it.
test | The test to modify |
Implements NUnit.Framework.Interfaces.IApplyToTest.
Reimplemented in NUnit.Framework.RequiresThreadAttribute.
Referenced by NUnit.Framework.Attributes.ApplyToTestTests.DescriptionAttributeSetsDescription(), NUnit.Framework.Attributes.ApplyToTestTests.DescriptionAttributeSetsDescriptionOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.MaxTimeAttributeSetsMaxTime(), NUnit.Framework.Attributes.ApplyToTestTests.MaxTimeAttributeSetsMaxTimeOnNonRunnableTest(), 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.SetCultureAttributeSetsSetCultureProperty(), NUnit.Framework.Attributes.ApplyToTestTests.SetCultureAttributeSetsSetCulturePropertyOnNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.SetUICultureAttributeSetsSetUICultureProperty(), and NUnit.Framework.Attributes.ApplyToTestTests.SetUICultureAttributeSetsSetUICulturePropertyOnNonRunnableTest().
|
private |
|
get |
Gets the property dictionary for this attribute