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

Side by Side Diff: test/runner/browser/chrome_test.dart

Issue 1097853002: pkg/test: remove unused imports (Closed) Base URL: https://github.com/dart-lang/test.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | test/runner/browser/content_shell_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
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 @TestOn("vm") 5 @TestOn("vm")
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io';
9 8
10 import 'package:test/test.dart'; 9 import 'package:test/test.dart';
11 import 'package:test/src/runner/browser/chrome.dart'; 10 import 'package:test/src/runner/browser/chrome.dart';
12 import 'package:test/src/util/io.dart'; 11 import 'package:test/src/util/io.dart';
13 import 'package:shelf/shelf.dart' as shelf; 12 import 'package:shelf/shelf.dart' as shelf;
14 import 'package:shelf/shelf_io.dart' as shelf_io; 13 import 'package:shelf/shelf_io.dart' as shelf_io;
15 import 'package:shelf_web_socket/shelf_web_socket.dart'; 14 import 'package:shelf_web_socket/shelf_web_socket.dart';
16 15
17 import '../../utils.dart'; 16 import '../../utils.dart';
18 17
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 }); 136 });
138 }); 137 });
139 138
140 test("reports an error in onExit", () { 139 test("reports an error in onExit", () {
141 var chrome = new Chrome("http://dart-lang.org", 140 var chrome = new Chrome("http://dart-lang.org",
142 executable: "_does_not_exist"); 141 executable: "_does_not_exist");
143 expect(chrome.onExit, throwsA(isApplicationException(startsWith( 142 expect(chrome.onExit, throwsA(isApplicationException(startsWith(
144 "Failed to start Chrome: No such file or directory")))); 143 "Failed to start Chrome: No such file or directory"))));
145 }); 144 });
146 } 145 }
OLDNEW
« no previous file with comments | « no previous file | test/runner/browser/content_shell_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698