[Lldb-commits] [lldb] r116874 - /lldb/trunk/test/lldbtest.py

Johnny Chen johnny.chen at apple.com
Tue Oct 19 15:45:25 PDT 2010


Author: johnny
Date: Tue Oct 19 17:45:25 2010
New Revision: 116874

URL: http://llvm.org/viewvc/llvm-project?rev=116874&view=rev
Log:
Add Python doc string for setTearDownCleanup() method.

Modified:
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=116874&r1=116873&r2=116874&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Tue Oct 19 17:45:25 2010
@@ -424,10 +424,6 @@
         self.__errored__ = False
         self.__failed__ = False
 
-    def setTearDownCleanup(self, dictionary=None):
-        self.dict = dictionary
-        self.doTearDownCleanup = True
-
     def markError(self):
         """Callback invoked when we (the test case instance) errored."""
         self.__errored__ = True
@@ -464,6 +460,11 @@
         with open(fname, "w") as f:
             print >> f, self.session.getvalue()
 
+    def setTearDownCleanup(self, dictionary=None):
+        """Register a cleanup action at tearDown() time with a dictinary"""
+        self.dict = dictionary
+        self.doTearDownCleanup = True
+
     def tearDown(self):
         #import traceback
         #traceback.print_stack()





More information about the lldb-commits mailing list