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

Side by Side Diff: client/tests/client/dom/SVG2Test.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #library('SVG2Test'); 1 #library('SVG2Test');
2 #import('../../../testing/unittest/unittest.dart'); 2 #import('../../../testing/unittest/unittest_dom.dart');
3 #import('dart:dom'); 3 #import('dart:dom');
4 4
5 // Test that SVG elements explicitly implement the IDL interfaces (is-checks 5 // Test that SVG elements explicitly implement the IDL interfaces (is-checks
6 // only, see SVGTest3 for behavioural tests). 6 // only, see SVGTest3 for behavioural tests).
7 7
8 main() { 8 main() {
9 9
10 insertTestDiv() { 10 insertTestDiv() {
11 var element = document.createElement('div'); 11 var element = document.createElement('div');
12 element.innerHTML = @''' 12 element.innerHTML = @'''
(...skipping 25 matching lines...) Expand all
38 Expect.isTrue(r is SVGLocatable); 38 Expect.isTrue(r is SVGLocatable);
39 39
40 // Interfaces not implemented. 40 // Interfaces not implemented.
41 Expect.isFalse(r is SVGNumber); 41 Expect.isFalse(r is SVGNumber);
42 Expect.isFalse(r is SVGRect); 42 Expect.isFalse(r is SVGRect);
43 Expect.isFalse(r is SVGSVGElement); 43 Expect.isFalse(r is SVGSVGElement);
44 44
45 document.body.removeChild(div); 45 document.body.removeChild(div);
46 }); 46 });
47 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698