Click or drag to resize
AircraftTestHelperGenerateAircraftPropertyValue Method
Returns a dummy value that can be copied into any of the properties on an IAircraft object.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Object GenerateAircraftPropertyValue(
	Type propertyType
)

Parameters

propertyType
Type: SystemType

Return Value

Type: Object
Remarks
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