Exemple #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->tmp = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'template' . DIRECTORY_SEPARATOR;
     if (file_exists($this->tmp)) {
         $this->clear(substr($this->tmp, 0, -1));
     }
 }
Exemple #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->_SERVER = array();
     $this->_REQUEST = array();
     $this->_FILES = array();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->router = new DynamicRouter();
 }
 protected function setUp()
 {
     parent::setUp();
 }
Exemple #5
0
 protected function setUp()
 {
     parent::setUp();
     self::$executed = array();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->tmpDir = __DIR__ . DIRECTORY_SEPARATOR;
 }
Exemple #7
0
 protected function setUp()
 {
     parent::setUp();
     date_default_timezone_set('UTC');
 }