예제 #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])
예제 #4
0
 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])
예제 #6
0
 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])
예제 #10
0
 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])
예제 #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]
     )
예제 #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
파일: status.py 프로젝트: arunvarghese/uaf
 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])