FormFix v6.0 for .NET - Updated
ConstructTestDataItems Method (FormModel)



Accusoft.FormFixSdk Namespace > FormModel Class : ConstructTestDataItems Method
A number which this method will place into various data items.
This method is deprecated. Creates test data items in preparation for a more extensive test.
Syntax
'Declaration
 
<ObsoleteAttribute("This method is deprecated. It is not required for testing that your data item event handlers can store large data items, small data items, and multiple data items. It also not required for testing that your event handlers overwrite an existing data item of the same type.")>
Public Sub ConstructTestDataItems( _
   ByVal uniqueIdentifier As Integer _
) 
'Usage
 
Dim instance As FormModel
Dim uniqueIdentifier As Integer
 
instance.ConstructTestDataItems(uniqueIdentifier)
[Obsolete("This method is deprecated. It is not required for testing that your data item event handlers can store large data items, small data items, and multiple data items. It also not required for testing that your event handlers overwrite an existing data item of the same type.")]
public void ConstructTestDataItems( 
   int uniqueIdentifier
)
[Obsolete("This method is deprecated. It is not required for testing that your data item event handlers can store large data items, small data items, and multiple data items. It also not required for testing that your event handlers overwrite an existing data item of the same type.")]
public:
void ConstructTestDataItems( 
   int uniqueIdentifier
) 

Parameters

uniqueIdentifier
A number which this method will place into various data items.
Remarks

This method is deprecated.

This method creates various data items, raising the WriteDataItem event for each one, to test various aspects of data item storage. After you call this method, you should call the VerifyTestDataItems method to verify that your data item event handlers store and retrieve data items correctly.

This is a more extensive test than TestReadDataItemEvent and TestWriteDataItemEvent. It verifies that your data item event handlers can store large data items, small data items, and multiple data items. It also verifies that your event handlers overwrite an existing data item of the same type. Most of the data items that this method creates will include the uniqueIdentifier you provide. You must provide that same number to the VerifyTestDataItems method so it can test the content of the data items it reads. Some of the data items will include Unicode characters outside of the 0-255 common range.

For an even more extensive test, see the IdentificationProcessor.ConstructTestDataItems method.

See Also

Reference

FormModel Class
FormModel Members
VerifyTestDataItems Method
TestReadDataItemEvent Method
TestWriteDataItemEvent Method

Is this page helpful?
Yes No
Thanks for your feedback.