- コミット日時:
- 2010/03/21 00:34:21 (3 年前)
- ファイル:
-
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/TestSuite.as (更新) (2 diffs)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/CircleModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/DropperModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/EllipseModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/FloodFillModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/FreeHandModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/LineModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/ModuleTestUtil.as (更新) (2 diffs)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/PixelModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/RectModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/RoundRectModuleTest.as (更新) (1 diff)
- as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/TransparentFloodFillTest.as (追加)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/TestSuite.as
r3526 r3570 32 32 import org.libspark.gunyarapaint.framework.module.RectModuleTest; 33 33 import org.libspark.gunyarapaint.framework.module.RoundRectModuleTest; 34 import org.libspark.gunyarapaint.framework.module.TransparentFloodFillTest; 34 35 35 36 [Suite] … … 99 100 public var roundRectModule:RoundRectModuleTest; 100 101 102 public var transparentFloodFillModule:TransparentFloodFillTest; 103 101 104 public var layerBitmapContainer:LayerBitmapContainerTest; 102 105 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/CircleModuleTest.as
r3542 r3570 49 49 public function getLineSegment():void 50 50 { 51 ModuleTestUtil.getLineSegment(m_module );51 ModuleTestUtil.getLineSegment(m_module, true); 52 52 } 53 53 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/DropperModuleTest.as
r3542 r3570 40 40 public function getLineSegment():void 41 41 { 42 ModuleTestUtil.getLineSegment(m_module );42 ModuleTestUtil.getLineSegment(m_module, false); 43 43 } 44 44 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/EllipseModuleTest.as
r3542 r3570 46 46 public function getLineSegment():void 47 47 { 48 ModuleTestUtil.getLineSegment(m_module );48 ModuleTestUtil.getLineSegment(m_module, true); 49 49 } 50 50 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/FloodFillModuleTest.as
r3542 r3570 40 40 public function getLineSegment():void 41 41 { 42 ModuleTestUtil.getLineSegment(m_module );42 ModuleTestUtil.getLineSegment(m_module, false); 43 43 } 44 44 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/FreeHandModuleTest.as
r3542 r3570 48 48 public function getLineSegment():void 49 49 { 50 ModuleTestUtil.getLineSegment(m_module );50 ModuleTestUtil.getLineSegment(m_module, true); 51 51 } 52 52 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/LineModuleTest.as
r3542 r3570 48 48 public function getLineSegment():void 49 49 { 50 ModuleTestUtil.getLineSegment(m_module );50 ModuleTestUtil.getLineSegment(m_module, true); 51 51 } 52 52 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/ModuleTestUtil.as
r3542 r3570 49 49 } 50 50 51 public static function getLineSegment(module:ICanvasModule ):void51 public static function getLineSegment(module:ICanvasModule, checkStart:Boolean):void 52 52 { 53 53 var start:Point = new Point(); … … 56 56 module.stop(56, 78); 57 57 CanvasModule(module).getLineSegment(start, end); 58 Assert.assertEquals(start.x, 12); 59 Assert.assertEquals(start.y, 34); 58 if (checkStart) { 59 Assert.assertEquals(start.x, 12); 60 Assert.assertEquals(start.y, 34); 61 } 60 62 Assert.assertEquals(end.x, 56); 61 63 Assert.assertEquals(end.y, 78); as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/PixelModuleTest.as
r3542 r3570 48 48 public function getLineSegment():void 49 49 { 50 ModuleTestUtil.getLineSegment(m_module );50 ModuleTestUtil.getLineSegment(m_module, false); 51 51 } 52 52 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/RectModuleTest.as
r3542 r3570 44 44 public function getLineSegment():void 45 45 { 46 ModuleTestUtil.getLineSegment(m_module );46 ModuleTestUtil.getLineSegment(m_module, true); 47 47 } 48 48 as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/RoundRectModuleTest.as
r3542 r3570 44 44 public function getLineSegment():void 45 45 { 46 ModuleTestUtil.getLineSegment(m_module );46 ModuleTestUtil.getLineSegment(m_module, true); 47 47 } 48 48

