OSDN Git Service

Add the Spec for the object
authordhrname <dhrname@users.sourceforge.jp>
Mon, 11 May 2015 13:57:41 +0000 (22:57 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Mon, 11 May 2015 13:57:41 +0000 (22:57 +0900)
org/w3c/dom/smil.js
tool/Spec/spec/SvgDomSpec.js

index e460664..c931f87 100644 (file)
@@ -823,6 +823,9 @@ base("$calcMode").up("$attribute").mix( {
      return to;\r
    }\r
 } ).up("$setElement").mix( {\r
+  init: function(ele) {\r
+    this.push(ele);\r
+  }\r
 });\r
 \r
 function getDocument() \r
index 2532a03..9dfa52c 100644 (file)
@@ -3557,7 +3557,8 @@ describe("SMIL Animation Spec", function() {
         s.setAttributeNS(null, "keyTimes", " 0; 0.1; 0.2 ; 1 ");\r
         expect(attr.setKey(s)[0].to.keyTime).toEqual(0.1);\r
         expect(attr.setKey(s)[1].to.keyTime).toEqual(0.1);\r
-        expect(attr.setKey(s)[2].to.keyTime).toEqual(0.8);      } );\r
+        expect(attr.setKey(s)[2].to.keyTime).toEqual(0.8);\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
         s.setAttributeNS(null, "keyTimes", "0;0.1;0.2;1");\r
@@ -3570,4 +3571,20 @@ describe("SMIL Animation Spec", function() {
       } );\r
     } );\r
   } );\r
+  describe("A $setElemenet object", function() {\r
+    describe("A init method", function() {\r
+      var $set;\r
+      beforeEach( function() {\r
+      } );\r
+      /*境界条件を調べておく (limit value analysis)*/\r
+      it("should be this for the value  (limit value analysis)", function() {\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
+      } );\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
+      } );\r
+    } );\r
+  } );\r
 } );\r