Méthode | Description | |
---|---|---|
Run ( ServerTestCase testcase, int iteration ) : bool |
Runs the test case.
|
|
TestBase ( string name, |
Initializes the test with session, configuration and logger.
|
Méthode | Description | |
---|---|---|
Browse ( Node node, BrowseDescription nodeToBrowse, ReferenceDescriptionCollection references ) : bool |
Browses the node and returns the references found.
|
|
CalculateInterval ( System.DateTime start, System.DateTime end ) : double |
Calculates the difference between the two times in milliseconds.
|
|
CheckCoverage ( int &count ) : bool |
Returns true if current node should be included in the test.
|
|
GetNodesInHierarchy ( ) : bool |
Collects all of the nodes in the hierarchies specified in the configuration file.
|
|
GetWriteableVariablesInHierarchy ( ) : bool |
Collects all of the nodes in the hierarchies specified in the configuration file.
|
|
LockServer ( ) : void |
Locks the server.
|
|
Log ( |
Logs a message.
|
|
Log ( string format ) : void |
Logs a message.
|
|
ReportProgress ( double position ) : void |
Reports progress.
|
|
SetAttributeValue ( Node node, uint attributeId, object attributeValue ) : bool |
Stores the attribute value in the object.
|
|
UnlockServer ( ) : void |
Unlocks the server.
|
|
VerifyAttributeConsistency ( Node node ) : bool |
Verifies that the node attributes are consistent with each other.
|
|
VerifyBadAttribute ( Node node, uint attributeId, StatusCode error ) : bool |
Verifies an error returned during an attribute read.
|
|
VerifyGoodAttribute ( Node node, uint attributeId, DataValue value ) : bool |
Verifies the value returned during an attribute read.
|
|
VerifyTimestamps ( Node node, uint attributeId, TimestampsToReturn timestampsToReturn, DataValue value ) : bool |
Verifies that the timestamps match the requested filter.
|
Méthode | Description | |
---|---|---|
Browse ( Node node, double start, double range ) : bool |
Browses the node and verifies the results.
|
|
CollectVariables ( INode parent, List |
Recursively collects the child variables.
|
|
CoverageToModulus ( uint coverage ) : int |
Converts a percentage test converage to a modulus.
|
|
VerifyVariableBaseConsistency ( IVariableBase node ) : bool |
Verifies that the variable or variable type attributes are consistent with each other.
|
|
VerifyVariableConsistency ( IVariable node ) : bool |
Verifies that the variable attributes are consistent with each other.
|
|
VerifyVariableTypeConsistency ( IVariableType node ) : bool |
Verifies that the variable type attributes are consistent with each other.
|
protected Browse ( Node node, BrowseDescription nodeToBrowse, ReferenceDescriptionCollection references ) : bool | ||
node | Node | |
nodeToBrowse | BrowseDescription | |
references | ReferenceDescriptionCollection | |
Résultat | bool |
protected CalculateInterval ( System.DateTime start, System.DateTime end ) : double | ||
start | System.DateTime | |
end | System.DateTime | |
Résultat | double |
protected CheckCoverage ( int &count ) : bool | ||
count | int | |
Résultat | bool |
protected GetWriteableVariablesInHierarchy ( ) : bool | ||
Résultat | bool |
protected Log ( |
||
e | ||
format | string | |
Résultat | void |
protected ReportProgress ( double position ) : void | ||
position | double | |
Résultat | void |
public Run ( ServerTestCase testcase, int iteration ) : bool | ||
testcase | ServerTestCase | |
iteration | int | |
Résultat | bool |
protected SetAttributeValue ( Node node, uint attributeId, object attributeValue ) : bool | ||
node | Node | |
attributeId | uint | |
attributeValue | object | |
Résultat | bool |
public TestBase ( string name, |
||
name | string | |
session | ||
configuration | ServerTestConfiguration | |
reportMessage | ReportMessageEventHandler | |
reportProgress | ReportProgressEventHandler | |
template | TestBase | |
Résultat | System |
protected VerifyAttributeConsistency ( Node node ) : bool | ||
node | Node | |
Résultat | bool |
protected VerifyBadAttribute ( Node node, uint attributeId, StatusCode error ) : bool | ||
node | Node | |
attributeId | uint | |
error | StatusCode | |
Résultat | bool |
protected VerifyGoodAttribute ( Node node, uint attributeId, DataValue value ) : bool | ||
node | Node | |
attributeId | uint | |
value | DataValue | |
Résultat | bool |
protected VerifyTimestamps ( Node node, uint attributeId, TimestampsToReturn timestampsToReturn, DataValue value ) : bool | ||
node | Node | |
attributeId | uint | |
timestampsToReturn | TimestampsToReturn | |
value | DataValue | |
Résultat | bool |