max: (getAttr("max") || "indefinite")\r
} )\r
} ).parse();\r
+ frame.calcMode = this.up("$calcMode");\r
if (frame.isResolved) {\r
frame.listener( {\r
timeStamp: Date.now()\r
expect(attr.element).toBe(p);\r
expect(attr.frame.timelines.length).toEqual(num);\r
};\r
+ \r
+ \r
+ var line = attr.frame.timelines[0];\r
+ expect(line.calcMode).not.toBeUndefined();\r
} );\r
/*同値分割をして、有効同値クラスを調べておく (Equivalence partitioning, the following is the valid partion)*/\r
it("should be this for the value (the valid partion on a spline mode )", function() {\r
check2("min", "0");\r
values[6] = "0";\r
check2("max", "0");\r
+ values[0] = "12";\r
+ check2("begin", "12");\r
function check2(attrName, value) {\r
s.setAttribute(attrName, value);\r
expect(s.hasAttributeNS(null, attrName)).toBeTruthy();\r
expect(act.repeatDur).toBe(values[4]);\r
expect(act.min).toBe(values[5]);\r
expect(act.max).toBe(values[6]);\r
- }\r
+ };\r
} );\r
/*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
it("should be this for the value (the invalid partion on a spline mode )", function() {\r