svnno****@sourc*****
svnno****@sourc*****
2011年 3月 26日 (土) 02:49:43 JST
Revision: 472 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=472 Author: yoya Date: 2011-03-26 02:49:43 +0900 (Sat, 26 Mar 2011) Log Message: ----------- setActionVariables のテストスクリプト Added Paths: ----------- trunk/src/tests/action001.phpt -------------- next part -------------- Added: trunk/src/tests/action001.phpt =================================================================== --- trunk/src/tests/action001.phpt (rev 0) +++ trunk/src/tests/action001.phpt 2011-03-25 17:49:43 UTC (rev 472) @@ -0,0 +1,16 @@ +--TEST-- +setActionVariables() : merge to doaction +--FILE-- +<?php + +$swfdata = file_get_contents('tests/textvar.swf'); +$obj = new SWFEditor(); +$obj->input($swfdata); +$params = array('dummy' => 'dummydummy'); +$obj->setActionVariables($params); +echo md5($obj->output())."\n"; +?> +===DONE=== +--EXPECTF-- +120f1086954ded7c3110609fa12cf90d +===DONE===