svnno****@sourc*****
svnno****@sourc*****
2011年 4月 1日 (金) 21:57:35 JST
Revision: 507 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=507 Author: yoya Date: 2011-04-01 21:57:35 +0900 (Fri, 01 Apr 2011) Log Message: ----------- ファイル名に 001 を付けた Added Paths: ----------- trunk/src/tests/isbitmaptag001.phpt trunk/src/tests/isshapetag001.phpt Removed Paths: ------------- trunk/src/tests/isbitmaptag.phpt trunk/src/tests/isshapetag.phpt -------------- next part -------------- Deleted: trunk/src/tests/isbitmaptag.phpt =================================================================== --- trunk/src/tests/isbitmaptag.phpt 2011-04-01 12:54:34 UTC (rev 506) +++ trunk/src/tests/isbitmaptag.phpt 2011-04-01 12:57:35 UTC (rev 507) @@ -1,27 +0,0 @@ ---TEST-- -isBitmapTag() ---FILE-- -<?php - -$swfdata = file_get_contents('tests/saitama.swf'); -$obj = new SWFEditor(); -$obj->input($swfdata); -foreach ($obj->getTagList() as $seqno => $tagInfo) { - $data = $obj->getTagData($seqno); - if ($obj->isBitmapTagData($data)) { - echo "seqno=$seqno\n"; - var_export($tagInfo); - echo "\n"; - } -} -?> -===DONE=== ---EXPECTF-- -seqno=3 -array ( - 'tag' => 6, - 'tagName' => 'DefineBitsJPEG', - 'length' => 2133, - 'detail' => true, -) -===DONE=== Copied: trunk/src/tests/isbitmaptag001.phpt (from rev 506, trunk/src/tests/isbitmaptag.phpt) =================================================================== --- trunk/src/tests/isbitmaptag001.phpt (rev 0) +++ trunk/src/tests/isbitmaptag001.phpt 2011-04-01 12:57:35 UTC (rev 507) @@ -0,0 +1,27 @@ +--TEST-- +isBitmapTag() +--FILE-- +<?php + +$swfdata = file_get_contents('tests/saitama.swf'); +$obj = new SWFEditor(); +$obj->input($swfdata); +foreach ($obj->getTagList() as $seqno => $tagInfo) { + $data = $obj->getTagData($seqno); + if ($obj->isBitmapTagData($data)) { + echo "seqno=$seqno\n"; + var_export($tagInfo); + echo "\n"; + } +} +?> +===DONE=== +--EXPECTF-- +seqno=3 +array ( + 'tag' => 6, + 'tagName' => 'DefineBitsJPEG', + 'length' => 2133, + 'detail' => true, +) +===DONE=== Deleted: trunk/src/tests/isshapetag.phpt =================================================================== --- trunk/src/tests/isshapetag.phpt 2011-04-01 12:54:34 UTC (rev 506) +++ trunk/src/tests/isshapetag.phpt 2011-04-01 12:57:35 UTC (rev 507) @@ -1,27 +0,0 @@ ---TEST-- -isShapeTag() ---FILE-- -<?php - -$swfdata = file_get_contents('tests/saitama.swf'); -$obj = new SWFEditor(); -$obj->input($swfdata); -foreach ($obj->getTagList() as $seqno => $tagInfo) { - $data = $obj->getTagData($seqno); - if ($obj->isShapeTagData($data)) { - echo "seqno=$seqno\n"; - var_export($tagInfo); - echo "\n"; - } -} -?> -===DONE=== ---EXPECTF-- -seqno=4 -array ( - 'tag' => 2, - 'tagName' => 'DefineShape', - 'length' => 51, - 'detail' => true, -) -===DONE=== Copied: trunk/src/tests/isshapetag001.phpt (from rev 506, trunk/src/tests/isshapetag.phpt) =================================================================== --- trunk/src/tests/isshapetag001.phpt (rev 0) +++ trunk/src/tests/isshapetag001.phpt 2011-04-01 12:57:35 UTC (rev 507) @@ -0,0 +1,27 @@ +--TEST-- +isShapeTag() +--FILE-- +<?php + +$swfdata = file_get_contents('tests/saitama.swf'); +$obj = new SWFEditor(); +$obj->input($swfdata); +foreach ($obj->getTagList() as $seqno => $tagInfo) { + $data = $obj->getTagData($seqno); + if ($obj->isShapeTagData($data)) { + echo "seqno=$seqno\n"; + var_export($tagInfo); + echo "\n"; + } +} +?> +===DONE=== +--EXPECTF-- +seqno=4 +array ( + 'tag' => 2, + 'tagName' => 'DefineShape', + 'length' => 51, + 'detail' => true, +) +===DONE===