public function __construct() { $conn = TestUtil::getConnectionDriver(); $conn->setParam('port', 9307); $this->conn = $conn; SphinxQL::create($this->conn)->query('TRUNCATE RTINDEX rt')->execute(); }
public static function setUpBeforeClass() { $conn = TestUtil::getConnectionDriver(); $conn->setParam('port', 9307); self::$conn = $conn; SphinxQL::create(self::$conn)->getConnection()->query('TRUNCATE RTINDEX rt'); }
public static function setUpBeforeClass() { $conn = TestUtil::getConnectionDriver(); $conn->setParam('port', 9307); self::$conn = $conn; }
public function test() { TestUtil::getConnectionDriver(); }
public static function setUpBeforeClass() { $conn = TestUtil::getConnectionDriver(); $conn->setParam('port', 9307); self::$sphinxql = SphinxQL::create($conn); }