Searched defs:assertIsInstance (Results 1 - 10 of 10) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/
H A Dtest_edge_data.py15 if not hasattr(unittest.TestCase, 'assertIsInstance'):
16 def assertIsInstance(self, value, types): member in class: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(nod
[all...]
H A Dtest_implies.py8 if not hasattr(unittest.TestCase, 'assertIsInstance'):
9 def assertIsInstance(self, object, types, message=None): member in class: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)
H A Dtest_pycompat_pkg.py12 if not hasattr(unittest.TestCase, 'assertIsInstance'):
13 def assertIsInstance(self, value, types): member in class: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(nod
[all...]
H A Dtest_explicit_packages.py11 if not hasattr(unittest.TestCase, 'assertIsInstance'):
12 def assertIsInstance(self, object, types, message=None): member in class: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)
H A Dtest_import_from_init.py74 if not hasattr(unittest.TestCase, 'assertIsInstance'):
75 def assertIsInstance(self, value, types): member in class: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(nod
[all...]
H A Dtest_relimport2.py12 if not hasattr(unittest.TestCase, 'assertIsInstance'):
13 def assertIsInstance(self, value, types): member in class:TestModuleGraphImport
30 self.assertIsInstance(n, modulegraph.MissingModule)
39 self.assertIsInstance(n, modulegraph.SourceModule)
42 self.assertIsInstance(n, modulegraph.SourceModule)
H A Dtest_pep420_nspkg.py85 if not hasattr(unittest.TestCase, 'assertIsInstance'):
86 def assertIsInstance(self, value, types): member in class: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)
192 if not hasattr(unittest.TestCase, 'assertIsInstance'):
193 def assertIsInstance(sel member in class:TestModuleGraphImport
[all...]
H A Dtest_setuptools_nspkg.py98 if not hasattr(unittest.TestCase, 'assertIsInstance'):
99 def assertIsInstance(self, value, types): member in class: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)
H A Dtest_imports.py94 if not hasattr(unittest.TestCase, 'assertIsInstance'):
95 def assertIsInstance(self, value, types): member in class: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(e
334 def assertIsInstance(self, value, types): member in class:TestRegressions1
363 def assertIsInstance(self, value, types): member in class:TestRegressions2
382 def assertIsInstance(self, value, types): member in class:TestRegressions3
417 def assertIsInstance(self, value, types): member in class:TestRegression4
443 def assertIsInstance(self, value, types): member in class:TestRegression5
[all...]
H A Dtest_modulegraph.py77 if not hasattr(unittest.TestCase, 'assertIsInstance'):
78 def assertIsInstance(self, obj, types): member in class:TestFunctions
162 self.assertIsInstance(content, bytes)
322 self.assertIsInstance(saved, dict)
341 self.assertIsInstance(saved, dict)
356 if not hasattr(unittest.TestCase, 'assertIsInstance'):
357 def assertIsInstance(self, obj, types): member in class:TestNode
361 self.assertIsInstance(n.debug, int)
515 if not hasattr(unittest.TestCase, 'assertIsInstance'):
516 def assertIsInstance(sel member in class:TestModuleGraph
[all...]

Completed in 143 milliseconds