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

Side by Side Diff: test/runner/pub_serve_test.dart

Issue 1887853002: Add a LiveSuite class. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 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 | « test/runner/json_reporter_test.dart ('k') | no next file » | 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 @Tags(const ["pub"])
6 7
7 import 'dart:async'; 8 import 'dart:async';
8 import 'dart:io'; 9 import 'dart:io';
9 10
10 import 'package:path/path.dart' as p; 11 import 'package:path/path.dart' as p;
11 import 'package:scheduled_test/descriptor.dart' as d; 12 import 'package:scheduled_test/descriptor.dart' as d;
12 import 'package:scheduled_test/scheduled_stream.dart'; 13 import 'package:scheduled_test/scheduled_stream.dart';
13 import 'package:scheduled_test/scheduled_test.dart'; 14 import 'package:scheduled_test/scheduled_test.dart';
14 import 'package:test/src/util/exit_codes.dart' as exit_codes; 15 import 'package:test/src/util/exit_codes.dart' as exit_codes;
15 16
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 305
305 var test = runTest(['--pub-serve=54321', 'my_test.dart']); 306 var test = runTest(['--pub-serve=54321', 'my_test.dart']);
306 test.stdout.expect(containsInOrder([ 307 test.stdout.expect(containsInOrder([
307 '-1: loading my_test.dart', 308 '-1: loading my_test.dart',
308 'Failed to load "my_test.dart": When using "pub serve", all test files ' 309 'Failed to load "my_test.dart": When using "pub serve", all test files '
309 'must be in test/.' 310 'must be in test/.'
310 ])); 311 ]));
311 test.shouldExit(1); 312 test.shouldExit(1);
312 }); 313 });
313 } 314 }
OLDNEW
« no previous file with comments | « test/runner/json_reporter_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698