diff options
author | Enrico Granata <egranata@apple.com> | 2015-12-18 21:25:24 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-12-18 21:25:24 +0000 |
commit | e242624ca9ba9bea39e2a570817ccf3c1c2e84f2 (patch) | |
tree | 3e73f2dac6d30fc38c184f1fe4ac636ed735b352 /lldb/packages/Python/lldbsuite/test/python_api/formatters | |
parent | 708a91a10366f0aa8f2b3912dd8e047ca1a66e5b (diff) | |
download | bcm5719-llvm-e242624ca9ba9bea39e2a570817ccf3c1c2e84f2.tar.gz bcm5719-llvm-e242624ca9ba9bea39e2a570817ccf3c1c2e84f2.zip |
Add API to support retrieving the formatters category for a specific language
llvm-svn: 256033
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/formatters')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |