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

Side by Side Diff: build/android/pylib/results/flakiness_dashboard/json_results_generator.py

Issue 757683002: [Android] Implement generic JSON results that match base/test/launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit issue Created 6 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # 5 #
6 # Most of this file was ported over from Blink's 6 # Most of this file was ported over from Blink's
7 # Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py 7 # Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py
8 # Tools/Scripts/webkitpy/common/net/file_uploader.py 8 # Tools/Scripts/webkitpy/common/net/file_uploader.py
9 # 9 #
10 10
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 lines.append('') 688 lines.append('')
689 if isinstance(value, unicode): 689 if isinstance(value, unicode):
690 value = value.encode('utf-8') 690 value = value.encode('utf-8')
691 lines.append(value) 691 lines.append(value)
692 692
693 lines.append('--' + BOUNDARY + '--') 693 lines.append('--' + BOUNDARY + '--')
694 lines.append('') 694 lines.append('')
695 body = CRLF.join(lines) 695 body = CRLF.join(lines)
696 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY 696 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY
697 return content_type, body 697 return content_type, body
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698