Moved classes to grefine, so that it's easier to identify which classes are Google Refine related and which are not.

This commit is contained in:
runeliza 2011-07-07 21:05:23 +00:00
parent a8dd57c6be
commit 7065c15842
3 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,6 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.controller; package edu.cornell.mannlib.vitro.webapp.controller.grefine;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
@ -27,6 +27,8 @@ import com.hp.hpl.jena.vocabulary.OWL;
import edu.cornell.mannlib.vitro.webapp.beans.DataProperty; import edu.cornell.mannlib.vitro.webapp.beans.DataProperty;
import edu.cornell.mannlib.vitro.webapp.beans.VClass; import edu.cornell.mannlib.vitro.webapp.beans.VClass;
import edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet;
import edu.cornell.mannlib.vitro.webapp.controller.VitroRequest;
import edu.cornell.mannlib.vitro.webapp.dao.DataPropertyDao; import edu.cornell.mannlib.vitro.webapp.dao.DataPropertyDao;
import edu.cornell.mannlib.vitro.webapp.dao.VClassDao; import edu.cornell.mannlib.vitro.webapp.dao.VClassDao;
import edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory; import edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory;

View file

@ -1,6 +1,6 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.controller; package edu.cornell.mannlib.vitro.webapp.controller.grefine;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
@ -24,6 +24,8 @@ import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import edu.cornell.mannlib.vitro.webapp.config.ConfigurationProperties; import edu.cornell.mannlib.vitro.webapp.config.ConfigurationProperties;
import edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet;
import edu.cornell.mannlib.vitro.webapp.controller.VitroRequest;
import edu.cornell.mannlib.vitro.webapp.search.VitroSearchTermNames; import edu.cornell.mannlib.vitro.webapp.search.VitroSearchTermNames;
import edu.cornell.mannlib.vitro.webapp.search.solr.SolrSetup; import edu.cornell.mannlib.vitro.webapp.search.solr.SolrSetup;

View file

@ -1,6 +1,6 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.controller; package edu.cornell.mannlib.vitro.webapp.controller.grefine;
import java.net.URL; import java.net.URL;
import java.util.ArrayList; import java.util.ArrayList;
@ -30,12 +30,9 @@ import edu.cornell.mannlib.vitro.testing.AbstractTestClass;
*/ */
public class JSONReconcileServletTest extends AbstractTestClass { public class JSONReconcileServletTest extends AbstractTestClass {
private HttpServletRequestStub request; private HttpServletRequestStub request;
private HttpServletResponseStub response; private HttpServletResponseStub response;
private SolrJsonReconcileServlet reconcile; private JSONReconcileServlet reconcile;
@Before @Before
public void setup() throws Exception { public void setup() throws Exception {
@ -43,7 +40,7 @@ public class JSONReconcileServletTest extends AbstractTestClass {
request.setRequestUrl(new URL("http://vivo.this.that/reconcile")); request.setRequestUrl(new URL("http://vivo.this.that/reconcile"));
request.setMethod("POST"); request.setMethod("POST");
response = new HttpServletResponseStub(); response = new HttpServletResponseStub();
reconcile = new SolrJsonReconcileServlet(); reconcile = new JSONReconcileServlet();
} }
@Test @Test