Revision 4384
Added by daigle over 15 years ago
VersionTest.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package edu.ucsb.nceas.metacattest; |
25 | 25 |
|
26 |
import edu.ucsb.nceas.MCTestCase; |
|
26 | 27 |
import edu.ucsb.nceas.metacat.MetaCatVersion; |
27 | 28 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
28 |
import edu.ucsb.nceas.metacat.service.ServiceException; |
|
29 | 29 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
30 | 30 |
|
31 |
import junit.framework.TestCase; |
|
32 | 31 |
|
33 | 32 |
|
34 | 33 |
/** |
... | ... | |
36 | 35 |
* |
37 | 36 |
* Test class for the Version class. |
38 | 37 |
*/ |
39 |
public class VersionTest extends TestCase |
|
38 |
public class VersionTest extends MCTestCase
|
|
40 | 39 |
{ |
41 | 40 |
/* |
42 | 41 |
* @see TestCase#setUp() |
... | ... | |
44 | 43 |
protected void setUp() throws Exception |
45 | 44 |
{ |
46 | 45 |
super.setUp(); |
47 |
try { |
|
48 |
PropertyService.getInstance("build/tests"); |
|
49 |
} catch (ServiceException se) { |
|
50 |
fail(se.getMessage()); |
|
51 |
} |
|
52 | 46 |
} |
53 | 47 |
|
54 | 48 |
/** |
Also available in: Unified diff
Convert remainder of tests that use PropertyService to extend the MCTestCase class