From e242624ca9ba9bea39e2a570817ccf3c1c2e84f2 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 18 Dec 2015 21:25:24 +0000 Subject: Add API to support retrieving the formatters category for a specific language llvm-svn: 256033 --- .../Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/packages/Python/lldbsuite/test/python_api') diff --git a/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py index 52aeaf848b2..de7f15f76fa 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py @@ -290,6 +290,8 @@ class SBFormattersAPITestCase(TestBase): self.expect("frame variable e1", substrs=["I am an empty Empty1 {}"]) self.expect("frame variable e2", substrs=["I am an empty Empty2"]) self.expect("frame variable e2", substrs=["I am an empty Empty2 {}"], matching=False) + + self.assertTrue(self.dbg.GetCategory(lldb.eLanguageTypeObjC) is not None, "ObjC category is None") @add_test_categories(['pyapi']) def test_force_synth_off(self): -- cgit v1.2.3