/*初期値を設定*/\r
this.begin = 0;\r
this.isResolved = false;\r
- /*$listオブジェクトを更新*/\r
- this.$list = this.$list.up();\r
/*beginとend属性を考慮に入れないで、活動継続時間を求める*/\r
var s = this.$activate.up();\r
this.activeTime = s.call() || Number.MAX_VALUE;\r
return this;\r
},\r
\r
+ /*$listオブジェクトを更新するメソッド*/\r
+ updateList: function() {\r
+ this.$list = this.$list.up();\r
+ return this;\r
+ }\r
+ \r
/*$activate オブジェクト\r
* 活動継続時間などを計算するための計算実体\r
* $begin オブジェクトからの継承*/\r
it("should be this for the value (the valid partion)", function() {\r
begin.string = " hoge ";\r
expect(begin.string).toBe(" hoge ");\r
+ var $list = begin.$list;\r
+ expect(begin.$list).toBe($list);\r
+ expect(begin.updateList().$list).not.toBe($list);\r
} );\r
/*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
it("should be this for the value (the invalid partion)", function() {\r