Lines Matching refs:self

15     def test_nonrunning_command_abbreviations (self):
16 self.expect("ap script",
25 self.runCmd("com a alias com al")
26 self.runCmd("alias gurp help")
27 self.expect("gurp target create",
29 self.runCmd("com u gurp")
30 self.expect("gurp",
35 self.expect("h",
40 self.runCmd("command alias t thread select")
41 self.addTearDownHook(cleanup)
44 self.runCmd("command unalias t")
45 self.expect("t",
50 self.expect("com sou ./change_prompt.lldb",
53 self.expect("settings show prompt",
57 self.runCmd("settings clear prompt")
58 self.expect("settings show prompt",
62 self.expect("lo li",
65 self.runCmd("se se prompt 'Sycamore> '")
66 self.expect("se sh prompt",
69 self.runCmd("se cl prompt")
70 self.expect("set sh prompt",
74 if not self.TraceOn():
75 self.HideStdout()
77 self.runCmd (r'''sc print "\n\n\tHello!\n"''')
82 def test_with_dsym (self):
83 self.buildDsym ()
84 self.running_abbreviations ()
87 def test_with_dwarf (self):
88 self.buildDwarf ()
89 self.running_abbreviations ()
91 def running_abbreviations (self):
93 self.expect("fil " + exe,
97 self.expect("_regexp-br product", matching=False,
100 match_object = lldbutil.run_break_set_command (self, "br s -n sum")
101 lldbutil.check_breakpoint_result (self, match_object, symbol_name='sum', symbol_match_exact=False, num_locations=1)
103 match_object = lldbutil.run_break_set_command (self, "br s -f main.cpp -l 32")
104 lldbutil.check_breakpoint_result (self, match_object, file_name='main.cpp', line_number=32, num_locations=1)
106 self.runCmd("br co a -s python 1 -o 'print frame'")
107 self.expect("br co l 1",
112 self.runCmd("br co del 1")
113 self.expect("breakpoint command list 1",
116 self.expect("br di",
119 self.expect("bre e",
122 self.expect("break list",
126 self.expect("br cl -l 32 -f main.cpp",
135 self.addTearDownHook(lambda: self.runCmd("process kill"))
136 self.expect("pro la",
139 self.expect("pro st",
148 if self.getArchitecture() in ["", 'x86_64', 'i386']:
149 self.expect("dis -f",
155 self.expect("i d l main.cpp",
158 self.expect("i d se",
161 self.expect("i d symf",
164 self.expect("i d symt",
168 self.expect("i li",