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

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

Issue 998693004: Enable dartanalyze warnings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT 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
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 pingpong_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/pingpong_service.mojom.dart'; 13 import 'package:services/dart/test/pingpong_service.mojom.dart';
12 14
13 class _TestingPingPongClient extends PingPongClient { 15 class _TestingPingPongClient extends PingPongClient {
14 final PingPongClientStub stub; 16 final PingPongClientStub stub;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 targetServiceProxy.ptr.ping(100); 106 targetServiceProxy.ptr.ping(100);
105 pongValue = await pingPongClient.waitForPong(); 107 pongValue = await pingPongClient.waitForPong();
106 expect(pongValue, equals(101)); 108 expect(pongValue, equals(101));
107 109
108 pingPongClient.stub.close(); 110 pingPongClient.stub.close();
109 targetServiceProxy.close(); 111 targetServiceProxy.close();
110 pingPongServiceProxy.close(); 112 pingPongServiceProxy.close();
111 }); 113 });
112 }); 114 });
113 } 115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698