From f07e342d616e9a42636e69b70e65392c52ec3e2c Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Thu, 5 Jan 2023 23:06:02 +0100 Subject: [PATCH] Removed now unneeded PHPunit annotations @run(Tests)InSeparateProcess, @preserveGlobalState and @backupStaticAttributes. Made CacheResourceTestCommon abstract to prevent the base class from running tests (and always failing). Unregister a previously registered stream wrapper. Fixes a lot of tests. --- tests/PHPUnit_Smarty.php | 9 - .../PathNormalizationTest.php | 6 +- .../TemlateDirNormalizationTest.php | 4 +- .../ProtectedFolderVarsTest.php | 4 +- .../UndefinedTemplateVarTest.php | 2 +- .../A_Core/AutoEscape/AutoEscapeTest.php | 6 +- tests/UnitTests/A_Core/Filter/FilterTest.php | 24 +-- .../A_Core/GetterSetter/GetterSetterTest.php | 8 +- .../LoadPlugin/DefaultPluginHandlerTest.php | 8 +- .../ModifiedSince/HttpModifiedSinceTest.php | 8 +- .../Apc/CacheResourceCustomApcTest.php | 6 +- .../File/CacheResourceFileTest.php | 8 +- .../CacheResourceCustomMemcacheTest.php | 8 +- .../Mysql/CacheResourceCustomMysqlTest.php | 6 +- .../PDO/CacheResourceCustomPDOTest.php | 6 +- .../CacheResourceCustomPDOGzipTest.php | 4 +- .../CacheResourceCustomRegisteredTest.php | 6 +- .../_shared/CacheResourceTestCommon.php | 23 +-- .../CompileCompilerPluginTest.php | 8 +- .../Compiler/Delimiter/AutoLiteralTest.php | 12 +- .../Compiler/Delimiter/DelimiterTest.php | 8 +- .../Compiler/Delimiter/UserLiteralTest.php | 8 +- .../DefaultConfigHandlerTest.php | 6 +- .../ConfigFileTests/file/ConfigVarTest.php | 83 +------- .../Ambiguous/CustomResourceAmbiguousTest.php | 25 +-- .../PHPunitplugins/resource.ambiguous.php | 2 +- .../ResourceExtendsAllPluginTest.php | 30 +-- .../ResourceMysqlPluginTest.php | 38 +--- .../DefaultTemplateHandlerTest.php | 8 +- .../ResourceTests/Eval/EvalResourceTest.php | 8 +- .../Extends/ExtendsResourceTest.php | 40 +--- .../ResourceTests/File/FileResourceTest.php | 33 ++-- .../FileIndexed/FileResourceIndexedTest.php | 8 +- .../Registered/RegisteredResourceTest.php | 8 +- .../ResourcePlugins/ResourcePluginTest.php | 8 +- .../Stream/StreamResourceTest.php | 13 +- .../String/StringResourceTest.php | 8 +- .../UnitTests/SecurityTests/FunctionTest.php | 8 +- .../UnitTests/SecurityTests/SecurityTest.php | 60 +++--- .../SmartyMethodsTests/Append/AppendTest.php | 8 +- .../AppendByRef/AppendByRefTest.php | 8 +- .../SmartyMethodsTests/Assign/AssignTest.php | 8 +- .../AssignByRef/AssignByRefTest.php | 8 +- .../AssignGlobal/AssignGlobalTest.php | 8 +- .../ClearAllAssign/ClearAllAssignTest.php | 8 +- .../ClearAssign/ClearAssignTest.php | 8 +- .../ClearCompiledTest.php | 8 +- .../GetTemplateVars/GetTemplateVarsTest.php | 8 +- .../RegisterBlock/RegisterBlockTest.php | 36 ++-- .../RegisterCompilerFunctionTest.php | 8 +- .../RegisterFunction/RegisterFunctionTest.php | 22 +-- .../RegisterModifier/RegisterModifierTest.php | 8 +- .../CompileRegisteredObjectFunctionTest.php | 8 +- .../TemplateExist/TemplateExistsTest.php | 8 +- .../TemplateSource/Comments/CommentsTest.php | 8 +- .../TemplateSource/Spacing/SpacingTest.php | 10 +- .../StaticClass/StaticClassAccessTest.php | 8 +- .../TagTests/Append/CompileAppendTest.php | 22 +-- .../TagTests/Assign/CompileAssignTest.php | 20 +- .../BlockPlugin/CompileBlockPluginTest.php | 6 +- .../BlockPlugin/PHPunitplugins/block.noop.php | 4 +- .../PHPunitplugins/block.nooutput.php | 4 +- .../PHPunitplugins/block.testblock.php | 4 +- .../PHPunitplugins/block.testparameter.php | 4 +- .../BockExtend/CompileBlockExtendsTest.php | 182 +++++++++--------- .../TagTests/Capture/CompileCaptureTest.php | 18 +- .../CompilerPlugin/CompilerPluginTest.php | 8 +- .../ConfigLoad/CompileConfigLoadTest.php | 50 ++--- .../Delimiter/CompileDelimiterTest.php | 6 +- .../TagTests/Eval/CompileEvalTest.php | 8 +- .../TagTests/For/CompileForTest.php | 28 +-- .../TagTests/Foreach/CompileForeachTest.php | 42 ++-- .../CompileFunctionPluginTest.php | 8 +- .../TagTests/If/CompileIfTest.php | 16 +- .../TagTests/Include/CompileIncludeTest.php | 64 +++--- .../TagTests/Literal/LiteralTest.php | 8 +- .../MakeNocache/CompileMakeNocacheTest.php | 38 ++-- .../TagTests/Nocache/CompileNocacheTest.php | 12 +- .../PluginBlock/PluginBlockTextformatTest.php | 8 +- .../PluginFunctionFetchTest.php | 20 +- .../PluginFunctionHtmlCheckboxesTest.php | 8 +- .../PluginFunctionHtmlOptionsTest.php | 8 +- .../PluginFunctionHtmlRadiosTest.php | 8 +- .../PluginFunctionHtmlSelectDateTest.php | 8 +- .../PluginFunctionHtmlSelectTimeTest.php | 8 +- .../PluginFunctionMailtoTest.php | 8 +- .../PluginModifierCapitalizeTest.php | 6 +- .../PluginModifierCharsetTest.php | 6 +- .../PluginModifierCountCharactersTest.php | 6 +- .../PluginModifierCountSentencesTest.php | 8 +- .../PluginModifierCountTest.php | 4 +- .../PluginModifierCountWordsTest.php | 8 +- .../PluginModifierDefaultTest.php | 8 +- .../PluginModifierEscapeTest.php | 8 +- .../PluginModifierExplodeTest.php | 6 +- .../PluginModifierLowerTest.php | 8 +- .../PluginModifierNl2brTest.php | 4 +- .../PluginModifierNumberFormatTest.php | 6 +- .../PluginModifierRegexReplaceTest.php | 8 +- .../PluginModifierReplaceTest.php | 6 +- .../PluginModifierSpacifyTest.php | 8 +- .../PluginModifierStrRepeatTest.php | 4 +- .../PluginModifierStripTest.php | 8 +- .../PluginModifierTruncateTest.php | 8 +- .../PluginModifierUnescapeTest.php | 8 +- .../PluginModifierUpperTest.php | 8 +- .../PluginModifierWordwrapTest.php | 8 +- .../TagTests/Section/CompileSectionTest.php | 16 +- .../SetFilter/CompileSetfilterTest.php | 14 +- .../TagTests/Strip/CompileStripTest.php | 8 +- .../TemplateFunction/CompileFunctionTest.php | 92 ++++----- .../TagTests/While/CompileWhileTest.php | 14 +- .../TagTests/_Attributes/AttributeTest.php | 8 +- .../TagTests/_Error/CompileErrorTest.php | 6 +- .../TagTests/_Print/PrintTest.php | 20 +- .../TagTests/break/CompileBreakTest.php | 8 +- .../ValueTests/Array/ArrayTest.php | 12 +- .../ValueTests/BoolenNull/BooleanNullTest.php | 8 +- .../ConstantTests/ConstantsTest.php | 8 +- .../DoubleQuoted/DoubleQuotedStringTest.php | 10 +- .../ValueTests/Math/MathTest.php | 8 +- .../ValueTests/Modifier/ModifierTest.php | 10 +- .../ValueTests/Objects/ObjectVariableTest.php | 8 +- .../PHPfunctions/PhpFunctionTest.php | 8 +- .../SingleQouted/SingleQuotedStringTest.php | 8 +- .../Constant/SmartyConstantTest.php | 8 +- .../SmartySpecialVars/Cookie/CookieTest.php | 16 +- .../Delimiter/SmartyDelimiterTest.php | 8 +- .../Error/SmartyErrorTest.php | 8 +- .../SmartySpecialVars/Now/SmartyNowTest.php | 8 +- .../SmartySpecialVars/Post/PostTest.php | 16 +- .../SmartyTemplateObjectTest.php | 8 +- .../Version/SmartyVersionTest.php | 8 +- .../Variables/Stream/StreamVariableTest.php | 8 +- .../VariableVariable/VariableVariableTest.php | 8 +- .../TemplateSource/X_Scopes/ScopeTest.php | 22 +-- .../UnitTests/TemplateSource/Xml/XmlTest.php | 8 +- .../_Issues/327/ModifierIssue327Test.php | 6 +- .../_Issues/419/ExtendsIssue419Test.php | 6 +- .../_Issues/422/NestedLoopIssue422Test.php | 6 +- ...ctionPropertiesShortSyntaxIssue428Test.php | 6 +- .../549/MbSplitEncodingIssue549Test.php | 6 +- .../_Issues/topic26878/NewlineSpacing.php | 10 +- .../PHPunitplugins/block.dummyblock.php | 4 +- .../compiler.getparamsshort.php | 4 +- .../function.checkconfigvar.php | 4 +- .../PHPunitplugins/function.checkvar.php | 4 +- .../PHPunitplugins/function.getparams.php | 4 +- .../PHPunitplugins/function.getvar.php | 4 +- .../PHPunitplugins/function.pluginassign.php | 4 +- .../cacheresources/cacheresource.apc.php | 2 +- .../cacheresources/cacheresource.memcache.php | 2 +- .../cacheresources/cacheresource.mysql.php | 2 +- .../resources/resource.extendsall.php | 2 +- 154 files changed, 883 insertions(+), 1113 deletions(-) diff --git a/tests/PHPUnit_Smarty.php b/tests/PHPUnit_Smarty.php index 22dad229..3e3dab7c 100644 --- a/tests/PHPUnit_Smarty.php +++ b/tests/PHPUnit_Smarty.php @@ -58,14 +58,6 @@ class PHPUnit_Smarty extends PHPUnit\Framework\TestCase public static $pluginsdir = null; - /** - * Default blacklist - * - * @var array - */ - protected $backupStaticAttributesBlacklist = array('PHPUnit_Smarty' => array('config', 'pdo', 'init', - 'testNumver', 'pluginsdir'),); - /** * This method is called before the first test of this test class is run. * @@ -101,7 +93,6 @@ class PHPUnit_Smarty extends PHPUnit\Framework\TestCase define('individualFolders', true); } parent::__construct($name, $data, $dataName); - $this->backupStaticAttributesBlacklist[ get_class($this) ] = array('init', 'config', 'pdo', 'testNumber'); } /** diff --git a/tests/UnitTests/A_0/PathNormalization/PathNormalizationTest.php b/tests/UnitTests/A_0/PathNormalization/PathNormalizationTest.php index 620f21c8..8cfaff44 100644 --- a/tests/UnitTests/A_0/PathNormalization/PathNormalizationTest.php +++ b/tests/UnitTests/A_0/PathNormalization/PathNormalizationTest.php @@ -6,9 +6,9 @@ /** * class for path normalization tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PathNormalizationTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/A_0/PathNormalization/TemlateDirNormalizationTest.php b/tests/UnitTests/A_0/PathNormalization/TemlateDirNormalizationTest.php index cf47ff0c..f13eb2ff 100644 --- a/tests/UnitTests/A_0/PathNormalization/TemlateDirNormalizationTest.php +++ b/tests/UnitTests/A_0/PathNormalization/TemlateDirNormalizationTest.php @@ -6,9 +6,9 @@ /** * class for path normalization tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class TemplateNormalizationTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/A_1/ProtectedFolderVars/ProtectedFolderVarsTest.php b/tests/UnitTests/A_1/ProtectedFolderVars/ProtectedFolderVarsTest.php index 981a39b7..1b7cd61a 100644 --- a/tests/UnitTests/A_1/ProtectedFolderVars/ProtectedFolderVarsTest.php +++ b/tests/UnitTests/A_1/ProtectedFolderVars/ProtectedFolderVarsTest.php @@ -8,9 +8,9 @@ use Smarty\Smarty; /** * class for protected $template_dir, $compile_dir, $cache_dir, $config_dir, $plugins_dir property tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class ProtectedFolderVarsTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/A_2/UndefinedTemplateVar/UndefinedTemplateVarTest.php b/tests/UnitTests/A_2/UndefinedTemplateVar/UndefinedTemplateVarTest.php index f57af244..13bcd0f7 100644 --- a/tests/UnitTests/A_2/UndefinedTemplateVar/UndefinedTemplateVarTest.php +++ b/tests/UnitTests/A_2/UndefinedTemplateVar/UndefinedTemplateVarTest.php @@ -6,7 +6,7 @@ /** * class for protected $template_dir, $compile_dir, $cache_dir, $config_dir, $plugins_dir property tests * - * @backupStaticAttributes enabled + * */ class UndefinedTemplateVarTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php b/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php index f98d9a84..f8ea54d5 100644 --- a/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php +++ b/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php @@ -6,9 +6,9 @@ /** * class for 'escapeHtml' property tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class AutoEscapeTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/A_Core/Filter/FilterTest.php b/tests/UnitTests/A_Core/Filter/FilterTest.php index c19feaeb..37a047fb 100644 --- a/tests/UnitTests/A_Core/Filter/FilterTest.php +++ b/tests/UnitTests/A_Core/Filter/FilterTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of filter * - * @package PHPunit + * @author Uwe Tews */ /** * class for filter tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class FilterTest extends PHPUnit_Smarty { @@ -68,9 +68,6 @@ class FilterTest extends PHPUnit_Smarty /** * test registered output filter not cached - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testRegisteredOutputFilter_001() { @@ -82,9 +79,6 @@ class FilterTest extends PHPUnit_Smarty /** * test registered output filter not cached 2" - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testRegisteredOutputFilter_001_2() { @@ -96,9 +90,6 @@ class FilterTest extends PHPUnit_Smarty /** * test registered output filter cached 1" - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testRegisteredOutputFilter_001_3() { @@ -112,9 +103,6 @@ class FilterTest extends PHPUnit_Smarty /** * test registered output filter cached 1" - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testRegisteredOutputFilter_001_4() { @@ -127,9 +115,6 @@ class FilterTest extends PHPUnit_Smarty /** * test registered output filter cached nocache" - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testRegisteredOutputFilter_002_1() { @@ -142,9 +127,6 @@ class FilterTest extends PHPUnit_Smarty /** * test registered output filter cached nocache" - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testRegisteredOutputFilter_002_2() { diff --git a/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php b/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php index da5a04f1..6a8fab62 100644 --- a/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php +++ b/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of generic getter/setter * - * @package PHPunit + * @author Uwe Tews */ /** * class for generic getter/setter tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class GetterSetterTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/A_Core/LoadPlugin/DefaultPluginHandlerTest.php b/tests/UnitTests/A_Core/LoadPlugin/DefaultPluginHandlerTest.php index 23b6050d..218cfab8 100644 --- a/tests/UnitTests/A_Core/LoadPlugin/DefaultPluginHandlerTest.php +++ b/tests/UnitTests/A_Core/LoadPlugin/DefaultPluginHandlerTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests deault plugin handler * - * @package PHPunit + * @author Uwe Tews */ /** * class for plugin handler tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class DefaultPluginHandlerTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php b/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php index 509620e6..5ce70c11 100644 --- a/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php +++ b/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests for cache resource file * - * @package PHPunit + * @author Uwe Tews */ /** * class for cache resource file tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class HttpModifiedSinceTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/CacheResourceTests/Apc/CacheResourceCustomApcTest.php b/tests/UnitTests/CacheResourceTests/Apc/CacheResourceCustomApcTest.php index 6b75c0cb..d75382d0 100644 --- a/tests/UnitTests/CacheResourceTests/Apc/CacheResourceCustomApcTest.php +++ b/tests/UnitTests/CacheResourceTests/Apc/CacheResourceCustomApcTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource Apc * - * @package PHPunit + * @author Uwe Tews */ include_once __DIR__ . '/../Memcache/CacheResourceCustomMemcacheTest.php'; @@ -11,9 +11,9 @@ include_once __DIR__ . '/../_shared/PHPunitplugins/cacheresource.apctest.php'; /** * class for cache resource file tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CacheResourceCustomApcTest extends CacheResourceCustomMemcacheTest { diff --git a/tests/UnitTests/CacheResourceTests/File/CacheResourceFileTest.php b/tests/UnitTests/CacheResourceTests/File/CacheResourceFileTest.php index 56a1a49c..d8eae623 100644 --- a/tests/UnitTests/CacheResourceTests/File/CacheResourceFileTest.php +++ b/tests/UnitTests/CacheResourceTests/File/CacheResourceFileTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource file * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ include_once __DIR__ . '/../_shared/CacheResourceTestCommon.php'; /** * class for cache resource file tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CacheResourceFileTest extends CacheResourceTestCommon { diff --git a/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php b/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php index 434f2fa1..4f47d256 100644 --- a/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php +++ b/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource memcache * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ include_once __DIR__ . '/../_shared/CacheResourceTestCommon.php'; /** * class for cache resource memcache tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CacheResourceCustomMemcacheTest extends CacheResourceTestCommon { diff --git a/tests/UnitTests/CacheResourceTests/Mysql/CacheResourceCustomMysqlTest.php b/tests/UnitTests/CacheResourceTests/Mysql/CacheResourceCustomMysqlTest.php index 3db8ccd8..c00a0282 100644 --- a/tests/UnitTests/CacheResourceTests/Mysql/CacheResourceCustomMysqlTest.php +++ b/tests/UnitTests/CacheResourceTests/Mysql/CacheResourceCustomMysqlTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource mysql * - * @package PHPunit + * @author Uwe Tews */ if (MysqlCacheEnable == true) { @@ -12,9 +12,9 @@ if (MysqlCacheEnable == true) { /** * class for cache resource file tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CacheResourceCustomMysqlTest extends CacheResourceTestCommon { diff --git a/tests/UnitTests/CacheResourceTests/PDO/CacheResourceCustomPDOTest.php b/tests/UnitTests/CacheResourceTests/PDO/CacheResourceCustomPDOTest.php index 71d5b994..2a372450 100644 --- a/tests/UnitTests/CacheResourceTests/PDO/CacheResourceCustomPDOTest.php +++ b/tests/UnitTests/CacheResourceTests/PDO/CacheResourceCustomPDOTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource Pdo * - * @package PHPunit + * @author Uwe Tews */ @@ -12,9 +12,9 @@ include_once __DIR__ . '/cacheresource.pdotest.php'; /** * class for cache resource file tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CacheResourceCustomPDOTest extends CacheResourceTestCommon { diff --git a/tests/UnitTests/CacheResourceTests/PDOgzip/CacheResourceCustomPDOGzipTest.php b/tests/UnitTests/CacheResourceTests/PDOgzip/CacheResourceCustomPDOGzipTest.php index 6921892b..bcd89b8d 100644 --- a/tests/UnitTests/CacheResourceTests/PDOgzip/CacheResourceCustomPDOGzipTest.php +++ b/tests/UnitTests/CacheResourceTests/PDOgzip/CacheResourceCustomPDOGzipTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource file * - * @package PHPunit + * @author Uwe Tews */ @@ -13,7 +13,7 @@ include_once __DIR__ . '/cacheresource.pdo_gziptest.php'; /** * class for cache resource file tests * - * @backupStaticAttributes enabled + * */ class CacheResourceCustomPDOGzipTest extends CacheResourceTestCommon { diff --git a/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php b/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php index 8bd34941..03acf270 100644 --- a/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php +++ b/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource registered * - * @package PHPunit + * @author Uwe Tews */ if (MysqlCacheEnable == true) { @@ -11,9 +11,9 @@ if (MysqlCacheEnable == true) { /** * class for cache resource file tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CacheResourceCustomRegisteredTest extends CacheResourceTestCommon { diff --git a/tests/UnitTests/CacheResourceTests/_shared/CacheResourceTestCommon.php b/tests/UnitTests/CacheResourceTests/_shared/CacheResourceTestCommon.php index ede70b11..7d0788ef 100644 --- a/tests/UnitTests/CacheResourceTests/_shared/CacheResourceTestCommon.php +++ b/tests/UnitTests/CacheResourceTests/_shared/CacheResourceTestCommon.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for cache resource file * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Template; /** * class for cache resource file tests * - * @backupStaticAttributes enabled + * */ -class CacheResourceTestCommon extends PHPUnit_Smarty +abstract class CacheResourceTestCommon extends PHPUnit_Smarty { public static $touchResource = null; @@ -403,8 +403,6 @@ class CacheResourceTestCommon extends PHPUnit_Smarty } /** * Test caching - * @runInSeparateProcess - * @preserveGlobalState disabled * @dataProvider data * @group slow */ @@ -507,12 +505,7 @@ class CacheResourceTestCommon extends PHPUnit_Smarty array(10, 4, 6, null, false, 2, 10, false, false, false, 32, 32, 32, 'lock timeout - new compiled'), ); } - /** - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * - */ + public function testCachingDisabled1() { $this->smarty->assign('test', 50); @@ -520,12 +513,6 @@ class CacheResourceTestCommon extends PHPUnit_Smarty $this->assertFalse($tpl->isCached(), 'isCached() status'); $this->assertEquals('cache resource test:50 compiled:50 rendered:50', $this->smarty->fetch($tpl), 'fetch()'); } - /** - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * - */ public function testCachingDisabled2() { $this->smarty->assign('test', 51); @@ -536,8 +523,6 @@ class CacheResourceTestCommon extends PHPUnit_Smarty /** * Test caching - * @runInSeparateProcess - * @preserveGlobalState disabled * @dataProvider dataDir * */ diff --git a/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php b/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php index e85828a6..d894b8c9 100644 --- a/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php +++ b/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of compiler plugins * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler plugin tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileCompilerPluginTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/Compiler/Delimiter/AutoLiteralTest.php b/tests/UnitTests/Compiler/Delimiter/AutoLiteralTest.php index d359ba63..40d21653 100644 --- a/tests/UnitTests/Compiler/Delimiter/AutoLiteralTest.php +++ b/tests/UnitTests/Compiler/Delimiter/AutoLiteralTest.php @@ -2,15 +2,15 @@ /** * Smarty PHPunit tests of delimiter * - * @package PHPunit + * @author Uwe Tews */ /** * class for delimiter tests * - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * */ class AutoliteralTest extends PHPUnit_Smarty { @@ -44,8 +44,6 @@ class AutoliteralTest extends PHPUnit_Smarty } /** * test '{ ' delimiter in double quotes auto_literal true - * @runInSeparateProcess - * */ public function testSetAutoliteralDoublequote() { @@ -54,8 +52,6 @@ class AutoliteralTest extends PHPUnit_Smarty } /** * test '{ ' delimiter in double quotes auto_literal false - * @runInSeparateProcess - * */ public function testSetAutoliteralDoublequote2() { @@ -66,8 +62,6 @@ class AutoliteralTest extends PHPUnit_Smarty /** * test '{{ ' delimiter in double quotes auto_literal true - * @runInSeparateProcess - * */ public function testSetAutoliteralDoublequote3() { diff --git a/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php b/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php index 06d5c6f3..ceb98e55 100644 --- a/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php +++ b/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of delimiter * - * @package PHPunit + * @author Uwe Tews */ /** * class for delimiter tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class DelimiterTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php b/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php index 52308a20..33a17eea 100644 --- a/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php +++ b/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of delimiter * - * @package PHPunit + * @author Uwe Tews */ /** * class for delimiter tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class UserliteralTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ConfigFileTests/defaultHandler/DefaultConfigHandlerTest.php b/tests/UnitTests/ConfigFileTests/defaultHandler/DefaultConfigHandlerTest.php index d9efbb1f..faa88c0e 100644 --- a/tests/UnitTests/ConfigFileTests/defaultHandler/DefaultConfigHandlerTest.php +++ b/tests/UnitTests/ConfigFileTests/defaultHandler/DefaultConfigHandlerTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPUnit tests default config handler * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Smarty; /** * class for default config handler test * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class DefaultConfigHandlerTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ConfigFileTests/file/ConfigVarTest.php b/tests/UnitTests/ConfigFileTests/file/ConfigVarTest.php index fa2e6e71..32a6d118 100644 --- a/tests/UnitTests/ConfigFileTests/file/ConfigVarTest.php +++ b/tests/UnitTests/ConfigFileTests/file/ConfigVarTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of config variables * - * @package PHPunit + * @author Uwe Tews */ /** * class for config variable tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ConfigVarTest extends PHPUnit_Smarty { @@ -43,9 +43,6 @@ class ConfigVarTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test string config variable */ public function testConfigText() @@ -55,9 +52,6 @@ class ConfigVarTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test line string config variable */ public function testConfigLine() @@ -67,9 +61,6 @@ class ConfigVarTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test config variables in global sections */ public function testConfigVariableGlobalSections() @@ -79,9 +70,6 @@ class ConfigVarTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test config variables loading section2 */ public function testConfigVariableSection2() @@ -91,9 +79,6 @@ class ConfigVarTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test config variables loading section special char */ public function testConfigVariableSectionSpecialChar() @@ -103,9 +88,6 @@ class ConfigVarTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test config variables loading section foo/bar */ public function testConfigVariableSectionFooBar() @@ -115,9 +97,6 @@ class ConfigVarTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test config variables loaded in different scopes from different sections (Smarty and template) */ public function testConfigDifferentScope() @@ -132,9 +111,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test config variables of hidden sections * shall display variables from hidden section - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigVariableHidden() { @@ -146,9 +122,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test config variables of disabled hidden sections * shall display not variables from hidden section - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigVariableHiddenDisable() { @@ -160,9 +133,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test getConfigVars - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigGetSingleConfigVar() { @@ -172,9 +142,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test getConfigVars return all variables - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigGetAllConfigVars() { @@ -187,9 +154,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test clearConfig for single variable - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigClearSingleConfigVar() { @@ -200,9 +164,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test clearConfig for all variables - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigClearConfigAll() { @@ -215,9 +176,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test config vars on data object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigTextData() { @@ -228,9 +186,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test getConfigVars on data object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigGetSingleConfigVarData() { @@ -241,9 +196,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test getConfigVars return all variables on data object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigGetAllConfigVarsData() { @@ -257,9 +209,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test clearConfig for single variable on data object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigClearSingleConfigVarData() { @@ -272,9 +221,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test clearConfig for all variables on data object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigClearConfigAllData() { @@ -288,9 +234,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test config vars on template object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigTextTemplate() { @@ -301,9 +244,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test getConfigVars on template object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigGetSingleConfigVarTemplate() { @@ -314,9 +254,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test getConfigVariable on template object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigGetSingleConfigVarTemplate2() { @@ -327,9 +264,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test getConfigVars return all variables on template object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigGetAllConfigVarsTemplate() { @@ -343,9 +277,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test clearConfig for single variable on template object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigClearSingleConfigVarTemplate() { @@ -358,9 +289,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test clearConfig for all variables on template object - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigClearConfigAllTemplate() { @@ -374,9 +302,6 @@ class ConfigVarTest extends PHPUnit_Smarty /** * test config variables loading from absolute file path - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testConfigAbsolutePath() { diff --git a/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php b/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php index 3064102c..824e9d66 100644 --- a/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php +++ b/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php @@ -2,16 +2,12 @@ /** * Smarty PHPunit tests for File resources * - * @package PHPunit + * @author Uwe Tews */ /** * class for file resource tests - * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled */ class CustomResourceAmbiguousTest extends PHPUnit_Smarty { @@ -55,12 +51,6 @@ class CustomResourceAmbiguousTest extends PHPUnit_Smarty $this->assertFalse($tpl->source->exists); } - /** - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * - */ public function testCase1() { $resource_handler = new Smarty_Resource_AmbiguousPlugin(__DIR__ . '/templates/ambiguous/'); @@ -75,12 +65,6 @@ class CustomResourceAmbiguousTest extends PHPUnit_Smarty $this->assertEquals('case1', $tpl->source->getContent()); } - /** - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * - */ public function testCase2() { $resource_handler = new Smarty_Resource_AmbiguousPlugin(__DIR__ . '/templates/ambiguous/'); @@ -95,12 +79,7 @@ class CustomResourceAmbiguousTest extends PHPUnit_Smarty $this->assertEquals('case2', $tpl->source->getContent()); } - /** - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * - */ + public function testCaseSwitching() { $resource_handler = new Smarty_Resource_AmbiguousPlugin(__DIR__ . '/templates/ambiguous/'); diff --git a/tests/UnitTests/ResourceTests/Custom/Ambiguous/PHPunitplugins/resource.ambiguous.php b/tests/UnitTests/ResourceTests/Custom/Ambiguous/PHPunitplugins/resource.ambiguous.php index 8f6cec72..b80208e7 100644 --- a/tests/UnitTests/ResourceTests/Custom/Ambiguous/PHPunitplugins/resource.ambiguous.php +++ b/tests/UnitTests/ResourceTests/Custom/Ambiguous/PHPunitplugins/resource.ambiguous.php @@ -8,7 +8,7 @@ use Smarty\Template\Source; /** * Ambiguous Filename Custom Resource Example * - * @package Resource-examples + * @author Rodney Rehm */ class Smarty_Resource_AmbiguousPlugin extends FilePlugin diff --git a/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php b/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php index af6df790..0cbbfce0 100644 --- a/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php +++ b/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPUnit tests demo resource plugin extendsall * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ require_once __DIR__ . '/../../../__shared/resources/resource.extendsall.php'; /** * class for demo resource plugin extendsall tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty { @@ -29,9 +29,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsall() { @@ -46,9 +43,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall * changed tepmplate_setting - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsall2() @@ -73,9 +67,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall special application - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsallSpecialApplication() { @@ -88,9 +79,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall special application - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsallSpecialApplication2() { @@ -103,9 +91,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall special application - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsallSpecialApplication3() { @@ -119,9 +104,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall special application - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsallSpecialApplication4() { @@ -135,9 +117,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall special application - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsallSpecialApplication5() { @@ -151,9 +130,6 @@ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty /** * test extendsall special application - * - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testResourcePluginExtendsallSpecialApplication6() { diff --git a/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php b/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php index a0e7b699..0506b6da 100644 --- a/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php +++ b/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php @@ -2,20 +2,20 @@ /** * Smarty PHPunit tests resource plugins * - * @package PHPunit + * @author Uwe Tews */ if (MysqlResourceEnable == true) { /** * class for resource plugins tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ResourceMysqlPluginTest extends PHPUnit_Smarty { - public function setUp() + public function setUp(): void { if (MysqlResourceEnable != true) { $this->markTestSkipped('Msqlresource tests are disabled'); @@ -39,10 +39,6 @@ if (MysqlResourceEnable == true) { /** * test resource plugin rendering of a custom resource - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testResourcePluginMysql() { @@ -51,10 +47,6 @@ if (MysqlResourceEnable == true) { /** * test must compile - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testMustCompile() { @@ -64,10 +56,6 @@ if (MysqlResourceEnable == true) { /** * test must compile - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testMustCompile2() { @@ -79,10 +67,6 @@ if (MysqlResourceEnable == true) { /** * test resource plugin rendering of a custom resource - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testResourcePluginMysql2() { @@ -91,10 +75,6 @@ if (MysqlResourceEnable == true) { /** * test clear compiled - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testClearCompiled() { @@ -103,10 +83,6 @@ if (MysqlResourceEnable == true) { /** * test must compile - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testMustCompile3() { @@ -137,10 +113,6 @@ if (MysqlResourceEnable == true) { /** * test unknown template - * - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testUnknownTemplate() { $this->expectException(\Smarty\Exception::class); diff --git a/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php b/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php index 61be6e07..1ee2176b 100644 --- a/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php +++ b/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests deault template handler * - * @package PHPunit + * @author Uwe Tews */ /** * class for block plugin tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class DefaultTemplateHandlerTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ResourceTests/Eval/EvalResourceTest.php b/tests/UnitTests/ResourceTests/Eval/EvalResourceTest.php index d8cd146d..adf9d79e 100644 --- a/tests/UnitTests/ResourceTests/Eval/EvalResourceTest.php +++ b/tests/UnitTests/ResourceTests/Eval/EvalResourceTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests for eval resources * - * @package PHPunit + * @author Uwe Tews */ /** * class for eval resource tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class EvalResourceTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ResourceTests/Extends/ExtendsResourceTest.php b/tests/UnitTests/ResourceTests/Extends/ExtendsResourceTest.php index e17af67c..bb47a2a0 100644 --- a/tests/UnitTests/ResourceTests/Extends/ExtendsResourceTest.php +++ b/tests/UnitTests/ResourceTests/Extends/ExtendsResourceTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for Extendsresource * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Template; /** * class for extends resource tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ExtendsResourceTest extends PHPUnit_Smarty { @@ -36,8 +36,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test child/parent template chain with prepend - * @runInSeparateProcess - * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockChildPrepend_003($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -55,8 +53,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty } /** * test child/parent template chain with apppend - * @run InSeparateProcess - * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockChildAppend_004($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -75,8 +71,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test child/parent template chain with apppend - * @runInSeparateProcess - * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockAssignInChild_040($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -95,8 +89,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test1 - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testCompileBlockGrandChildMustCompile_021_1() { @@ -110,8 +102,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test1 - * @runInSeparateProcess - * @preserveGlobalState disabled */ public function testCompileBlockGrandChildMustCompile_021_12() { @@ -125,8 +115,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test2 - * @runInSeparateProcess - * @preserveGlobalState disabled * @group slow */ public function testCompileBlockGrandChildMustCompile_021_2() @@ -143,9 +131,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty } /** * test grandchild/child/parent dependency test2 - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testCompileBlockGrandChildMustCompile_021_22() { @@ -159,9 +144,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test3 - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testCompileBlockGrandChildMustCompile_021_3() { @@ -177,9 +159,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty } /** * test grandchild/child/parent dependency test3 - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testCompileBlockGrandChildMustCompile_021_32() { @@ -193,8 +172,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test4 - * @runInSeparateProcess - * @preserveGlobalState disabled * @group slow */ public function testCompileBlockGrandChildMustCompile_021_4() @@ -211,9 +188,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty } /** * test grandchild/child/parent dependency test4 - * @runInSeparateProcess - * @preserveGlobalState disabled - * */ public function testCompileBlockGrandChildMustCompile_021_42() { @@ -227,9 +201,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test relative includes in {block} - * - * @runInSeparateProcess - * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockRelativeIncludes_033($caching, $merge, $testNumber, $compileTestNumber, @@ -271,9 +242,6 @@ class ExtendsResourceTest extends PHPUnit_Smarty } /** * test relative includes in {block} - * - * @runInSeparateProcess - * @preserveGlobalState disabled * @dataProvider data2 */ public function testCompileBlockExtendsRecursion_034($extends_recursion, $merge, $testNumber, $compileTestNumber, diff --git a/tests/UnitTests/ResourceTests/File/FileResourceTest.php b/tests/UnitTests/ResourceTests/File/FileResourceTest.php index f6528fa9..20cca0bc 100644 --- a/tests/UnitTests/ResourceTests/File/FileResourceTest.php +++ b/tests/UnitTests/ResourceTests/File/FileResourceTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for File resources * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Exception; /** * class for file resource tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class FileResourceTest extends PHPUnit_Smarty { @@ -208,7 +208,7 @@ class FileResourceTest extends PHPUnit_Smarty /** * * @run InSeparateProcess - * @preserveGlobalState disabled + * * */ public function testRelativeIncludeSub() @@ -217,9 +217,6 @@ class FileResourceTest extends PHPUnit_Smarty $this->assertStringContainsString('hello world', $result); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled - * * test relative include fail */ public function testRelativeIncludeFail() @@ -229,8 +226,8 @@ class FileResourceTest extends PHPUnit_Smarty $this->smarty->fetch('relative_sub.tpl'); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * * test relative include fail other dir */ @@ -244,8 +241,8 @@ class FileResourceTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRelativeFetch() @@ -260,8 +257,8 @@ class FileResourceTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRelativeFetch2() @@ -276,8 +273,8 @@ class FileResourceTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRelativeFetchCwd() @@ -297,8 +294,8 @@ class FileResourceTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRelativeFetchCwd2() diff --git a/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php b/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php index 5f8ed76f..5dd96b0a 100644 --- a/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php +++ b/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php @@ -3,11 +3,11 @@ /** * Smarty PHPunit tests for File resources * - * @package PHPunit + * @author Rodney Rehm - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class FileResourceIndexedTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php b/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php index 92778075..dc27690c 100644 --- a/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php +++ b/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests register->resource * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Resource\CustomPlugin; /** * class for register->resource tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class RegisteredResourceTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ResourceTests/ResourcePlugins/ResourcePluginTest.php b/tests/UnitTests/ResourceTests/ResourcePlugins/ResourcePluginTest.php index e3efba14..87436806 100644 --- a/tests/UnitTests/ResourceTests/ResourcePlugins/ResourcePluginTest.php +++ b/tests/UnitTests/ResourceTests/ResourcePlugins/ResourcePluginTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests resource plugins * - * @package PHPunit + * @author Uwe Tews */ /** * class for resource plugins tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ResourcePluginTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ResourceTests/Stream/StreamResourceTest.php b/tests/UnitTests/ResourceTests/Stream/StreamResourceTest.php index fadd0f73..9a2c5f53 100644 --- a/tests/UnitTests/ResourceTests/Stream/StreamResourceTest.php +++ b/tests/UnitTests/ResourceTests/Stream/StreamResourceTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests for stream resources * - * @package PHPunit + * @author Uwe Tews */ /** * class for stream resource tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class StreamResourceTest extends PHPUnit_Smarty { @@ -27,7 +27,6 @@ class StreamResourceTest extends PHPUnit_Smarty fclose($fp); } - public function testInit() { $this->cleanDirs(); @@ -138,8 +137,8 @@ class StreamResourceTest extends PHPUnit_Smarty $this->assertFalse($this->smarty->templateExists('global:notthere')); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * * test not existing template */ diff --git a/tests/UnitTests/ResourceTests/String/StringResourceTest.php b/tests/UnitTests/ResourceTests/String/StringResourceTest.php index 35be632f..c3d54954 100644 --- a/tests/UnitTests/ResourceTests/String/StringResourceTest.php +++ b/tests/UnitTests/ResourceTests/String/StringResourceTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests for string resources * - * @package PHPunit + * @author Uwe Tews */ /** * class for string resource tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class StringResourceTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SecurityTests/FunctionTest.php b/tests/UnitTests/SecurityTests/FunctionTest.php index 30804b85..b5257981 100644 --- a/tests/UnitTests/SecurityTests/FunctionTest.php +++ b/tests/UnitTests/SecurityTests/FunctionTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of function calls * - * @package PHPunit + * @author Uwe Tews */ /** * class for function tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class FunctionTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SecurityTests/SecurityTest.php b/tests/UnitTests/SecurityTests/SecurityTest.php index e2b6a2f3..99ad953f 100644 --- a/tests/UnitTests/SecurityTests/SecurityTest.php +++ b/tests/UnitTests/SecurityTests/SecurityTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for security * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\CompilerException; /** * class for security test * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SecurityTest extends PHPUnit_Smarty { @@ -47,8 +47,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test not trusted PHP function - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testNotTrustedPHPFunction() { @@ -79,8 +79,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test not trusted modifier - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @deprecated */ public function testNotTrustedModifier() @@ -113,8 +113,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test not allowed tag - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testNotAllowedTags2() { @@ -126,8 +126,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test disabled tag - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testDisabledTags() { @@ -156,8 +156,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test not allowed modifier - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testNotAllowedModifier() { @@ -169,8 +169,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test disabled modifier - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testDisabledModifier() { @@ -220,8 +220,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test not trusted directory * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testNotTrustedDirectory() { @@ -252,8 +252,8 @@ class SecurityTest extends PHPUnit_Smarty /** * test not trusted PHP function - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testNotTrustedStaticClass() { @@ -301,12 +301,12 @@ class SecurityTest extends PHPUnit_Smarty /** * test template file exits * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testTemplateTrustedStream() { - stream_wrapper_register("global", "ResourceStreamSecurity") + stream_wrapper_register("global", "ResourceStreamSecurity") or die("Failed to register protocol"); $fp = fopen("global://mytest", "r+"); fwrite($fp, 'hello world {$foo}'); @@ -314,10 +314,11 @@ class SecurityTest extends PHPUnit_Smarty $this->smarty->security_policy->streams= array('global'); $tpl = $this->smarty->createTemplate('global:mytest'); $this->assertTrue($tpl->source->exists); + stream_wrapper_unregister("global"); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * test template file exits */ public function testTemplateNotTrustedStream() @@ -332,10 +333,11 @@ class SecurityTest extends PHPUnit_Smarty $this->smarty->security_policy->streams= array('notrusted'); $tpl = $this->smarty->createTemplate('global:mytest'); $this->assertTrue($tpl->source->exists); + stream_wrapper_unregister("global"); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testTrustedUri() { @@ -346,8 +348,8 @@ class SecurityTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testNotTrustedUri() { diff --git a/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php b/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php index a10744cd..43736d01 100644 --- a/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php +++ b/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests append method * - * @package PHPunit + * @author Uwe Tews */ /** * class for append tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class AppendTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php b/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php index e97bb8d7..5755b19a 100644 --- a/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests appendByRef method * - * @package PHPunit + * @author Uwe Tews */ /** * class for appendByRef tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class AppendByRefTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/Assign/AssignTest.php b/tests/UnitTests/SmartyMethodsTests/Assign/AssignTest.php index 75c4de76..ea5f3a4b 100644 --- a/tests/UnitTests/SmartyMethodsTests/Assign/AssignTest.php +++ b/tests/UnitTests/SmartyMethodsTests/Assign/AssignTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests assign method * - * @package PHPunit + * @author Uwe Tews */ /** * class for assign tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class AssignTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php b/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php index e6d01146..2cb9e1a7 100644 --- a/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests assignByRef method * - * @package PHPunit + * @author Uwe Tews */ /** * class for assignByRef tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class AssignByRefTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/AssignGlobal/AssignGlobalTest.php b/tests/UnitTests/SmartyMethodsTests/AssignGlobal/AssignGlobalTest.php index 8f61b81d..b9010c3e 100644 --- a/tests/UnitTests/SmartyMethodsTests/AssignGlobal/AssignGlobalTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AssignGlobal/AssignGlobalTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests assignGlobal method and {assignGlobal} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for assignGlobal method and {assignGlobal} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class AssignGlobalTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php b/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php index 9363f323..b56fff9a 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests clearing all assigned variables * - * @package PHPunit + * @author Uwe Tews */ /** * class for clearing all assigned variables tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ClearAllAssignTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php index 8d34c3e7..c9237be2 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests clearing assigned variables * - * @package PHPunit + * @author Uwe Tews */ /** * class for clearing assigned variables tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ClearAssignTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php b/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php index e902c9a0..dedb21d3 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for deleting compiled templates * - * @package PHPunit + * @author Uwe Tews * @author Rodney Rehm */ @@ -10,9 +10,9 @@ /** * class for delete compiled template tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ClearCompiledTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/GetTemplateVars/GetTemplateVarsTest.php b/tests/UnitTests/SmartyMethodsTests/GetTemplateVars/GetTemplateVarsTest.php index 0f356ff3..1dcb41ed 100644 --- a/tests/UnitTests/SmartyMethodsTests/GetTemplateVars/GetTemplateVarsTest.php +++ b/tests/UnitTests/SmartyMethodsTests/GetTemplateVars/GetTemplateVarsTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests getTemplateVars method * - * @package PHPunit + * @author Uwe Tews */ /** * class for getTemplateVars method test * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class GetTemplateVarsTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/RegisterBlock/RegisterBlockTest.php b/tests/UnitTests/SmartyMethodsTests/RegisterBlock/RegisterBlockTest.php index a26e50bf..94f3c689 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterBlock/RegisterBlockTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterBlock/RegisterBlockTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests register->block / unregister->block methods * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Smarty; /** * class for register->block / unregister->block methods tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class RegisterBlockTest extends PHPUnit_Smarty { @@ -111,8 +111,8 @@ class RegisterBlockTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterBlockCaching2() @@ -127,8 +127,8 @@ class RegisterBlockTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterBlockCaching3() @@ -144,8 +144,8 @@ class RegisterBlockTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterBlockCaching4() @@ -160,8 +160,8 @@ class RegisterBlockTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterBlockCaching1Wrapper() @@ -177,8 +177,8 @@ class RegisterBlockTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterBlockCaching2Wrapper() @@ -193,8 +193,8 @@ class RegisterBlockTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterBlockCaching3Wrapper() @@ -210,8 +210,8 @@ class RegisterBlockTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterBlockCaching4Wrapper() diff --git a/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php b/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php index 0100cd4a..ec2287ad 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests register->compilerFunction / unregister->compilerFunction methods * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Smarty; /** * class for register->compilerFunction / unregister->compilerFunction methods tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class RegisterCompilerFunctionTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/RegisterFunction/RegisterFunctionTest.php b/tests/UnitTests/SmartyMethodsTests/RegisterFunction/RegisterFunctionTest.php index 8178e140..6aa91240 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterFunction/RegisterFunctionTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterFunction/RegisterFunctionTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests register/unregister function plugins * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Smarty; /** * class for register/unregister function plugins methods tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * * */ class RegisterFunctionTest extends PHPUnit_Smarty @@ -61,8 +61,8 @@ class RegisterFunctionTest extends PHPUnit_Smarty /** * test registerPlugin method for function cached * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testRegisterFunctionCaching1() { @@ -78,8 +78,8 @@ class RegisterFunctionTest extends PHPUnit_Smarty /** * test registerPlugin method for function cached * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterFunctionCaching2() @@ -95,8 +95,8 @@ class RegisterFunctionTest extends PHPUnit_Smarty /** * test registerPlugin method for function not cached * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterFunctionCaching3() @@ -113,8 +113,8 @@ class RegisterFunctionTest extends PHPUnit_Smarty /** * test registerPlugin method for function not cached * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testRegisterFunctionCaching4() diff --git a/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php b/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php index fbbdae86..c968d33e 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests register->modifier / unregister->modifier methods * - * @package PHPunit + * @author Uwe Tews */ /** * class for register->modifier / unregister->modifier methods tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class RegisterModifierTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/RegisterObject/CompileRegisteredObjectFunctionTest.php b/tests/UnitTests/SmartyMethodsTests/RegisterObject/CompileRegisteredObjectFunctionTest.php index eaee1360..9aca31fd 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterObject/CompileRegisteredObjectFunctionTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterObject/CompileRegisteredObjectFunctionTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of registered object functions * - * @package PHPunit + * @author Uwe Tews */ /** * class for registered object function tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileRegisteredObjectFunctionTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/SmartyMethodsTests/TemplateExist/TemplateExistsTest.php b/tests/UnitTests/SmartyMethodsTests/TemplateExist/TemplateExistsTest.php index 92e0d9c7..2917982a 100644 --- a/tests/UnitTests/SmartyMethodsTests/TemplateExist/TemplateExistsTest.php +++ b/tests/UnitTests/SmartyMethodsTests/TemplateExist/TemplateExistsTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests for templateExists method * - * @package PHPunit + * @author Uwe Tews */ /** * class for templateExists tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class TemplateExistsTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/Comments/CommentsTest.php b/tests/UnitTests/TemplateSource/Comments/CommentsTest.php index b0a8ec6c..443ac39e 100644 --- a/tests/UnitTests/TemplateSource/Comments/CommentsTest.php +++ b/tests/UnitTests/TemplateSource/Comments/CommentsTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests comments in templates * - * @package PHPunit + * @author Uwe Tews */ /** * class for security test * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CommentsTest extends PHPUnit_Smarty { @@ -28,7 +28,7 @@ class CommentsTest extends PHPUnit_Smarty /** * Test comments * - * @preserveGlobalState disabled + * * @dataProvider dataTestComments */ public function testComments($code, $result, $testName, $testNumber) diff --git a/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php b/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php index ff22a0a9..098d9eb8 100644 --- a/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php +++ b/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests spacing in template output * - * @package PHPunit + * @author Uwe Tews */ /** * class for spacing test * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class SpacingTest extends PHPUnit_Smarty { @@ -28,9 +28,9 @@ class SpacingTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php b/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php index b3fbdb18..7836172c 100644 --- a/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php +++ b/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests static class access to constants, variables and methods * - * @package PHPunit + * @author Uwe Tews */ /** * class for static class access to constants, variables and methods tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class StaticClassAccessTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/Append/CompileAppendTest.php b/tests/UnitTests/TemplateSource/TagTests/Append/CompileAppendTest.php index 4590982b..cb0ab284 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Append/CompileAppendTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Append/CompileAppendTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of append tags * - * @package PHPunit + * @author Uwe Tews */ /** * class for append tags tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileAppendTest extends PHPUnit_Smarty { @@ -32,8 +32,8 @@ class CompileAppendTest extends PHPUnit_Smarty /** * Test {append} tags * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestAppend */ public function testAppend($code, $result, $testName, $testNumber) @@ -70,9 +70,9 @@ class CompileAppendTest extends PHPUnit_Smarty /** * Test Assign spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testAppendSpacing($code, $result, $testName, $testNumber) { @@ -88,9 +88,9 @@ class CompileAppendTest extends PHPUnit_Smarty /** * Test Append nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testAppendSpacingNocache($code, $result, $testName, $testNumber) { @@ -107,9 +107,9 @@ class CompileAppendTest extends PHPUnit_Smarty /** * Test Append nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testAppendSpacingNocache2($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php b/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php index d9be6c7c..e654efa2 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of assign tags * - * @package PHPunit + * @author Uwe Tews */ /** * class for assign tags tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileAssignTest extends PHPUnit_Smarty { @@ -33,7 +33,7 @@ class CompileAssignTest extends PHPUnit_Smarty * Test assign tags * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestAssign */ public function testAssign($code, $result, $testName, $testNumber) @@ -93,9 +93,9 @@ class CompileAssignTest extends PHPUnit_Smarty /** * Test Assign spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testAssignSpacing($code, $result, $testName, $testNumber) { @@ -111,9 +111,9 @@ class CompileAssignTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testAssignSpacingNocache($code, $result, $testName, $testNumber) { @@ -130,9 +130,9 @@ class CompileAssignTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testAssignSpacingNocache2($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php index 1ff364d6..c2ad56ee 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of block plugins * - * @package PHPunit + * @author Uwe Tews */ /** * class for block plugin tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileBlockPluginTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.noop.php b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.noop.php index 0e163e59..fbd5e693 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.noop.php +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.noop.php @@ -2,8 +2,8 @@ /** * Smarty plugin for testing block plugins * - * @package Smarty - * @subpackage PHPunitPlugin + + */ /** diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.nooutput.php b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.nooutput.php index 398c9a3b..ce59bc43 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.nooutput.php +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.nooutput.php @@ -2,8 +2,8 @@ /** * Smarty plugin for testing block plugins * - * @package Smarty - * @subpackage PHPunitPlugin + + */ /** diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testblock.php b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testblock.php index 63f1108a..b56dad97 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testblock.php +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testblock.php @@ -2,8 +2,8 @@ /** * Smarty plugin for testing block plugins * - * @package Smarty - * @subpackage PHPunitPlugin + + */ /** diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testparameter.php b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testparameter.php index e8647b28..0c8f616e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testparameter.php +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/PHPunitplugins/block.testparameter.php @@ -2,8 +2,8 @@ /** * Smarty plugin for testing block plugins * - * @package Smarty - * @subpackage PHPunitPlugin + + */ use Smarty\Template; diff --git a/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php b/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php index 9d39fa87..b389da4b 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests for Block Extends * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\Template; /** * class for block extends compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileBlockExtendsTest extends PHPUnit_Smarty { @@ -62,8 +62,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChild_002($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, @@ -87,8 +87,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with prepend * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildPrepend_003($caching, $merge, $testNumber, $compileTestNumber, @@ -113,8 +113,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with prepend * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockGrandPrepend_003($caching, $merge, $testNumber, $compileTestNumber, @@ -140,8 +140,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with apppend * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildAppend_004($caching, $merge, $testNumber, $compileTestNumber, @@ -167,8 +167,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/parent template chain with apppend * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockGrandAppend_004($caching, $merge, $testNumber, $compileTestNumber, @@ -194,8 +194,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/parent template chain with apppend * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockGrandAppendPrepend_004($caching, $merge, $testNumber, $compileTestNumber, @@ -221,8 +221,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with apppend and shorttags * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildAppendShortag_005($caching, $merge, $testNumber, $compileTestNumber, @@ -247,8 +247,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with {$this->smarty.block.child) * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildSmartyChild_006($caching, $merge, $testNumber, $compileTestNumber, @@ -273,8 +273,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with {$this->smarty.block.parent) * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildSmartyParent_007($caching, $merge, $testNumber, $compileTestNumber, @@ -300,8 +300,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with {$this->smarty.block.parent) * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildSmartyParent_007_2($caching, $merge, $testNumber, $compileTestNumber, @@ -327,8 +327,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain loading plugin * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildPlugin_008($caching, $merge, $testNumber, $compileTestNumber, @@ -354,8 +354,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test parent template with nested blocks * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockParentNested_009($caching, $merge, $testNumber, $compileTestNumber, @@ -379,8 +379,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with nested block * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildNested_010($caching, $merge, $testNumber, $compileTestNumber, @@ -405,8 +405,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with nested block and include * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildNestedInclude_011($caching, $merge, $testNumber, $compileTestNumber, @@ -432,8 +432,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test template chain with nested block level test * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildNestedInclude_012($caching, $merge, $testNumber, $compileTestNumber, @@ -459,8 +459,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test nested child block with hide * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildNestedHide_018($caching, $merge, $testNumber, $compileTestNumber, @@ -483,8 +483,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test nested grand/child block with hide * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildNestedHide_018_2($caching, $merge, $testNumber, $compileTestNumber, @@ -507,8 +507,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test nested grandgrand/grand/child block with hide * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockChildNestedHide_018_3($caching, $merge, $testNumber, $compileTestNumber, @@ -531,8 +531,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain starting in subtempates * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockStartSubTemplates_020($caching, $merge, $testNumber, $compileTestNumber, @@ -559,8 +559,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test1 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testCompileBlockGrandChildMustCompile_021_1() { @@ -589,8 +589,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test1 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testCompileBlockGrandChildMustCompile_021_12() { @@ -610,8 +610,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test2 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @group slow */ public function testCompileBlockGrandChildMustCompile_021_2() @@ -645,8 +645,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test3 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @group slow */ public function testCompileBlockGrandChildMustCompile_021_3() @@ -670,8 +670,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test3 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @group slow */ public function testCompileBlockGrandChildMustCompile_021_32() @@ -692,8 +692,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test4 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @group slow */ public function testCompileBlockGrandChildMustCompile_021_4() @@ -717,8 +717,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test4 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @group slow */ public function testCompileBlockGrandChildMustCompile_021_42() @@ -787,8 +787,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testSmartyBlockVariablePartentInclude_28($caching, $merge, $testNumber, $compileTestNumber, @@ -834,8 +834,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested {$this->smarty.block.child} and {include nocache} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockGrandChildNested_030($caching, $merge, $testNumber, $compileTestNumber, @@ -857,8 +857,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested {$this->smarty.block.child} and {include nocache} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockGrandChildNestedRelative_030($caching, $merge, $testNumber, $compileTestNumber, @@ -880,8 +880,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested {$this->smarty.block.child} and {include nocache} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockParent_034_1($caching, $merge, $testNumber, $compileTestNumber, @@ -902,8 +902,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested {$this->smarty.block.child} and {include nocache} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockParent_034_2($caching, $merge, $testNumber, $compileTestNumber, @@ -924,8 +924,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested {$this->smarty.block.child} and {include nocache} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockParent_034_3($caching, $merge, $testNumber, $compileTestNumber, @@ -946,8 +946,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested {$this->smarty.block.child} and {include nocache} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockParent_034_4($caching, $merge, $testNumber, $compileTestNumber, @@ -968,8 +968,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with {$this->smarty.block.child) * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockChild_035_1($caching, $merge, $testNumber, $compileTestNumber, @@ -995,8 +995,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with {$this->smarty.block.child) * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockChild_035_2($caching, $merge, $testNumber, $compileTestNumber, @@ -1021,8 +1021,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with {$this->smarty.block.child) * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockChild_035_3($caching, $merge, $testNumber, $compileTestNumber, @@ -1047,8 +1047,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain with {$this->smarty.block.child) * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockSmartyBlockChild_035_4($caching, $merge, $testNumber, $compileTestNumber, @@ -1123,8 +1123,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test relative includes in {block} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider data */ public function testCompileBlockRelativeIncludes_033($caching, $merge, $testNumber, $compileTestNumber, @@ -1194,9 +1194,9 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { @@ -1212,9 +1212,9 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testBlockSpacingNocache($code, $result, $testName, $testNumber) { @@ -1231,9 +1231,9 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testBlockSpacingNocache2($code, $result, $testName, $testNumber) { @@ -1270,9 +1270,9 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestChildSpacing - * @runInSeparateProcess + * */ public function testChildSpacing($code, $result, $testName, $testNumber) { @@ -1319,9 +1319,9 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * Test Block nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestBlockNocache - * @runInSeparateProcess + * */ public function testBlockNocacheSpacing($code, $result, $name, $testNumber) { @@ -1338,9 +1338,9 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * Test Block nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestBlockNocache - * @runInSeparateProcess + * */ public function testBlockNocacheSpacing2($code, $result, $name, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php b/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php index 8c1c7d6d..97a3c54f 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of capture tags * - * @package PHPunit + * @author Uwe Tews */ /** * class for capture tags tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileCaptureTest extends PHPUnit_Smarty { @@ -31,7 +31,7 @@ class CompileCaptureTest extends PHPUnit_Smarty * Test capture tags * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestCapture */ public function testCapture($code, $result, $testName, $testNumber) @@ -83,8 +83,8 @@ class CompileCaptureTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testCompileCaptureNocache2() @@ -107,9 +107,9 @@ class CompileCaptureTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php b/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php index 68bfc45a..e4a21ba2 100644 --- a/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compiler plugin * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler plugin tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompilerPluginTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php b/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php index 971e7c20..5a402028 100644 --- a/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of the {config_load} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for config variable tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileConfigLoadTest extends PHPUnit_Smarty { @@ -37,8 +37,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * * test {load_config} loading section2 */ @@ -47,8 +47,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty $this->assertEquals("Welcome to Smarty! Global Section1 Hello Section2", $this->smarty->fetch('001_section2.tpl')); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * * test {load_config} loading section2 */ @@ -59,8 +59,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * * test {load_config} loading section2 */ @@ -70,8 +70,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * * test {load_config} loading section2 shorttags */ @@ -83,8 +83,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty /** * test config varibales loading all sections from template * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testConfigVariableAllSectionsTemplate_004() { @@ -95,8 +95,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty /** * test config varibales overwrite * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testConfigVariableOverwrite_005() { @@ -104,16 +104,16 @@ class CompileConfigLoadTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testConfigVariableOverwrite_006() { $this->assertEquals("Welcome to Smarty! Overwrite3", $this->smarty->fetch('006_overwrite.tpl')); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testConfigVariableOverwrite_0061() { @@ -125,8 +125,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty /** * test config varibales overwrite false * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testConfigVariableOverwrite_007() { @@ -137,8 +137,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty /** * test config varibales booleanize on * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testConfigVariableBooleanizeOn_008() { @@ -150,8 +150,8 @@ class CompileConfigLoadTest extends PHPUnit_Smarty /** * test config varibales booleanize off * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testConfigVariableBooleanizeOff_008() { diff --git a/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php b/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php index 7125199a..4a90c535 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests compilation of delimiter tags * - * @package PHPunit + * @author Uwe Tews */ @@ -10,8 +10,8 @@ * class for delimiter tags tests * * @run TestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * */ class CompileDelimiterTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/Eval/CompileEvalTest.php b/tests/UnitTests/TemplateSource/TagTests/Eval/CompileEvalTest.php index cd6d14bf..1c2ad006 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Eval/CompileEvalTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Eval/CompileEvalTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {eval} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {eval} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileEvalTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/For/CompileForTest.php b/tests/UnitTests/TemplateSource/TagTests/For/CompileForTest.php index 07137973..21d997d6 100644 --- a/tests/UnitTests/TemplateSource/TagTests/For/CompileForTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/For/CompileForTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {for} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {for} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileForTest extends PHPUnit_Smarty { @@ -29,9 +29,9 @@ class CompileForTest extends PHPUnit_Smarty /** * Test For * - * @preserveGlobalState disabled + * * @dataProvider dataTestFor - * @runInSeparateProcess + * */ public function testFor($code, $result, $testName, $testNumber) { @@ -90,8 +90,8 @@ class CompileForTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForNocacheVar2() @@ -114,8 +114,8 @@ class CompileForTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForNocacheTag2() @@ -138,8 +138,8 @@ class CompileForTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForCache2() @@ -153,9 +153,9 @@ class CompileForTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php b/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php index d0a496c8..3e39d5e2 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {foreach} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {foreach} tag tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileForeachTest extends PHPUnit_Smarty { @@ -31,7 +31,7 @@ class CompileForeachTest extends PHPUnit_Smarty * Test foreach tags * * - * @preserveGlobalState disabled + * * @dataProvider dataTestForeach */ public function testForeach($code, $foo, $result, $testName, $testNumber) @@ -105,7 +105,7 @@ class CompileForeachTest extends PHPUnit_Smarty * Test foreach tags caching * * - * @preserveGlobalState disabled + * * @dataProvider dataTestForeachNocache */ public function testForeachCaching($code, $new, $assignNocache, $foo, $result, $testName, $testNumber) @@ -151,8 +151,8 @@ class CompileForeachTest extends PHPUnit_Smarty /* * test foreach and nocache * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testForeachNocacheVar1_024() @@ -165,8 +165,8 @@ class CompileForeachTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForeachNocacheVar2_024() @@ -179,8 +179,8 @@ class CompileForeachTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForeachNocacheTag1_025() @@ -193,8 +193,8 @@ class CompileForeachTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForeachNocacheTag2_25() @@ -207,8 +207,8 @@ class CompileForeachTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForeachCache1_26() @@ -221,8 +221,8 @@ class CompileForeachTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testForeachCache2_26() @@ -303,9 +303,9 @@ class CompileForeachTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { @@ -347,9 +347,9 @@ class CompileForeachTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestElseSpacing - * @runInSeparateProcess + * */ public function testElseSpacing($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php b/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php index 8897ddf2..fd62a5ef 100644 --- a/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of function plugins * - * @package PHPunit + * @author Uwe Tews */ /** * class for function plugin tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileFunctionPluginTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/If/CompileIfTest.php b/tests/UnitTests/TemplateSource/TagTests/If/CompileIfTest.php index 1fe73e9f..9a4dd184 100644 --- a/tests/UnitTests/TemplateSource/TagTests/If/CompileIfTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/If/CompileIfTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {if} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {if} tag tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileIfTest extends PHPUnit_Smarty { @@ -33,7 +33,7 @@ class CompileIfTest extends PHPUnit_Smarty * Test if tags * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestIf */ public function testIf($code, $result, $testName, $testNumber) @@ -148,8 +148,8 @@ class CompileIfTest extends PHPUnit_Smarty /** * Test if nocache tags * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestIfNocache */ public function testIfNocache($var, $value, $code, $result, $testName, $testNumber, $file = null) @@ -205,9 +205,9 @@ class CompileIfTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php b/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php index c9b1c154..f9c71d20 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of the {include} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {include} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileIncludeTest extends PHPUnit_Smarty { @@ -31,8 +31,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * test spacing * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProviderCaching */ public function testSpacing_001($merge, $caching, $text) @@ -49,8 +49,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * test spacing * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProviderCaching */ public function testSpacing_001V2($merge, $caching, $text) @@ -67,8 +67,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * test spacing * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProviderCaching */ public function testSpacing_001V3($merge, $caching, $text) @@ -85,8 +85,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * test standard output * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testIncludeStandard_001($merge, $text) @@ -100,8 +100,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * test standard output var * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testIncludeStandardNocacheVar($merge, $text) @@ -117,8 +117,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test that assign attribute does not create standard output * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testIncludeAssign1($merge, $text) @@ -131,8 +131,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test that assign attribute does load variable * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testIncludeAssign2($merge, $text) @@ -145,8 +145,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test passing local vars eval * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testIncludePassVars($merge, $text) @@ -160,8 +160,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test passing local vars include * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testIncludePassVars2($merge, $text) @@ -177,8 +177,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test recursive includes * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testRecursiveIncludes1($merge, $text) @@ -193,8 +193,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test recursive includes 2 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider includeProvider */ public function testRecursiveIncludes2($merge, $text) @@ -244,9 +244,9 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test Include spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testIncludeSpacing($code, $result, $testName, $testNumber) { @@ -262,9 +262,9 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test Output spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testIncludeSpacingNocache($code, $result, $testName, $testNumber) { @@ -281,9 +281,9 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * Test Output spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testIncludeSpacingNocache2($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php b/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php index 64c9432c..b71ed781 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests appendByRef method * - * @package PHPunit + * @author Uwe Tews */ /** * class for appendByRef tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class LiteralTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/MakeNocache/CompileMakeNocacheTest.php b/tests/UnitTests/TemplateSource/TagTests/MakeNocache/CompileMakeNocacheTest.php index ca520b9c..73c5141b 100644 --- a/tests/UnitTests/TemplateSource/TagTests/MakeNocache/CompileMakeNocacheTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/MakeNocache/CompileMakeNocacheTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {make_nocache} tags * - * @package PHPunit + * @author Uwe Tews */ /** * class for {make_nocache} tags tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileMakeNocacheTest extends PHPUnit_Smarty { @@ -32,7 +32,7 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty * Test {make_nocache} tags caching disabled * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestMakeNocache001 */ public function testMakeNocache_001($foo, $result) @@ -63,7 +63,7 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty * Test {make_nocache} cached tags * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestMakeNocache001_1 */ public function testMakeNocache_001_1($foo, $result) @@ -94,8 +94,8 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} cached tags existing nocahe variable * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestMakeNocache001_2 */ public function testMakeNocache_001_2($foo, $result) @@ -126,8 +126,8 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} cached tags reassign * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestMakeNocache001_3 */ public function testMakeNocache_001_3($foo, $result) @@ -159,8 +159,8 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} cached tags {if} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestMakeNocache001_4 */ public function testMakeNocache_001_4($foo, $bar, $result) @@ -189,8 +189,8 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} cached tags {if} nocache * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestMakeNocache001_5 */ public function testMakeNocache_001_5($foo, $bar, $result) @@ -223,8 +223,8 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} cached tags {foreach} * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestMakeNocache001_6 */ public function testMakeNocache_001_6($foo, $bar, $result) @@ -254,8 +254,8 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} cached tags {foreach} nocache * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestMakeNocache001_7 */ public function testMakeNocache_001_7($foo, $bar, $result) @@ -285,7 +285,7 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} with values containing '\' * - * @preserveGlobalState disabled + * */ public function testMakeNocache_002() { @@ -297,7 +297,7 @@ class CompileMakeNocacheTest extends PHPUnit_Smarty /** * Test {make_nocache} with values containing spaces * - * @preserveGlobalState disabled + * */ public function testMakeNocache_003() { diff --git a/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php b/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php index 5aea12b2..9efd5329 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {nocache} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {nocache} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileNocacheTest extends PHPUnit_Smarty { @@ -59,8 +59,8 @@ class CompileNocacheTest extends PHPUnit_Smarty /** * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * */ public function testNocacheCachingYes2() diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php index 0c1f9482..d6dc3cd6 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginBlockTextformatTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionFetchTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionFetchTest.php index f5f56b56..bece9d6d 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionFetchTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionFetchTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginFunctionFetchTest extends PHPUnit_Smarty { @@ -29,8 +29,8 @@ class PluginFunctionFetchTest extends PHPUnit_Smarty /** * test {fetch} from UIR * -* @runInSeparateProcess -* @preserveGlobalState disabled +* +* */ public function testFetchUri() { @@ -40,8 +40,8 @@ class PluginFunctionFetchTest extends PHPUnit_Smarty /** * test {fetch} invalid uri * -* @runInSeparateProcess -* @preserveGlobalState disabled +* +* */ public function testFetchInvalidUri() { @@ -54,7 +54,7 @@ class PluginFunctionFetchTest extends PHPUnit_Smarty * test {fetch file=...} access to file from path not aloo/wed by security settings * * @run InSeparateProcess - * @preserveGlobalState disabled + * */ public function testFetchSecurity() { @@ -69,7 +69,7 @@ class PluginFunctionFetchTest extends PHPUnit_Smarty * test {fetch file=...} access to file from path not aloo/wed by security settings * * @run InSeparateProcess - * @preserveGlobalState disabled + * */ public function testFetchSecurity2() { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php index 7deb4df7..0bf8b51e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ @@ -11,9 +11,9 @@ require_once(__DIR__ . '/helpers/_object_tostring.php'); /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginFunctionHtmlCheckboxesTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php index 7520f87c..36b33dd1 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ @@ -11,9 +11,9 @@ require_once(__DIR__ . '/helpers/_object_tostring.php'); /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginFunctionHtmlOptionsTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php index ac9046ba..dc05456b 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ @@ -10,9 +10,9 @@ require_once(__DIR__ . '/helpers/_object_tostring.php'); /** * class for modifier tests - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginFunctionHtmlRadiosTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectDateTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectDateTest.php index 260ff45c..0b945fe9 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectDateTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectDateTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginFunctionHtmlSelectDateTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectTimeTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectTimeTest.php index 1077b599..d13862d7 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectTimeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectTimeTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginFunctionHtmlSelectTimeTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionMailtoTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionMailtoTest.php index 27c3933a..2c71cad9 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionMailtoTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionMailtoTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginFunctionMailtoTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCapitalizeTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCapitalizeTest.php index 00ce02d3..577d430b 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCapitalizeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCapitalizeTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class PluginModifierCapitalizeTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCharsetTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCharsetTest.php index 90e52b2d..e463ca05 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCharsetTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCharsetTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class PluginModifierCharsetTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountCharactersTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountCharactersTest.php index c965fe7f..7e4ebe6c 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountCharactersTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountCharactersTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class PluginModifierCountCharactersTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountSentencesTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountSentencesTest.php index 0b7881bc..caec7630 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountSentencesTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountSentencesTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierCountSentencesTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountTest.php index 2bbcb573..2e8b24e8 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountTest.php @@ -6,9 +6,9 @@ /** * class for modifier tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class PluginModifierCountTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php index dc8373d0..97a3cc53 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierCountWordsTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierDefaultTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierDefaultTest.php index a2582011..0400e017 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierDefaultTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierDefaultTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierDefaultTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php index 4e6b9858..0b2133a7 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierEscapeTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierExplodeTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierExplodeTest.php index 40d48a74..ecefc6f8 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierExplodeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierExplodeTest.php @@ -5,9 +5,9 @@ namespace UnitTests\TemplateSource\TagTests\PluginModifier; /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierExplodeTest extends \PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php index c5d2c3e3..c5567a1d 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php @@ -2,15 +2,15 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierLowerTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNl2brTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNl2brTest.php index 9b2c50b4..52aa2c00 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNl2brTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNl2brTest.php @@ -6,9 +6,9 @@ /** * class for modifier tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class PluginModifierNl2brTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNumberFormatTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNumberFormatTest.php index b01b2bca..8a2ea8e5 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNumberFormatTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierNumberFormatTest.php @@ -5,9 +5,9 @@ namespace UnitTests\TemplateSource\TagTests\PluginModifier; /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierNumberFormatTest extends \PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php index 0836e821..fb6bc604 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierRegexReplaceTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierReplaceTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierReplaceTest.php index e5c8f7be..cf7e2bd9 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierReplaceTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierReplaceTest.php @@ -5,9 +5,9 @@ namespace UnitTests\TemplateSource\TagTests\PluginModifier; /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierReplaceTest extends \PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php index 79e2b1ce..52569081 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierSpacifyTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStrRepeatTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStrRepeatTest.php index 6a2d0966..59d5b989 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStrRepeatTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStrRepeatTest.php @@ -6,9 +6,9 @@ /** * class for modifier tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class PluginModifierStrRepeatTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php index ab1a4384..152341cd 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierStripTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierTruncateTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierTruncateTest.php index f1cd35fb..4aa9383e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierTruncateTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierTruncateTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierTruncateTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUnescapeTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUnescapeTest.php index 985bf478..3a7e51b1 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUnescapeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUnescapeTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierUnescapeTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUpperTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUpperTest.php index 4b62e82b..7616f5ea 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUpperTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUpperTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierUpperTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierWordwrapTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierWordwrapTest.php index fb767a50..a833735f 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierWordwrapTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierWordwrapTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PluginModifierWordwrapTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php b/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php index bb196012..c8cb33b4 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {section} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {section} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileSectionTest extends PHPUnit_Smarty { @@ -65,9 +65,9 @@ class CompileSectionTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { @@ -109,9 +109,9 @@ class CompileSectionTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestElseSpacing - * @runInSeparateProcess + * */ public function testElseSpacing($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php b/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php index beea132a..cdc27e40 100644 --- a/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {setfilter} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {setfilter} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileSetfilterTest extends PHPUnit_Smarty { @@ -28,7 +28,7 @@ class CompileSetfilterTest extends PHPUnit_Smarty /** * @run * InSeparateProcess - * @preserveGlobalState disabled + * */ public function testNestedSetfilter() { @@ -45,8 +45,8 @@ class CompileSetfilterTest extends PHPUnit_Smarty $this->assertEquals(" <a@b.c><e@f.d> <a@b.c> ", $this->smarty->fetch($tpl)); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testNestedSetfilter2() { diff --git a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php index 5e26728d..35b2eaac 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of strip tags * - * @package PHPunit + * @author Uwe Tews */ /** * class for strip tags tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileStripTest extends PHPUnit_Smarty { @@ -31,7 +31,7 @@ class CompileStripTest extends PHPUnit_Smarty * Test {strip} tags * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestStrip */ public function testStrip($code, $result, $testName, $testNumber) diff --git a/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php b/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php index bb4a0f6b..3f13cb4c 100644 --- a/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests compilation of {function} tag * - * @package PHPunit + * @author Uwe Tews */ @@ -11,9 +11,9 @@ use Smarty\CompilerException; /** * class for {function} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileFunctionTest extends PHPUnit_Smarty { @@ -28,8 +28,8 @@ class CompileFunctionTest extends PHPUnit_Smarty $this->cleanDirs(); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider * test simple function call tag * @@ -41,8 +41,8 @@ class CompileFunctionTest extends PHPUnit_Smarty $this->assertEquals("default param default 1 2 1", $this->smarty->fetch('test_template_function_001.tpl'), $text); } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider * test simple function call tag * @@ -55,8 +55,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider * test simple function call tag cached */ @@ -69,8 +69,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider * test simple function call tag cached */ @@ -84,8 +84,8 @@ class CompileFunctionTest extends PHPUnit_Smarty /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider * test simple function call tag cached no cache default variable */ @@ -101,8 +101,8 @@ class CompileFunctionTest extends PHPUnit_Smarty /** * test simple function call tag cached no cache default variable 2 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * */ public function testSimpleFunctionCachedNocacheDefault_002_2() { @@ -114,8 +114,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderCachingValue * test simple function call tag plugin * @@ -132,8 +132,8 @@ class CompileFunctionTest extends PHPUnit_Smarty /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider * test simple function call tag 2 * @@ -145,8 +145,8 @@ class CompileFunctionTest extends PHPUnit_Smarty /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider * test simple function call recursive */ @@ -156,8 +156,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderInline * test inherited function call tag * @@ -169,8 +169,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderInline * test function definition in include * @@ -184,8 +184,8 @@ class CompileFunctionTest extends PHPUnit_Smarty /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderInline * test external function definition cached * @@ -202,8 +202,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * test external function definition and called by fetch * */ @@ -216,8 +216,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderInline * test external function definition cached 2 * @@ -235,8 +235,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderInline * test external function definition nocache call * @@ -253,8 +253,8 @@ class CompileFunctionTest extends PHPUnit_Smarty } /** - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderInline * test external function definition nocache call 2 * @@ -274,8 +274,8 @@ class CompileFunctionTest extends PHPUnit_Smarty /** * test external function definition nocache call 3 * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProviderInline */ public function testExternalDefinedFunctionNocachedCall3($merge, $text) @@ -293,8 +293,8 @@ class CompileFunctionTest extends PHPUnit_Smarty /** * test external defined recursion * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider functionProvider */ public function testExternalDefinedFunctionRecursion($text) @@ -351,9 +351,9 @@ class CompileFunctionTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { @@ -369,9 +369,9 @@ class CompileFunctionTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacingNocache($code, $result, $testName, $testNumber) { @@ -388,9 +388,9 @@ class CompileFunctionTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacingNocache2($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php b/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php index 984dd7bd..4ab7f44e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests compilation of {while} tag * - * @package PHPunit + * @author Uwe Tews */ @@ -10,8 +10,8 @@ * class for {while} tag tests * * @not runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * */ class CompileWhileTest extends PHPUnit_Smarty { @@ -46,9 +46,9 @@ class CompileWhileTest extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { @@ -101,8 +101,8 @@ class CompileWhileTest extends PHPUnit_Smarty /** * Test nocache * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestNocache */ public function testNocache($value, $nocache, $code, $result, $testName, $testNumber) diff --git a/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php b/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php index 8372e6ac..9beb5d09 100644 --- a/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests for tag attributes * - * @package PHPunit + * @author Uwe Tews */ /** * class for tag attribute tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class AttributeTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/_Error/CompileErrorTest.php b/tests/UnitTests/TemplateSource/TagTests/_Error/CompileErrorTest.php index a2905665..e3c3191b 100644 --- a/tests/UnitTests/TemplateSource/TagTests/_Error/CompileErrorTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/_Error/CompileErrorTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compiler errors * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class CompileErrorTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/_Print/PrintTest.php b/tests/UnitTests/TemplateSource/TagTests/_Print/PrintTest.php index 8d2b2fc6..f10af7da 100644 --- a/tests/UnitTests/TemplateSource/TagTests/_Print/PrintTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/_Print/PrintTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests variable output with nocache attribute * - * @package PHPunit + * @author Uwe Tews */ /** * class for variable output with nocache attribute tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PrintTest extends PHPUnit_Smarty { @@ -28,9 +28,9 @@ class PrintTest extends PHPUnit_Smarty /** * Test Output spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestOutputSpacing - * @runInSeparateProcess + * */ public function testOutputSpacing($code, $result, $testName, $testNumber) { @@ -46,9 +46,9 @@ class PrintTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestOutputSpacing - * @runInSeparateProcess + * */ public function testOutputSpacingNocache($code, $result, $testName, $testNumber) { @@ -65,9 +65,9 @@ class PrintTest extends PHPUnit_Smarty /** * Test Output nocache spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestOutputSpacing - * @runInSeparateProcess + * */ public function testOutputSpacingNocache2($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/TagTests/break/CompileBreakTest.php b/tests/UnitTests/TemplateSource/TagTests/break/CompileBreakTest.php index c731e4d0..85e9aaaf 100644 --- a/tests/UnitTests/TemplateSource/TagTests/break/CompileBreakTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/break/CompileBreakTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compilation of {break} tag * - * @package PHPunit + * @author Uwe Tews */ /** * class for {break} tag tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CompileBreakTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php b/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php index 75b1db85..94391ddd 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests array definitions and access * - * @package PHPunit + * @author Uwe Tews */ /** * class for array tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ArrayTest extends PHPUnit_Smarty { @@ -27,9 +27,9 @@ class ArrayTest extends PHPUnit_Smarty /** * Test array access * - * @preserveGlobalState disabled + * * @dataProvider dataTestArray - * @runInSeparateProcess + * */ public function testArray($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/TemplateSource/ValueTests/BoolenNull/BooleanNullTest.php b/tests/UnitTests/TemplateSource/ValueTests/BoolenNull/BooleanNullTest.php index d60a9a00..41b5a10c 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/BoolenNull/BooleanNullTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/BoolenNull/BooleanNullTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests literals true false null * - * @package PHPunit + * @author Uwe Tews */ /** * class for {$smarty.ldelim} {$smarty.rdelim} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class BooleanNullTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php b/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php index fd821a8c..f85acafb 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php @@ -3,11 +3,11 @@ /** * Smarty PHPunit tests of constants * - * @package PHPunit + * @author Uwe Tews - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ Class TestConst { diff --git a/tests/UnitTests/TemplateSource/ValueTests/DoubleQuoted/DoubleQuotedStringTest.php b/tests/UnitTests/TemplateSource/ValueTests/DoubleQuoted/DoubleQuotedStringTest.php index 6db86142..688afb2e 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/DoubleQuoted/DoubleQuotedStringTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/DoubleQuoted/DoubleQuotedStringTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests double quoted strings * - * @package PHPunit + * @author Uwe Tews */ /** * class for double quoted string tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class DoubleQuotedStringTest extends PHPUnit_Smarty { @@ -31,7 +31,7 @@ class DoubleQuotedStringTest extends PHPUnit_Smarty /** * Test double qouted strings * - * @preserveGlobalState disabled + * * @dataProvider dataTestDoubleQuoted */ public function testDoubleQuoted($code, $result, $testName, $testNumber) diff --git a/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php b/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php index e4522e06..ce8fada9 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class MathTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/Modifier/ModifierTest.php b/tests/UnitTests/TemplateSource/ValueTests/Modifier/ModifierTest.php index 2593f9d5..2895ad97 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Modifier/ModifierTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Modifier/ModifierTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Uwe Tews */ /** * class for modifier tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ModifierTest extends PHPUnit_Smarty { @@ -30,7 +30,7 @@ class ModifierTest extends PHPUnit_Smarty * Test modifier * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestModifier */ public function testModifier($code, $result, $testName, $testNumber) diff --git a/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php b/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php index 502a2271..9be49105 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests object variables * - * @package PHPunit + * @author Uwe Tews */ /** * class for object variable tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class ObjectVariableTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/PHPfunctions/PhpFunctionTest.php b/tests/UnitTests/TemplateSource/ValueTests/PHPfunctions/PhpFunctionTest.php index cf8970c5..8b92092f 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/PHPfunctions/PhpFunctionTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/PHPfunctions/PhpFunctionTest.php @@ -2,7 +2,7 @@ /** * Smarty PHPunit tests of modifier * - * @package PHPunit + * @author Rodney Rehm */ @@ -11,9 +11,9 @@ * * * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PhpFunctionTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php b/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php index 02919d93..e9f3333f 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests single quoted strings * - * @package PHPunit + * @author Uwe Tews */ /** * class for single quoted string tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SingleQuotedStringTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Constant/SmartyConstantTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Constant/SmartyConstantTest.php index 08002c64..26ba767e 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Constant/SmartyConstantTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Constant/SmartyConstantTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests {$smarty.constant.foo} * - * @package PHPunit + * @author Uwe Tews */ /** * class for {$smarty.constant.foo} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SmartyConstantTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php index 84bafb09..f54cd12c 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests {$smarty.cookies.foo} * - * @package PHPunit + * @author Uwe Tews */ /** * class for $smarty.cookies.foo} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class CookieTest extends PHPUnit_Smarty { @@ -27,8 +27,8 @@ class CookieTest extends PHPUnit_Smarty /** * test cookies * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataProvider */ public function testCookie($caching, $value) { @@ -49,8 +49,8 @@ class CookieTest extends PHPUnit_Smarty /** * test cookies with modifier * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataProviderModifier */ public function testCookieModifier($caching, $value, $result) { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Delimiter/SmartyDelimiterTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Delimiter/SmartyDelimiterTest.php index 3cb1de4a..47304b0d 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Delimiter/SmartyDelimiterTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Delimiter/SmartyDelimiterTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests {$smarty.ldelim} {$smarty.rdelim} * - * @package PHPunit + * @author Uwe Tews */ /** * class for {$smarty.ldelim} {$smarty.rdelim} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SmartyDelimiterTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Error/SmartyErrorTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Error/SmartyErrorTest.php index 5cf5a832..baf805a6 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Error/SmartyErrorTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Error/SmartyErrorTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests undefined Smarty special variable * - * @package PHPunit + * @author Uwe Tews */ /** * class for undefined Smarty special variable tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SmartyErrorTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Now/SmartyNowTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Now/SmartyNowTest.php index 4e5f5f50..32116a7c 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Now/SmartyNowTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Now/SmartyNowTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests {$smarty.now} * - * @package PHPunit + * @author Uwe Tews */ /** * class for {$smarty.now} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SmartyNowTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Post/PostTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Post/PostTest.php index b7204666..92bfea4a 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Post/PostTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Post/PostTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests {$smarty.post.foo} * - * @package PHPunit + * @author Uwe Tews */ /** * class for {$smarty.post.foo} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class PostTest extends PHPUnit_Smarty { @@ -27,8 +27,8 @@ class PostTest extends PHPUnit_Smarty /** * test $_POST * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataProvider */ public function testPost($caching, $value) { @@ -40,8 +40,8 @@ class PostTest extends PHPUnit_Smarty /** * test $_POST with modifier * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataProviderModifier */ public function testPostModifier($caching, $value, $result) { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/TemplateObject/SmartyTemplateObjectTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/TemplateObject/SmartyTemplateObjectTest.php index 0fb2fe38..1ee56beb 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/TemplateObject/SmartyTemplateObjectTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/TemplateObject/SmartyTemplateObjectTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests {$smarty.template_objects} * - * @package PHPunit + * @author Uwe Tews */ /** * class for {$smarty.template_objects} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SmartyTemplateObjectTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Version/SmartyVersionTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Version/SmartyVersionTest.php index 909c6f0c..efbc2dd6 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Version/SmartyVersionTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Version/SmartyVersionTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests {$smarty.version} * - * @package PHPunit + * @author Uwe Tews */ /** * class for {$smarty.version} tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class SmartyVersionTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php b/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php index c832fc70..500dcc62 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests stream variables * - * @package PHPunit + * @author Uwe Tews */ /** * class for stream variables tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class StreamVariableTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php b/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php index 84843262..997a342a 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests variable variables * - * @package PHPunit + * @author Uwe Tews */ /** * class for variable variables tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class VariableVariableTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/X_Scopes/ScopeTest.php b/tests/UnitTests/TemplateSource/X_Scopes/ScopeTest.php index 8c0a7156..a0dd933a 100644 --- a/tests/UnitTests/TemplateSource/X_Scopes/ScopeTest.php +++ b/tests/UnitTests/TemplateSource/X_Scopes/ScopeTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests for scopes * - * @package PHPunit + * @author Uwe Tews */ /** * class scope tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class ScopeTest extends PHPUnit_Smarty { @@ -31,8 +31,8 @@ class ScopeTest extends PHPUnit_Smarty /** * Test scope * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestAppendScope */ public function testAppendScope($code, $useSmarty, $result, $testName, $testNumber) @@ -80,7 +80,7 @@ class ScopeTest extends PHPUnit_Smarty * Test scope * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestAssignScope */ public function testAssignScope($code, $useSmarty, $result, $testName, $testNumber) @@ -139,8 +139,8 @@ class ScopeTest extends PHPUnit_Smarty /** * Test scope nocache * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestScopeNocache */ public function testScopeNocache($var, $file, $result) @@ -175,8 +175,8 @@ class ScopeTest extends PHPUnit_Smarty /** * Test scope * - * @runInSeparateProcess - * @preserveGlobalState disabled + * + * * @dataProvider dataTestIncludeScope */ public function testIncludeScope($code, $useSmarty, $result, $testName, $testNumber = null) @@ -245,7 +245,7 @@ class ScopeTest extends PHPUnit_Smarty * Test scope * * @not runInSeparateProcess - * @preserveGlobalState disabled + * * @dataProvider dataTestConfigScope */ public function testConfigScope($code, $useSmarty, $result, $testName, $testNumber) diff --git a/tests/UnitTests/TemplateSource/Xml/XmlTest.php b/tests/UnitTests/TemplateSource/Xml/XmlTest.php index 542f2c41..fe7de221 100644 --- a/tests/UnitTests/TemplateSource/Xml/XmlTest.php +++ b/tests/UnitTests/TemplateSource/Xml/XmlTest.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests of the tag handling * - * @package PHPunit + * @author Uwe Tews */ /** * class for tests * - * @runTestsInSeparateProcess - * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * + * + * */ class XmlTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/_Issues/327/ModifierIssue327Test.php b/tests/UnitTests/TemplateSource/_Issues/327/ModifierIssue327Test.php index caacbebd..c9ba0d26 100644 --- a/tests/UnitTests/TemplateSource/_Issues/327/ModifierIssue327Test.php +++ b/tests/UnitTests/TemplateSource/_Issues/327/ModifierIssue327Test.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compiler errors * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class ModifierIssue327Test extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/_Issues/419/ExtendsIssue419Test.php b/tests/UnitTests/TemplateSource/_Issues/419/ExtendsIssue419Test.php index 5ea20027..d7d59405 100644 --- a/tests/UnitTests/TemplateSource/_Issues/419/ExtendsIssue419Test.php +++ b/tests/UnitTests/TemplateSource/_Issues/419/ExtendsIssue419Test.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compiler errors * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class ExtendsIssue419Test extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/_Issues/422/NestedLoopIssue422Test.php b/tests/UnitTests/TemplateSource/_Issues/422/NestedLoopIssue422Test.php index e8104d5c..03a48e1f 100644 --- a/tests/UnitTests/TemplateSource/_Issues/422/NestedLoopIssue422Test.php +++ b/tests/UnitTests/TemplateSource/_Issues/422/NestedLoopIssue422Test.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compiler errors * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * * * Problem with total property of {section} and {foreach} in nested loop */ diff --git a/tests/UnitTests/TemplateSource/_Issues/428/SectionPropertiesShortSyntaxIssue428Test.php b/tests/UnitTests/TemplateSource/_Issues/428/SectionPropertiesShortSyntaxIssue428Test.php index 7a9c6ab2..c880bcb2 100644 --- a/tests/UnitTests/TemplateSource/_Issues/428/SectionPropertiesShortSyntaxIssue428Test.php +++ b/tests/UnitTests/TemplateSource/_Issues/428/SectionPropertiesShortSyntaxIssue428Test.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compiler errors * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * * * Short syntax of section properties did not work */ diff --git a/tests/UnitTests/TemplateSource/_Issues/549/MbSplitEncodingIssue549Test.php b/tests/UnitTests/TemplateSource/_Issues/549/MbSplitEncodingIssue549Test.php index cadecb6f..7ddb9283 100644 --- a/tests/UnitTests/TemplateSource/_Issues/549/MbSplitEncodingIssue549Test.php +++ b/tests/UnitTests/TemplateSource/_Issues/549/MbSplitEncodingIssue549Test.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests - issue #549 regression tests * - * @package PHPunit + * @author Andrey Repin */ /** * class for compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * * * mb_split breaks if Smarty encoding is not the same as mbstring regex encoding. */ diff --git a/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php b/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php index f960ceb7..6de26639 100644 --- a/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php +++ b/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php @@ -2,16 +2,16 @@ /** * Smarty PHPunit tests compiler errors * - * @package PHPunit + * @author Uwe Tews */ /** * class for compiler tests * - * @runTestsInSeparateProcess + * * @preserveGlobalState disabled - * @backupStaticAttributes enabled + * */ class NewlineSpacing extends PHPUnit_Smarty { @@ -28,9 +28,9 @@ class NewlineSpacing extends PHPUnit_Smarty /** * Test spacings * - * @preserveGlobalState disabled + * * @dataProvider dataTestSpacing - * @runInSeparateProcess + * */ public function testSpacing($code, $result, $testName, $testNumber) { diff --git a/tests/UnitTests/__shared/PHPunitplugins/block.dummyblock.php b/tests/UnitTests/__shared/PHPunitplugins/block.dummyblock.php index 7de4fa09..b20ca8ec 100644 --- a/tests/UnitTests/__shared/PHPunitplugins/block.dummyblock.php +++ b/tests/UnitTests/__shared/PHPunitplugins/block.dummyblock.php @@ -2,8 +2,8 @@ /** * Smarty block plugin dummy for testing plugin functionallity * - * @package Smarty - * @subpackage PHPunitPlugin + + */ /** * Smarty {dummyblock} {/dummyblock} diff --git a/tests/UnitTests/__shared/PHPunitplugins/compiler.getparamsshort.php b/tests/UnitTests/__shared/PHPunitplugins/compiler.getparamsshort.php index 6002154c..368b4a91 100644 --- a/tests/UnitTests/__shared/PHPunitplugins/compiler.getparamsshort.php +++ b/tests/UnitTests/__shared/PHPunitplugins/compiler.getparamsshort.php @@ -2,8 +2,8 @@ /** * Smarty plugin params * - * @package Smarty - * @subpackage PHPunitPlugin + + */ use Smarty\Compile\Base; diff --git a/tests/UnitTests/__shared/PHPunitplugins/function.checkconfigvar.php b/tests/UnitTests/__shared/PHPunitplugins/function.checkconfigvar.php index 2918bbea..074a140a 100644 --- a/tests/UnitTests/__shared/PHPunitplugins/function.checkconfigvar.php +++ b/tests/UnitTests/__shared/PHPunitplugins/function.checkconfigvar.php @@ -2,8 +2,8 @@ /** * Smarty plugin for testing scopes in config vars * - * @package Smarty - * @subpackage PHPunitPlugin + + */ use Smarty\DataObject; diff --git a/tests/UnitTests/__shared/PHPunitplugins/function.checkvar.php b/tests/UnitTests/__shared/PHPunitplugins/function.checkvar.php index 0c2ef0ac..e1bfd21a 100644 --- a/tests/UnitTests/__shared/PHPunitplugins/function.checkvar.php +++ b/tests/UnitTests/__shared/PHPunitplugins/function.checkvar.php @@ -2,8 +2,8 @@ /** * Smarty plugin for testing scopes * - * @package Smarty - * @subpackage PHPunitPlugin + + */ use Smarty\DataObject; diff --git a/tests/UnitTests/__shared/PHPunitplugins/function.getparams.php b/tests/UnitTests/__shared/PHPunitplugins/function.getparams.php index ea2ba6c1..41075800 100644 --- a/tests/UnitTests/__shared/PHPunitplugins/function.getparams.php +++ b/tests/UnitTests/__shared/PHPunitplugins/function.getparams.php @@ -2,8 +2,8 @@ /** * Smarty plugin params * - * @package Smarty - * @subpackage PHPunitPlugin + + */ use Smarty\Template; diff --git a/tests/UnitTests/__shared/PHPunitplugins/function.getvar.php b/tests/UnitTests/__shared/PHPunitplugins/function.getvar.php index c7b73ca6..c1b0756b 100644 --- a/tests/UnitTests/__shared/PHPunitplugins/function.getvar.php +++ b/tests/UnitTests/__shared/PHPunitplugins/function.getvar.php @@ -2,8 +2,8 @@ /** * Smarty plugin getvar * - * @package Smarty - * @subpackage PHPunitPlugin + + */ use Smarty\Template; diff --git a/tests/UnitTests/__shared/PHPunitplugins/function.pluginassign.php b/tests/UnitTests/__shared/PHPunitplugins/function.pluginassign.php index 111d9d05..7786b742 100644 --- a/tests/UnitTests/__shared/PHPunitplugins/function.pluginassign.php +++ b/tests/UnitTests/__shared/PHPunitplugins/function.pluginassign.php @@ -2,8 +2,8 @@ /** * Smarty plugin for assign * - * @package Smarty - * @subpackage PHPunitPlugin + + */ /** diff --git a/tests/UnitTests/__shared/cacheresources/cacheresource.apc.php b/tests/UnitTests/__shared/cacheresources/cacheresource.apc.php index 66c28489..3f437888 100644 --- a/tests/UnitTests/__shared/cacheresources/cacheresource.apc.php +++ b/tests/UnitTests/__shared/cacheresources/cacheresource.apc.php @@ -6,7 +6,7 @@ * memcache as the storage resource for Smarty's output caching. * * * - * @package CacheResource-examples + * @author Uwe Tews */ class Smarty_CacheResource_Apc extends \Smarty\Cacheresource\KeyValueStore diff --git a/tests/UnitTests/__shared/cacheresources/cacheresource.memcache.php b/tests/UnitTests/__shared/cacheresources/cacheresource.memcache.php index 580d5e0e..2fed1948 100644 --- a/tests/UnitTests/__shared/cacheresources/cacheresource.memcache.php +++ b/tests/UnitTests/__shared/cacheresources/cacheresource.memcache.php @@ -7,7 +7,7 @@ * Note that memcache has a limitation of 256 characters per cache-key. * To avoid complications all cache-keys are translated to a sha1 hash. * - * @package CacheResource-examples + * @author Rodney Rehm */ class Smarty_CacheResource_Memcache extends \Smarty\Cacheresource\KeyValueStore diff --git a/tests/UnitTests/__shared/cacheresources/cacheresource.mysql.php b/tests/UnitTests/__shared/cacheresources/cacheresource.mysql.php index 16d2705e..9b51c272 100644 --- a/tests/UnitTests/__shared/cacheresources/cacheresource.mysql.php +++ b/tests/UnitTests/__shared/cacheresources/cacheresource.mysql.php @@ -21,7 +21,7 @@ use Smarty\Exception; * INDEX(`modified`) * ) ENGINE = InnoDB; * - * @package CacheResource-examples + * @author Rodney Rehm */ class Smarty_CacheResource_Mysql extends \Smarty\Cacheresource\Custom diff --git a/tests/UnitTests/__shared/resources/resource.extendsall.php b/tests/UnitTests/__shared/resources/resource.extendsall.php index 1cbed5fe..c0a18bd0 100644 --- a/tests/UnitTests/__shared/resources/resource.extendsall.php +++ b/tests/UnitTests/__shared/resources/resource.extendsall.php @@ -9,7 +9,7 @@ use Smarty\Template\Source; * Resource Implementation modifying the extends-Resource to walk * through the template_dirs and inherit all templates of the same name * - * @package Resource-examples + * @author Rodney Rehm */ class My_Resource_Extendsall extends \Smarty\Resource\ExtendsPlugin