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

Unified Diff: tests/html/cssstyledeclaration_test.dart

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unminifying & fixing Stephen's feedback. Created 8 years 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 | « tests/html/css_test.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/cssstyledeclaration_test.dart
diff --git a/tests/html/cssstyledeclaration_test.dart b/tests/html/cssstyledeclaration_test.dart
index d2783f4b4c43d98d0778af9618d1aaa3c56bd05c..b17643694c722c979bdaabec6069ca9440df46cf 100644
--- a/tests/html/cssstyledeclaration_test.dart
+++ b/tests/html/cssstyledeclaration_test.dart
@@ -2,7 +2,7 @@
// 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.
-library CSSStyleDeclarationTest;
+library CssStyleDeclarationTest;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
import 'dart:html';
@@ -11,14 +11,14 @@ main() {
useHtmlConfiguration();
createTestStyle() {
- return new CSSStyleDeclaration.css("""
+ return new CssStyleDeclaration.css("""
color: blue;
width: 2px !important;
""");
};
test('default constructor is empty', () {
- var style = new CSSStyleDeclaration();
+ var style = new CssStyleDeclaration();
expect(style.cssText, isEmpty);
expect(style.getPropertyPriority('color'), isEmpty);
expect(style.item(0), isEmpty);
@@ -73,7 +73,7 @@ main() {
document.body.children.add(element);
element.getComputedStyle('').then(expectAsync1(
- (CSSStyleDeclaration style) {
+ (CssStyleDeclaration style) {
// Some browsers will normalize this, so it'll be a matrix rather than
// the original string. Just check that it's something other than null.
expect(style.transform.length, greaterThan(3));
@@ -90,7 +90,7 @@ main() {
window.setTimeout(expectAsync0(() {
element.style.textDecoration = 'underline';
element.getComputedStyle('').then(expectAsync1(
- (CSSStyleDeclaration style) {
+ (CssStyleDeclaration style) {
expect(style.textDecoration, equals('underline'));
}
));
« no previous file with comments | « tests/html/css_test.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698