Ejemplo n.º 1
0
 def test_util_VariantVector(self):
     testVector(self, pyuaf.util.VariantVector, [ pyuaf.util.primitives.UInt64(123132),
                                                  pyuaf.util.primitives.ByteString(bytearray("\01\02\03")),
                                                  pyuaf.util.primitives.Double(1.2345),
                                                  pyuaf.util.primitives.String("s"),
                                                  pyuaf.util.NodeId("id", 3),
                                                  pyuaf.util.NodeId("id", "uri"),
                                                  pyuaf.util.NodeId("id", "uri", 3),
                                                  pyuaf.util.ExpandedNodeId("id", 4, 5),
                                                  pyuaf.util.ExpandedNodeId("id", "uri", 5),
                                                  pyuaf.util.ExpandedNodeId("id", "nsUri", "svrUri"),
                                                  pyuaf.util.DateTime(124567.8),
                                                  pyuaf.util.QualifiedName("name", 34),
                                                  pyuaf.util.QualifiedName("name", "uri"),
                                                  pyuaf.util.QualifiedName("name", "uri", 34),
                                                  pyuaf.util.LocalizedText("en", "text") ])
Ejemplo n.º 2
0
 def test_util_VariantVector(self):
     testVector(self, pyuaf.util.VariantVector, [
         pyuaf.util.primitives.UInt64(123132),
         pyuaf.util.primitives.ByteString(bytearray("\01\02\03")),
         pyuaf.util.primitives.Double(1.2345),
         pyuaf.util.primitives.String("s"),
         pyuaf.util.NodeId("id", 3),
         pyuaf.util.NodeId("id", "uri"),
         pyuaf.util.NodeId("id", "uri", 3),
         pyuaf.util.ExpandedNodeId("id", 4, 5),
         pyuaf.util.ExpandedNodeId("id", "uri", 5),
         pyuaf.util.ExpandedNodeId("id", "nsUri", "svrUri"),
         pyuaf.util.DateTime(124567.8),
         pyuaf.util.QualifiedName("name", 34),
         pyuaf.util.QualifiedName("name", "uri"),
         pyuaf.util.QualifiedName("name", "uri", 34),
         pyuaf.util.LocalizedText("en", "text")
     ])
Ejemplo n.º 3
0
 def test_client_MethodCallResultTargetVector(self):
     testVector(self, pyuaf.client.results.MethodCallResultTargetVector, [self.target0, self.target1])
Ejemplo n.º 4
0
 def test_client_MethodCallResultTargetVector(self):
     testVector(self, pyuaf.client.results.MethodCallResultTargetVector,
                [self.target0, self.target1])
Ejemplo n.º 5
0
 def test_util_ApplicationDescriptionVector(self):
     testVector(self, pyuaf.util.ApplicationDescriptionVector, [self.desc0, self.desc1])
Ejemplo n.º 6
0
 def test_util_ReferenceDescriptionVector(self):
     testVector(self, pyuaf.util.ReferenceDescriptionVector, [self.desc0, self.desc1])
Ejemplo n.º 7
0
 def test_client_DataChangeNotificationVector(self):
     testVector(self, pyuaf.client.DataChangeNotificationVector, [self.notif0, self.notif1])
Ejemplo n.º 8
0
 def test_util_AddressVector(self):
     testVector(self, pyuaf.util.AddressVector, [self.a0, self.a1, self.a2, self.a3])
 def test_client_CreateMonitoredEventsRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.CreateMonitoredEventsRequestTargetVector, [self.target0, self.target1])
Ejemplo n.º 10
0
 def test_util_ApplicationDescriptionVector(self):
     testVector(self, pyuaf.util.ApplicationDescriptionVector,
                [self.desc0, self.desc1])
Ejemplo n.º 11
0
 def test_client_BrowseRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.BrowseNextRequestTargetVector, [self.target0, self.target1])
Ejemplo n.º 12
0
 def test_util_QualifiedNameVector(self):
     testVector(self, pyuaf.util.QualifiedNameVector,
                [self.q0, self.q1, self.q2, self.q3])
