TestUtilitiesTestProperty Method (Object, String, Boolean) |
Asserts that a bool property of an object has the given start value. Sets the property to the toggled start value and asserts that
the toggled value can then be read back from the property.
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,
bool startValue
)
Public Shared Sub TestProperty (
obj As Object,
propertyName As String,
startValue As Boolean
)
public:
static void TestProperty(
Object^ obj,
String^ propertyName,
bool startValue
)
static member TestProperty :
obj : Object *
propertyName : string *
startValue : bool -> unit
Parameters
- obj
- Type: SystemObject
- propertyName
- Type: SystemString
- startValue
- Type: SystemBoolean
See Also