[Swfed-svn] swfed-svn [463] replaceMovieClip のテストスクリプト

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2011年 3月 25日 (金) 01:04:29 JST


Revision: 463
          http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=463
Author:   yoya
Date:     2011-03-25 01:04:29 +0900 (Fri, 25 Mar 2011)

Log Message:
-----------
replaceMovieClip のテストスクリプト

Added Paths:
-----------
    trunk/src/tests/movieclip001.phpt
    trunk/src/tests/negi.swf
    trunk/src/tests/saitama3.swf


-------------- next part --------------
Added: trunk/src/tests/movieclip001.phpt
===================================================================
--- trunk/src/tests/movieclip001.phpt	                        (rev 0)
+++ trunk/src/tests/movieclip001.phpt	2011-03-24 16:04:29 UTC (rev 463)
@@ -0,0 +1,21 @@
+--TEST--
+replaceGIFData test;
+--FILE--
+<?php
+
+$swf_filename = 'tests/negi.swf';
+$swf_filename2 = 'tests/saitama3.swf';
+
+$swfdata = file_get_contents($swf_filename);
+$swfdata2 = file_get_contents($swf_filename2);
+$obj = new SWFEditor();
+
+$obj->input($swfdata);
+
+$obj->replaceMovieClip('miku', $swfdata2);
+echo md5($obj->output())."\n";
+?>
+===DONE===
+--EXPECTF--
+967f0de27ae9f02cf658000a0b802fc6
+===DONE===

Added: trunk/src/tests/negi.swf
===================================================================
(Binary files differ)


Property changes on: trunk/src/tests/negi.swf
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: trunk/src/tests/saitama3.swf
===================================================================
(Binary files differ)


Property changes on: trunk/src/tests/saitama3.swf
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream



Swfed-svn メーリングリストの案内
Zurück zum Archiv-Index