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

Unified Diff: pkg/dev_compiler/test/codegen/lib/html/client_rect_test.dart

Issue 2413073002: Start cleaning up the HTML tests. (Closed)
Patch Set: Unfork expect.dart. Created 4 years, 2 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
Index: pkg/dev_compiler/test/codegen/lib/html/client_rect_test.dart
diff --git a/pkg/dev_compiler/test/codegen/lib/html/client_rect_test.dart b/pkg/dev_compiler/test/codegen/lib/html/client_rect_test.dart
index b9c9bb547582979bf494e4b6ada696c8c64be29d..5ff7aff5832fdc2141a7cb3d36503850d51860b2 100644
--- a/pkg/dev_compiler/test/codegen/lib/html/client_rect_test.dart
+++ b/pkg/dev_compiler/test/codegen/lib/html/client_rect_test.dart
@@ -1,10 +1,8 @@
-library ClientRectTest;
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
import 'dart:html';
-main() {
+import 'package:minitest/minitest.dart';
+main() {
var isRectList =
predicate((x) => x is List<Rectangle>, 'is a List<Rectangle>');
@@ -19,9 +17,7 @@ main() {
return element;
}
- useHtmlConfiguration();
-
- test("ClientRectList test", () {
+ test("ClientRectList test", () {
insertTestDiv();
var range = new Range();
var rects = range.getClientRects();
« no previous file with comments | « pkg/dev_compiler/test/codegen/lib/html/cdata_test.dart ('k') | pkg/dev_compiler/test/codegen/lib/html/cross_frame_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698