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

Unified Diff: Tools/Scripts/webkitpy/common/system/user_unittest.py

Issue 633503003: [webkitpy] Remove leftover changelog editor methods from User. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « Tools/Scripts/webkitpy/common/system/user_mock.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/common/system/user_unittest.py
diff --git a/Tools/Scripts/webkitpy/common/system/user_unittest.py b/Tools/Scripts/webkitpy/common/system/user_unittest.py
index bd86d228f532e1b2c0045eb8b3122cf895886377..087f6d81b9365bc71d4ceb42c91bf09e11f7003e 100644
--- a/Tools/Scripts/webkitpy/common/system/user_unittest.py
+++ b/Tools/Scripts/webkitpy/common/system/user_unittest.py
@@ -126,14 +126,3 @@ class UserTest(unittest.TestCase):
result = User().confirm(default=inputs[0],
raw_input=mock_raw_input)
self.assertEqual(expected[1], result)
-
- def test_warn_if_application_is_xcode(self):
- output = OutputCapture()
- user = User()
- output.assert_outputs(self, user._warn_if_application_is_xcode, ["TextMate"])
- output.assert_outputs(self, user._warn_if_application_is_xcode, ["/Applications/TextMate.app"])
- output.assert_outputs(self, user._warn_if_application_is_xcode, ["XCode"]) # case sensitive matching
-
- xcode_warning = "Instead of using Xcode.app, consider using EDITOR=\"xed --wait\".\n"
- output.assert_outputs(self, user._warn_if_application_is_xcode, ["Xcode"], expected_stdout=xcode_warning)
- output.assert_outputs(self, user._warn_if_application_is_xcode, ["/Developer/Applications/Xcode.app"], expected_stdout=xcode_warning)
« no previous file with comments | « Tools/Scripts/webkitpy/common/system/user_mock.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698