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

Unified Diff: tests/html/svgelement_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/svg_3_test.dart ('k') | tests/html/url_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/svgelement_test.dart
diff --git a/tests/html/svgelement_test.dart b/tests/html/svgelement_test.dart
index e41c356141c6713c21ce5633c15845f0c5917687..21f820519ca0c7133955b2ef54120d564de2e9ab 100644
--- a/tests/html/svgelement_test.dart
+++ b/tests/html/svgelement_test.dart
@@ -44,8 +44,8 @@ main() {
</svg>""";
final el = new svg.SvgElement.svg(svgContent);
expect(el, isSvgSvgElement);
- expect(el.innerHTML, "<circle></circle><path></path>");
- expect(el.outerHTML, svgContent);
+ expect(el.innerHtml, "<circle></circle><path></path>");
+ expect(el.outerHtml, svgContent);
});
test('has no parent', () =>
@@ -149,29 +149,29 @@ main() {
testConstructor('view', (e) => e is svg.ViewElement);
});
- group('outerHTML', () {
- test('outerHTML', () {
+ group('outerHtml', () {
+ test('outerHtml', () {
final el = new svg.SvgSvgElement();
el.children.add(new svg.CircleElement());
el.children.add(new svg.PathElement());
- expect(el.outerHTML,
+ expect(el.outerHtml,
'<svg version="1.1"><circle></circle><path></path></svg>');
});
});
- group('innerHTML', () {
+ group('innerHtml', () {
test('get', () {
final el = new svg.SvgSvgElement();
el.children.add(new svg.CircleElement());
el.children.add(new svg.PathElement());
- expect(el.innerHTML, '<circle></circle><path></path>');
+ expect(el.innerHtml, '<circle></circle><path></path>');
});
test('set', () {
final el = new svg.SvgSvgElement();
el.children.add(new svg.CircleElement());
el.children.add(new svg.PathElement());
- el.innerHTML = '<rect></rect><a></a>';
+ el.innerHtml = '<rect></rect><a></a>';
expect(_nodeStrings(el.children), ["rect", "a"]);
});
});
@@ -192,7 +192,7 @@ main() {
test('set', () {
final el = new svg.SvgSvgElement();
el.children = [new svg.SvgElement.tag("circle"), new svg.SvgElement.tag("path")];
- expect(el.innerHTML, '<circle></circle><path></path>');
+ expect(el.innerHtml, '<circle></circle><path></path>');
});
});
« no previous file with comments | « tests/html/svg_3_test.dart ('k') | tests/html/url_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698