Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license instorageion (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Gunnar Wrobel (wrobel@pardus.de)
Наследование: extends PHPUnit_Framework_TestCase
Пример #1
0
 public function setUp()
 {
     parent::setUp();
     if (!class_exists('Horde_Support_Timer')) {
         $this->markTestSkipped('The "Horde_Support" package seems to be missing!');
     }
 }
Пример #2
0
 public function setUp()
 {
     parent::setUp();
     $this->status = array('uidvalidity' => '99', 'uidnext' => '5', 'token' => 'somestamp');
     $this->uids = array(1, 2, 4);
 }
Пример #3
0
 public function setUp()
 {
     parent::setUp();
     $this->horde_cache = new Horde_Cache(new Horde_Cache_Storage_Mock());
     $this->cache = new Horde_Kolab_Storage_Cache($this->horde_cache);
 }
Пример #4
0
 public function setUp()
 {
     parent::setUp();
     $this->_storage = $this->getMock('Horde_Kolab_Storage', array(), array(), '', false, false);
     $this->_connection = $this->getMock('Horde_Kolab_Storage_Driver');
 }