summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-12-21 19:52:54 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-12-21 19:52:54 +0000
commit3635eae697ad4cfa8132f1cc904fe9138cb0f399 (patch)
treeea3e7653f2c9ab2b0028d982e39180779366eb32 /lldb/test/python_api
parent9246b6830a468d9d0a0925eae168543b8d603e29 (diff)
downloadbcm5719-llvm-3635eae697ad4cfa8132f1cc904fe9138cb0f399.tar.gz
bcm5719-llvm-3635eae697ad4cfa8132f1cc904fe9138cb0f399.zip
Rename the test methods to be more meaningful.
llvm-svn: 122352
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/event/TestEvents.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py
index 77de0f93ce5..2598b92e566 100644
--- a/lldb/test/python_api/event/TestEvents.py
+++ b/lldb/test/python_api/event/TestEvents.py
@@ -14,16 +14,16 @@ class EventAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
- def test_with_dsym(self):
- """Exercise SBEvent APIs."""
+ def test_wait_for_event_with_dsym(self):
+ """Exercise SBListener.WaitForEvent() APIs."""
self.buildDsym()
- self.do_events()
+ self.do_wait_for_event()
@python_api_test
- def test_with_dwarf(self):
- """Exercise SBEvent APIs."""
+ def test_wait_for_event_with_dwarf(self):
+ """Exercise SBListener.WaitForEvent() APIs."""
self.buildDwarf()
- self.do_events()
+ self.do_wait_for_event()
def setUp(self):
# Call super's setUp().
@@ -31,8 +31,8 @@ class EventAPITestCase(TestBase):
# Find the line number to of function 'c'.
self.line = line_number('main.c', '// Find the line number of function "c" here.')
- def do_events(self):
- """Get the listener associated with the debugger and exercise some event APIs."""
+ def do_wait_for_event(self):
+ """Get the listener associated with the debugger and exercise WaitForEvent API."""
exe = os.path.join(os.getcwd(), "a.out")
# Create a target by the debugger.
OpenPOWER on IntegriCloud