C# Class Opc.Ua.ServerTest.BrowseTest

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

Public Methods

Method Description
BrowseTest ( 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.

Protected Methods

Method Description
Browse ( Node node, BrowseDescription nodeToBrowse, ReferenceDescriptionCollection references ) : bool

Browses the node and verifies the results.

Private Methods

Method Description
AddNodeClassTest ( Node node, NodeClass nodeClassMask, List nodes, BrowseDescriptionCollection nodesToBrowse, List references, bool clearLists ) : void

Creates a browse description for a node class test.

AddReferenceTypeTest ( Node node, NodeId referenceTypeId, bool isInverse, bool includeSubtypes, List nodes, BrowseDescriptionCollection nodesToBrowse, List references, bool clearLists ) : void

Creates a browse description for a node class test.

Browse ( List nodes, BrowseDescriptionCollection nodesToBrowse, List references ) : bool

Browses the node and verifies the results.

DoBrowseNextTest ( ) : bool

Verifies that the server does no ignore the NodeClass filter.

DoBrowseResultMaskTest ( ) : bool

Verifies that the server does no ignore the BrowseResultMask.

DoNodeClassTest ( ) : bool

Verifies that the server does no ignore the NodeClass filter.

DoReferenceTypeTest ( ) : bool

Verifies that the server does no ignore the NodeClass filter.

VerifyFilterResults ( Node node, BrowseDescription description, ReferenceDescriptionCollection actualList ) : bool

Verifies the results of a browse filter.

VerifyIsForward ( Node node, BrowseDescription description, ReferenceDescription reference ) : bool

Verifies the isforward flag.

VerifyReferenceTypeId ( Node node, BrowseDescription description, ReferenceDescription reference ) : bool

Verifies the reference type id.

VerifyReferences ( Node node, BrowseDescription description, ReferenceDescriptionCollection references ) : bool

Verifies the references returned for a node.

VerifyTargetAttributes ( Node node, BrowseDescription description, ReferenceDescriptionCollection references ) : bool

Reads the attribute values in order to compare them to the returned results.

VerifyTargetId ( Node node, BrowseDescription description, ReferenceDescription reference ) : bool

Verifies the target.

VerifyTypeDefinitions ( Node node, BrowseDescription description, ReferenceDescriptionCollection references ) : bool

Reads the attribute values in order to compare them to the returned results.

Method Details

Browse() protected method

Browses the node and verifies the results.
protected Browse ( Node node, BrowseDescription nodeToBrowse, ReferenceDescriptionCollection references ) : bool
node Node
nodeToBrowse BrowseDescription
references ReferenceDescriptionCollection
return bool

BrowseTest() public method

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