run all test in separate process

This commit is contained in:
uwetews
2015-10-20 00:50:22 +02:00
parent 3975172178
commit 03daa2880c
125 changed files with 313 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
/*
* Smarty PHPUnit Config
*/
define('individualFolders', true);
define('individualFolders', false);
define('MemCacheEnable', false);
define('ApcCacheEnable', false);
define('MysqlCacheEnable', false);

View File

@@ -6,6 +6,8 @@
/**
* class for 'escapeHtml' property tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AutoEscapeTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for filter tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class FilterTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for loadFilter method tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class LoadFilterTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for register_filter / unregister_filter methods tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class RegisterFilterTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for generic getter/setter tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class GetterSetterTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for plugin handler tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class DefaultPluginHandlerTest extends PHPUnit_Smarty

View File

@@ -5,6 +5,8 @@
*
* @package PHPunit
* @author Rodney Rehm
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class IncludePathTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class core function tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class LoadPluginTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for filter tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class MuteExpectedErrorsTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for PHP resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class OutputFilterTrimWhitespaceTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginChainedLoadTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class SmartyBC class tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class SmartyBcTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for cache resource file tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class HttpModifiedSinceTest extends PHPUnit_Smarty

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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'),

View File

@@ -9,6 +9,8 @@
/**
* class for compiler plugin tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileCompilerPluginTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for delimiter tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class DelimiterTest extends PHPUnit_Smarty

View File

@@ -9,7 +9,9 @@
/**
* class for config variable tests
*
* @b ackupStaticAttributes enabled
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ConfigVarTest extends PHPUnit_Smarty
{

View File

@@ -9,6 +9,8 @@
/**
* class for default config handler test
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class DefaultConfigHandlerTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for file resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CustomResourceAmbiguousTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for demo resource plugin extendaall tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ResourceExtendsAllPluginTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@ if (defined(MysqlResourceEnable) && MysqlResourceEnable == 'true') {
/**
* class for resource plugins tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ResourceMysqlPluginTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for block plugin tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class DefaultTemplateHandlerTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for eval resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class EvalResourceTest extends PHPUnit_Smarty

View File

@@ -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()
{

View File

@@ -9,6 +9,8 @@
/**
* class for file resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class FileResourceTest extends PHPUnit_Smarty

View File

@@ -5,6 +5,8 @@
*
* @package PHPunit
* @author Rodney Rehm
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class FileIncludePathTest extends PHPUnit_Smarty

View File

@@ -5,6 +5,8 @@
*
* @package PHPunit
* @author Rodney Rehm
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class FileResourceIndexedTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for PHP resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PhpResourceTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for register->resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class RegisteredResourceTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for resource plugins tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ResourcePluginTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for stream resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class StreamResourceTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for string resource tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class StringResourceTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for function tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class FunctionTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for security test
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class SecurityTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for append tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AppendTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for appendByRef tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AppendByRefBCTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for appendByRef tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AppendByRefTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for assign tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AssignTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for assignByRef tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AssignByRefBCTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for assignByRef tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AssignByRefTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for assignGlobal method and {assignGlobal} tag tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class AssignGlobalTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for clearing all assigned variables tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ClearAllAssignBCTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for clearing all assigned variables tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ClearAllAssignTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for clearing assigned variables tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ClearAssignBCTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for clearing assigned variables tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ClearAssignTest extends PHPUnit_Smarty

View File

@@ -10,6 +10,8 @@
/**
* class for delete compiled template tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class ClearCompiledTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for getTemplateVars method test
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class GetTemplateVarsTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for register->block / unregister->block methods tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class RegisterBlockTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for register->compilerFunction / unregister->compilerFunction methods tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class RegisterCompilerFunctionTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for register->templateFunction / unregister->templateFunction methods tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*
*/

View File

@@ -9,6 +9,8 @@
/**
* class for register->modifier / unregister->modifier methods tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class RegisterModifierTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for registered object function tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileRegisteredObjectFunctionTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for templateExists tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class TemplateExistsTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for security test
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CommentsTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for spacing test
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class SpacingTest extends PHPUnit_Smarty

View File

@@ -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

View File

@@ -9,6 +9,8 @@
/**
* class for append tags tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileAppendTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for assign tags tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileAssignTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for block plugin tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileBlockPluginTest extends PHPUnit_Smarty

View File

@@ -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)

View File

@@ -9,6 +9,8 @@
/**
* class for capture tags tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileCaptureTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for compiler plugin tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompilerPluginTest extends PHPUnit_Smarty

View File

@@ -9,7 +9,9 @@
/**
* class for config variable tests
*
* @b ackupStaticAttributes enabled
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileConfigLoadTest extends PHPUnit_Smarty
{

View File

@@ -9,6 +9,8 @@
/**
* class for delimiter tags tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileDelimiterTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for {eval} tag tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileEvalTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for {for} tag tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileForTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for {foreach} tag tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileForeachTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for function plugin tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileFunctionPluginTest extends PHPUnit_Smarty

View File

@@ -9,8 +9,10 @@
/**
* class for {if} tag tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
*/
class CompileIfTest extends PHPUnit_Smarty
{
public function setUp()

View File

@@ -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)

View File

@@ -9,6 +9,8 @@
/**
* class for {include_php} tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileIncludePhpTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for {insert} tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileInsertTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for appendByRef tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class LiteralTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for {nocache} tag tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class CompileNocacheTest extends PHPUnit_Smarty

View File

@@ -9,7 +9,9 @@
/**
* class for {php} and <?php...?> 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
*

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginBlockTextformatTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginFunctionFetchTest extends PHPUnit_Smarty

View File

@@ -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

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginFunctionHtmlImageTest extends PHPUnit_Smarty

View File

@@ -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

View File

@@ -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
{

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginFunctionHtmlSelectDateTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginFunctionHtmlSelectTimeTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginFunctionMailtoTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierCapitalizeTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierCharsetTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierCountCharactersTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierCountSentencesTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierCountWordsTest extends PHPUnit_Smarty

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierEscapeTest extends PHPUnit_Smarty

View File

@@ -8,6 +8,9 @@
/**
* class for modifier tests
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierLowerTest extends PHPUnit_Smarty
{

View File

@@ -9,8 +9,10 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
*/
class PluginModifierRegexReplaceTest extends PHPUnit_Smarty
{
public function setUp()

View File

@@ -9,6 +9,8 @@
/**
* class for modifier tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class PluginModifierSpacifyTest extends PHPUnit_Smarty

Some files were not shown because too many files have changed in this diff Show More