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

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

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/html/svg_1_test.dart ('k') | tests/html/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('../../pkg/unittest/unittest.dart'); 2 import '../../pkg/unittest/lib/unittest.dart';
3 #import('../../pkg/unittest/html_config.dart'); 3 import '../../pkg/unittest/lib/html_config.dart';
4 #import('dart:html'); 4 import 'dart:html';
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 = new Element.tag('div'); 12 var element = new Element.tag('div');
13 element.innerHTML = r''' 13 element.innerHTML = r'''
14 <svg id='svg1' width='200' height='100'> 14 <svg id='svg1' width='200' height='100'>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 expect(r, isSVGLocatable); 56 expect(r, isSVGLocatable);
57 57
58 // Interfaces not implemented. 58 // Interfaces not implemented.
59 expect(r, isNot(isSVGNumber)); 59 expect(r, isNot(isSVGNumber));
60 expect(r, isNot(isSVGRect)); 60 expect(r, isNot(isSVGRect));
61 expect(r, isNot(isSVGSVGElement)); 61 expect(r, isNot(isSVGSVGElement));
62 62
63 div.remove(); 63 div.remove();
64 }); 64 });
65 } 65 }
OLDNEW
« no previous file with comments | « tests/html/svg_1_test.dart ('k') | tests/html/svg_3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698