ArcFM Desktop Developer Guide
TestExecute Method


A way to unit test a handler independently of a pipeline. This method is intended for testing only. For production, override Execute, and call Process.
Syntax
'Declaration
 
Public Function TestExecute( _
   ByVal scope As T_Scope, _
   ByVal childResult As T_ChildResult _
) As T_Result
'Usage
 
Dim instance As Handler(Of T_Scope,T_ChildScope,T_ChildResult,T_Result)
Dim scope As T_Scope
Dim childResult As T_ChildResult
Dim value As T_Result
 
value = instance.TestExecute(scope, childResult)
public T_Result TestExecute( 
   T_Scope scope,
   T_ChildResult childResult
)

Parameters

scope
childResult
Remarks
calls Execute: return Execute(scope, childResult);
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Handler<T_Scope,T_ChildScope,T_ChildResult,T_Result> Class
Handler<T_Scope,T_ChildScope,T_ChildResult,T_Result> Members

 

 


Send Comment