[Lldb-commits] [lldb] r131412 - /lldb/trunk/test/python_api/lldbutil/iter/TestLLDBIterator.py
Johnny Chen
johnny.chen at apple.com
Mon May 16 11:30:01 PDT 2011
Author: johnny
Date: Mon May 16 13:30:00 2011
New Revision: 131412
URL: http://llvm.org/viewvc/llvm-project?rev=131412&view=rev
Log:
Renamed the test cases more properly to test_lldb_iter_module/breakpoint/farme.
Modified:
lldb/trunk/test/python_api/lldbutil/iter/TestLLDBIterator.py
Modified: lldb/trunk/test/python_api/lldbutil/iter/TestLLDBIterator.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/lldbutil/iter/TestLLDBIterator.py?rev=131412&r1=131411&r2=131412&view=diff
==============================================================================
--- lldb/trunk/test/python_api/lldbutil/iter/TestLLDBIterator.py (original)
+++ lldb/trunk/test/python_api/lldbutil/iter/TestLLDBIterator.py Mon May 16 13:30:00 2011
@@ -19,22 +19,22 @@
self.line1 = line_number('main.cpp', '// Set break point at this line.')
self.line2 = line_number('main.cpp', '// And that line.')
- def test_lldb_iter_1(self):
+ def test_lldb_iter_module(self):
"""Test module_iter works correctly for SBTarget -> SBModule."""
self.buildDefault()
- self.lldb_iter_1()
+ self.lldb_iter_module()
- def test_lldb_iter_2(self):
+ def test_lldb_iter_breakpoint(self):
"""Test breakpoint_iter works correctly for SBTarget -> SBBreakpoint."""
self.buildDefault()
- self.lldb_iter_2()
+ self.lldb_iter_breakpoint()
- def test_lldb_iter_3(self):
+ def test_lldb_iter_frame(self):
"""Test iterator works correctly for SBProcess->SBThread->SBFrame."""
self.buildDefault()
- self.lldb_iter_3()
+ self.lldb_iter_frame()
- def lldb_iter_1(self):
+ def lldb_iter_module(self):
exe = os.path.join(os.getcwd(), "a.out")
target = self.dbg.CreateTarget(exe)
@@ -66,7 +66,7 @@
self.assertTrue(yours[i] == mine[i],
"UUID+FileSpec of yours[{0}] and mine[{0}] matches".format(i))
- def lldb_iter_2(self):
+ def lldb_iter_breakpoint(self):
exe = os.path.join(os.getcwd(), "a.out")
target = self.dbg.CreateTarget(exe)
@@ -95,7 +95,7 @@
self.assertTrue(yours[i] == mine[i],
"ID of yours[{0}] and mine[{0}] matches".format(i))
- def lldb_iter_3(self):
+ def lldb_iter_frame(self):
exe = os.path.join(os.getcwd(), "a.out")
target = self.dbg.CreateTarget(exe)
More information about the lldb-commits
mailing list