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

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

Issue 998693004: Enable dartanalyze warnings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: zra comments Created 5 years, 9 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 | « mojo/public/tools/dart_analyze.py ('k') | services/dart/dart_apptests/pingpong_apptests.dart » ('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 echo_apptests;
6
5 import 'dart:async'; 7 import 'dart:async';
6 import 'mojo:application'; 8 import 'mojo:application';
7 import 'mojo:bindings'; 9 import 'mojo:bindings';
8 import 'mojo:core'; 10 import 'mojo:core';
9 11
10 import 'package:apptest/apptest.dart'; 12 import 'package:apptest/apptest.dart';
11 import 'package:services/dart/test/echo_service.mojom.dart'; 13 import 'package:services/dart/test/echo_service.mojom.dart';
12 14
13 echoApptests(Application application, String url) { 15 echoApptests(Application application, String url) {
14 group('Echo Service Apptests', () { 16 group('Echo Service Apptests', () {
(...skipping 30 matching lines...) Expand all
45 var v = await echoProxy.ptr.echoString(null); 47 var v = await echoProxy.ptr.echoString(null);
46 expect(v.value, equals(null)); 48 expect(v.value, equals(null));
47 49
48 var q = await echoProxy.ptr.echoString("quit"); 50 var q = await echoProxy.ptr.echoString("quit");
49 expect(q.value, equals("quit")); 51 expect(q.value, equals("quit"));
50 52
51 echoProxy.close(); 53 echoProxy.close();
52 }); 54 });
53 }); 55 });
54 } 56 }
OLDNEW
« no previous file with comments | « mojo/public/tools/dart_analyze.py ('k') | services/dart/dart_apptests/pingpong_apptests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698