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

Side by Side Diff: PRESUBMIT_test.py

Issue 485893007: Rename components/breakpad to components/crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + iOS tests Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | WATCHLISTS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import glob 6 import glob
7 import json 7 import json
8 import os 8 import os
9 import re 9 import re
10 import subprocess 10 import subprocess
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 '"+tools/memory_watcher",', 433 '"+tools/memory_watcher",',
434 '"+third_party/lss/linux_syscall_support.h",', 434 '"+third_party/lss/linux_syscall_support.h",',
435 ] 435 ]
436 files_to_check = PRESUBMIT._FilesToCheckForIncomingDeps(re, changed_lines) 436 files_to_check = PRESUBMIT._FilesToCheckForIncomingDeps(re, changed_lines)
437 expected = set([ 437 expected = set([
438 'breakpad/DEPS', 438 'breakpad/DEPS',
439 'chrome/installer/DEPS', 439 'chrome/installer/DEPS',
440 'chrome/plugin/chrome_content_plugin_client.h', 440 'chrome/plugin/chrome_content_plugin_client.h',
441 'chrome/utility/chrome_content_utility_client.h', 441 'chrome/utility/chrome_content_utility_client.h',
442 'chromeos/chromeos_paths.h', 442 'chromeos/chromeos_paths.h',
443 'components/breakpad/DEPS', 443 'components/crash/DEPS',
444 'components/nacl/common/DEPS', 444 'components/nacl/common/DEPS',
445 'content/public/browser/render_process_host.h', 445 'content/public/browser/render_process_host.h',
446 'policy/DEPS', 446 'policy/DEPS',
447 'sandbox/DEPS', 447 'sandbox/DEPS',
448 'tools/memory_watcher/DEPS', 448 'tools/memory_watcher/DEPS',
449 'third_party/lss/linux_syscall_support.h', 449 'third_party/lss/linux_syscall_support.h',
450 ]) 450 ])
451 self.assertEqual(expected, files_to_check); 451 self.assertEqual(expected, files_to_check);
452 452
453 453
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 } 756 }
757 for master, bots in bots.iteritems(): 757 for master, bots in bots.iteritems():
758 for bot in bots: 758 for bot in bots:
759 self.assertEqual(master, PRESUBMIT.GetTryServerMasterForBot(bot), 759 self.assertEqual(master, PRESUBMIT.GetTryServerMasterForBot(bot),
760 'bot=%s: expected %s, computed %s' % ( 760 'bot=%s: expected %s, computed %s' % (
761 bot, master, PRESUBMIT.GetTryServerMasterForBot(bot))) 761 bot, master, PRESUBMIT.GetTryServerMasterForBot(bot)))
762 762
763 763
764 if __name__ == '__main__': 764 if __name__ == '__main__':
765 unittest.main() 765 unittest.main()
OLDNEW
« no previous file with comments | « no previous file | WATCHLISTS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698