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

Unified Diff: chrome/common/extensions/docs/server2/api_list_data_source_test.py

Issue 26538009: Docserver: make file_system a property of Create (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: niggles Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/api_list_data_source_test.py
diff --git a/chrome/common/extensions/docs/server2/api_list_data_source_test.py b/chrome/common/extensions/docs/server2/api_list_data_source_test.py
index 1ffbe33ff76a36814e58856c0ea6d59b4f5a3ab4..32879f6012e320681d1fa0bedd0a14dcf14f3732 100755
--- a/chrome/common/extensions/docs/server2/api_list_data_source_test.py
+++ b/chrome/common/extensions/docs/server2/api_list_data_source_test.py
@@ -67,17 +67,12 @@ class _FakeFeaturesBundle(object):
class APIListDataSourceTest(unittest.TestCase):
def setUp(self):
- file_system = TestFileSystem(deepcopy(_TEST_DATA))
object_store_creator = ObjectStoreCreator.ForTest()
- compiled_fs_factory = CompiledFileSystem.Factory(
- file_system,
- object_store_creator)
- features_bundle = _FakeFeaturesBundle()
self._factory = APIListDataSource.Factory(
- compiled_fs_factory,
- file_system,
+ CompiledFileSystem.Factory(object_store_creator),
+ TestFileSystem(deepcopy(_TEST_DATA)),
'public',
- features_bundle,
+ _FakeFeaturesBundle(),
object_store_creator)
def testApps(self):
« no previous file with comments | « chrome/common/extensions/docs/server2/api_list_data_source.py ('k') | chrome/common/extensions/docs/server2/app.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698