Class TaxonServiceImplTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseIntegrationTest
-
- ubic.gemma.core.util.test.BaseSpringContextTest
-
- ubic.gemma.persistence.service.genome.TaxonServiceImplTest
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
public class TaxonServiceImplTest extends BaseSpringContextTest
- Author:
- paul
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, log, persisterHelper, rule, taxonService, testHelper
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description TaxonServiceImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testFindOrCreate()
Test method forTaxonService.findOrCreate(Taxon)
)}.void
testLoadValueObject()
-
Methods 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, setTestCollectionSize
-
Methods inherited from class ubic.gemma.core.util.test.BaseIntegrationTest
setUpAuthentication, tearDownSecurityContext
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
testFindOrCreate
public void testFindOrCreate()
Test method forTaxonService.findOrCreate(Taxon)
)}. Situation where the secondary id is treated as the primary, we must not make a new taxon! This test uses a taxon Gemma isn't using right now but this could be relevant in general.
-
testLoadValueObject
public void testLoadValueObject()
-
-