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

Side by Side Diff: testing/generate_gmock_mutant.py

Issue 8665013: Fix many* python scripts in src/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed chrome_frame/tools/test/page_cycler/cf_cycler.py Created 9 years 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 | « remoting/webapp/verify-webapp.py ('k') | ui/gfx/gl/generate_bindings.py » ('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/python 1 #!/usr/bin/env python
2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 string 6 import string
7 import sys
7 8
8 HEADER = """\ 9 HEADER = """\
9 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 10 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
10 // Use of this source code is governed by a BSD-style license that can be 11 // Use of this source code is governed by a BSD-style license that can be
11 // found in the LICENSE file. 12 // found in the LICENSE file.
12 13
13 // This file automatically generated by testing/generate_gmock_mutant.py. 14 // This file automatically generated by testing/generate_gmock_mutant.py.
14 // DO NOT EDIT. 15 // DO NOT EDIT.
15 16
16 #ifndef TESTING_GMOCK_MUTANT_H_ 17 #ifndef TESTING_GMOCK_MUTANT_H_
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 def main(): 441 def main():
441 print HEADER 442 print HEADER
442 for prebound in xrange(0, 6 + 1): 443 for prebound in xrange(0, 6 + 1):
443 for args in xrange(0, 6 + 1): 444 for args in xrange(0, 6 + 1):
444 GenerateDispatch(prebound, args) 445 GenerateDispatch(prebound, args)
445 print MUTANT 446 print MUTANT
446 for prebound in xrange(0, 6 + 1): 447 for prebound in xrange(0, 6 + 1):
447 for args in xrange(0, 6 + 1): 448 for args in xrange(0, 6 + 1):
448 GenerateCreateFunctor(prebound, args) 449 GenerateCreateFunctor(prebound, args)
449 print FOOTER 450 print FOOTER
451 return 0
452
450 453
451 if __name__ == "__main__": 454 if __name__ == "__main__":
452 main() 455 sys.exit(main())
OLDNEW
« no previous file with comments | « remoting/webapp/verify-webapp.py ('k') | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698