Skip to content
Snippets Groups Projects
Commit e98f7f2c authored by Johnny Chen's avatar Johnny Chen
Browse files

Recent change to SBSymbolContextList (r133498) makes the default constructor return

a valid SB API object.  Modify the test case to accommodate.

llvm-svn: 133602
parent 6b0feb7e
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@
Test lldb Python API object's default constructor and make sure it is invalid
after initial construction.
There are two exceptions to the above general rules, though; the API objects are
SBCommadnReturnObject and SBStream.
There are three exceptions to the above general rules, though; the API objects are
SBCommadnReturnObject, SBStream, and SBSymbolContextList.
"""
import os, time
......@@ -198,7 +198,7 @@ class APIDefaultConstructorTestCase(TestBase):
obj = lldb.SBSymbolContextList()
if self.TraceOn():
print obj
self.assertFalse(obj)
self.assertTrue(obj)
@python_api_test
def test_SBTarget(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment