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'))
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'))
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'))