Project

General

Profile

« Previous | Next » 

Revision 4337

Added by daigle about 16 years ago

Make sure DatabaseService gets instantiated

View differences:

test/edu/ucsb/nceas/metacattest/BuildIndexTest.java
42 42
import edu.ucsb.nceas.metacat.client.MetacatException;
43 43
import edu.ucsb.nceas.metacat.client.MetacatFactory;
44 44
import edu.ucsb.nceas.metacat.client.MetacatInaccessibleException;
45
import edu.ucsb.nceas.metacat.service.DatabaseService;
45 46
import edu.ucsb.nceas.metacat.service.PropertyService;
46 47
import edu.ucsb.nceas.metacat.service.ServiceException;
47 48
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
......
111 112
    public void setUp()
112 113
    {
113 114
        try {
115
        	DatabaseService.getInstance();
114 116
        	PropertyService.getInstance("build/tests");
115 117
            metacatUrl = PropertyService.getProperty("test.metacatUrl");
116 118
        } catch (ServiceException se) {

Also available in: Unified diff