예제 #1
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $path = CakePlugin::path('Extensions') . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS . 'Example';
     $Folder = new Folder($path);
     $Folder->delete();
     $path = CakePlugin::path('Extensions') . 'Test' . DS . 'test_app' . DS . 'View' . DS . 'Themed' . DS . 'Minimal';
     $Folder = new Folder($path);
     $Folder->delete();
     $File = new File(CakePlugin::path('Extensions') . 'Test' . DS . 'test_app' . DS . 'composer.json');
     $File->delete();
 }
예제 #2
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $Folder = new Folder(TMP);
     $files = $Folder->find('croogo_.*');
     foreach ($files as $file) {
         unlink(TMP . $file);
     }
     $Folder = new Folder(TESTS . 'test_app' . DS . 'Plugin' . DS . 'Example');
     $Folder->delete();
     $Folder = new Folder(TESTS . 'test_app' . DS . 'View' . DS . 'Themed' . DS . 'Minimal');
     $Folder->delete();
 }
예제 #3
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $path = CakePlugin::path('Extensions') . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS . 'Example';
     $Folder = new Folder($path);
     $Folder->delete();
     $path = CakePlugin::path('Extensions') . 'Test' . DS . 'test_app' . DS . 'View' . DS . 'Themed' . DS . 'Minimal';
     $Folder = new Folder($path);
     $Folder->delete();
     if (file_exists($this->minimalPlugin)) {
         unlink($this->minimalPlugin);
     }
     if (file_exists($this->invalidPlugin)) {
         unlink($this->invalidPlugin);
     }
 }
예제 #4
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     CroogoPlugin::unload('Shops');
 }
예제 #5
0
파일: NodeTest.php 프로젝트: saydulk/croogo
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Node);
 }
예제 #6
0
 public function tearDown()
 {
     unset($this->FileManager);
     parent::tearDown();
 }
예제 #7
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->OrderRecord);
     ClassRegistry::flush();
 }
예제 #8
0
 public function tearDown()
 {
     parent::tearDown();
     CakePlugin::unload('Translate');
     unset($this->AppHelper->request, $this->AppHelper, $this->View);
 }
예제 #9
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Setting);
 }
예제 #10
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->AppHelper->request, $this->AppHelper, $this->View);
 }
예제 #11
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->User->request, $this->User);
 }
예제 #12
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->CroogoPlugin);
 }
예제 #13
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->CroogoTheme);
 }
예제 #14
0
 public function tearDown()
 {
     parent::tearDown();
     CroogoNav::clear(null);
     CroogoNav::items('sidebar', self::$_menus);
 }
예제 #15
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $Folder = new Folder(CakePlugin::path('Croogo') . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS . 'Example');
     $Folder->delete();
 }
예제 #16
0
 public function tearDown()
 {
     parent::tearDown();
     Configure::write('Comment.level', $this->_level);
     unset($this->Comment);
 }
예제 #17
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Taxonomy);
 }
예제 #18
0
 public function tearDown()
 {
     parent::tearDown();
     CroogoNav::items(self::$_menus);
 }
예제 #19
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Node);
     ClassRegistry::flush();
 }
예제 #20
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $Folder = new Folder(TESTS . 'test_app' . DS . 'Plugin' . DS . 'Example');
     $Folder->delete();
 }