Package ubic.gemma.core.search
Class SearchServiceIntegrationTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseTest
-
- ubic.gemma.core.util.test.BaseIntegrationTest
-
- ubic.gemma.core.util.test.BaseSpringContextTest
-
- ubic.gemma.core.search.SearchServiceIntegrationTest
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SearchServiceIntegrationTest extends BaseSpringContextTest
- Author:
- kelsey
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, log, persisterHelper, rule, taxonService, testHelper
-
-
Constructor Summary
Constructors Constructor Description SearchServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtearDown()voidtestGeneralSearch4Brain()Tests that general search terms are resolved to their proper ontology terms and objects tagged with those terms are found, -- requires LARQ index.voidtestGeneUriSearch()Tests that gene uris get handled correctlyvoidtestLoadValueObject()voidtestLoadValueObjects()voidtestSearchByBibRefIdProblems()voidtestSearchByBibRefIdProblemsB()voidtestURIChildSearch()Test we find EE tagged with a child term that matches the given uri.voidtestURISearch()Does the search engine correctly match the spinal cord URI and find objects directly tagged with that URI-
Methods inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
addTestAnalyses, countRowsInTable, deleteFromTables, getJdbcTemplate, getNewTestPersistentCompleteExpressionExperiment, getTaxon, getTestNonPersistentBioSequence, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentBasicExpressionExperiment, getTestPersistentBasicExpressionExperiment, getTestPersistentBibliographicReference, getTestPersistentBioAssay, getTestPersistentBioAssay, getTestPersistentBioMaterial, getTestPersistentBioMaterial, getTestPersistentBioSequence, getTestPersistentBioSequence, getTestPersistentBioSequence2GeneProducts, getTestPersistentBlatResult, getTestPersistentBlatResult, getTestPersistentCompleteExpressionExperiment, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentContact, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentExpressionExperiment, getTestPersistentExpressionExperiment, getTestPersistentGene, getTestPersistentGene, getTestPersistentGeneProduct, getTestPersistentQuantitationType, randomName, resetTestCollectionSize, runAsAdmin, runAsAgent, runAsAnonymous, runAsUser, runAsUser, setTestCollectionSize
-
Methods inherited from class ubic.gemma.core.util.test.BaseIntegrationTest
setUpAuthentication, tearDownSecurityContext
-
-
-
-
Method Detail
-
tearDown
public void tearDown()
-
testGeneralSearch4Brain
@DirtiesContext public void testGeneralSearch4Brain() throws ubic.gemma.core.search.SearchException, IOExceptionTests that general search terms are resolved to their proper ontology terms and objects tagged with those terms are found, -- requires LARQ index.- Throws:
ubic.gemma.core.search.SearchExceptionIOException
-
testGeneUriSearch
public void testGeneUriSearch() throws ubic.gemma.core.search.SearchExceptionTests that gene uris get handled correctly- Throws:
ubic.gemma.core.search.SearchException
-
testSearchByBibRefIdProblems
public void testSearchByBibRefIdProblems() throws ubic.gemma.core.search.SearchException, IOException- Throws:
ubic.gemma.core.search.SearchExceptionIOException
-
testSearchByBibRefIdProblemsB
public void testSearchByBibRefIdProblemsB() throws ubic.gemma.core.search.SearchException, IOException- Throws:
ubic.gemma.core.search.SearchExceptionIOException
-
testURIChildSearch
@DirtiesContext public void testURIChildSearch() throws ubic.gemma.core.search.SearchException, IOExceptionTest we find EE tagged with a child term that matches the given uri.- Throws:
ubic.gemma.core.search.SearchExceptionIOException
-
testURISearch
public void testURISearch() throws ubic.gemma.core.search.SearchExceptionDoes the search engine correctly match the spinal cord URI and find objects directly tagged with that URI- Throws:
ubic.gemma.core.search.SearchException
-
testLoadValueObject
public void testLoadValueObject() throws ubic.gemma.core.search.SearchException- Throws:
ubic.gemma.core.search.SearchException
-
testLoadValueObjects
public void testLoadValueObjects() throws ubic.gemma.core.search.SearchException- Throws:
ubic.gemma.core.search.SearchException
-
-