git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/swfed/trunk@511
7c90b180-03d5-4157-b861-
58a559ae9d1e
--- /dev/null
+--TEST--
+replaceTagDataByCID
+--FILE--
+<?php
+
+$swf_filename = 'tests/negimiku.swf';
+$tag_filename = 'tests/saitama-3.bits';
+
+$swfdata = file_get_contents($swf_filename);
+$tagdata = file_get_contents($tag_filename);
+
+$obj = new SWFEditor();
+$obj->input($swfdata);
+$image_id = 3;
+$obj->replaceTagDataByCID($image_id, $tagdata);
+echo md5($obj->output())."\n";
+# echo $obj->output();
+?>
+===DONE===
+--EXPECTF--
+9e6a37ff862431e5820532aa8fa6ffc7
+===DONE===