Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py

Issue 2237003005: Remove unused class OutputCaptureTestCaseBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py
index f08fc9617f2ca00b37a5fa72360b31929f5b3ab7..8511a7ea27dd0947f01dbe990aaddf7c2caa5650 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py
@@ -101,24 +101,3 @@ class OutputCapture(object):
testassert(logs_string, expected_logs)
# This is a little strange, but I don't know where else to return this information.
return return_value
-
-
-class OutputCaptureTestCaseBase(unittest.TestCase):
- maxDiff = None
-
- def setUp(self):
- unittest.TestCase.setUp(self)
- self.output_capture = OutputCapture()
- (self.__captured_stdout, self.__captured_stderr) = self.output_capture.capture_output()
-
- def tearDown(self):
- del self.__captured_stdout
- del self.__captured_stderr
- self.output_capture.restore_output()
- unittest.TestCase.tearDown(self)
-
- def assertStdout(self, expected_stdout):
- self.assertEqual(expected_stdout, self.__captured_stdout.getvalue())
-
- def assertStderr(self, expected_stderr):
- self.assertEqual(expected_stderr, self.__captured_stderr.getvalue())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698