getAdapterName() * * @return string */ public function getAdapterFullName() { return 'Zend_Queue_Adapter_' . $this->getAdapterName(); } public function getTestConfig() { $driverOptions = array(); if (defined('TESTS_ZEND_QUEUE_MEMCACHEQ_HOST')) { $driverOptions['host'] = TESTS_ZEND_QUEUE_MEMCACHEQ_HOST; } if (defined('TESTS_ZEND_QUEUE_MEMCACHEQ_PORT')) { $driverOptions['port'] = TESTS_ZEND_QUEUE_MEMCACHEQ_PORT; } return array('driverOptions' => $driverOptions); } // test the constants public function testConst() { /** * @see Zend_Queue_Adapter_Memcacheq */ require_once 'Zend/Queue/Adapter/Memcacheq.php'; $this->assertTrue(is_string(Zend_Queue_Adapter_Memcacheq::DEFAULT_HOST)); $this->assertTrue(is_integer(Zend_Queue_Adapter_Memcacheq::DEFAULT_PORT)); $this->assertTrue(is_string(Zend_Queue_Adapter_Memcacheq::EOL)); } }