Example #1
0
 public function setUp()
 {
     parent::setUp();
     $this->hash = new Hash('hashName');
     $this->hash->setClient($this->getRedisClient());
     $this->hash->removeAll();
 }
Example #2
0
 public function setUp()
 {
     parent::setUp();
     $this->list = new LinkedList('listName');
     $this->list->setClient($this->getRedisClient());
     $this->list->removeAll();
 }
Example #3
0
 public function setUp()
 {
     parent::setUp();
     $this->set = new BloomFilter('TestBloomFilter', 100, 2);
     $this->set->setClient($this->getRedisClient());
     $this->set->reset();
 }
Example #4
0
 public function setUp()
 {
     parent::setUp();
     $this->keyPair = new KeyPair('keyPairName');
     $this->keyPair->setClient($this->getRedisClient());
     $this->add3values();
 }
Example #5
0
 public function setUp()
 {
     parent::setUp();
     $this->set = new Set('theNameOfTheSet');
     $this->set->setClient($this->getRedisClient());
     $this->set->removeAll();
 }
Example #6
0
 public function setUp()
 {
     parent::setUp();
     $this->map = new HashMap(rand());
     $this->map->setClient($this->getRedisClient());
     $this->map->removeAll();
 }
Example #7
0
 public function setUp()
 {
     parent::setUp();
     $this->cache = new Cache('TestCache');
     $this->cache->setClient($this->getRedisClient());
     $this->testValue = serialize(array(1, 2, 3));
     $this->cache->set($this->testValue);
 }
Example #8
0
 public function setUp()
 {
     parent::setUp();
     $this->queue = new Queue('queueName');
     $this->queue->setClient($this->getRedisClient());
     $this->otherQueue = new Queue('otherQueueName');
     $this->otherQueue->setClient($this->getRedisClient());
 }
Example #9
0
 public function setUp()
 {
     parent::setUp();
     $this->redtrine = new Redtrine($this->getRedisClient());
 }
Example #10
0
 public function setUp()
 {
     parent::setUp();
     $this->rateLimit = new RateLimit('TestRateLimit');
     $this->rateLimit->setClient($this->getRedisClient());
 }
Example #11
0
 public function setUp()
 {
     parent::setUp();
     $this->structure = new TestStructure(md5(rand()));
     $this->structure->setClient($this->getRedisClient());
 }
Example #12
0
 public function setUp()
 {
     parent::setUp();
     $this->bit = new BitField('TestBitField');
     $this->bit->setClient($this->getRedisClient());
 }