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');
 }
예제 #3
0
 public static function setUpBeforeClass()
 {
     $conn = TestUtil::getConnectionDriver();
     $conn->setParam('port', 9307);
     self::$conn = $conn;
 }
 public function test()
 {
     TestUtil::getConnectionDriver();
 }
예제 #5
0
 public static function setUpBeforeClass()
 {
     $conn = TestUtil::getConnectionDriver();
     $conn->setParam('port', 9307);
     self::$sphinxql = SphinxQL::create($conn);
 }