mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
Update file resource tests
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
templates_2
|
|
@@ -1 +0,0 @@
|
|||||||
php hello world
|
|
@@ -1,5 +0,0 @@
|
|||||||
{block name="alpha"}templates_3{/block}
|
|
||||||
{block name="bravo"}
|
|
||||||
{block name="bravo_1"}templates_3{/block}
|
|
||||||
{block name="bravo_2"}templates_3{/block}
|
|
||||||
{/block}
|
|
@@ -1,3 +0,0 @@
|
|||||||
{block name="alpha"}templates_4{/block}
|
|
||||||
{block name="bravo"}templates_4{/block}
|
|
||||||
{block name="charlie"}templates_4{/block}
|
|
@@ -7,7 +7,7 @@
|
|||||||
* @author Rodney Rehm
|
* @author Rodney Rehm
|
||||||
* @backupStaticAttributes enabled
|
* @backupStaticAttributes enabled
|
||||||
*/
|
*/
|
||||||
class IndexedFileResourceTest extends PHPUnit_Smarty
|
class FileResourceIndexedTest extends PHPUnit_Smarty
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
@@ -18,6 +18,10 @@ class IndexedFileResourceTest extends PHPUnit_Smarty
|
|||||||
$this->smarty->addTemplateDir(__DIR__ . '/templates_4', 'foo');
|
$this->smarty->addTemplateDir(__DIR__ . '/templates_4', 'foo');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testInit()
|
||||||
|
{
|
||||||
|
$this->cleanDirs();
|
||||||
|
}
|
||||||
|
|
||||||
public function testGetTemplateFilepath()
|
public function testGetTemplateFilepath()
|
||||||
{
|
{
|
@@ -0,0 +1 @@
|
|||||||
|
templates
|
Reference in New Issue
Block a user