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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library gcloud.test.db_all_test;
6
7 import 'dart:async';
8
9 import 'package:gcloud/db.dart' as db;
10 import 'package:gcloud/src/datastore_impl.dart' as datastore_impl;
11 import 'package:unittest/unittest.dart';
12
13 import 'db/e2e/db_test_impl.dart' as db_test;
14 import 'db/e2e/metamodel_test_impl.dart' as db_metamodel_test;
15 import 'datastore/e2e/datastore_test_impl.dart' as datastore_test;
16
17
18 import 'common_e2e.dart';
19
20 main() {
21 var scopes = datastore_impl.DatastoreImpl.SCOPES;
22
23 withAuthClient(scopes, (String project, httpClient) {
24 var datastore = new datastore_impl.DatastoreImpl(httpClient, 's~$project');
25 var datastoreDB = new db.DatastoreDB(datastore);
26
27 return datastore_test.cleanupDB(datastore).then((_) {
28 return runE2EUnittest(() {
29 datastore_test.runTests(datastore);
30
31 test('sleep-between-test-suites', () {
32 expect(new Future.delayed(const Duration(seconds: 10)), completes);
33 });
34
35 db_test.runTests(datastoreDB);
36
37 test('sleep-between-test-suites', () {
38 expect(new Future.delayed(const Duration(seconds: 10)), completes);
39 });
40
41 db_metamodel_test.runTests(datastore, datastoreDB);
42 });
43 });
44 });
45 }
OLDNEW
« 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