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

Unified Diff: test/browser_test.dart

Issue 1235823009: Upgrade to the new test runner. (Closed) Base URL: git@github.com:dart-lang/path@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pubspec.yaml ('k') | test/io_test.dart » ('j') | test/windows_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/browser_test.dart
diff --git a/test/browser_test.dart b/test/browser_test.dart
index 0b56c7acee6926144ee6c307bd9df62cf7a7719e..b3291469497a664d391133c6061876fb1cfa6f24 100644
--- a/test/browser_test.dart
+++ b/test/browser_test.dart
@@ -2,15 +2,14 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@TestOn('browser')
+
import 'dart:html';
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
+import 'package:test/test.dart';
import 'package:path/path.dart' as path;
main() {
- useHtmlConfiguration();
-
group('new Context()', () {
test('uses the window location if root and style are omitted', () {
var context = new path.Context();
« no previous file with comments | « pubspec.yaml ('k') | test/io_test.dart » ('j') | test/windows_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698