Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: appengine/monorail/services/test/

Issue 1868553004: Open Source Monorail (Closed) Base URL:
Patch Set: Rebase Created 4 years, 8 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: appengine/monorail/services/test/
diff --git a/appengine/monorail/services/test/ b/appengine/monorail/services/test/
new file mode 100644
index 0000000000000000000000000000000000000000..6e74d0085ada776986ef8887e48f7b2e10171a18
--- /dev/null
+++ b/appengine/monorail/services/test/
@@ -0,0 +1,37 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is govered by a BSD-style
+# license that can be found in the LICENSE file or at
+"""Tests for the service_manager module."""
+import unittest
+from features import autolink
+from services import cachemanager_svc
+from services import config_svc
+from services import features_svc
+from services import issue_svc
+from services import service_manager
+from services import project_svc
+from services import star_svc
+from services import user_svc
+from services import usergroup_svc
+class ServiceManagerTest(unittest.TestCase):
+ def testSetUpServices(self):
+ svcs = service_manager.set_up_services()
+ self.assertIsInstance(svcs, service_manager.Services)
+ self.assertIsInstance(svcs.autolink, autolink.Autolink)
+ self.assertIsInstance(svcs.cache_manager, cachemanager_svc.CacheManager)
+ self.assertIsInstance(svcs.user, user_svc.UserService)
+ self.assertIsInstance(svcs.user_star, star_svc.UserStarService)
+ self.assertIsInstance(svcs.project_star, star_svc.ProjectStarService)
+ self.assertIsInstance(svcs.issue_star, star_svc.IssueStarService)
+ self.assertIsInstance(svcs.project, project_svc.ProjectService)
+ self.assertIsInstance(svcs.usergroup, usergroup_svc.UserGroupService)
+ self.assertIsInstance(svcs.config, config_svc.ConfigService)
+ self.assertIsInstance(svcs.issue, issue_svc.IssueService)
+ self.assertIsInstance(svcs.features, features_svc.FeaturesService)
« no previous file with comments | « appengine/monorail/services/test/ ('k') | appengine/monorail/services/test/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698