Ejemplo n.º 13
0
 def test_util_ModificationInfoVector(self):
     testVector(self, pyuaf.util.ModificationInfoVector, [self.mod0, self.mod1])
Ejemplo n.º 14
0
 def test_client_DataChangeNotificationVector(self):
     testVector(self, pyuaf.client.DataChangeNotificationVector,
                [self.notif0, self.notif1])
Ejemplo n.º 15
0
 def test_util_AddressVector(self):
     testVector(self, pyuaf.util.AddressVector,
                [self.a0, self.a1, self.a2, self.a3])
 def test_client_CreateMonitoredDataResultTargetVector(self):
     testVector(self,
                pyuaf.client.results.CreateMonitoredDataResultTargetVector,
                [self.target0, self.target1])
Ejemplo n.º 17
0
 def test_client_AsyncResultTargetVector(self):
     testVector(self, pyuaf.client.results.AsyncResultTargetVector,
                [self.target0, self.target1])
Ejemplo n.º 18
0
 def test_client_SessionInformationVector(self):
     testVector(self, pyuaf.client.SessionInformationVector, [self.info0, self.info1])
Ejemplo n.º 19
0
 def test_client_BrowseResultTargetVector(self):
     testVector(self, pyuaf.client.results.BrowseResultTargetVector,
                [self.target0, self.target1])
Ejemplo n.º 20
0
 def test_util_UserTokenPolicyVector(self):
     testVector(self, pyuaf.util.UserTokenPolicyVector,
                [self.pol0, self.pol1])
Ejemplo n.º 21
0
 def test_client_MonitoredItemInformationVector(self):
     testVector(self, pyuaf.client.MonitoredItemInformationVector, [self.info0, self.info1])
 def test_client_CreateMonitoredEventsRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.CreateMonitoredEventsRequestTargetVector, [self.target0, self.target1])
Ejemplo n.º 23
0
 def test_util_UserTokenPolicyVector(self):
     testVector(self, pyuaf.util.UserTokenPolicyVector, [self.pol0, self.pol1])
Ejemplo n.º 24
0
 def test_util_EndpointDescriptionVector(self):
     testVector(self, pyuaf.util.EndpointDescriptionVector,
                [self.desc0, self.desc1])
Ejemplo n.º 25
0
 def test_util_EndpointDescriptionVector(self):
     testVector(self, pyuaf.util.EndpointDescriptionVector, [self.desc0, self.desc1])
Ejemplo n.º 26
0
 def test_client_BrowseRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.BrowseNextRequestTargetVector,
                [self.target0, self.target1])
Ejemplo n.º 27
0
 def test_util_StatusVector(self):
     testVector(self, pyuaf.util.StatusVector,
                [self.s0, self.s1, self.s2, self.s3, self.s4, self.s5])
Ejemplo n.º 28
0
 def test_util_ModificationInfoVector(self):
     testVector(self, pyuaf.util.ModificationInfoVector,
                [self.mod0, self.mod1])
Ejemplo n.º 29
0
 def test_client_AsyncResultTargetVector(self):
     testVector(self, pyuaf.client.results.AsyncResultTargetVector, [self.target0, self.target1])
Ejemplo n.º 30
0
 def test_client_EventNotificationVector(self):
     testVector(self, pyuaf.client.EventNotificationVector, [self.notif0, self.notif1])
Ejemplo n.º 31
0
 def test_util_QualifiedNameVector(self):
     testVector(self, pyuaf.util.QualifiedNameVector, [self.q0, self.q1, self.q2, self.q3])
Ejemplo n.º 32
0
 def test_client_EventNotificationVector(self):
     testVector(self, pyuaf.client.EventNotificationVector,
                [self.notif0, self.notif1])
Ejemplo n.º 33
0
 def test_util_RelativePathElementVector(self):
     testVector(self, pyuaf.util.RelativePath, [self.r0, self.r1, self.r2])
