Package ubic.gemma.core.search
Class SearchServiceIntegrationTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseSpringContextTest
-
- ubic.gemma.core.search.SearchServiceIntegrationTest
-
- All Implemented Interfaces:
Aware,InitializingBean,ApplicationContextAware
@DirtiesContext(classMode=AFTER_CLASS) public class SearchServiceIntegrationTest extends BaseSpringContextTest
- Author:
- kelsey
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, jdbcTemplate, log, persisterHelper, rule, taxonService, testHelper
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
-
-
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, afterPropertiesSet, countRowsInTable, deleteFromTables, executeSqlScript, 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, setPersisterHelper, setTaxonService, setTestCollectionSize, setUpAuthentication, setUpSecurityContextHolderStrategy, tearDownSecurityContext
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
tearDown
public void tearDown()
-
testGeneralSearch4Brain
public void testGeneralSearch4Brain() throws SearchExceptionTests that general search terms are resolved to their proper ontology terms and objects tagged with those terms are found, -- requires LARQ index.- Throws:
SearchException
-
testGeneUriSearch
public void testGeneUriSearch() throws SearchExceptionTests that gene uris get handled correctly- Throws:
SearchException
-
testSearchByBibRefIdProblems
public void testSearchByBibRefIdProblems() throws SearchException- Throws:
SearchException
-
testSearchByBibRefIdProblemsB
public void testSearchByBibRefIdProblemsB() throws SearchException- Throws:
SearchException
-
testURIChildSearch
public void testURIChildSearch() throws SearchExceptionTest we find EE tagged with a child term that matches the given uri.- Throws:
SearchException
-
testURISearch
public void testURISearch() throws SearchExceptionDoes the search engine correctly match the spinal cord URI and find objects directly tagged with that URI- Throws:
SearchException
-
testLoadValueObject
public void testLoadValueObject() throws SearchException- Throws:
SearchException
-
testLoadValueObjects
public void testLoadValueObjects() throws SearchException- Throws:
SearchException
-
-