} )\r
.up("$motionElement")\r
.mix( {\r
- numberOfList: -1\r
+ numberOfList: -1,\r
+ mode: "paced"\r
} )\r
.on("init", function (ele) {\r
/*type属性で変更されないように($animateTransformElementのinitメソッドを参照のこと)*/\r
this.type = "translate";\r
+ this.mode = this.getAttr("mode", "paced");\r
} );\r
\r
/*$svgEventオブジェクトは、SVGEvent発火を監視するためのオブジェクト*/\r
/*境界条件を調べておく (limit value analysis)*/\r
it("should be this for the value (limit value analysis)", function() {\r
expect($animate.type).toBe("translate");\r
+ expect($animate.mode).toBe("paced");\r
ele.setAttributeNS(null, "type", "scale");\r
$animate.init(ele);\r
expect($animate.type).toBe("translate");\r
+ expect($animate.mode).toBe("paced");\r
\r
ele.setAttributeNS(null, "values", "0;1");\r
$animate.up("$a").init(ele);\r
expect($animate.$a.tocall(1)).toBe("translate(1.0)");\r
\r
} );\r
+ /*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
+ it("should be this for the value (the invalid partion )", function() {\r
+ $animate.init();\r
+ } );\r
} );\r
} );\r
describe("Event", function() {\r