C# Class Opc.Ua.ServerTest.TranslatePathTest

Translates browse paths and verifies the results.
Inheritance: TestBase
Show file Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

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

Runs the test.

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

Creates the test object.

Private Methods

Method Description
AddMultiHopPaths ( Node node, Node baseNode, IList basePath, BrowsePathCollection pathsToTranslate, int hops ) : void

Adds a single hop path for all references for the node.

AddSingleHopPaths ( Node node, BrowsePathCollection pathsToTranslate ) : void

Adds a single hop path for all references for the node.

DoMultiHopTest ( int hops ) : bool

Reads an verifies all of the nodes.

GetRelativePath ( IList path ) : string

Formats the relative path of the string.

GetTargets ( Node start, IList path, int index, BrowsePathResult result ) : void

Recursively finds the targets of the specified path.

Translate ( BrowsePathCollection pathsToTranslate ) : bool

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

VerifyPaths ( Node node, BrowsePath request, BrowsePathResult result ) : bool

Verifies that the timestamps match the requested filter.

Method Details

Run() public method

Runs the test.
public Run ( ServerTestCase testcase, int iteration ) : bool
testcase ServerTestCase
iteration int
return bool

TranslatePathTest() public method

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