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

Side by Side Diff: services/dart/dart_apptests/versioning_apptests.dart

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « services/dart/dart_apptests/pubspec.yaml ('k') | services/dart/test/echo/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library versioning_apptests; 5 library versioning_apptests;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:apptest/apptest.dart'; 9 import 'package:apptest/apptest.dart';
10 import 'package:mojo/public/dart/application.dart'; 10 import 'package:mojo/application.dart';
11 import 'package:mojo/public/dart/bindings.dart'; 11 import 'package:mojo/bindings.dart';
12 import 'package:mojo/public/dart/core.dart'; 12 import 'package:mojo/core.dart';
13 import 'package:mojom/mojo/test/versioning/versioning_test_client.mojom.dart'; 13 import 'package:mojom/mojo/test/versioning/versioning_test_client.mojom.dart';
14 14
15 tests(Application application, String url) { 15 tests(Application application, String url) {
16 group('Versioning Apptests', () { 16 group('Versioning Apptests', () {
17 test('Struct', () async { 17 test('Struct', () async {
18 // The service side uses a newer version of Employee definition that 18 // The service side uses a newer version of Employee definition that
19 // includes the 'birthday' field. 19 // includes the 'birthday' field.
20 20
21 // Connect to human resource database. 21 // Connect to human resource database.
22 var databaseProxy = new HumanResourceDatabaseProxy.unbound(); 22 var databaseProxy = new HumanResourceDatabaseProxy.unbound();
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } catch(e) { 130 } catch(e) {
131 exceptionCaught = true; 131 exceptionCaught = true;
132 } 132 }
133 expect(exceptionCaught, isTrue); 133 expect(exceptionCaught, isTrue);
134 134
135 // No need to disconnect from database because we were disconnected by 135 // No need to disconnect from database because we were disconnected by
136 // the call to a version 2 method. 136 // the call to a version 2 method.
137 }); 137 });
138 }); 138 });
139 } 139 }
OLDNEW
« no previous file with comments | « services/dart/dart_apptests/pubspec.yaml ('k') | services/dart/test/echo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698