C# Class Opc.Ua.ServerTest.WriteTest

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

Public Methods

Method Description
Run ( ServerTestCase testcase, int iteration ) : bool

Runs the test for all of the browse roots.

WriteTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System

Creates the test object.

Private Methods

Method Description
AddWriteBadValues ( TestVariable variable, WriteValueCollection nodesToWrite ) : void

Adds random values to write.

AddWriteValues ( TestVariable variable, WriteValueCollection nodesToWrite ) : void

Adds random values to write.

DoWriteBadTypeTest ( ) : bool

Reads an verifies all of the nodes.

DoWriteTest ( ) : bool

Reads an verifies all of the nodes.

Write ( WriteValueCollection nodesToWrite ) : bool

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

WriteBadValues ( WriteValueCollection nodesToWrite ) : bool

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

Method Details

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

WriteTest() public method

Creates the test object.
public WriteTest ( 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