チェンジセット 3813: as3/gunyarapaint

差分発生行の前後
無視リスト:
コミット日時:
2010/04/18 09:44:25 (3 年前)
コミッタ:
hkrn
ログメッセージ:

added a testcase for [3811]

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/TransparentFloodFillTest.as

    r3804 r3813  
    4343         
    4444        [Test] 
     45        public function shouldRecoverAlphaAndColorIfInterrupted():void 
     46        { 
     47            var pen:Pen = m_recorder.pen; 
     48            pen.alpha = 0.5; 
     49            pen.color = 0x123456; 
     50            m_module.start(1, 1); 
     51            m_module.interrupt(2, 2); 
     52            ModuleTestUtil.countCommands(6, m_bytes); 
     53            Assert.assertStrictlyEquals(0.5, pen.alpha); 
     54            Assert.assertStrictlyEquals(0x123456, pen.color); 
     55        } 
     56         
     57        [Test] 
    4558        public function getLineSegment():void 
    4659        {