Example #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") ])
Example #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")
     ])
Example #3
0
 def test_client_MethodCallResultTargetVector(self):
     testVector(self, pyuaf.client.results.MethodCallResultTargetVector, [self.target0, self.target1])
 def test_client_MethodCallResultTargetVector(self):
     testVector(self, pyuaf.client.results.MethodCallResultTargetVector,
                [self.target0, self.target1])
Example #5
0
 def test_util_ApplicationDescriptionVector(self):
     testVector(self, pyuaf.util.ApplicationDescriptionVector, [self.desc0, self.desc1])
 def test_util_ReferenceDescriptionVector(self):
     testVector(self, pyuaf.util.ReferenceDescriptionVector, [self.desc0, self.desc1])
Example #7
0
 def test_client_DataChangeNotificationVector(self):
     testVector(self, pyuaf.client.DataChangeNotificationVector, [self.notif0, self.notif1])
Example #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])
 def test_util_ApplicationDescriptionVector(self):
     testVector(self, pyuaf.util.ApplicationDescriptionVector,
                [self.desc0, self.desc1])
Example #11
0
 def test_client_BrowseRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.BrowseNextRequestTargetVector, [self.target0, self.target1])
Example #12
0
 def test_util_QualifiedNameVector(self):
     testVector(self, pyuaf.util.QualifiedNameVector,
                [self.q0, self.q1, self.q2, self.q3])
Example #13
0
 def test_util_ModificationInfoVector(self):
     testVector(self, pyuaf.util.ModificationInfoVector, [self.mod0, self.mod1])
Example #14
0
 def test_client_DataChangeNotificationVector(self):
     testVector(self, pyuaf.client.DataChangeNotificationVector,
                [self.notif0, self.notif1])
Example #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])
Example #17
0
 def test_client_AsyncResultTargetVector(self):
     testVector(self, pyuaf.client.results.AsyncResultTargetVector,
                [self.target0, self.target1])
Example #18
0
 def test_client_SessionInformationVector(self):
     testVector(self, pyuaf.client.SessionInformationVector, [self.info0, self.info1])
Example #19
0
 def test_client_BrowseResultTargetVector(self):
     testVector(self, pyuaf.client.results.BrowseResultTargetVector,
                [self.target0, self.target1])
Example #20
0
 def test_util_UserTokenPolicyVector(self):
     testVector(self, pyuaf.util.UserTokenPolicyVector,
                [self.pol0, self.pol1])
 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])
Example #23
0
 def test_util_UserTokenPolicyVector(self):
     testVector(self, pyuaf.util.UserTokenPolicyVector, [self.pol0, self.pol1])
 def test_util_EndpointDescriptionVector(self):
     testVector(self, pyuaf.util.EndpointDescriptionVector,
                [self.desc0, self.desc1])
Example #25
0
 def test_util_EndpointDescriptionVector(self):
     testVector(self, pyuaf.util.EndpointDescriptionVector, [self.desc0, self.desc1])
Example #26
0
 def test_client_BrowseRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.BrowseNextRequestTargetVector,
                [self.target0, self.target1])
Example #27
0
 def test_util_StatusVector(self):
     testVector(self, pyuaf.util.StatusVector,
                [self.s0, self.s1, self.s2, self.s3, self.s4, self.s5])
Example #28
0
 def test_util_ModificationInfoVector(self):
     testVector(self, pyuaf.util.ModificationInfoVector,
                [self.mod0, self.mod1])
Example #29
0
 def test_client_AsyncResultTargetVector(self):
     testVector(self, pyuaf.client.results.AsyncResultTargetVector, [self.target0, self.target1])
Example #30
0
 def test_client_EventNotificationVector(self):
     testVector(self, pyuaf.client.EventNotificationVector, [self.notif0, self.notif1])
Example #31
0
 def test_util_QualifiedNameVector(self):
     testVector(self, pyuaf.util.QualifiedNameVector, [self.q0, self.q1, self.q2, self.q3])
Example #32
0
 def test_client_EventNotificationVector(self):
     testVector(self, pyuaf.client.EventNotificationVector,
                [self.notif0, self.notif1])
 def test_util_RelativePathElementVector(self):
     testVector(self, pyuaf.util.RelativePath, [self.r0, self.r1, self.r2])
Example #34
0
 def test_util_RelativePathElementVector(self):
     testVector(self, pyuaf.util.RelativePath, [self.r0, self.r1, self.r2])
Example #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])
Example #37
0
 def test_client_ReadRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.ReadRequestTargetVector, [self.target0, self.target1])
Example #38
0
 def test_util_DateTimeVector(self):
     testVector(self, pyuaf.util.DateTimeVector,
                [self.dt0, self.dt1, self.dt2, self.dt3])
Example #39
0
 def test_util_DateTimeVector(self):
     testVector(self, pyuaf.util.DateTimeVector, [self.dt0, self.dt1, self.dt2, self.dt3])
Example #40
0
 def test_client_SessionSecuritySettingsVector(self):
     testVector(self, pyuaf.client.settings.SessionSecuritySettingsVector, [self.info0, self.info1])
Example #41
0
 def test_client_WriteRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.WriteRequestTargetVector,
                [self.target0, self.target1])
 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]
     )
Example #45
0
 def test_client_TranslateBrowsePathsToNodeIdsRequestTargetVector(self):
     testVector(
         self, pyuaf.client.requests.
         TranslateBrowsePathsToNodeIdsRequestTargetVector,
         [self.target0, self.target1])
Example #46
0
 def test_client_HistoryReadRawModifiedResultTargetVector(self):
     testVector(
         self,
         pyuaf.client.results.HistoryReadRawModifiedResultTargetVector,
         [self.target0, self.target1])
Example #47
0
 def test_client_BrowseResultTargetVector(self):
     testVector(self, pyuaf.client.results.BrowseResultTargetVector, [self.target0, self.target1])
Example #48
0
 def test_util_StatusVector(self):
     testVector(self, pyuaf.util.StatusVector, [self.s0, self.s1, self.s2, self.s3, self.s4, self.s5])
Example #49
0
 def test_util_DataValueVector(self):
     testVector(self, pyuaf.util.DataValueVector, [self.d0, self.d1, self.d2, self.d3])
 def test_client_MonitoredItemInformationVector(self):
     testVector(self, pyuaf.client.MonitoredItemInformationVector,
                [self.info0, self.info1])
Example #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
     ])
Example #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])