Class SearchServiceIntegrationTest

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class SearchServiceIntegrationTest
    extends BaseSpringContextTest
    Author:
    kelsey
    • Constructor Detail

      • SearchServiceIntegrationTest

        public SearchServiceIntegrationTest()
    • Method Detail

      • tearDown

        public void tearDown()
      • testGeneralSearch4Brain

        @DirtiesContext
        public void testGeneralSearch4Brain()
                                     throws ubic.gemma.core.search.SearchException,
                                            IOException
        Tests 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
      • testGeneUriSearch

        public void testGeneUriSearch()
                               throws ubic.gemma.core.search.SearchException
        Tests 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.SearchException
        IOException
      • testSearchByBibRefIdProblemsB

        public 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,
                                       IOException
        Test we find EE tagged with a child term that matches the given uri.
        Throws:
        ubic.gemma.core.search.SearchException
        IOException
      • testURISearch

        public void testURISearch()
                           throws ubic.gemma.core.search.SearchException
        Does 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