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.BaseSpringContextTestexternalDatabaseService, log, persisterHelper, rule, taxonService, testHelper
 
- 
 - 
Constructor SummaryConstructors Constructor Description SearchServiceIntegrationTest()
 - 
Method SummaryAll 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.BaseSpringContextTestaddTestAnalyses, 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.BaseIntegrationTestsetUpAuthentication, tearDownSecurityContext
 
- 
 
- 
- 
- 
Method Detail- 
tearDownpublic 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.SearchException
- IOException
 
 - 
testGeneUriSearchpublic void testGeneUriSearch() throws ubic.gemma.core.search.SearchExceptionTests that gene uris get handled correctly- Throws:
- ubic.gemma.core.search.SearchException
 
 - 
testSearchByBibRefIdProblemspublic void testSearchByBibRefIdProblems() throws ubic.gemma.core.search.SearchException, IOException- Throws:
- ubic.gemma.core.search.SearchException
- IOException
 
 - 
testSearchByBibRefIdProblemsBpublic void testSearchByBibRefIdProblemsB() throws ubic.gemma.core.search.SearchException, IOException- Throws:
- ubic.gemma.core.search.SearchException
- IOException
 
 - 
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.SearchException
- IOException
 
 - 
testURISearchpublic 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
 
 - 
testLoadValueObjectpublic void testLoadValueObject() throws ubic.gemma.core.search.SearchException- Throws:
- ubic.gemma.core.search.SearchException
 
 - 
testLoadValueObjectspublic void testLoadValueObjects() throws ubic.gemma.core.search.SearchException- Throws:
- ubic.gemma.core.search.SearchException
 
 
- 
 
-