diff --git a/tests/Config.php b/tests/Config.php index e4a0d795..d1b6f1be 100644 --- a/tests/Config.php +++ b/tests/Config.php @@ -6,7 +6,7 @@ /* * Smarty PHPUnit Config */ -define('individualFolders', true); +define('individualFolders', false); define('MemCacheEnable', false); define('ApcCacheEnable', false); define('MysqlCacheEnable', false); diff --git a/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php b/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php index cc6fa243..bc303532 100644 --- a/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php +++ b/tests/UnitTests/A_Core/AutoEscape/AutoEscapeTest.php @@ -6,6 +6,8 @@ /** * 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 313c614c..41066d73 100644 --- a/tests/UnitTests/A_Core/Filter/FilterTest.php +++ b/tests/UnitTests/A_Core/Filter/FilterTest.php @@ -9,6 +9,8 @@ /** * class for filter tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class FilterTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/Filter/LoadFilterTest.php b/tests/UnitTests/A_Core/Filter/LoadFilterTest.php index 2f35e0dc..e463be32 100644 --- a/tests/UnitTests/A_Core/Filter/LoadFilterTest.php +++ b/tests/UnitTests/A_Core/Filter/LoadFilterTest.php @@ -9,6 +9,8 @@ /** * class for loadFilter method tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class LoadFilterTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/Filter/RegisterFilterTest.php b/tests/UnitTests/A_Core/Filter/RegisterFilterTest.php index 9f71eff0..158a7f48 100644 --- a/tests/UnitTests/A_Core/Filter/RegisterFilterTest.php +++ b/tests/UnitTests/A_Core/Filter/RegisterFilterTest.php @@ -9,6 +9,8 @@ /** * class for register_filter / unregister_filter methods tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class RegisterFilterTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php b/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php index 214589d5..99485ac5 100644 --- a/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php +++ b/tests/UnitTests/A_Core/GetterSetter/GetterSetterTest.php @@ -9,6 +9,8 @@ /** * 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 b97fad03..74b75e62 100644 --- a/tests/UnitTests/A_Core/LoadPlugin/DefaultPluginHandlerTest.php +++ b/tests/UnitTests/A_Core/LoadPlugin/DefaultPluginHandlerTest.php @@ -9,6 +9,8 @@ /** * class for plugin handler tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class DefaultPluginHandlerTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/LoadPlugin/IncludePathTest.php b/tests/UnitTests/A_Core/LoadPlugin/IncludePathTest.php index 371c073e..5305dcf3 100644 --- a/tests/UnitTests/A_Core/LoadPlugin/IncludePathTest.php +++ b/tests/UnitTests/A_Core/LoadPlugin/IncludePathTest.php @@ -5,6 +5,8 @@ * * @package PHPunit * @author Rodney Rehm + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class IncludePathTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/LoadPlugin/LoadPluginTest.php b/tests/UnitTests/A_Core/LoadPlugin/LoadPluginTest.php index b23b9951..8e25af4a 100644 --- a/tests/UnitTests/A_Core/LoadPlugin/LoadPluginTest.php +++ b/tests/UnitTests/A_Core/LoadPlugin/LoadPluginTest.php @@ -9,6 +9,8 @@ /** * class core function tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class LoadPluginTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php b/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php index a0325df2..9840b19b 100644 --- a/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php +++ b/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php @@ -9,6 +9,8 @@ /** * class for filter tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class MuteExpectedErrorsTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/PluginTests/OutputFilterTrimWhitespaceTest.php b/tests/UnitTests/A_Core/PluginTests/OutputFilterTrimWhitespaceTest.php index bc067ff9..8b5ed4f4 100644 --- a/tests/UnitTests/A_Core/PluginTests/OutputFilterTrimWhitespaceTest.php +++ b/tests/UnitTests/A_Core/PluginTests/OutputFilterTrimWhitespaceTest.php @@ -9,6 +9,8 @@ /** * class for PHP resource tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class OutputFilterTrimWhitespaceTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/PluginTests/PluginChainedLoadTest.php b/tests/UnitTests/A_Core/PluginTests/PluginChainedLoadTest.php index 4b5b12b0..e51312e6 100644 --- a/tests/UnitTests/A_Core/PluginTests/PluginChainedLoadTest.php +++ b/tests/UnitTests/A_Core/PluginTests/PluginChainedLoadTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PluginChainedLoadTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/A_Core/SmartyBC/SmartyBcTest.php b/tests/UnitTests/A_Core/SmartyBC/SmartyBcTest.php index fc5f63ae..07699b43 100644 --- a/tests/UnitTests/A_Core/SmartyBC/SmartyBcTest.php +++ b/tests/UnitTests/A_Core/SmartyBC/SmartyBcTest.php @@ -9,6 +9,8 @@ /** * class SmartyBC class tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class SmartyBcTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php b/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php index 9f51b775..595540d3 100644 --- a/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php +++ b/tests/UnitTests/CacheModify/ModifiedSince/HttpModifiedSinceTest.php @@ -9,6 +9,8 @@ /** * 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 0b39a203..35e3aa54 100644 --- a/tests/UnitTests/CacheResourceTests/Apc/CacheResourceCustomApcTest.php +++ b/tests/UnitTests/CacheResourceTests/Apc/CacheResourceCustomApcTest.php @@ -11,6 +11,8 @@ include_once __DIR__ . '/../Memcache/CacheResourceCustomMemcacheTest.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 949de06c..acdbfa0d 100644 --- a/tests/UnitTests/CacheResourceTests/File/CacheResourceFileTest.php +++ b/tests/UnitTests/CacheResourceTests/File/CacheResourceFileTest.php @@ -11,6 +11,8 @@ 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 d8437c50..11160d7e 100644 --- a/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php +++ b/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php @@ -11,6 +11,8 @@ 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 70ca7cea..cfbe4eaa 100644 --- a/tests/UnitTests/CacheResourceTests/Mysql/CacheResourceCustomMysqlTest.php +++ b/tests/UnitTests/CacheResourceTests/Mysql/CacheResourceCustomMysqlTest.php @@ -11,6 +11,8 @@ include_once __DIR__ . '/../_shared/CacheResourceTestCommon.php'; /** * 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 5ad16b0d..9dcdfc5c 100644 --- a/tests/UnitTests/CacheResourceTests/PDO/CacheResourceCustomPDOTest.php +++ b/tests/UnitTests/CacheResourceTests/PDO/CacheResourceCustomPDOTest.php @@ -11,6 +11,8 @@ include_once __DIR__ . '/../_shared/CacheResourceTestCommon.php'; /** * class for cache resource file tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CacheResourceCustomPDOTest extends CacheResourceTestCommon diff --git a/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php b/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php index 653930e6..27dc646d 100644 --- a/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php +++ b/tests/UnitTests/CacheResourceTests/Registered/CacheResourceCustomRegisteredTest.php @@ -10,6 +10,8 @@ include_once __DIR__ . '/../_shared/CacheResourceTestCommon.php'; /** * 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 947662c0..d075e266 100644 --- a/tests/UnitTests/CacheResourceTests/_shared/CacheResourceTestCommon.php +++ b/tests/UnitTests/CacheResourceTests/_shared/CacheResourceTestCommon.php @@ -456,8 +456,8 @@ class CacheResourceTestCommon extends PHPUnit_Smarty array(0, 0, 3, 4, true, 0, 0, false, false, false, 12, 4, 4, 'locking off - isCached & fetch cache_id & compile_id'), array(0, 0, null, null, false, 0, 0, true, false, false, 13, 13, 13, 'locking off - force compile'), array(0, 0, null, null, true, 0, 0, false, false, false, 14, 13, 13, 'locking off - after force compile'), - array(0, 0, null, null, false, 0, 0, false, true, false, 15, ($this instanceof CacheResourceFileTest && strpos(phpversion(), 'hhvm') !== false) ? 1 : 13, 15, 'locking off - force cache'), - array(0, 0, null, null, true, 0, 0, false, false, false, 16, ($this instanceof CacheResourceFileTest && strpos(phpversion(), 'hhvm') !== false) ? 1 : 13, 15, 'locking off - after force cache'), + array(0, 0, null, null, false, 0, 0, false, true, false, 15, 13, 15, 'locking off - force cache'), + array(0, 0, null, null, true, 0, 0, false, false, false, 16, 13, 15, 'locking off - after force cache'), array(0, 0, null, null, false, 0, 0, false, false, true, 17, 17, 17, 'locking off - new source'), array(0, 0, null, null, true, 0, 0, false, false, false, 18, 17, 17, 'locking off - after new source'), array(0, 5, null, null, null, 0, 1, false, false, false, 19, 17, 17, 'not locked - fetch'), diff --git a/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php b/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php index 84a10403..c201ad9e 100644 --- a/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php +++ b/tests/UnitTests/Compiler/CompilerPlugin/CompileCompilerPluginTest.php @@ -9,6 +9,8 @@ /** * class for compiler plugin tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileCompilerPluginTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php b/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php index 2575c025..40b20f49 100644 --- a/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php +++ b/tests/UnitTests/Compiler/Delimiter/DelimiterTest.php @@ -9,6 +9,8 @@ /** * class for delimiter tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class DelimiterTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ConfigFileTests/ConfigVarTest.php b/tests/UnitTests/ConfigFileTests/ConfigVarTest.php index 89c5ddac..f0ccacd1 100644 --- a/tests/UnitTests/ConfigFileTests/ConfigVarTest.php +++ b/tests/UnitTests/ConfigFileTests/ConfigVarTest.php @@ -9,7 +9,9 @@ /** * class for config variable tests * - * @b ackupStaticAttributes enabled + * @runTestsInSeparateProcess + * @preserveGlobalState disabled + * @backupStaticAttributes enabled */ class ConfigVarTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/ConfigFileTests/DefaultConfigHandlerTest.php b/tests/UnitTests/ConfigFileTests/DefaultConfigHandlerTest.php index 0f87bebb..8a7433a7 100644 --- a/tests/UnitTests/ConfigFileTests/DefaultConfigHandlerTest.php +++ b/tests/UnitTests/ConfigFileTests/DefaultConfigHandlerTest.php @@ -9,6 +9,8 @@ /** * class for default config handler test * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class DefaultConfigHandlerTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php b/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php index f627106d..943a5f48 100644 --- a/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php +++ b/tests/UnitTests/ResourceTests/Custom/Ambiguous/CustomResourceAmbiguousTest.php @@ -9,6 +9,8 @@ /** * class for file resource tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CustomResourceAmbiguousTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php b/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php index 37578418..7b22365e 100644 --- a/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php +++ b/tests/UnitTests/ResourceTests/Custom/DemoPluginExtendsAll/ResourceExtendsAllPluginTest.php @@ -9,6 +9,8 @@ /** * class for demo resource plugin extendaall tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ResourceExtendsAllPluginTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php b/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php index 7aaed774..3926b261 100644 --- a/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php +++ b/tests/UnitTests/ResourceTests/Custom/DemoPluginMysql/ResourceMysqlPluginTest.php @@ -9,6 +9,8 @@ if (defined(MysqlResourceEnable) && MysqlResourceEnable == 'true') { /** * class for resource plugins tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ResourceMysqlPluginTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php b/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php index 58ab084c..3e4b1f7f 100644 --- a/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php +++ b/tests/UnitTests/ResourceTests/DefaultHandler/DefaultTemplateHandlerTest.php @@ -9,6 +9,8 @@ /** * 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 1d7343c3..c4f1f77e 100644 --- a/tests/UnitTests/ResourceTests/Eval/EvalResourceTest.php +++ b/tests/UnitTests/ResourceTests/Eval/EvalResourceTest.php @@ -9,6 +9,8 @@ /** * 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 ad0ff5b5..7eeb94d7 100644 --- a/tests/UnitTests/ResourceTests/Extends/ExtendsResourceTest.php +++ b/tests/UnitTests/ResourceTests/Extends/ExtendsResourceTest.php @@ -9,6 +9,8 @@ /** * class for extends resource tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ExtendsResourceTest extends PHPUnit_Smarty @@ -31,6 +33,8 @@ 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) @@ -48,6 +52,8 @@ class ExtendsResourceTest extends PHPUnit_Smarty } /** * test child/parent template chain with apppend + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockChildAppend_004($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -66,6 +72,8 @@ 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) @@ -84,6 +92,8 @@ class ExtendsResourceTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test1 + * @runInSeparateProcess + * @preserveGlobalState disabled */ public function testCompileBlockGrandChildMustCompile_021_1() { diff --git a/tests/UnitTests/ResourceTests/File/FileResourceTest.php b/tests/UnitTests/ResourceTests/File/FileResourceTest.php index 98af2d26..b3b1e4c9 100644 --- a/tests/UnitTests/ResourceTests/File/FileResourceTest.php +++ b/tests/UnitTests/ResourceTests/File/FileResourceTest.php @@ -9,6 +9,8 @@ /** * class for file resource tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class FileResourceTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/FileIncludePath/FileIncludePathTest.php b/tests/UnitTests/ResourceTests/FileIncludePath/FileIncludePathTest.php index bdc55e49..dc3c2ba0 100644 --- a/tests/UnitTests/ResourceTests/FileIncludePath/FileIncludePathTest.php +++ b/tests/UnitTests/ResourceTests/FileIncludePath/FileIncludePathTest.php @@ -5,6 +5,8 @@ * * @package PHPunit * @author Rodney Rehm + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class FileIncludePathTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php b/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php index 74ed9782..b94883dd 100644 --- a/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php +++ b/tests/UnitTests/ResourceTests/FileIndexed/FileResourceIndexedTest.php @@ -5,6 +5,8 @@ * * @package PHPunit * @author Rodney Rehm + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class FileResourceIndexedTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/Php/PhpResourceTest.php b/tests/UnitTests/ResourceTests/Php/PhpResourceTest.php index c2fa3d60..6f0e49e2 100644 --- a/tests/UnitTests/ResourceTests/Php/PhpResourceTest.php +++ b/tests/UnitTests/ResourceTests/Php/PhpResourceTest.php @@ -9,6 +9,8 @@ /** * class for PHP resource tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PhpResourceTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php b/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php index ff5f1195..a428b3dc 100644 --- a/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php +++ b/tests/UnitTests/ResourceTests/Registered/RegisteredResourceTest.php @@ -9,6 +9,8 @@ /** * 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 fa896798..8714479c 100644 --- a/tests/UnitTests/ResourceTests/ResourcePlugins/ResourcePluginTest.php +++ b/tests/UnitTests/ResourceTests/ResourcePlugins/ResourcePluginTest.php @@ -9,6 +9,8 @@ /** * 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 43f3320e..55d71f72 100644 --- a/tests/UnitTests/ResourceTests/Stream/StreamResourceTest.php +++ b/tests/UnitTests/ResourceTests/Stream/StreamResourceTest.php @@ -9,6 +9,8 @@ /** * class for stream resource tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class StreamResourceTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/ResourceTests/String/StringResourceTest.php b/tests/UnitTests/ResourceTests/String/StringResourceTest.php index 386c0662..8a00ba04 100644 --- a/tests/UnitTests/ResourceTests/String/StringResourceTest.php +++ b/tests/UnitTests/ResourceTests/String/StringResourceTest.php @@ -9,6 +9,8 @@ /** * 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 a81e655c..cde55bfb 100644 --- a/tests/UnitTests/SecurityTests/FunctionTest.php +++ b/tests/UnitTests/SecurityTests/FunctionTest.php @@ -9,6 +9,8 @@ /** * 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 5401bf78..f0011bd4 100644 --- a/tests/UnitTests/SecurityTests/SecurityTest.php +++ b/tests/UnitTests/SecurityTests/SecurityTest.php @@ -9,6 +9,8 @@ /** * class for security test * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class SecurityTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php b/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php index 22746c33..574a34bb 100644 --- a/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php +++ b/tests/UnitTests/SmartyMethodsTests/Append/AppendTest.php @@ -9,6 +9,8 @@ /** * class for append tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class AppendTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefBCTest.php b/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefBCTest.php index 27f809fa..c832259d 100644 --- a/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefBCTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefBCTest.php @@ -9,6 +9,8 @@ /** * class for appendByRef tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class AppendByRefBCTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php b/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php index 01e5073c..510b36a3 100644 --- a/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AppendByRef/AppendByRefTest.php @@ -9,6 +9,8 @@ /** * 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 8a03fad1..f9808839 100644 --- a/tests/UnitTests/SmartyMethodsTests/Assign/AssignTest.php +++ b/tests/UnitTests/SmartyMethodsTests/Assign/AssignTest.php @@ -9,6 +9,8 @@ /** * class for assign tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class AssignTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefBCTest.php b/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefBCTest.php index 587ec7e7..1f635001 100644 --- a/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefBCTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefBCTest.php @@ -9,6 +9,8 @@ /** * class for assignByRef tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class AssignByRefBCTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php b/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php index 960d00a5..c96d05e4 100644 --- a/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AssignByRef/AssignByRefTest.php @@ -9,6 +9,8 @@ /** * 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 de281332..7483e3f6 100644 --- a/tests/UnitTests/SmartyMethodsTests/AssignGlobal/AssignGlobalTest.php +++ b/tests/UnitTests/SmartyMethodsTests/AssignGlobal/AssignGlobalTest.php @@ -9,6 +9,8 @@ /** * 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/ClearAllAssignBCTest.php b/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignBCTest.php index 135f1127..c1f7049d 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignBCTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignBCTest.php @@ -9,6 +9,8 @@ /** * class for clearing all assigned variables tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ClearAllAssignBCTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php b/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php index 2e1b5406..8766f286 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearAllAssign/ClearAllAssignTest.php @@ -9,6 +9,8 @@ /** * class for clearing all assigned variables tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ClearAllAssignTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignBCTest.php b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignBCTest.php index 3d7a5209..7bc6784a 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignBCTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignBCTest.php @@ -9,6 +9,8 @@ /** * class for clearing assigned variables tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ClearAssignBCTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php index 018e9c6d..f619a6da 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php @@ -9,6 +9,8 @@ /** * 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 52b28aa1..5ac3c021 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php @@ -10,6 +10,8 @@ /** * 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 0fdf5aba..fe8d5945 100644 --- a/tests/UnitTests/SmartyMethodsTests/GetTemplateVars/GetTemplateVarsTest.php +++ b/tests/UnitTests/SmartyMethodsTests/GetTemplateVars/GetTemplateVarsTest.php @@ -9,6 +9,8 @@ /** * 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 3444060c..1109cb8f 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterBlock/RegisterBlockTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterBlock/RegisterBlockTest.php @@ -9,6 +9,8 @@ /** * class for register->block / unregister->block methods tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class RegisterBlockTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php b/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php index 33f8aa8d..80294b1f 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterCompiler/RegisterCompilerFunctionTest.php @@ -9,6 +9,8 @@ /** * 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 aa525635..5367a135 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterFunction/RegisterFunctionTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterFunction/RegisterFunctionTest.php @@ -9,6 +9,8 @@ /** * class for register->templateFunction / unregister->templateFunction methods tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled * */ diff --git a/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php b/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php index 509721db..526b2a39 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterModifier/RegisterModifierTest.php @@ -9,6 +9,8 @@ /** * 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 5e88029f..85fab00a 100644 --- a/tests/UnitTests/SmartyMethodsTests/RegisterObject/CompileRegisteredObjectFunctionTest.php +++ b/tests/UnitTests/SmartyMethodsTests/RegisterObject/CompileRegisteredObjectFunctionTest.php @@ -9,6 +9,8 @@ /** * 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 611b5434..58544f9c 100644 --- a/tests/UnitTests/SmartyMethodsTests/TemplateExist/TemplateExistsTest.php +++ b/tests/UnitTests/SmartyMethodsTests/TemplateExist/TemplateExistsTest.php @@ -9,6 +9,8 @@ /** * 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 75d1479e..a622808b 100644 --- a/tests/UnitTests/TemplateSource/Comments/CommentsTest.php +++ b/tests/UnitTests/TemplateSource/Comments/CommentsTest.php @@ -9,6 +9,8 @@ /** * class for security test * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CommentsTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php b/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php index c81cafc4..9e2494dc 100644 --- a/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php +++ b/tests/UnitTests/TemplateSource/Spacing/SpacingTest.php @@ -9,6 +9,8 @@ /** * class for spacing test * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class SpacingTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php b/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php index 037eca3d..f51a5d53 100644 --- a/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php +++ b/tests/UnitTests/TemplateSource/StaticClass/StaticClassAccessTest.php @@ -9,6 +9,8 @@ /** * 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 86019700..ee9881bb 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Append/CompileAppendTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Append/CompileAppendTest.php @@ -9,6 +9,8 @@ /** * class for append tags tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileAppendTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php b/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php index a76b8d83..132531f7 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Assign/CompileAssignTest.php @@ -9,6 +9,8 @@ /** * class for assign tags tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileAssignTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php index c59bd88c..25e76da9 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php @@ -9,6 +9,8 @@ /** * class for block plugin tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileBlockPluginTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php b/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php index b9f32ec5..b22b1578 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/BockExtend/CompileBlockExtendsTest.php @@ -9,6 +9,8 @@ /** * class for block extends compiler tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileBlockExtendsTest extends PHPUnit_Smarty @@ -55,6 +57,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, $testName) @@ -73,6 +77,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, $renderTestNumber, $testName) @@ -91,6 +97,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, $renderTestNumber, $testName) @@ -109,6 +117,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, $renderTestNumber, $testName) @@ -127,6 +137,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, $renderTestNumber, $testName) @@ -145,6 +157,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, $renderTestNumber, $testName) @@ -163,7 +177,7 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain loading plugin - * @run SeparateProcess + * @runInSeparateProcess * @preserveGlobalState disabled * @dataProvider data */ @@ -184,6 +198,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, $renderTestNumber, $testName) @@ -202,6 +218,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, $renderTestNumber, $testName) @@ -220,6 +238,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, $renderTestNumber, $testName) @@ -238,6 +258,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockGrandChild_012($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -256,6 +278,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain prepend + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockGrandChildPrepend_013($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -274,6 +298,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with {$this->smarty.block.child} + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockGrandChildSmartyChild_014($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -292,6 +318,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain append + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockGrandChildAppend_015($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -310,6 +338,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested block + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockGrandChildNested_016($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -328,6 +358,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent template chain with nested {$this->smarty.block.child} + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockGrandChildNested_017($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -346,6 +378,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, $renderTestNumber, $testName) @@ -365,6 +399,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test nested child block with hide and auto_literal = false + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testCompileBlockChildNestedHideAutoLiteralFalse_019($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) @@ -385,6 +421,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, $renderTestNumber, $testName) @@ -408,6 +446,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, $renderTestNumber, $testName) @@ -427,6 +467,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test grandchild/child/parent dependency test1 + * @runInSeparateProcess + * @preserveGlobalState disabled */ public function testCompileBlockGrandChildMustCompile_021_1() { @@ -569,6 +611,8 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty /** * test child/parent template chain + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider data */ public function testSmartyBlockVariablePartentInclude_28($caching, $merge, $testNumber, $compileTestNumber, $renderTestNumber, $testName) diff --git a/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php b/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php index da1f5b47..588c36e8 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Capture/CompileCaptureTest.php @@ -9,6 +9,8 @@ /** * class for capture tags tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileCaptureTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php b/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php index 3b3541dd..7e1ee0a2 100644 --- a/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/CompilerPlugin/CompilerPluginTest.php @@ -9,6 +9,8 @@ /** * 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 7883645f..65a3171d 100644 --- a/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php @@ -9,7 +9,9 @@ /** * class for config variable tests * - * @b ackupStaticAttributes enabled + * @runTestsInSeparateProcess + * @preserveGlobalState disabled + * @backupStaticAttributes enabled */ class CompileConfigLoadTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php b/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php index 5341cce8..f40c3760 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Delimiter/CompileDelimiterTest.php @@ -9,6 +9,8 @@ /** * class for delimiter tags tests * + * @runTestsInSeparateProcess + * @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 b553a5cf..383e24c2 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Eval/CompileEvalTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Eval/CompileEvalTest.php @@ -9,6 +9,8 @@ /** * 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 47a2b777..43878bb2 100644 --- a/tests/UnitTests/TemplateSource/TagTests/For/CompileForTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/For/CompileForTest.php @@ -9,6 +9,8 @@ /** * class for {for} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileForTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php b/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php index 0e754a54..47d094eb 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Foreach/CompileForeachTest.php @@ -9,6 +9,8 @@ /** * class for {foreach} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileForeachTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php b/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php index e497ea85..6e274eb5 100644 --- a/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/FunctionPlugin/CompileFunctionPluginTest.php @@ -9,6 +9,8 @@ /** * 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 0e6e5c23..f74013d6 100644 --- a/tests/UnitTests/TemplateSource/TagTests/If/CompileIfTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/If/CompileIfTest.php @@ -9,8 +9,10 @@ /** * class for {if} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled - */ +*/ class CompileIfTest extends PHPUnit_Smarty { public function setUp() diff --git a/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php b/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php index 857cc311..1256f5b5 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Include/CompileIncludeTest.php @@ -9,6 +9,8 @@ /** * class for {include} tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileIncludeTest extends PHPUnit_Smarty @@ -44,7 +46,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * test spacing * - * @rrunInSeparateProcess + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider includeProviderCaching */ public function testSpacing_001V2($merge, $caching, $text) @@ -61,7 +64,8 @@ class CompileIncludeTest extends PHPUnit_Smarty /** * test spacing * - * @rrunInSeparateProcess + * @runInSeparateProcess + * @preserveGlobalState disabled * @dataProvider includeProviderCaching */ public function testSpacing_001V3($merge, $caching, $text) diff --git a/tests/UnitTests/TemplateSource/TagTests/IncludePhp/CompileIncludePhpTest.php b/tests/UnitTests/TemplateSource/TagTests/IncludePhp/CompileIncludePhpTest.php index 36c238c5..73fb4722 100644 --- a/tests/UnitTests/TemplateSource/TagTests/IncludePhp/CompileIncludePhpTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/IncludePhp/CompileIncludePhpTest.php @@ -9,6 +9,8 @@ /** * class for {include_php} tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileIncludePhpTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/Insert/CompileInsertTest.php b/tests/UnitTests/TemplateSource/TagTests/Insert/CompileInsertTest.php index 3888b05b..ea823e76 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Insert/CompileInsertTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Insert/CompileInsertTest.php @@ -9,6 +9,8 @@ /** * class for {insert} tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileInsertTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php b/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php index ee3a8702..5d8b507e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Literal/LiteralTest.php @@ -9,6 +9,8 @@ /** * class for appendByRef tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class LiteralTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php b/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php index 5f69ce2f..24e3c823 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Nocache/CompileNocacheTest.php @@ -9,6 +9,8 @@ /** * class for {nocache} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileNocacheTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php b/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php index ea7b800c..33586b7b 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php @@ -9,7 +9,9 @@ /** * class for {php} and tag tests * - * @backupStaticAt tributes enabled + * @runTestsInSeparateProcess + * @preserveGlobalState disabled + * @backupStaticAttributes enabled */ class CompilePhpTest extends PHPUnit_Smarty { @@ -31,7 +33,7 @@ class CompilePhpTest extends PHPUnit_Smarty /** * Test - * @run inSeparateProcess + * @runInSeparateProcess * @preserveGlobalState disabled * @dataProvider data * diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php index 6c0cf89c..f70d1a3f 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginBlock/PluginBlockTextformatTest.php @@ -9,6 +9,8 @@ /** * 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 355dc16d..957bdcca 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionFetchTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionFetchTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PluginFunctionFetchTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php index 7c3fc23e..2315b6e0 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php @@ -11,6 +11,8 @@ require_once(dirname(__FILE__) . '/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/PluginFunctionHtmlImageTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlImageTest.php index 760c094a..b59fb02e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlImageTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlImageTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PluginFunctionHtmlImageTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php index 873ff84e..b73240bb 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php @@ -11,6 +11,8 @@ require_once(dirname(__FILE__) . '/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 4160e72b..0810d617 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php @@ -10,6 +10,9 @@ require_once(dirname(__FILE__) . '/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 6767a726..ba49d40a 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectDateTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectDateTest.php @@ -9,6 +9,8 @@ /** * 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 e2b920b2..9ebcd784 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectTimeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlSelectTimeTest.php @@ -9,6 +9,8 @@ /** * 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 c7c8f77d..9a58a6ea 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionMailtoTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionMailtoTest.php @@ -9,6 +9,8 @@ /** * 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 b467cc2f..3bb60a19 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCapitalizeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCapitalizeTest.php @@ -9,6 +9,8 @@ /** * 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 337fa8fc..ea82646f 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCharsetTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCharsetTest.php @@ -9,6 +9,8 @@ /** * 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 995f41fa..1b87462d 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountCharactersTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountCharactersTest.php @@ -9,6 +9,8 @@ /** * 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 db3f6cb7..682006fc 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountSentencesTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountSentencesTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PluginModifierCountSentencesTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php index 8169e46d..06e0104e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierCountWordsTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PluginModifierCountWordsTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php index a9d33c39..cfc8e6af 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierEscapeTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PluginModifierEscapeTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php index 77934ea6..cab08b24 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierLowerTest.php @@ -8,6 +8,9 @@ /** * class for modifier tests + * @runTestsInSeparateProcess + * @preserveGlobalState disabled + * @backupStaticAttributes enabled */ class PluginModifierLowerTest extends PHPUnit_Smarty { diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php index 6da6edb0..6993cef8 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierRegexReplaceTest.php @@ -9,8 +9,10 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled - */ +*/ class PluginModifierRegexReplaceTest extends PHPUnit_Smarty { public function setUp() diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php index 275904b5..08290fad 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierSpacifyTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PluginModifierSpacifyTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php index b6d45df8..ea4d70b9 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierStripTest.php @@ -9,6 +9,8 @@ /** * 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 1bdd8513..fb88334e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierTruncateTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierTruncateTest.php @@ -9,6 +9,8 @@ /** * 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 9b8c5fea..66b5b11e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUnescapeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUnescapeTest.php @@ -9,6 +9,8 @@ /** * 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 2556936b..0090c77c 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUpperTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierUpperTest.php @@ -9,6 +9,8 @@ /** * 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 76e4cee8..8cab650d 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierWordwrapTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginModifier/PluginModifierWordwrapTest.php @@ -9,6 +9,8 @@ /** * 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 461c13dd..5da926c1 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php @@ -9,6 +9,8 @@ /** * class for {section} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileSectionTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php b/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php index bbdbbeb1..13dcf723 100644 --- a/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php @@ -9,6 +9,8 @@ /** * class for {setfilter} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileSetfilterTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php index 097321dc..07077021 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php @@ -9,6 +9,8 @@ /** * class for strip tags tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileStripTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php b/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php index a96def21..7467626d 100644 --- a/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php @@ -9,6 +9,8 @@ /** * class for {function} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileFunctionTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php b/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php index ed3fec46..44a04772 100644 --- a/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/While/CompileWhileTest.php @@ -9,6 +9,8 @@ /** * class for {while} tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileWhileTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php b/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php index cf740142..72e09895 100644 --- a/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/_Attributes/AttributeTest.php @@ -9,6 +9,8 @@ /** * 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 4c9ac6c2..2798dae6 100644 --- a/tests/UnitTests/TemplateSource/TagTests/_Error/CompileErrorTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/_Error/CompileErrorTest.php @@ -9,6 +9,8 @@ /** * class for compiler tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class CompileErrorTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/TagTests/_Print/PrintNocacheTest.php b/tests/UnitTests/TemplateSource/TagTests/_Print/PrintNocacheTest.php index ea38ad15..f53aa68a 100644 --- a/tests/UnitTests/TemplateSource/TagTests/_Print/PrintNocacheTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/_Print/PrintNocacheTest.php @@ -9,6 +9,8 @@ /** * class for variable output with nocache attribute tag tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class PrintNocacheTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php b/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php index 92b3ef43..87d72c89 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Array/ArrayTest.php @@ -9,6 +9,8 @@ /** * class for array tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ArrayTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php b/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php index 6a1885e7..812d1e70 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/ConstantTests/ConstantsTest.php @@ -5,6 +5,8 @@ * * @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 a2bb1f00..79845a4b 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/DoubleQuoted/DoubleQuotedStringTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/DoubleQuoted/DoubleQuotedStringTest.php @@ -9,8 +9,10 @@ /** * class for double quoted string tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled - */ +*/ class DoubleQuotedStringTest extends PHPUnit_Smarty { public function setUp() diff --git a/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php b/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php index 678691e7..2d1cee8c 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Math/MathTest.php @@ -9,6 +9,8 @@ /** * 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 1b62432b..0c5f6d60 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Modifier/ModifierTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Modifier/ModifierTest.php @@ -9,6 +9,8 @@ /** * class for modifier tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ModifierTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php b/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php index c2fc3320..bf1d0734 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php @@ -9,6 +9,8 @@ /** * class for object variable tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class ObjectVariableTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php b/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php index a021b755..f4f7ab37 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/SingleQouted/SingleQuotedStringTest.php @@ -9,6 +9,8 @@ /** * class for single quoted string tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class SingleQuotedStringTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php b/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php index 12372251..0829e592 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Variables/Stream/StreamVariableTest.php @@ -9,6 +9,8 @@ /** * class for stream variables tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class StreamVariableTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableScope/VariableScopeTest.php b/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableScope/VariableScopeTest.php index 942717a6..a993034c 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableScope/VariableScopeTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableScope/VariableScopeTest.php @@ -9,6 +9,8 @@ /** * class for variable scope test * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class VariableScopeTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php b/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php index 1f3935bf..eb63207a 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Variables/VariableVariable/VariableVariableTest.php @@ -9,6 +9,8 @@ /** * class for variable variables tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class VariableVariableTest extends PHPUnit_Smarty diff --git a/tests/UnitTests/TemplateSource/Xml/XmlTest.php b/tests/UnitTests/TemplateSource/Xml/XmlTest.php index bd7028c8..33b60606 100644 --- a/tests/UnitTests/TemplateSource/Xml/XmlTest.php +++ b/tests/UnitTests/TemplateSource/Xml/XmlTest.php @@ -9,6 +9,8 @@ /** * class for tests * + * @runTestsInSeparateProcess + * @preserveGlobalState disabled * @backupStaticAttributes enabled */ class XmlTest extends PHPUnit_Smarty diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 7fdbe1a7..cdf9ee76 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -2,7 +2,8 @@ bootstrap="Bootstrap.php" colors="true" backupGlobals="false" - backupStaticAttributes="false" + backupStaticAttributes="true" + processIsolation="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true"