OLD | NEW |
1 #library('SVG3Test'); | 1 #library('SVG3Test'); |
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 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 insertTestDiv() { | 12 insertTestDiv() { |
13 var element = document.createElement('div'); | 13 var element = document.createElement('div'); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 testRect('rect_SVGTests', checkSVGTests); | 120 testRect('rect_SVGTests', checkSVGTests); |
121 testRect('rect_SVGLangSpace', checkSVGLangSpace); | 121 testRect('rect_SVGLangSpace', checkSVGLangSpace); |
122 testRect('rect_SVGExternalResourcesRequired', | 122 testRect('rect_SVGExternalResourcesRequired', |
123 checkSVGExternalResourcesRequired); | 123 checkSVGExternalResourcesRequired); |
124 testRect('rect_SVGStylable', checkSVGStylable); | 124 testRect('rect_SVGStylable', checkSVGStylable); |
125 testRect('rect_SVGLocatable', checkSVGLocatable); | 125 testRect('rect_SVGLocatable', checkSVGLocatable); |
126 testRect('rect_SVGTransformable', checkSVGTransformable); | 126 testRect('rect_SVGTransformable', checkSVGTransformable); |
127 | 127 |
128 } | 128 } |
OLD | NEW |