brintos

brintos / llvm-project-archived public Read only

0
0
Text · 661 B · 4c7620a Raw
21 lines · python
1from lldbsuite.test.decorators import *2from lldbsuite.test.lldbtest import *3from lldbsuite.test import lldbutil4 5 6class TestCase(TestBase):7    @skipIf  # rdar://problem/539310748    def test(self):9        self.build()10        target = self.createTestTarget()11        callee_break = target.BreakpointCreateByName(12            "SomeClass::SomeClass(ParamClass)", None13        )14        self.assertGreater(callee_break.GetNumLocations(), 0)15        self.runCmd("run", RUN_SUCCEEDED)16 17        to_complete = "e ParamClass"18        self.dbg.GetCommandInterpreter().HandleCompletion(19            to_complete, len(to_complete), 0, -1, lldb.SBStringList()20        )21