Home
last modified time | relevance | path

Searched refs:assertIsInstance (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/
Dtest_edge_data.py16 def assertIsInstance(self, value, types): member in TestEdgeData
29 self.assertIsInstance(script_node, modulegraph.Script)
33 self.assertIsInstance(node, modulegraph.SourceModule)
35 self.assertIsInstance(ed, modulegraph.DependencyInfo)
39 self.assertIsInstance(node, modulegraph.MissingModule)
41 self.assertIsInstance(ed, modulegraph.DependencyInfo)
45 self.assertIsInstance(node, modulegraph.SourceModule)
47 self.assertIsInstance(ed, modulegraph.DependencyInfo)
51 self.assertIsInstance(node, modulegraph.MissingModule)
53 self.assertIsInstance(ed, modulegraph.DependencyInfo)
[all …]
Dtest_imports.py95 def assertIsInstance(self, value, types): member in TestModuleGraphImport
112 self.assertIsInstance(n, modulegraph.Script)
121 self.assertIsInstance(ed, modulegraph.DependencyInfo)
135 self.assertIsInstance(n, modulegraph.SourceModule)
144 self.assertIsInstance(n, modulegraph.Package)
154 self.assertIsInstance(n, modulegraph.SourceModule)
158 self.assertIsInstance(ed, modulegraph.DependencyInfo)
165 self.assertIsInstance(n, modulegraph.SourceModule)
173 self.assertIsInstance(ed, modulegraph.DependencyInfo)
180 self.assertIsInstance(n, modulegraph.SourceModule)
[all …]
Dtest_pycompat_pkg.py13 def assertIsInstance(self, value, types): member in TestModuleGraphImport
25 self.assertIsInstance(node, modulegraph.Package)
28 self.assertIsInstance(node, modulegraph.SourceModule)
32 self.assertIsInstance(node, modulegraph.SourceModule)
35 self.assertIsInstance(node, modulegraph.InvalidSourceModule)
41 self.assertIsInstance(node, modulegraph.SourceModule)
45 self.assertIsInstance(node, modulegraph.InvalidSourceModule)
48 self.assertIsInstance(node, modulegraph.SourceModule)
51 self.assertIsInstance(node, modulegraph.SourceModule)
Dtest_import_from_init.py75 def assertIsInstance(self, value, types): member in TestModuleGraphImport
91 self.assertIsInstance(node, modulegraph.Package)
97 self.assertIsInstance(node, modulegraph.Package)
101 self.assertIsInstance(node, modulegraph.SourceModule)
105 self.assertIsInstance(node, modulegraph.SourceModule)
110 self.assertIsInstance(node, modulegraph.Package)
115 self.assertIsInstance(node, modulegraph.Package)
119 self.assertIsInstance(node, modulegraph.SourceModule)
123 self.assertIsInstance(node, modulegraph.SourceModule)
Dtest_implies.py9 def assertIsInstance(self, object, types, message=None): member in ImpliesTestCase
22 self.assertIsInstance(node, modulegraph.SourceModule)
34 self.assertIsInstance(node, modulegraph.SourceModule)
37 self.assertIsInstance(node, modulegraph.Extension)
52 self.assertIsInstance(node, modulegraph.SourceModule)
67 self.assertIsInstance(node, modulegraph.SourceModule)
70 self.assertIsInstance(node, modulegraph.Extension)
Dtest_explicit_packages.py12 def assertIsInstance(self, object, types, message=None): member in PackagesTestCase
28 self.assertIsInstance(node, modulegraph.Package)
31 self.assertIsInstance(node, modulegraph.SourceModule)
45 self.assertIsInstance(node, modulegraph.Package)
48 self.assertIsInstance(node, modulegraph.ExcludedModule)
Dtest_pep420_nspkg.py86 def assertIsInstance(self, value, types): member in TestModuleGraphImport
101 self.assertIsInstance(node, modulegraph.NamespacePackage)
109 self.assertIsInstance(node, modulegraph.SourceModule)
114 self.assertIsInstance(node, modulegraph.SourceModule)
121 self.assertIsInstance(node, modulegraph.SourceModule)
125 self.assertIsInstance(node, modulegraph.NamespacePackage)
129 self.assertIsInstance(node, modulegraph.SourceModule)
193 def assertIsInstance(self, value, types): member in TestModuleGraphImport
Dtest_relimport2.py13 def assertIsInstance(self, value, types): member in TestModuleGraphImport
30 self.assertIsInstance(n, modulegraph.MissingModule)
39 self.assertIsInstance(n, modulegraph.SourceModule)
42 self.assertIsInstance(n, modulegraph.SourceModule)
Dtest_setuptools_nspkg.py99 def assertIsInstance(self, value, types): member in TestModuleGraphImport
123 self.assertIsInstance(node, modulegraph.NamespacePackage)
131 self.assertIsInstance(node, modulegraph.SourceModule)
138 self.assertIsInstance(node, modulegraph.SourceModule)
143 self.assertIsInstance(node, modulegraph.NamespacePackage)
Dtest_modulegraph.py78 def assertIsInstance(self, obj, types): member in TestFunctions
162 self.assertIsInstance(content, bytes)
322 self.assertIsInstance(saved, dict)
341 self.assertIsInstance(saved, dict)
357 def assertIsInstance(self, obj, types): member in TestNode
361 self.assertIsInstance(n.debug, int)
516 def assertIsInstance(self, obj, types): member in TestModuleGraph
528 self.assertIsInstance(o.nspackages, dict)
633 self.assertIsInstance(node, modulegraph.Package)
707 self.assertIsInstance(n, modulegraph.MissingModule)
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors_unittest.py133 self.assertIsInstance(descriptor, UnknownDescriptor)
149 self.assertIsInstance(descriptor, FunctionalDescriptor)
179 self.assertIsInstance(descriptor, ConfigurationDescriptor)
180 self.assertIsInstance(descriptor, Descriptor)
194 self.assertIsInstance(descriptor, InterfaceAssociationDescriptor)
195 self.assertIsInstance(descriptor, Descriptor)
209 self.assertIsInstance(descriptor, InterfaceDescriptor)
210 self.assertIsInstance(descriptor, Descriptor)
225 self.assertIsInstance(descriptor, HeaderFunctionalDescriptor)
226 self.assertIsInstance(descriptor, FunctionalDescriptor)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/beanstalk/
Dtest_wrapper.py23 self.assertIsInstance(result, response.CheckDNSAvailabilityResponse,
45 self.assertIsInstance(app_result, response.CreateApplicationResponse)
50 self.assertIsInstance(version_result, response.CreateApplicationVersionResponse)
55 self.assertIsInstance(result, response.DeleteApplicationVersionResponse)
59 self.assertIsInstance(result, response.DeleteApplicationResponse)
66 self.assertIsInstance(
73 self.assertIsInstance(result, response.CreateStorageLocationResponse)
78 self.assertIsInstance(result, response.UpdateApplicationResponse)
86 self.assertIsInstance(
93 self.assertIsInstance(result, response.DescribeApplicationsResponse)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_connect_to_region.py41 self.assertIsInstance(connection, S3Connection)
47 self.assertIsInstance(connection, S3Connection)
53 self.assertIsInstance(connection, S3Connection)
58 self.assertIsInstance(connection, S3Connection)
64 self.assertIsInstance(connection, S3Connection)
70 self.assertIsInstance(connection, S3Connection)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/autoscale/
Dtest_connection.py56 self.assertIsInstance(group, AutoScalingGroup)
62 self.assertIsInstance(activity, Activity)
67 self.assertIsInstance(config, LaunchConfiguration)
72 self.assertIsInstance(policy, ScalingPolicy)
77 self.assertIsInstance(action, ScheduledUpdateGroupAction)
82 self.assertIsInstance(instance, Instance)
92 self.assertIsInstance(adjustment, AdjustmentType)
96 self.assertIsInstance(types, MetricCollectionTypes)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/rds/
Dtest_snapshot.py87 self.assertIsInstance(response[0], DBSnapshot)
138 self.assertIsInstance(response, DBSnapshot)
180 self.assertIsInstance(response, DBSnapshot)
221 self.assertIsInstance(response, DBSnapshot)
288 self.assertIsInstance(response, DBInstance)
/external/chromium-trace/catapult/perf_insights/perf_insights/
Dmap_single_trace_unittest.py64 self.assertIsInstance(f, map_single_trace.TraceImportFailure)
88 self.assertIsInstance(f, map_single_trace.MapFunctionFailure)
109 self.assertIsInstance(f, map_single_trace.FunctionLoadingFailure)
129 self.assertIsInstance(f, map_single_trace.FunctionNotDefinedFailure)
152 self.assertIsInstance(f, map_single_trace.NoResultsAddedFailure)
/external/chromium-trace/catapult/catapult_build/
Dbuild_steps_unittest.py19 self.assertIsInstance(test['name'], str, msg=(
30 self.assertIsInstance(test['additional_args'], list, msg=(
35 self.assertIsInstance(test['disabled'], list, msg=(
/external/chromium-trace/catapult/telemetry/telemetry/timeline/
Dcounter_unittest.py22 self.assertIsInstance(itr, types.GeneratorType)
48 self.assertIsInstance(events, types.GeneratorType)
60 self.assertIsInstance(events, types.GeneratorType)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/swf/
Dtest_layer2_domain.py49 self.assertIsInstance(activity_type, ActivityType)
68 self.assertIsInstance(workflow_type, WorkflowType)
109 self.assertIsInstance(wf_execution, WorkflowExecution)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/vpc/
Dtest_vpngateway.py52 self.assertIsInstance(api_response[0], VpnGateway)
85 self.assertIsInstance(api_response, VpnGateway)
138 self.assertIsInstance(api_response, Attachment)
Dtest_customergateway.py47 self.assertIsInstance(api_response[0], CustomerGateway)
82 self.assertIsInstance(api_response, CustomerGateway)
Dtest_subnet.py62 self.assertIsInstance(api_response[0], Subnet)
99 self.assertIsInstance(api_response, Subnet)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/opsworks/
Dtest_layer1.py50 self.assertIsInstance(response[0], RegionInfo)
54 self.assertIsInstance(connection, OpsWorksConnection)
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py67 self.assertIsInstance(file_desc1, descriptor.FileDescriptor)
74 self.assertIsInstance(file_desc2, descriptor.FileDescriptor)
86 self.assertIsInstance(file_desc1, descriptor.FileDescriptor)
94 self.assertIsInstance(file_desc2, descriptor.FileDescriptor)
107 self.assertIsInstance(msg1, descriptor.Descriptor)
128 self.assertIsInstance(msg2, descriptor.Descriptor)
192 self.assertIsInstance(enum1, descriptor.EnumDescriptor)
198 self.assertIsInstance(nested_enum1, descriptor.EnumDescriptor)
206 self.assertIsInstance(enum2, descriptor.EnumDescriptor)
212 self.assertIsInstance(nested_enum2, descriptor.EnumDescriptor)
/external/autotest/client/cros/cellular/
Dprologix_scpi_driver_test_noautorun.py44 self.assertIsInstance(ex.exception,
56 self.assertIsInstance(ex.exception,
67 self.assertIsInstance(ex.exception,

12