OLD | NEW |
1 description("Test to make sure we expose all the global constructor objects requ
ested by http://www.w3.org/TR/SVG11/ecmascript-binding.html"); | 1 description("Test to make sure we expose all the global constructor objects requ
ested by http://www.w3.org/TR/SVG11/ecmascript-binding.html"); |
2 | 2 |
3 function shouldBeDefined(a) | 3 function shouldBeDefined(a) |
4 { | 4 { |
5 var constructorString = "'function " + a + "() { [native code] }'"; | 5 var constructorString = "'function " + a + "() { [native code] }'"; |
6 shouldBe("" + a + ".toString()", constructorString); | 6 shouldBe("" + a + ".toString()", constructorString); |
7 } | 7 } |
8 | 8 |
9 shouldBeDefined("SVGElement"); | 9 shouldBeDefined("SVGElement"); |
10 shouldBeDefined("SVGAnimatedBoolean"); | 10 shouldBeDefined("SVGAnimatedBoolean"); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 shouldBeDefined("SVGSwitchElement"); | 43 shouldBeDefined("SVGSwitchElement"); |
44 shouldBeDefined("SVGStyleElement"); | 44 shouldBeDefined("SVGStyleElement"); |
45 shouldBeDefined("SVGPoint"); | 45 shouldBeDefined("SVGPoint"); |
46 shouldBeDefined("SVGPointList"); | 46 shouldBeDefined("SVGPointList"); |
47 shouldBeDefined("SVGMatrix"); | 47 shouldBeDefined("SVGMatrix"); |
48 shouldBeDefined("SVGTransform"); | 48 shouldBeDefined("SVGTransform"); |
49 shouldBeDefined("SVGTransformList"); | 49 shouldBeDefined("SVGTransformList"); |
50 shouldBeDefined("SVGAnimatedTransformList"); | 50 shouldBeDefined("SVGAnimatedTransformList"); |
51 shouldBeDefined("SVGPreserveAspectRatio"); | 51 shouldBeDefined("SVGPreserveAspectRatio"); |
52 shouldBeDefined("SVGAnimatedPreserveAspectRatio"); | 52 shouldBeDefined("SVGAnimatedPreserveAspectRatio"); |
53 shouldBeDefined("SVGPathSeg"); | |
54 shouldBeDefined("SVGPathSegClosePath"); | |
55 shouldBeDefined("SVGPathSegMovetoAbs"); | |
56 shouldBeDefined("SVGPathSegMovetoRel"); | |
57 shouldBeDefined("SVGPathSegLinetoAbs"); | |
58 shouldBeDefined("SVGPathSegLinetoRel"); | |
59 shouldBeDefined("SVGPathSegCurvetoCubicAbs"); | |
60 shouldBeDefined("SVGPathSegCurvetoCubicRel"); | |
61 shouldBeDefined("SVGPathSegCurvetoQuadraticAbs"); | |
62 shouldBeDefined("SVGPathSegCurvetoQuadraticRel"); | |
63 shouldBeDefined("SVGPathSegArcAbs"); | |
64 shouldBeDefined("SVGPathSegArcRel"); | |
65 shouldBeDefined("SVGPathSegLinetoHorizontalAbs"); | |
66 shouldBeDefined("SVGPathSegLinetoHorizontalRel"); | |
67 shouldBeDefined("SVGPathSegLinetoVerticalAbs"); | |
68 shouldBeDefined("SVGPathSegLinetoVerticalRel"); | |
69 shouldBeDefined("SVGPathSegCurvetoCubicSmoothAbs"); | |
70 shouldBeDefined("SVGPathSegCurvetoCubicSmoothRel"); | |
71 shouldBeDefined("SVGPathSegCurvetoQuadraticSmoothAbs"); | |
72 shouldBeDefined("SVGPathSegCurvetoQuadraticSmoothRel"); | |
73 shouldBeDefined("SVGPathSegList"); | |
74 shouldBeDefined("SVGAnimatedPathData"); | |
75 shouldBeDefined("SVGPathElement"); | 53 shouldBeDefined("SVGPathElement"); |
76 shouldBeDefined("SVGRectElement"); | 54 shouldBeDefined("SVGRectElement"); |
77 shouldBeDefined("SVGCircleElement"); | 55 shouldBeDefined("SVGCircleElement"); |
78 shouldBeDefined("SVGEllipseElement"); | 56 shouldBeDefined("SVGEllipseElement"); |
79 shouldBeDefined("SVGLineElement"); | 57 shouldBeDefined("SVGLineElement"); |
80 shouldBeDefined("SVGAnimatedPoints"); | 58 shouldBeDefined("SVGAnimatedPoints"); |
81 shouldBeDefined("SVGPolylineElement"); | 59 shouldBeDefined("SVGPolylineElement"); |
82 shouldBeDefined("SVGPolygonElement"); | 60 shouldBeDefined("SVGPolygonElement"); |
83 shouldBeDefined("SVGTextContentElement"); | 61 shouldBeDefined("SVGTextContentElement"); |
84 shouldBeDefined("SVGTextPositioningElement"); | 62 shouldBeDefined("SVGTextPositioningElement"); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 shouldBeDefined("SVGSetElement"); | 111 shouldBeDefined("SVGSetElement"); |
134 shouldBeDefined("SVGAnimateMotionElement"); | 112 shouldBeDefined("SVGAnimateMotionElement"); |
135 shouldBeDefined("SVGMPathElement"); | 113 shouldBeDefined("SVGMPathElement"); |
136 shouldBeDefined("SVGAnimateColorElement"); | 114 shouldBeDefined("SVGAnimateColorElement"); |
137 shouldBeDefined("SVGAnimateTransformElement"); | 115 shouldBeDefined("SVGAnimateTransformElement"); |
138 shouldBeDefined("SVGDefinitionSrcElement"); | 116 shouldBeDefined("SVGDefinitionSrcElement"); |
139 shouldBeDefined("SVGMetadataElement"); | 117 shouldBeDefined("SVGMetadataElement"); |
140 shouldBeDefined("SVGForeignObjectElement"); | 118 shouldBeDefined("SVGForeignObjectElement"); |
141 | 119 |
142 var successfullyParsed = true; | 120 var successfullyParsed = true; |
OLD | NEW |