[Sie-announce] SIEコード [3064] SVGColor: setColorメソッドの無効同値クラスについて、nullを許容するよう変更

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 11月 3日 (木) 20:42:12 JST


Revision: 3064
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=3064
Author:   dhrname
Date:     2011-11-03 20:42:12 +0900 (Thu, 03 Nov 2011)

Log Message:
-----------
SVGColor:setColorメソッドの無効同値クラスについて、nullを許容するよう変更

Modified Paths:
--------------
    trunk/Spec/spec/SvgDomSpec.js

Modified: trunk/Spec/spec/SvgDomSpec.js
===================================================================
--- trunk/Spec/spec/SvgDomSpec.js	2011-11-03 11:32:46 UTC (rev 3063)
+++ trunk/Spec/spec/SvgDomSpec.js	2011-11-03 11:42:12 UTC (rev 3064)
@@ -1124,9 +1124,9 @@
       expect(s.rgbColor.blue.getFloatValue(1)).toEqual(252);
       expect(s.colorType).toEqual(1);
     });
-    /*setRGBColorメソッドの同値分割をして、無効同値クラスを調べておく (equivalence partitioning, the following is the invalid partion)*/
+    /*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, null, 0, -1, 11, 1.1, 10.1];
+      var t = [Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY, Number.NaN, {}, [], "", "1", "-1", undefined, 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);




Sie-announce メーリングリストの案内
Back to archive index