チェンジセット 3522

差分発生行の前後
無視リスト:
コミット日時:
2010/03/12 01:08:53 (2 年前)
コミッタ:
hkrn
ログメッセージ:

renamed variable name and create to getModule

ファイル:

凡例:

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

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(CircleModule.CIRCLE); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(CircleModule.CIRCLE); 
    1717            Assert.assertTrue(module is CircleModule); 
    1818            Assert.assertEquals(module.name, CircleModule.CIRCLE); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/DropperModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(DropperModule.DROPPER); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(DropperModule.DROPPER); 
    1717            Assert.assertTrue(module is DropperModule); 
    1818            Assert.assertEquals(module.name, DropperModule.DROPPER); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/EllipseModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(EllipseModule.ELLIPSE); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(EllipseModule.ELLIPSE); 
    1717            Assert.assertTrue(module is EllipseModule); 
    1818            Assert.assertEquals(module.name, EllipseModule.ELLIPSE); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/EraserModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(EraserModule.ERASER); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(EraserModule.ERASER); 
    1717            Assert.assertTrue(module is EraserModule); 
    1818            Assert.assertEquals(module.name, EraserModule.ERASER); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/FloodFillModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(FloodFillModule.FLOOD_FILL); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(FloodFillModule.FLOOD_FILL); 
    1717            Assert.assertTrue(module is FloodFillModule); 
    1818            Assert.assertEquals(module.name, FloodFillModule.FLOOD_FILL); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/FreeHandModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(FreeHandModule.FREE_HAND); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(FreeHandModule.FREE_HAND); 
    1717            Assert.assertTrue(module is FreeHandModule); 
    1818            Assert.assertEquals(module.name, FreeHandModule.FREE_HAND); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/LineModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(LineModule.LINE); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(LineModule.LINE); 
    1717            Assert.assertTrue(module is LineModule); 
    1818            Assert.assertEquals(module.name, LineModule.LINE); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/PixelModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(PixelModule.PIXEL); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(PixelModule.PIXEL); 
    1717            Assert.assertTrue(module is PixelModule); 
    1818            Assert.assertEquals(module.name, PixelModule.PIXEL); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/RectModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(RectModule.RECT); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(RectModule.RECT); 
    1717            Assert.assertTrue(module is RectModule); 
    1818            Assert.assertEquals(module.name, RectModule.RECT); 
  • as3/gunyarapaint/branches/gunyarapaint/test/src/org/libspark/gunyarapaint/framework/module/RoundRectModuleTest.as

    r3513 r3522  
    1313        { 
    1414            var recorder:Recorder = Recorder.create(1, 1, 1); 
    15             var factory:DrawModuleFactory = new DrawModuleFactory(recorder); 
    16             var module:IDrawable = factory.create(RoundRectModule.ROUND_RECT); 
     15            var context:DrawModuleFactory = new DrawModuleFactory(recorder); 
     16            var module:IDrawable = context.getModule(RoundRectModule.ROUND_RECT); 
    1717            Assert.assertTrue(module is RoundRectModule); 
    1818            Assert.assertEquals(module.name, RoundRectModule.ROUND_RECT);