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

Unified Diff: pkg/gcloud/test/db_all_e2e_test.dart

Issue 804973002: Add appengine/gcloud/mustache dependencies. (Closed) Base URL: git@github.com:dart-lang/pub-dartlang-dart.git@master
Patch Set: Added AUTHORS/LICENSE/PATENTS files Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/gcloud/test/db/properties_test.dart ('k') | pkg/gcloud/test/service_scope_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/gcloud/test/db_all_e2e_test.dart
diff --git a/pkg/gcloud/test/db_all_e2e_test.dart b/pkg/gcloud/test/db_all_e2e_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..3d231e1829706bb022b958dc8bf5ab3ae2e72dd8
--- /dev/null
+++ b/pkg/gcloud/test/db_all_e2e_test.dart
@@ -0,0 +1,45 @@
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+library gcloud.test.db_all_test;
+
+import 'dart:async';
+
+import 'package:gcloud/db.dart' as db;
+import 'package:gcloud/src/datastore_impl.dart' as datastore_impl;
+import 'package:unittest/unittest.dart';
+
+import 'db/e2e/db_test_impl.dart' as db_test;
+import 'db/e2e/metamodel_test_impl.dart' as db_metamodel_test;
+import 'datastore/e2e/datastore_test_impl.dart' as datastore_test;
+
+
+import 'common_e2e.dart';
+
+main() {
+ var scopes = datastore_impl.DatastoreImpl.SCOPES;
+
+ withAuthClient(scopes, (String project, httpClient) {
+ var datastore = new datastore_impl.DatastoreImpl(httpClient, 's~$project');
+ var datastoreDB = new db.DatastoreDB(datastore);
+
+ return datastore_test.cleanupDB(datastore).then((_) {
+ return runE2EUnittest(() {
+ datastore_test.runTests(datastore);
+
+ test('sleep-between-test-suites', () {
+ expect(new Future.delayed(const Duration(seconds: 10)), completes);
+ });
+
+ db_test.runTests(datastoreDB);
+
+ test('sleep-between-test-suites', () {
+ expect(new Future.delayed(const Duration(seconds: 10)), completes);
+ });
+
+ db_metamodel_test.runTests(datastore, datastoreDB);
+ });
+ });
+ });
+}
« no previous file with comments | « pkg/gcloud/test/db/properties_test.dart ('k') | pkg/gcloud/test/service_scope_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698