lithium\tests\cases\core\LibrariesTest::testPathTemplateWithGlobBrace PHP Метод

testPathTemplateWithGlobBrace() публичный Метод

Устаревший:
    public function testPathTemplateWithGlobBrace()
    {
        error_reporting(($original = error_reporting()) & ~E_USER_DEPRECATED);
        Libraries::paths(array('analysis' => array('{:library}\\analysis\\*{Docblock,Debugger}')));
        $analysis = list($docblock, $debugger) = Libraries::locate('analysis', null, array('recursive' => false, 'format' => false));
        $this->assertCount(2, $analysis);
        $this->assertPattern('/Docblock\\.php/', $docblock);
        $this->assertPattern('/Debugger\\.php/', $debugger);
        error_reporting($original);
    }