C# Class Opc.Ua.ServerTest.CallTest

Browses all of the nodes in the hierarchies.
Inheritance: TestBase
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
CallTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System

Creates the test object.

Run ( ServerTestCase testcase, int iteration ) : bool

Runs the test for all of the browse roots.

Private Methods

Method Description
AddMethodCall ( TestMethod method, CallMethodRequestCollection methodsToCall, bool testErrors ) : void

Adds random parameters

Call ( CallMethodRequestCollection methodsToCall ) : bool

Reads the attributes, verifies the results and updates the nodes.

CollectMethods ( Node node, bool testErrors, List methods ) : bool

Collects the child methods of a Node.

DoCallTest ( bool testErrors ) : bool

Reads an verifies all of the nodes.

Method Details

CallTest() public method

Creates the test object.
public CallTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System
session Opc.Ua.Client.Session
configuration ServerTestConfiguration
reportMessage ReportMessageEventHandler
reportProgress ReportProgressEventHandler
template TestBase
return System

Run() public method

Runs the test for all of the browse roots.
public Run ( ServerTestCase testcase, int iteration ) : bool
testcase ServerTestCase
iteration int
return bool