3 require_once( 'SearchEngineTest.php' );
4 require_once( '../includes/SearchMySQL3.php' );
6 class SearchMySQL3Test
extends SearchEngine_TestCase
{
9 function SearchMySQL3Test( $name ) {
10 $this->PHPUnit_TestCase( $name );
14 $GLOBALS['wgContLang'] = new LanguageUtf8
;
15 $this->db
=& buildTestDatabase(
17 array( 'page', 'revision', 'text', 'searchindex' ) );
19 $this->insertSearchData();
21 $this->search
=& new SearchMySQL3( $this->db
);
25 if( !is_null( $this->db
) ) {
29 unset( $this->search
);