Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPLv2). If you did not receive this file, see http://www.horde.org/licenses/gpl
Author: Gunnar Wrobel (wrobel@pardus.de)
Inheritance: extends PHPUnit_Framework_TestCase
Ejemplo n.º 1
0
 public function tearDown()
 {
     foreach ($GLOBALS['nag_shares']->listShares('*****@*****.**') as $share) {
         $GLOBALS['nag_shares']->removeShare($share);
     }
     $GLOBALS['injector']->setInstance('Nag_Factory_Tasklists', null);
     parent::tearDown();
 }
Ejemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $setup = self::createKolabSetup();
     $error = $setup->getError();
     if (!empty($error)) {
         $this->markTestSkipped($error);
     }
 }
Ejemplo n.º 3
0
 public function tearDown()
 {
     parent::tearDown();
     foreach ($this->_added as $added) {
         try {
             self::$driver->delete($added);
         } catch (Horde_Exception_NotFound $e) {
         }
     }
 }
Ejemplo n.º 4
0
 public function tearDown()
 {
     error_reporting($this->_old_errorreporting);
     parent::tearDown();
 }