VIVO-869 ABoxRecomputer should pause the SearchIndexer during a rebuild.
This commit is contained in:
parent
ccb2063aa4
commit
de5b80bf75
6 changed files with 137 additions and 11 deletions
|
@ -7,6 +7,10 @@ import org.junit.Assert;
|
|||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import stubs.edu.cornell.mannlib.vitro.webapp.modules.ApplicationStub;
|
||||
import stubs.edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngineStub;
|
||||
import stubs.javax.servlet.ServletContextStub;
|
||||
|
||||
import com.hp.hpl.jena.ontology.OntModel;
|
||||
import com.hp.hpl.jena.ontology.OntModelSpec;
|
||||
import com.hp.hpl.jena.ontology.OntProperty;
|
||||
|
@ -29,6 +33,10 @@ public class SimpleReasonerInversePropertyTest extends SimpleReasonerTBoxHelper
|
|||
setLoggerLevel(SimpleReasonerTBoxListener.class, Level.OFF);
|
||||
setLoggerLevel(ABoxRecomputer.class, Level.OFF);
|
||||
}
|
||||
|
||||
@Before public void setup() {
|
||||
ApplicationStub.setup(new ServletContextStub(), new SearchEngineStub());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void addABoxAssertion1Test(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue