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

Unified Diff: tests/html/element_add_test.dart

Issue 11418075: Dartifying members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing menuelement.compact exclusion. 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 | « tests/html/documentfragment_test.dart ('k') | tests/html/element_classes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/element_add_test.dart
diff --git a/tests/html/element_add_test.dart b/tests/html/element_add_test.dart
index ef911fdd90ca8fe3fe71d930e8b29e69e2d98fde..6ac21719b51e707c6cfc436ca7bb705e73591301 100644
--- a/tests/html/element_add_test.dart
+++ b/tests/html/element_add_test.dart
@@ -111,13 +111,13 @@ main() {
});
});
- group('insertAdjacentHTML', () {
+ group('insertAdjacentHtml', () {
test('beforebegin', () {
var parent = new DivElement();
var child = new DivElement();
parent.children.add(child);
- child.insertAdjacentHTML('beforebegin', '<span></span>');
+ child.insertAdjacentHtml('beforebegin', '<span></span>');
expect(parent.children.length, 2);
expect(parent.children[0], isSpanElement);
@@ -128,7 +128,7 @@ main() {
var child = new DivElement();
parent.children.add(child);
- child.insertAdjacentHTML('afterend', '<span></span>');
+ child.insertAdjacentHtml('afterend', '<span></span>');
expect(parent.children.length, 2);
expect(parent.children[1], isSpanElement);
@@ -139,7 +139,7 @@ main() {
var child = new DivElement();
parent.children.add(child);
- parent.insertAdjacentHTML('afterbegin', '<span></span>');
+ parent.insertAdjacentHtml('afterbegin', '<span></span>');
expect(parent.children.length, 2);
expect(parent.children[0], isSpanElement);
@@ -150,7 +150,7 @@ main() {
var child = new DivElement();
parent.children.add(child);
- parent.insertAdjacentHTML('beforeend', '<span></span>');
+ parent.insertAdjacentHtml('beforeend', '<span></span>');
expect(parent.children.length, 2);
expect(parent.children[1], isSpanElement);
« no previous file with comments | « tests/html/documentfragment_test.dart ('k') | tests/html/element_classes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698