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

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

Issue 1740433002: Give IE and Safari tags platform restrictions. (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
« no previous file with comments | « test/runner/browser/internet_explorer_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 && mac-os")
6 @Tags(const ["safari"]) 5 @Tags(const ["safari"])
7 6
8 import 'package:scheduled_test/descriptor.dart' as d; 7 import 'package:scheduled_test/descriptor.dart' as d;
9 import 'package:scheduled_test/scheduled_stream.dart'; 8 import 'package:scheduled_test/scheduled_stream.dart';
10 import 'package:scheduled_test/scheduled_test.dart'; 9 import 'package:scheduled_test/scheduled_test.dart';
11 import 'package:test/src/runner/browser/safari.dart'; 10 import 'package:test/src/runner/browser/safari.dart';
12 11
13 import '../../io.dart'; 12 import '../../io.dart';
14 import '../../utils.dart'; 13 import '../../utils.dart';
15 import 'code_server.dart'; 14 import 'code_server.dart';
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void main() { 76 void main() {
78 test("failure", () => throw new TestFailure("oh no")); 77 test("failure", () => throw new TestFailure("oh no"));
79 } 78 }
80 """).create(); 79 """).create();
81 80
82 var test = runTest(["-p", "safari", "test.dart"]); 81 var test = runTest(["-p", "safari", "test.dart"]);
83 test.stdout.expect(consumeThrough(contains("-1: Some tests failed."))); 82 test.stdout.expect(consumeThrough(contains("-1: Some tests failed.")));
84 test.shouldExit(1); 83 test.shouldExit(1);
85 }); 84 });
86 } 85 }
OLDNEW
« no previous file with comments | « test/runner/browser/internet_explorer_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698