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

Unified Diff: tests/html/element_test.dart

Issue 11364186: Dartifying SVG library class names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Syncing to latest, updating for style guide. Created 8 years, 1 month 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 | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/html/node_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/element_test.dart
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
index a3e6acd119b94c2b74c172fdcc6a9646acbd0ad0..965f483854027f62c24a0ecfbd8adad6d162a80c 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -6,7 +6,7 @@ library ElementTest;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_individual_config.dart';
import 'dart:html';
-import 'dart:svg';
+import 'dart:svg' as svg;
expectLargeRect(ClientRect rect) {
expect(rect.top, 0);
@@ -522,7 +522,7 @@ main() {
test('some', () {
var el = makeElementWithChildren();
expect(el.elements.some((n) => n is InputElement), isTrue);
- expect(el.elements.some((n) => n is SVGElement), isFalse);
+ expect(el.elements.some((n) => n is svg.SvgElement), isFalse);
});
test('isEmpty', () {
@@ -664,7 +664,7 @@ main() {
test('some', () {
var el = getQueryAll();
expect(el.some((n) => n is SpanElement), isTrue);
- expect(el.some((n) => n is SVGElement), isFalse);
+ expect(el.some((n) => n is svg.SvgElement), isFalse);
});
test('isEmpty', () {
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/html/node_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698