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

Side by Side Diff: tests/dom/svg_2_test.dart

Issue 10191033: test renaming overhaul: step 4 client tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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
« no previous file with comments | « tests/dom/svg_1_test.dart ('k') | tests/dom/svg_3_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('SVG2Test'); 1 #library('SVG2Test');
2 #import('../../../../lib/unittest/unittest.dart'); 2 #import('../../lib/unittest/unittest.dart');
3 #import('../../../../lib/unittest/dom_config.dart'); 3 #import('../../lib/unittest/dom_config.dart');
4 #import('dart:dom'); 4 #import('dart:dom');
5 5
6 // Test that SVG elements explicitly implement the IDL interfaces (is-checks 6 // Test that SVG elements explicitly implement the IDL interfaces (is-checks
7 // only, see SVGTest3 for behavioural tests). 7 // only, see SVGTest3 for behavioural tests).
8 8
9 main() { 9 main() {
10 10
11 insertTestDiv() { 11 insertTestDiv() {
12 var element = document.createElement('div'); 12 var element = document.createElement('div');
13 element.innerHTML = @''' 13 element.innerHTML = @'''
(...skipping 25 matching lines...) Expand all
39 Expect.isTrue(r is SVGLocatable); 39 Expect.isTrue(r is SVGLocatable);
40 40
41 // Interfaces not implemented. 41 // Interfaces not implemented.
42 Expect.isFalse(r is SVGNumber); 42 Expect.isFalse(r is SVGNumber);
43 Expect.isFalse(r is SVGRect); 43 Expect.isFalse(r is SVGRect);
44 Expect.isFalse(r is SVGSVGElement); 44 Expect.isFalse(r is SVGSVGElement);
45 45
46 document.body.removeChild(div); 46 document.body.removeChild(div);
47 }); 47 });
48 } 48 }
OLDNEW
« no previous file with comments | « tests/dom/svg_1_test.dart ('k') | tests/dom/svg_3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698