function setUp() { parent::setUp(); $state = new PHPTAL_Php_State($this->newPHPTAL()); $this->_gen = new PHPTAL_Php_CodeWriter($state); $this->_tag = new DummyPhpNode(); $this->_tag->codewriter = $this->_gen; }
public function setUp() { parent::setUp(); if (!is_writable('.')) { $this->markTestSkipped(); } if (file_exists('trigger.10')) { unlink('trigger.10'); } if (file_exists('trigger.11')) { unlink('trigger.11'); } }
function setUp() { parent::setUp(); $this->PhptalCacheTest_random = time() . mt_rand(); }
function setUp() { parent::setUp(); $this->resetPHPTAL(); $this->clearCache(); }