summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-10-14 00:56:28 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-10-14 00:56:28 +0000
commit4c3e1402477107b4810564d046b9835e53bbc429 (patch)
treeeed0b09f3bf7507c204393952819b4607761c243 /lldb/test/python_api
parenta273f58c7468ba2af775043a7b1af1a2c69189cf (diff)
downloadbcm5719-llvm-4c3e1402477107b4810564d046b9835e53bbc429.tar.gz
bcm5719-llvm-4c3e1402477107b4810564d046b9835e53bbc429.zip
Fix wrong docstring with respect to API usage.
llvm-svn: 141928
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py b/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
index 455a8c27483..cd2b79b0c7f 100644
--- a/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
+++ b/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
@@ -24,19 +24,19 @@ class SetWatchlocationAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
- def test_watch_val_with_dsym(self):
- """Exercise SBFrame.WatchLocation() API to set a watchpoint."""
+ def test_watch_location_with_dsym(self):
+ """Exercise SBValue.WatchPointee() API to set a watchpoint."""
self.buildDsym()
self.do_set_watchlocation()
@python_api_test
- def test_watch_val_with_dwarf(self):
- """Exercise SBFrame.WatchLocation() API to set a watchpoint."""
+ def test_watch_location_with_dwarf(self):
+ """Exercise SBValue.WatchPointee() API to set a watchpoint."""
self.buildDwarf()
self.do_set_watchlocation()
def do_set_watchlocation(self):
- """Use SBFrame.WatchLocation() to set a watchpoint and verify that the program stops later due to the watchpoint."""
+ """Use SBValue.WatchPointee() to set a watchpoint and verify that the program stops later due to the watchpoint."""
exe = os.path.join(os.getcwd(), "a.out")
# Create a target by the debugger.
OpenPOWER on IntegriCloud