svnno****@sourc*****
svnno****@sourc*****
2011年 11月 3日 (木) 20:47:59 JST
Revision: 3065 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=3065 Author: dhrname Date: 2011-11-03 20:47:59 +0900 (Thu, 03 Nov 2011) Log Message: ----------- Modified Paths: -------------- trunk/Spec/spec/SvgDomSpec.js Modified: trunk/Spec/spec/SvgDomSpec.js =================================================================== --- trunk/Spec/spec/SvgDomSpec.js 2011-11-03 11:42:12 UTC (rev 3064) +++ trunk/Spec/spec/SvgDomSpec.js 2011-11-03 11:47:59 UTC (rev 3065) @@ -1125,8 +1125,8 @@ expect(s.colorType).toEqual(1); }); /*setColorメソッドの同値分割をして、無効同値クラスを調べておく (equivalence partitioning, the following is the invalid partion)*/ - it("should throw a DOMException 'Not Supported Error', when it calls a setRGBColor method (the invalid partion)", function() { - var t = [Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY, Number.NaN, {}, [], "", "1", "-1", undefined, 0, -1, 11, 1.1, 10.1]; + it("should throw a DOMException 'Not Supported Error', when it calls a setColor method (the invalid partion)", function() { + var t = [Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY, Number.NaN, {}, [], "", "1", "-1", undefined, null, 0, -1, 11, 1.1, 10.1]; for (var i=0,tli=t.length;i<tli;++i) { var ti = t[i], sn = function() { s.setColor(/*SVG_COLORTYPE_RGBCOLOR*/ 1, ti, null);