[Lldb-commits] [lldb] r141928 - /lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py

Johnny Chen johnny.chen at apple.com
Thu Oct 13 17:56:28 PDT 2011


Author: johnny
Date: Thu Oct 13 19:56:28 2011
New Revision: 141928

URL: http://llvm.org/viewvc/llvm-project?rev=141928&view=rev
Log:
Fix wrong docstring with respect to API usage.

Modified:
    lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py

Modified: lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py?rev=141928&r1=141927&r2=141928&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py (original)
+++ lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py Thu Oct 13 19:56:28 2011
@@ -24,19 +24,19 @@
 
     @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.





More information about the lldb-commits mailing list