1<?php
2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
3//
4// All Rights Reserved. See copyright.txt for details and a complete list of authors.
5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
6// $Id$
7
8class Search_MySql_IncrementalUpdateTest extends Search_Index_IncrementalUpdateTest
9{
10	protected $index;
11
12	function setUp()
13	{
14		$this->index = $this->getIndex();
15		$this->index->destroy();
16
17		$this->populate($this->index);
18	}
19
20	protected function getIndex()
21	{
22		return new Search_MySql_Index(TikiDb::get(), 'test_index');
23	}
24
25	function tearDown()
26	{
27		if ($this->index) {
28			$this->index->destroy();
29		}
30	}
31}
32