Ejemplo n.º 34
0
 def test_util_RelativePathElementVector(self):
     testVector(self, pyuaf.util.RelativePath, [self.r0, self.r1, self.r2])
Ejemplo n.º 35
0
 def test_util_SimpleAttributeOperandVector(self):
     testVector(self, pyuaf.util.SimpleAttributeOperandVector, [self.op0, self.op1])
 def test_client_HistoryReadRawModifiedResultTargetVector(self):
     testVector(self, pyuaf.client.results.HistoryReadRawModifiedResultTargetVector, [self.target0, self.target1])
Ejemplo n.º 37
0
 def test_client_ReadRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.ReadRequestTargetVector, [self.target0, self.target1])
Ejemplo n.º 38
0
 def test_util_DateTimeVector(self):
     testVector(self, pyuaf.util.DateTimeVector,
                [self.dt0, self.dt1, self.dt2, self.dt3])
Ejemplo n.º 39
0
 def test_util_DateTimeVector(self):
     testVector(self, pyuaf.util.DateTimeVector, [self.dt0, self.dt1, self.dt2, self.dt3])
Ejemplo n.º 40
0
 def test_client_SessionSecuritySettingsVector(self):
     testVector(self, pyuaf.client.settings.SessionSecuritySettingsVector, [self.info0, self.info1])
Ejemplo n.º 41
0
 def test_client_WriteRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.WriteRequestTargetVector,
                [self.target0, self.target1])
Ejemplo n.º 42
0
 def test_util_SimpleAttributeOperandVector(self):
     testVector(self, pyuaf.util.SimpleAttributeOperandVector,
                [self.op0, self.op1])
 def test_client_CreateMonitoredDataResultTargetVector(self):
     testVector(self, pyuaf.client.results.CreateMonitoredDataResultTargetVector, [self.target0, self.target1])
 def test_client_TranslateBrowsePathsToNodeIdsRequestTargetVector(self):
     testVector(
         self, pyuaf.client.requests.TranslateBrowsePathsToNodeIdsRequestTargetVector, [self.target0, self.target1]
     )
Ejemplo n.º 45
0
 def test_client_TranslateBrowsePathsToNodeIdsRequestTargetVector(self):
     testVector(
         self, pyuaf.client.requests.
         TranslateBrowsePathsToNodeIdsRequestTargetVector,
         [self.target0, self.target1])
Ejemplo n.º 46
0
 def test_client_HistoryReadRawModifiedResultTargetVector(self):
     testVector(
         self,
         pyuaf.client.results.HistoryReadRawModifiedResultTargetVector,
         [self.target0, self.target1])
Ejemplo n.º 47
0
 def test_client_BrowseResultTargetVector(self):
     testVector(self, pyuaf.client.results.BrowseResultTargetVector, [self.target0, self.target1])
Ejemplo n.º 48
0
 def test_util_StatusVector(self):
     testVector(self, pyuaf.util.StatusVector, [self.s0, self.s1, self.s2, self.s3, self.s4, self.s5])
Ejemplo n.º 49
0
 def test_util_DataValueVector(self):
     testVector(self, pyuaf.util.DataValueVector, [self.d0, self.d1, self.d2, self.d3])
Ejemplo n.º 50
0
 def test_client_MonitoredItemInformationVector(self):
     testVector(self, pyuaf.client.MonitoredItemInformationVector,
                [self.info0, self.info1])
Ejemplo n.º 51
0
 def test_util_ExpandedNodeIdVector(self):
     testVector(self, pyuaf.util.ExpandedNodeIdVector, [
         self.n0, self.n1, self.n2, self.n3, self.n4, self.n5, self.n6,
         self.n7, self.n8, self.n9, self.n10
     ])
Ejemplo n.º 52
0
 def test_util_ExpandedNodeIdVector(self):
     testVector(self, 
                pyuaf.util.ExpandedNodeIdVector, 
                [self.n0, self.n1, self.n2, self.n3, self.n4, self.n5, self.n6, self.n7, self.n8, self.n9, self.n10])