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

Unified Diff: client/tests/client/html/ElementTests.dart

Issue 9474030: Revert "Add some sweet XML classes." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « client/tests/client/html/DocumentFragmentTests.dart ('k') | client/tests/client/html/XMLDocumentTests.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/html/ElementTests.dart
diff --git a/client/tests/client/html/ElementTests.dart b/client/tests/client/html/ElementTests.dart
index 2632bfcfe4a8b2b32d8d9c968d43d97694b70df2..49e34d81391c0334001efb9fe09313c61ecfbbe8 100644
--- a/client/tests/client/html/ElementTests.dart
+++ b/client/tests/client/html/ElementTests.dart
@@ -41,12 +41,12 @@ void testConstructorHelper(String tag, String htmlSnippet,
Expect.equals(elementFromSnippet.text, expectedText);
}
-void testElement() {
- Element makeElement() => new Element.tag('div');
+Element makeElement() => new Element.tag('div');
- Element makeElementWithChildren() =>
- new Element.html("<div><br/><img/><input/></div>");
+Element makeElementWithChildren() =>
+ new Element.html("<div><br/><img/><input/></div>");
+void testElement() {
asyncTest('computedStyle', 1, () {
final element = document.body;
element.computedStyle.then((style) {
« no previous file with comments | « client/tests/client/html/DocumentFragmentTests.dart ('k') | client/tests/client/html/XMLDocumentTests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698