OLD | NEW |
1 #library('SVG3Test'); | 1 #library('SVG3Test'); |
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 have the operations advertised through all the IDL | 5 // Test that SVG elements have the operations advertised through all the IDL |
6 // interfaces. This is a 'duck typing' test, and does not explicitly use 'is' | 6 // interfaces. This is a 'duck typing' test, and does not explicitly use 'is' |
7 // checks on the expected interfaces (that is in SVGTest2). | 7 // checks on the expected interfaces (that is in SVGTest2). |
8 | 8 |
9 main() { | 9 main() { |
10 | 10 |
11 insertTestDiv() { | 11 insertTestDiv() { |
12 var element = document.createElement('div'); | 12 var element = document.createElement('div'); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 testRect('rect_SVGTests', checkSVGTests); | 119 testRect('rect_SVGTests', checkSVGTests); |
120 testRect('rect_SVGLangSpace', checkSVGLangSpace); | 120 testRect('rect_SVGLangSpace', checkSVGLangSpace); |
121 testRect('rect_SVGExternalResourcesRequired', | 121 testRect('rect_SVGExternalResourcesRequired', |
122 checkSVGExternalResourcesRequired); | 122 checkSVGExternalResourcesRequired); |
123 testRect('rect_SVGStylable', checkSVGStylable); | 123 testRect('rect_SVGStylable', checkSVGStylable); |
124 testRect('rect_SVGLocatable', checkSVGLocatable); | 124 testRect('rect_SVGLocatable', checkSVGLocatable); |
125 testRect('rect_SVGTransformable', checkSVGTransformable); | 125 testRect('rect_SVGTransformable', checkSVGTransformable); |
126 | 126 |
127 } | 127 } |
OLD | NEW |