mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
Update forr 3.1.28
This commit is contained in:
@@ -34,7 +34,7 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty
|
|||||||
'./templates_4',
|
'./templates_4',
|
||||||
));
|
));
|
||||||
|
|
||||||
$expected = "templates\n templates_3\n templates\n\ntemplates_4";
|
$expected = "templates\n\n templates_3\n templates\n\ntemplates_4";
|
||||||
$this->assertEquals($expected, $this->smarty->fetch('extendsall:extendsall.tpl'));
|
$this->assertEquals($expected, $this->smarty->fetch('extendsall:extendsall.tpl'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,30 +0,0 @@
|
|||||||
<?php /* Smarty version 3.1.28-dev/48, created on 2015-08-23 18:25:58
|
|
||||||
compiled from "C:\wamp\www\Smarty3.1-test-release\vendor\smarty\smarty-phpunit\UnitTests\ResourceTests\File\templates\relativity\relativity.tpl" */ ?>
|
|
||||||
<?php
|
|
||||||
/*%%SmartyHeaderCode:184755d9f416299867_60310907%%*/
|
|
||||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
'version' => '3.1.28-dev/48',
|
|
||||||
'unifunc' => 'content_55d9f41629daa8_36854466',
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'431c052c4f3ffcf0b29a0853bdf3032cafec4a8c' =>
|
|
||||||
array (
|
|
||||||
0 => 'C:\\wamp\\www\\Smarty3.1-test-release\\vendor\\smarty\\smarty-phpunit\\UnitTests\\ResourceTests\\File\\templates\\relativity\\relativity.tpl',
|
|
||||||
1 => 1431983334,
|
|
||||||
2 => 'file',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'includes' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
),false);
|
|
||||||
/*/%%SmartyHeaderCode%%*/
|
|
||||||
if ($_valid && !is_callable('content_55d9f41629daa8_36854466')) {
|
|
||||||
function content_55d9f41629daa8_36854466 ($_smarty_tpl) {
|
|
||||||
|
|
||||||
$_smarty_tpl->compiled->nocache_hash = '184755d9f416299867_60310907';
|
|
||||||
?>
|
|
||||||
relativity<?php }
|
|
||||||
}
|
|
||||||
?>
|
|
@@ -552,7 +552,7 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException SmartyCompilerException
|
* @expectedException SmartyException
|
||||||
* @expectedExceptionMessage tag {$smarty.block.parent} used in parent template
|
* @expectedExceptionMessage tag {$smarty.block.parent} used in parent template
|
||||||
* test {$this->smarty.block.parent} in parent template
|
* test {$this->smarty.block.parent} in parent template
|
||||||
*/
|
*/
|
||||||
|
@@ -1,44 +0,0 @@
|
|||||||
<?php /* Smarty version 3.1.28-dev/48, created on 2015-08-23 18:26:37
|
|
||||||
compiled from "C:\wamp\www\Smarty3.1-test-release\vendor\smarty\smarty-phpunit\UnitTests\TemplateSource\TagTests\BockExtend\templates\021_grandchild.tpl" */ ?>
|
|
||||||
<?php
|
|
||||||
/*%%SmartyHeaderCode:728455d9f43d295485_19027780%%*/
|
|
||||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
'version' => '3.1.28-dev/48',
|
|
||||||
'unifunc' => 'content_55d9f43d2c6952_85477004',
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'e910375493c61ffa81f68c2db217d88c56a35dd8' =>
|
|
||||||
array (
|
|
||||||
0 => 'C:\\wamp\\www\\Smarty3.1-test-release\\vendor\\smarty\\smarty-phpunit\\UnitTests\\TemplateSource\\TagTests\\BockExtend\\templates\\021_grandchild.tpl',
|
|
||||||
1 => 1440347192,
|
|
||||||
2 => 'file',
|
|
||||||
),
|
|
||||||
'9dadb76e561d52673b400f87b15471be331b20cf' =>
|
|
||||||
array (
|
|
||||||
0 => 'C:\\wamp\\www\\Smarty3.1-test-release\\vendor\\smarty\\smarty-phpunit\\UnitTests\\TemplateSource\\TagTests\\BockExtend\\templates\\021_child.tpl',
|
|
||||||
1 => 1440347195,
|
|
||||||
2 => 'file',
|
|
||||||
),
|
|
||||||
'7c23e4563ca20b72f2b45ce0c4f3ec929d8084bc' =>
|
|
||||||
array (
|
|
||||||
0 => 'C:\\wamp\\www\\Smarty3.1-test-release\\vendor\\smarty\\smarty-phpunit\\UnitTests\\TemplateSource\\TagTests\\BockExtend\\templates\\021_parent.tpl',
|
|
||||||
1 => 1440347197,
|
|
||||||
2 => 'file',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'includes' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
),false);
|
|
||||||
/*/%%SmartyHeaderCode%%*/
|
|
||||||
if ($_valid && !is_callable('content_55d9f43d2c6952_85477004')) {
|
|
||||||
function content_55d9f43d2c6952_85477004 ($_smarty_tpl) {
|
|
||||||
|
|
||||||
$_smarty_tpl->compiled->nocache_hash = '728455d9f43d295485_19027780';
|
|
||||||
$_smarty_tpl->compiled->nocache_hash = '728455d9f43d295485_19027780';
|
|
||||||
?>
|
|
||||||
Grandchild Page Title
|
|
||||||
<?php }
|
|
||||||
}
|
|
||||||
?>
|
|
@@ -42,7 +42,6 @@
|
|||||||
</filter>
|
</filter>
|
||||||
<logging>
|
<logging>
|
||||||
highlight="false" lowUpperBound="35" highLowerBound="70"/>
|
highlight="false" lowUpperBound="35" highLowerBound="70"/>
|
||||||
<log type="tap" target="TestResults.tap"/>
|
</logging>
|
||||||
</logging>
|
|
||||||
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
Reference in New Issue
Block a user