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

Side by Side Diff: chrome/test/functional/instant.py

Issue 11421079: Persist the Instant API to committed search result pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright 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 cgi 6 import cgi
7 import os 7 import os
8 8
9 import pyauto_functional # Must be imported before pyauto 9 import pyauto_functional # Must be imported before pyauto
10 import pyauto 10 import pyauto
11 11
12 class InstantSettingsTest(pyauto.PyUITest): 12 class InstantSettingsTest(pyauto.PyUITest):
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 """Test that Instant does not download zip file.""" 202 """Test that Instant does not download zip file."""
203 self._AssertInstantDoesNotDownloadFile(os.path.join('zip', 'test.zip')) 203 self._AssertInstantDoesNotDownloadFile(os.path.join('zip', 'test.zip'))
204 204
205 def testInstantDoesNotDownloadPDFFile(self): 205 def testInstantDoesNotDownloadPDFFile(self):
206 """Test that Instant does not download PDF file.""" 206 """Test that Instant does not download PDF file."""
207 self._AssertInstantDoesNotDownloadFile(os.path.join('printing', 207 self._AssertInstantDoesNotDownloadFile(os.path.join('printing',
208 'cloud_print_unittest.pdf')) 208 'cloud_print_unittest.pdf'))
209 209
210 if __name__ == '__main__': 210 if __name__ == '__main__':
211 pyauto_functional.Main() 211 pyauto_functional.Main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698