Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file LICENSE for license information (ASL). If you did did not receive this file, see http://www.horde.org/licenses/apache.
Author: Gunnar Wrobel (wrobel@pardus.de)
Inheritance: extends PHPUnit_Framework_TestCase
Example #1
0
 /**
  * Handle a "then" step.
  *
  * @param array  &$world    Joined "world" of variables.
  * @param string $action    The description of the step.
  * @param array  $arguments Additional arguments to the step.
  *
  * @return mixed The outcome of the step.
  */
 public function runThen(&$world, $action, $arguments)
 {
     switch ($action) {
         default:
             return parent::runThen($world, $action, $arguments);
     }
 }
Example #2
0
File: Base.php Project: horde/horde
 public function tearDown()
 {
     $turba_shares = $GLOBALS['injector']->getInstance('Turba_Shares');
     foreach ($turba_shares->listShares('*****@*****.**') as $share) {
         $turba_shares->removeShare($share);
     }
     $GLOBALS['injector']->setInstance('Turba_Factory_Addressbooks', null);
     parent::tearDown();
 }
Example #3
0
File: Base.php Project: horde/horde
 public function tearDown()
 {
     parent::tearDown();
     foreach ($this->_added as $added) {
         try {
             self::$driver->delete($added);
         } catch (Turba_Exception $e) {
         }
     }
 }
Example #4
0
 public static function tearDownAfterClass()
 {
     self::tearDownBasicTurbaSetup();
     parent::tearDownAfterClass();
     setlocale(LC_MESSAGES, null);
 }