|
|
@ -60,6 +60,9 @@ class LoadTest extends PHPUnit_Framework_TestCase |
|
|
|
Load::autoload('Action'); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @TODO: Load::autoload() needs self::$autoload = require(self::$file); after self::buildAutoload(); |
|
|
|
*/ |
|
|
|
public function testDebugAutoload() |
|
|
|
{ |
|
|
|
Load::setAutoloadFrom(self::$file); |
|
|
@ -69,8 +72,7 @@ class LoadTest extends PHPUnit_Framework_TestCase |
|
|
|
|
|
|
|
define('DEBUG', true); |
|
|
|
Load::autoload('Func'); |
|
|
|
Load::autoload('Captcha'); |
|
|
|
|
|
|
|
Load::autoload('Captcha'); |
|
|
|
} |
|
|
|
|
|
|
|
public function testAutoloadArrayExists() |
|
|
|