Package ubic.basecode.ontology.search
Class OntologySearchTest
- java.lang.Object
-
- ubic.basecode.ontology.AbstractOntologyTest
-
- ubic.basecode.ontology.search.OntologySearchTest
-
public class OntologySearchTest extends AbstractOntologyTest
Most of these tests were moved over from Gemma.- Author:
- Paul
-
-
Constructor Summary
Constructors Constructor Description OntologySearchTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmatchClasses_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException()voidmatchIndividuals_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException()voidmatchResources_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException()static voidsetUpUberon()voidtestIndexing()voidtestOmitBadPredicates()See bug 2920voidtestOmitBadPredicates2()See bug 3269voidtestOmitDefinition()voidtestOmitDefinitions()voidtestOmitDefinitions2()voidtestOmitDefinitions3()voidtestOmitDefinitions4()voidtestPersistence()voidtestScore()-
Methods inherited from class ubic.basecode.ontology.AbstractOntologyTest
clearOntologyCacheDir, setUpOntologyCacheDir
-
-
-
-
Method Detail
-
setUpUberon
public static void setUpUberon() throws IOException- Throws:
IOException
-
testOmitBadPredicates
public final void testOmitBadPredicates() throws ExceptionSee bug 2920- Throws:
Exception
-
testOmitBadPredicates2
public final void testOmitBadPredicates2() throws ExceptionSee bug 3269- Throws:
Exception
-
testOmitDefinition
public void testOmitDefinition() throws OntologySearchException- Throws:
OntologySearchException
-
testScore
public void testScore() throws OntologySearchException- Throws:
OntologySearchException
-
matchClasses_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException
public final void matchClasses_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException()
-
matchIndividuals_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException
public final void matchIndividuals_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException()
-
matchResources_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException
public final void matchResources_whenIndexRaisesJenaException_thenWrapItWithOntologyJenaSearchException()
-
-