TestUtilitiesTestProperty Method (Object, String, Object, Object) |
Asserts that a property of an object has a given start value and can be successfuly changed to another value.
Namespace: Test.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void TestProperty(
Object obj,
string propertyName,
Object startValue,
Object newValue
)
Public Shared Sub TestProperty (
obj As Object,
propertyName As String,
startValue As Object,
newValue As Object
)
public:
static void TestProperty(
Object^ obj,
String^ propertyName,
Object^ startValue,
Object^ newValue
)
static member TestProperty :
obj : Object *
propertyName : string *
startValue : Object *
newValue : Object -> unit
Parameters
- obj
- Type: SystemObject
The object under test. - propertyName
- Type: SystemString
The name of the property to test. - startValue
- Type: SystemObject
The expected starting value of the property. - newValue
- Type: SystemObject
The value to write to the property - to pass the property must expose this value once it has been set.
See Also