AircraftTestHelperGenerateAircraftPropertyValue Method |
Returns a dummy value that can be copied into any of the properties on an
IAircraft object.
Namespace: Test.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Object GenerateAircraftPropertyValue(
Type propertyType
)
Public Shared Function GenerateAircraftPropertyValue (
propertyType As Type
) As Object
public:
static Object^ GenerateAircraftPropertyValue(
Type^ propertyType
)
static member GenerateAircraftPropertyValue :
propertyType : Type -> Object
Parameters
- propertyType
- Type: SystemType
Return Value
Type:
ObjectRemarks
This is really quite an esoteric method - it just generates dummy values to set properties to in tests
that are iterating over all of the properties of an
IAircraft and don't really mind what the
value of the property is, just so long as it has a value. There are only a couple of tests that use this
but they're in different test libraries and so this method needed to be in a library common to both.
See Also