コード例 #1
0
 def test_class_is_interesting_negative(self):
     """Tests that the helper ignores a non-Chromium class name."""
     self.assertFalse(
         generate_json_dependency_graph.class_is_interesting(
             'org.notchromium.chrome.browser.Foo'))
コード例 #2
0
 def test_class_is_interesting_not_interesting(self):
     """Tests that the helper ignores a builtin class name."""
     self.assertFalse(
         generate_json_dependency_graph.class_is_interesting(
             'java.lang.Object'))
コード例 #3
0
 def test_class_is_interesting_longer(self):
     """Tests that the helper identifies a valid Chromium class name."""
     self.assertTrue(
         generate_json_dependency_graph.class_is_interesting(
             'org.chromium.chrome.browser.foo.Bar'))