示例#1
0
文件: variant.py 项目: geoffjay/uaf
 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") ])
示例#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")
     ])
示例#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])
示例#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])
示例#7
0
 def test_client_DataChangeNotificationVector(self):
     testVector(self, pyuaf.client.DataChangeNotificationVector, [self.notif0, self.notif1])
示例#8
0
文件: address.py 项目: GonzaloMMD/uaf
 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])
示例#11
0
 def test_client_BrowseRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.BrowseNextRequestTargetVector, [self.target0, self.target1])
示例#12
0
 def test_util_QualifiedNameVector(self):
     testVector(self, pyuaf.util.QualifiedNameVector,
                [self.q0, self.q1, self.q2, self.q3])
示例#13
0
 def test_util_ModificationInfoVector(self):
     testVector(self, pyuaf.util.ModificationInfoVector, [self.mod0, self.mod1])
示例#14
0
 def test_client_DataChangeNotificationVector(self):
     testVector(self, pyuaf.client.DataChangeNotificationVector,
                [self.notif0, self.notif1])
示例#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])
示例#17
0
 def test_client_AsyncResultTargetVector(self):
     testVector(self, pyuaf.client.results.AsyncResultTargetVector,
                [self.target0, self.target1])
示例#18
0
 def test_client_SessionInformationVector(self):
     testVector(self, pyuaf.client.SessionInformationVector, [self.info0, self.info1])
示例#19
0
 def test_client_BrowseResultTargetVector(self):
     testVector(self, pyuaf.client.results.BrowseResultTargetVector,
                [self.target0, self.target1])
示例#20
0
 def test_util_UserTokenPolicyVector(self):
     testVector(self, pyuaf.util.UserTokenPolicyVector,
                [self.pol0, self.pol1])
示例#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])
示例#23
0
 def test_util_UserTokenPolicyVector(self):
     testVector(self, pyuaf.util.UserTokenPolicyVector, [self.pol0, self.pol1])
示例#24
0
 def test_util_EndpointDescriptionVector(self):
     testVector(self, pyuaf.util.EndpointDescriptionVector,
                [self.desc0, self.desc1])
示例#25
0
 def test_util_EndpointDescriptionVector(self):
     testVector(self, pyuaf.util.EndpointDescriptionVector, [self.desc0, self.desc1])
示例#26
0
 def test_client_BrowseRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.BrowseNextRequestTargetVector,
                [self.target0, self.target1])
示例#27
0
 def test_util_StatusVector(self):
     testVector(self, pyuaf.util.StatusVector,
                [self.s0, self.s1, self.s2, self.s3, self.s4, self.s5])
示例#28
0
 def test_util_ModificationInfoVector(self):
     testVector(self, pyuaf.util.ModificationInfoVector,
                [self.mod0, self.mod1])
示例#29
0
 def test_client_AsyncResultTargetVector(self):
     testVector(self, pyuaf.client.results.AsyncResultTargetVector, [self.target0, self.target1])
示例#30
0
 def test_client_EventNotificationVector(self):
     testVector(self, pyuaf.client.EventNotificationVector, [self.notif0, self.notif1])
示例#31
0
 def test_util_QualifiedNameVector(self):
     testVector(self, pyuaf.util.QualifiedNameVector, [self.q0, self.q1, self.q2, self.q3])
示例#32
0
 def test_client_EventNotificationVector(self):
     testVector(self, pyuaf.client.EventNotificationVector,
                [self.notif0, self.notif1])
示例#33
0
 def test_util_RelativePathElementVector(self):
     testVector(self, pyuaf.util.RelativePath, [self.r0, self.r1, self.r2])
示例#34
0
 def test_util_RelativePathElementVector(self):
     testVector(self, pyuaf.util.RelativePath, [self.r0, self.r1, self.r2])
示例#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])
示例#37
0
 def test_client_ReadRequestTargetVector(self):
     testVector(self, pyuaf.client.requests.ReadRequestTargetVector, [self.target0, self.target1])
示例#38
0
 def test_util_DateTimeVector(self):
     testVector(self, pyuaf.util.DateTimeVector,
                [self.dt0, self.dt1, self.dt2, self.dt3])
示例#39
0
文件: datetime.py 项目: songqing/uaf
 def test_util_DateTimeVector(self):
     testVector(self, pyuaf.util.DateTimeVector, [self.dt0, self.dt1, self.dt2, self.dt3])
示例#40
0
 def test_client_SessionSecuritySettingsVector(self):
     testVector(self, pyuaf.client.settings.SessionSecuritySettingsVector, [self.info0, self.info1])
示例#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]
     )
示例#45
0
 def test_client_TranslateBrowsePathsToNodeIdsRequestTargetVector(self):
     testVector(
         self, pyuaf.client.requests.
         TranslateBrowsePathsToNodeIdsRequestTargetVector,
         [self.target0, self.target1])
示例#46
0
 def test_client_HistoryReadRawModifiedResultTargetVector(self):
     testVector(
         self,
         pyuaf.client.results.HistoryReadRawModifiedResultTargetVector,
         [self.target0, self.target1])
示例#47
0
 def test_client_BrowseResultTargetVector(self):
     testVector(self, pyuaf.client.results.BrowseResultTargetVector, [self.target0, self.target1])
示例#48
0
 def test_util_StatusVector(self):
     testVector(self, pyuaf.util.StatusVector, [self.s0, self.s1, self.s2, self.s3, self.s4, self.s5])
示例#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])
示例#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
     ])
示例#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])