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
- Author:
- kelsey
-
Field Summary
FieldsFields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, log, persisterHelper, rule, taxonService, testHelperFields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidtearDown()voidTests that general search terms are resolved to their proper ontology terms and objects tagged with those terms are found, -- requires LARQ index.voidTests that gene uris get handled correctlyvoidvoidvoidvoidvoidTest we find EE tagged with a child term that matches the given uri.voidDoes the search engine correctly match the spinal cord URI and find objects directly tagged with that URIMethods 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, setTestCollectionSizeMethods inherited from class ubic.gemma.core.util.test.BaseIntegrationTest
setUpAuthentication, tearDownSecurityContextMethods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Field Details
-
networkAvailableRule
-
-
Constructor Details
-
SearchServiceIntegrationTest
public SearchServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
public void tearDown() -
testGeneralSearch4Brain
Tests that general search terms are resolved to their proper ontology terms and objects tagged with those terms are found, -- requires LARQ index.- Throws:
SearchExceptionIOException
-
testGeneUriSearch
Tests that gene uris get handled correctly- Throws:
SearchException
-
testSearchByBibRefIdProblems
@NetworkAvailable(url="https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi") public void testSearchByBibRefIdProblems() throws SearchException, IOException- Throws:
SearchExceptionIOException
-
testSearchByBibRefIdProblemsB
@NetworkAvailable(url="https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi") public void testSearchByBibRefIdProblemsB() throws SearchException, IOException- Throws:
SearchExceptionIOException
-
testURIChildSearch
Test we find EE tagged with a child term that matches the given uri.- Throws:
SearchExceptionIOException
-
testURISearch
Does the search engine correctly match the spinal cord URI and find objects directly tagged with that URI- Throws:
SearchException
-
testLoadValueObject
- Throws:
SearchException
-
testLoadValueObjects
- Throws:
SearchException
-