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

Side by Side Diff: chrome/common/extensions/docs/server2/instance_servlet_test.py

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revisions, Offline/Online Access (bypassed-hooks) Created 7 years, 7 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 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 unittest 6 import unittest
7 7
8 from empty_dir_file_system import EmptyDirFileSystem 8 from empty_dir_file_system import EmptyDirFileSystem
9 from fake_fetchers import ConfigureFakeFetchers
epeterson 2013/05/13 02:38:10 oops, I had a ConfigureFakeFetchers() call in setU
9 from file_system import FileSystem 10 from file_system import FileSystem
10 from instance_servlet import InstanceServlet 11 from instance_servlet import InstanceServlet
11 from servlet import Request 12 from servlet import Request
12 from test_branch_utility import TestBranchUtility 13 from test_branch_utility import TestBranchUtility
13 from test_file_system import TestFileSystem 14 from test_file_system import TestFileSystem
14 from test_util import DisableLogging 15 from test_util import DisableLogging
15 16
16 # NOTE(kalman): The ObjectStore created by the InstanceServlet is backed onto 17 # NOTE(kalman): The ObjectStore created by the InstanceServlet is backed onto
17 # our fake AppEngine memcache/datastore, so the tests aren't isolated. 18 # our fake AppEngine memcache/datastore, so the tests aren't isolated.
18 class _TestDelegate(InstanceServlet.Delegate): 19 class _TestDelegate(InstanceServlet.Delegate):
(...skipping 29 matching lines...) Expand all
48 test_path('extensions/examples/foo.html') 49 test_path('extensions/examples/foo.html')
49 test_path('static/foo.css') 50 test_path('static/foo.css')
50 test_path('beta/extensions/storage.html') 51 test_path('beta/extensions/storage.html')
51 test_path('beta/apps/storage.html') 52 test_path('beta/apps/storage.html')
52 test_path('beta/extensions/examples/foo.zip') 53 test_path('beta/extensions/examples/foo.zip')
53 test_path('beta/extensions/examples/foo.html') 54 test_path('beta/extensions/examples/foo.html')
54 test_path('beta/static/foo.css') 55 test_path('beta/static/foo.css')
55 56
56 if __name__ == '__main__': 57 if __name__ == '__main__':
57 unittest.main() 58 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698