Skip to content

Commit ba36e53

Browse files
committed
Add missing file ?!
1 parent f248043 commit ba36e53

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"""Test that the Objective-C syntax for dictionary/array literals and indexing works"""
2+
3+
import lldb
4+
from lldbsuite.test.decorators import *
5+
from lldbsuite.test.lldbtest import *
6+
from lldbsuite.test import lldbutil
7+
8+
9+
class ObjCNewSyntaxTest(TestBase):
10+
11+
mydir = TestBase.compute_mydir(__file__)
12+
13+
def runToBreakpoint(self):
14+
self.build()
15+
self.target, process, thread, bkpt = lldbutil.run_to_source_breakpoint(
16+
self, '// Set breakpoint 0 here.', lldb.SBFileSpec(
17+
'main.m', False))
18+
19+
# The stop reason of the thread should be breakpoint.
20+
self.expect(
21+
"thread list",
22+
STOPPED_DUE_TO_BREAKPOINT,
23+
substrs=['stopped', 'stop reason = breakpoint'])
24+
25+
# The breakpoint should have a hit count of 1.
26+
self.expect(
27+
"breakpoint list -f",
28+
BREAKPOINT_HIT_ONCE,
29+
substrs=[' resolved, hit count = 1'])

0 commit comments

Comments
 (0)