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

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

Issue 1707173002: Add browser tags to all of our tests. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 10 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 (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 ["chrome"])
6 7
7 import 'package:scheduled_test/descriptor.dart' as d; 8 import 'package:scheduled_test/descriptor.dart' as d;
8 import 'package:scheduled_test/scheduled_stream.dart'; 9 import 'package:scheduled_test/scheduled_stream.dart';
9 import 'package:scheduled_test/scheduled_test.dart'; 10 import 'package:scheduled_test/scheduled_test.dart';
10 import 'package:test/src/runner/browser/chrome.dart'; 11 import 'package:test/src/runner/browser/chrome.dart';
11 12
12 import '../../io.dart'; 13 import '../../io.dart';
13 import '../../utils.dart'; 14 import '../../utils.dart';
14 import 'code_server.dart'; 15 import 'code_server.dart';
15 16
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void main() { 79 void main() {
79 test("failure", () => throw new TestFailure("oh no")); 80 test("failure", () => throw new TestFailure("oh no"));
80 } 81 }
81 """).create(); 82 """).create();
82 83
83 var test = runTest(["-p", "chrome", "test.dart"]); 84 var test = runTest(["-p", "chrome", "test.dart"]);
84 test.stdout.expect(consumeThrough(contains("-1: Some tests failed."))); 85 test.stdout.expect(consumeThrough(contains("-1: Some tests failed.")));
85 test.shouldExit(1); 86 test.shouldExit(1);
86 }); 87 });
87 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698