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

Side by Side Diff: test/codegen/lib/html/css_rule_list_test.dart

Issue 1930043002: Add all dart:html tests from the sdk to test/codegen. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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
(Empty)
1 library CssRuleListTest;
2 import 'package:unittest/unittest.dart';
3 import 'package:unittest/html_config.dart';
4 import 'dart:html';
5
6 main() {
7
8 var isCssRuleList =
9 predicate((x) => x is List<CssRule>, 'is a List<CssRule>');
10
11 useHtmlConfiguration();
12
13 test("ClientRectList test", () {
14 var sheet = document.styleSheets[0];
15 List<CssRule> rulesList = sheet.cssRules;
16 expect(rulesList, isCssRuleList);
17 });
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698