summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/event/TestEvents.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-04-06 19:54:10 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-04-06 19:54:10 +0000
commit24086bc93b9489fb28eab1604d32c640f4bed464 (patch)
treeeaa229a2e3b32b8c4f1cd41e2c5641de18f360c3 /lldb/test/python_api/event/TestEvents.py
parente110fe4ac703985dfe7ed07d4784763a520696d7 (diff)
downloadbcm5719-llvm-24086bc93b9489fb28eab1604d32c640f4bed464.tar.gz
bcm5719-llvm-24086bc93b9489fb28eab1604d32c640f4bed464.zip
Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases.
Plus some minor cleanup of test method names. Third and final batch is coming. llvm-svn: 154197
Diffstat (limited to 'lldb/test/python_api/event/TestEvents.py')
-rw-r--r--lldb/test/python_api/event/TestEvents.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py
index f1243f29e32..a9a7edcbbfa 100644
--- a/lldb/test/python_api/event/TestEvents.py
+++ b/lldb/test/python_api/event/TestEvents.py
@@ -14,12 +14,14 @@ class EventAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_listen_for_and_print_event_with_dsym(self):
"""Exercise SBEvent API."""
self.buildDsym()
self.do_listen_for_and_print_event()
@python_api_test
+ @dwarf_test
def test_listen_for_and_print_event_with_dwarf(self):
"""Exercise SBEvent API."""
self.buildDwarf()
@@ -27,12 +29,14 @@ class EventAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_wait_for_event_with_dsym(self):
"""Exercise SBListener.WaitForEvent() API."""
self.buildDsym()
self.do_wait_for_event()
@python_api_test
+ @dwarf_test
def test_wait_for_event_with_dwarf(self):
"""Exercise SBListener.WaitForEvent() API."""
self.buildDwarf()
@@ -40,13 +44,15 @@ class EventAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
- def test_add_listener_to_broadcaster_dsym(self):
+ @dsym_test
+ def test_add_listener_to_broadcaster_with_dsym(self):
"""Exercise some SBBroadcaster APIs."""
self.buildDsym()
self.do_add_listener_to_broadcaster()
@python_api_test
- def test_add_listener_to_broadcaster_dwarf(self):
+ @dwarf_test
+ def test_add_listener_to_broadcaster_with_dwarf(self):
"""Exercise some SBBroadcaster APIs."""
self.buildDwarf()
self.do_add_listener_to_broadcaster()
OpenPOWER on IntegriCloud