[Beeframework-svn] SF.net SVN: beeframework:[259] trunk
Brought to you by:
b_hartmann,
m_plomer
From: <m_p...@us...> - 2014-10-15 19:49:22
|
Revision: 259 http://sourceforge.net/p/beeframework/code/259 Author: m_plomer Date: 2014-10-15 19:49:12 +0000 (Wed, 15 Oct 2014) Log Message: ----------- - fixed some tests Modified Paths: -------------- trunk/framework/Bee/MVC/Controller/Multiaction/HandlerMethodInvocator/RegexMappingInvocationResolver.php trunk/tests/Bee/Cache/Provider/AbstractSerializingTest.php trunk/tests/Bee/Cache/Provider/FileTest.php Modified: trunk/framework/Bee/MVC/Controller/Multiaction/HandlerMethodInvocator/RegexMappingInvocationResolver.php =================================================================== --- trunk/framework/Bee/MVC/Controller/Multiaction/HandlerMethodInvocator/RegexMappingInvocationResolver.php 2014-10-15 18:59:03 UTC (rev 258) +++ trunk/framework/Bee/MVC/Controller/Multiaction/HandlerMethodInvocator/RegexMappingInvocationResolver.php 2014-10-15 19:49:12 UTC (rev 259) @@ -48,7 +48,7 @@ /** * @var HandlerMethodMetadata[] */ - private static $methodMetadataMap; + private static $methodMetadataMap = array(); /** * @var MethodInvocation[] Modified: trunk/tests/Bee/Cache/Provider/AbstractSerializingTest.php =================================================================== --- trunk/tests/Bee/Cache/Provider/AbstractSerializingTest.php 2014-10-15 18:59:03 UTC (rev 258) +++ trunk/tests/Bee/Cache/Provider/AbstractSerializingTest.php 2014-10-15 19:49:12 UTC (rev 259) @@ -24,7 +24,7 @@ * Time: 15:16 */ -class Bee_Cache_Provider_AbstractSerializingTest extends PHPUnit_Framework_TestCase { +class AbstractSerializingTest extends PHPUnit_Framework_TestCase { // /** // * Initialize the cache provider if necessary. Called once per request, before the first cache access is made. @@ -79,7 +79,7 @@ private $provider; protected function setUp() { - $this->provider = new Bee_Cache_Provider_AbstractSerializingMock(array( + $this->provider = new AbstractSerializingMock(array( 'foo' => serialize('bar'), 'foo__ETIME__' => time() )); @@ -106,10 +106,10 @@ $value2 = array( 'level-1-1' => 'level-1-1 value', 'level-1-2' => 17, - 'level-1-3' => new stdClass(), + 'level-1-3' => new \stdClass(), 'level-1-4' => array( - 'level-2-1' => new stdClass(), - 'level-2-2' => new stdClass(), + 'level-2-1' => new \stdClass(), + 'level-2-2' => new \stdClass(), 'level-2-3' => 'level-2-3 value', 'level-2-3' => array( 'value-true' => true, Modified: trunk/tests/Bee/Cache/Provider/FileTest.php =================================================================== --- trunk/tests/Bee/Cache/Provider/FileTest.php 2014-10-15 18:59:03 UTC (rev 258) +++ trunk/tests/Bee/Cache/Provider/FileTest.php 2014-10-15 19:49:12 UTC (rev 259) @@ -1,4 +1,5 @@ <?php +namespace Bee\Cache\Provider; /* * Copyright 2008-2010 the original author or authors. * @@ -15,6 +16,7 @@ * limitations under the License. */ use Bee\Cache\IProvider; +use PHPUnit_Framework_TestCase; /** * User: mp @@ -22,7 +24,7 @@ * Time: 15:16 */ -class Bee_Cache_Provider_FileTest extends PHPUnit_Framework_TestCase { +class FileTest extends PHPUnit_Framework_TestCase { // /** // * Initialize the cache provider if necessary. Called once per request, before the first cache access is made. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |