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

Side by Side Diff: tests/html/svg_3_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_2_test.dart ('k') | tests/html/svgelement2_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('SVG3Test'); 1 library SVG3Test;
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 have the operations advertised through all the IDL 6 // Test that SVG elements have the operations advertised through all the IDL
7 // interfaces. This is a 'duck typing' test, and does not explicitly use 'is' 7 // interfaces. This is a 'duck typing' test, and does not explicitly use 'is'
8 // checks on the expected interfaces (that is in SVGTest2). 8 // checks on the expected interfaces (that is in SVGTest2).
9 9
10 main() { 10 main() {
11 11
12 var isString = predicate((x) => x is String, 'is a String'); 12 var isString = predicate((x) => x is String, 'is a String');
13 var isStringList = predicate((x) => x is List<String>, 'is a List<String>'); 13 var isStringList = predicate((x) => x is List<String>, 'is a List<String>');
14 var isSVGMatrix = predicate((x) => x is SVGMatrix, 'is a SVGMatrix'); 14 var isSVGMatrix = predicate((x) => x is SVGMatrix, 'is a SVGMatrix');
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 testRect('rect_SVGTests', checkSVGTests); 135 testRect('rect_SVGTests', checkSVGTests);
136 testRect('rect_SVGLangSpace', checkSVGLangSpace); 136 testRect('rect_SVGLangSpace', checkSVGLangSpace);
137 testRect('rect_SVGExternalResourcesRequired', 137 testRect('rect_SVGExternalResourcesRequired',
138 checkSVGExternalResourcesRequired); 138 checkSVGExternalResourcesRequired);
139 testRect('rect_SVGStylable', checkSVGStylable); 139 testRect('rect_SVGStylable', checkSVGStylable);
140 testRect('rect_SVGLocatable', checkSVGLocatable); 140 testRect('rect_SVGLocatable', checkSVGLocatable);
141 testRect('rect_SVGTransformable', checkSVGTransformable); 141 testRect('rect_SVGTransformable', checkSVGTransformable);
142 142
143 } 143 }
OLDNEW
« no previous file with comments | « tests/html/svg_2_test.dart ('k') | tests/html/svgelement2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698