Revision 4384
Added by daigle over 15 years ago
QueryGroupTest.java | ||
---|---|---|
24 | 24 |
package edu.ucsb.nceas.metacattest; |
25 | 25 |
|
26 | 26 |
import junit.framework.Test; |
27 |
import junit.framework.TestCase; |
|
28 | 27 |
import junit.framework.TestSuite; |
29 | 28 |
|
29 |
import edu.ucsb.nceas.MCTestCase; |
|
30 | 30 |
import edu.ucsb.nceas.metacat.QueryGroup; |
31 | 31 |
import edu.ucsb.nceas.metacat.QueryTerm; |
32 | 32 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
... | ... | |
37 | 37 |
* |
38 | 38 |
* Test the output of the QuerySpecification class |
39 | 39 |
*/ |
40 |
public class QueryGroupTest extends TestCase |
|
40 |
public class QueryGroupTest extends MCTestCase
|
|
41 | 41 |
{ |
42 | 42 |
private QueryGroup group = null; |
43 | 43 |
/* Initialize properties*/ |
... | ... | |
45 | 45 |
{ |
46 | 46 |
try |
47 | 47 |
{ |
48 |
PropertyService.getInstance("build/tests"); |
|
49 | 48 |
MetaCatUtil.pathsForIndexing |
50 | 49 |
= MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths")); |
51 | 50 |
} |
Also available in: Unified diff
Convert remainder of tests that use PropertyService to extend the MCTestCase class