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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command_test.py

Issue 2276713002: Remove Command.bind_to_tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 # Copyright (C) 2009 Google Inc. All rights reserved. 1 # Copyright (C) 2009 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 options.component = 'MOCK component' 43 options.component = 'MOCK component'
44 options.confirm = True 44 options.confirm = True
45 options.email = 'MOCK email' 45 options.email = 'MOCK email'
46 options.git_commit = 'MOCK git commit' 46 options.git_commit = 'MOCK git commit'
47 options.obsolete_patches = True 47 options.obsolete_patches = True
48 options.open_bug = True 48 options.open_bug = True
49 options.port = 'MOCK port' 49 options.port = 'MOCK port'
50 options.update_changelogs = False 50 options.update_changelogs = False
51 options.quiet = True 51 options.quiet = True
52 options.reviewer = 'MOCK reviewer' 52 options.reviewer = 'MOCK reviewer'
53 command.bind_to_tool(tool)
54 OutputCapture().assert_outputs(self, command.execute, [options, args, to ol], expected_stdout=expected_stdout, 53 OutputCapture().assert_outputs(self, command.execute, [options, args, to ol], expected_stdout=expected_stdout,
55 expected_stderr=expected_stderr, expected _exception=expected_exception, expected_logs=expected_logs) 54 expected_stderr=expected_stderr, expected _exception=expected_exception, expected_logs=expected_logs)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698