Index: trunk/lucene-search-2/test/org/wikimedia/lsearch/test/WikiTestCase.java |
— | — | @@ -8,6 +8,13 @@ |
9 | 9 | import org.wikimedia.lsearch.config.Configuration; |
10 | 10 | import org.wikimedia.lsearch.config.GlobalConfiguration; |
11 | 11 | |
| 12 | + |
| 13 | +/** |
| 14 | + * parent class for test that require that the configuration files be initialized |
| 15 | + * |
| 16 | + * @author rainman |
| 17 | + * |
| 18 | + */ |
12 | 19 | public abstract class WikiTestCase extends TestCase { |
13 | 20 | |
14 | 21 | public Configuration getConfig() { |
— | — | @@ -15,6 +22,7 @@ |
16 | 23 | } |
17 | 24 | |
18 | 25 | |
| 26 | + |
19 | 27 | public void setConfig(final Configuration config) { |
20 | 28 | this.config = config; |
21 | 29 | } |