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
Example #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();
 }
Example #2
0
 public function setUp()
 {
     parent::setUp();
     $setup = self::createKolabSetup();
     $error = $setup->getError();
     if (!empty($error)) {
         $this->markTestSkipped($error);
     }
 }
Example #3
0
 public function tearDown()
 {
     parent::tearDown();
     foreach ($this->_added as $added) {
         try {
             self::$driver->delete($added);
         } catch (Horde_Exception_NotFound $e) {
         }
     }
 }
Example #4
0
 public function tearDown()
 {
     error_reporting($this->_old_errorreporting);
     parent::tearDown();
 }