|
|
@@ -526,6 +526,16 @@ class Zend_LoaderTest extends PHPUnit_Framework_TestCase
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * @group ZF-9100
|
|
|
+ */
|
|
|
+ public function testIsReadableShouldReturnTrueForAbsolutePaths()
|
|
|
+ {
|
|
|
+ set_include_path(dirname(__FILE__) . '../../');
|
|
|
+ $path = dirname(__FILE__);
|
|
|
+ $this->assertTrue(Zend_Loader::isReadable($path));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* In order to play nice with spl_autoload, an autoload callback should
|
|
|
* *not* emit errors (exceptions are okay). ZF-2923 requests that this
|
|
|
* behavior be applied, which counters the previous request in ZF-2463.
|