Example #1
0
 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;
 }
Example #2
0
 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');
     }
 }
Example #3
0
 function setUp()
 {
     parent::setUp();
     $this->PhptalCacheTest_random = time() . mt_rand();
 }
Example #4
0
 function setUp()
 {
     parent::setUp();
     $this->resetPHPTAL();
     $this->clearCache();
 }