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

Side by Side Diff: media/tools/layout_tests/layouttest_analyzer_helpers_unittest.py

Issue 2710493003: Update HTTP-references to test-results to use HTTPS (Closed)
Patch Set: Created 3 years, 10 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 #!/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 copy 6 import copy
7 from datetime import datetime 7 from datetime import datetime
8 import os 8 import os
9 import pickle 9 import pickle
10 import time 10 import time
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 def testGetRevisionString(self): 137 def testGetRevisionString(self):
138 expected_rev_str = ('<ul><a href="http://trac.webkit.org/changeset?' 138 expected_rev_str = ('<ul><a href="http://trac.webkit.org/changeset?'
139 'new=94377@trunk/LayoutTests/platform/chromium/' 139 'new=94377@trunk/LayoutTests/platform/chromium/'
140 'test_expectations.txt&old=94366@trunk/LayoutTests/' 140 'test_expectations.txt&old=94366@trunk/LayoutTests/'
141 'platform/chromium/test_expectations.txt">94366->' 141 'platform/chromium/test_expectations.txt">94366->'
142 '94377</a>\n' 142 '94377</a>\n'
143 '<li>jamesr@google.com</li>\n' 143 '<li>jamesr@google.com</li>\n'
144 '<li>2011-09-01 18:00:23</li>\n' 144 '<li>2011-09-01 18:00:23</li>\n'
145 '<ul><li>-<a href="http://webkit.org/b/63878">' 145 '<ul><li>-<a href="http://webkit.org/b/63878">'
146 'BUGWK63878</a> : <a href="http://test-results.' 146 'BUGWK63878</a> : <a href="https://test-results.'
147 'appspot.com/dashboards/flakiness_dashboard.html#' 147 'appspot.com/dashboards/flakiness_dashboard.html#'
148 'tests=fast/dom/dom-constructors.html">fast/dom/' 148 'tests=fast/dom/dom-constructors.html">fast/dom/'
149 'dom-constructors.html</a> = TEXT</li>\n</ul></ul>') 149 'dom-constructors.html</a> = TEXT</li>\n</ul></ul>')
150 expected_simple_rev_str = ('<a href="http://trac.webkit.org/changeset?' 150 expected_simple_rev_str = ('<a href="http://trac.webkit.org/changeset?'
151 'new=94377@trunk/LayoutTests/platform/chromium/' 151 'new=94377@trunk/LayoutTests/platform/chromium/'
152 'test_expectations.txt&old=94366@trunk/' 152 'test_expectations.txt&old=94366@trunk/'
153 'LayoutTests/platform/chromium/' 153 'LayoutTests/platform/chromium/'
154 'test_expectations.txt">94366->94377</a>,') 154 'test_expectations.txt">94366->94377</a>,')
155 self.RunTestGetRevisionString('2011-09-02-00', '2011-09-01-00', 155 self.RunTestGetRevisionString('2011-09-02-00', '2011-09-01-00',
156 expected_rev_str, expected_simple_rev_str, 156 expected_rev_str, expected_simple_rev_str,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 BUGCR,72223,IMAGE PASS,media/video-frame-accurate-seek.html, 203 BUGCR,72223,IMAGE PASS,media/video-frame-accurate-seek.html,
204 BUGCR,75354,TEXT IMAGE IMAGE+TEXT,media/media-document-audio-repaint.html, 204 BUGCR,75354,TEXT IMAGE IMAGE+TEXT,media/media-document-audio-repaint.html,
205 BUGCR,73609,TEXT,http/tests/media/video-play-stall.html, 205 BUGCR,73609,TEXT,http/tests/media/video-play-stall.html,
206 BUGWK,64003,DEBUG TEXT MAC PASS,media/video-delay-load-event.html, 206 BUGWK,64003,DEBUG TEXT MAC PASS,media/video-delay-load-event.html,
207 """ 207 """
208 self.assertEquals(issues_txt, expected_issues_txt) 208 self.assertEquals(issues_txt, expected_issues_txt)
209 209
210 210
211 if __name__ == '__main__': 211 if __name__ == '__main__':
212 unittest.main() 212 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698