Class ArrayDesignServiceTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseSpringContextTest
-
- ubic.gemma.model.expression.arrayDesign.ArrayDesignServiceTest
-
- All Implemented Interfaces:
Aware
,InitializingBean
,ApplicationContextAware
public class ArrayDesignServiceTest extends BaseSpringContextTest
- Author:
- pavlidis
-
-
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 ArrayDesignServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testCascadeCreateCompositeSequences()
void
testCountAll()
void
testDelete()
void
testFindWithExternalReference()
void
testFindWithExternalReferenceNotFound()
void
testGetExpressionExperimentsById()
void
testGetTaxaMultipleTaxonForArray()
Test retrieving multiple taxa for an arraydesign where hibernate query is not restricted to return just 1 taxon.void
testGetTaxaOneTaxonForArray()
void
testGetTaxon()
void
testLoadAllValueObjects()
void
testLoadAllValueObjectsOneTaxon()
Test to ensure that if one taxon is present on an array only 1 string is returned with taxon namevoid
testLoadCompositeSequences()
void
testNumBioSequencesById()
void
testNumBlatResultsById()
void
testNumCompositeSequencesArrayDesign()
void
testNumGenesById()
void
testThaw()
void
testUpdateSubsumingStatus()
void
testUpdateSubsumingStatusTrue()
-
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
-
testCascadeCreateCompositeSequences
public void testCascadeCreateCompositeSequences()
-
testCountAll
public void testCountAll()
-
testDelete
public void testDelete()
-
testFindWithExternalReference
public void testFindWithExternalReference()
-
testFindWithExternalReferenceNotFound
public void testFindWithExternalReferenceNotFound()
-
testGetExpressionExperimentsById
public void testGetExpressionExperimentsById()
-
testGetTaxaMultipleTaxonForArray
public void testGetTaxaMultipleTaxonForArray()
Test retrieving multiple taxa for an arraydesign where hibernate query is not restricted to return just 1 taxon.
-
testGetTaxaOneTaxonForArray
public void testGetTaxaOneTaxonForArray()
-
testGetTaxon
public void testGetTaxon()
-
testLoadAllValueObjects
public void testLoadAllValueObjects()
-
testLoadAllValueObjectsOneTaxon
public void testLoadAllValueObjectsOneTaxon()
Test to ensure that if one taxon is present on an array only 1 string is returned with taxon name
-
testLoadCompositeSequences
public void testLoadCompositeSequences()
-
testNumBioSequencesById
public void testNumBioSequencesById()
-
testNumBlatResultsById
public void testNumBlatResultsById()
-
testNumCompositeSequencesArrayDesign
public void testNumCompositeSequencesArrayDesign()
-
testNumGenesById
public void testNumGenesById()
-
testThaw
public void testThaw()
-
testUpdateSubsumingStatus
public void testUpdateSubsumingStatus()
-
testUpdateSubsumingStatusTrue
public void testUpdateSubsumingStatusTrue()
-
-