Class SplitExperimentTest
java.lang.Object
ubic.gemma.core.util.test.BaseTest5
ubic.gemma.core.util.test.BaseIntegrationTest5
ubic.gemma.core.util.test.BaseSpringContextTest5
ubic.gemma.core.analysis.preprocess.SplitExperimentTest
@ExtendWith(NetworkAvailableExtension.class)
public class SplitExperimentTest
extends BaseSpringContextTest5
- Author:
- paul
-
Field Summary
Fields inherited from class BaseSpringContextTest5
arrayDesignPersister, externalDatabaseService, log, persisterHelper, taxonService, testHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidteardown()voidEvery experiment a split produces must come out editable.voidvoidMethods inherited from class BaseSpringContextTest5
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 BaseIntegrationTest5
setUpAuthentication, tearDownSecurityContext
-
Constructor Details
-
SplitExperimentTest
public SplitExperimentTest()
-
-
Method Details
-
testSplitGSE17183ByOrganismPart
@Test @Tag("slow") @NetworkAvailable(url="https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi") public void testSplitGSE17183ByOrganismPart() throws Exception- Throws:
Exception
-
testSplitGSE123753ByCollectionOfMaterial
@Test @Tag("slow") @NetworkAvailable(url="https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi") public void testSplitGSE123753ByCollectionOfMaterial() throws Exception- Throws:
Exception
-
testSplitGivesEachNewExperimentAnAcl
@Test public void testSplitGivesEachNewExperimentAnAcl()Every experiment a split produces must come out editable.A split child is created through
eeWriteService.create, so its ACL is the responsibility ofAclEventListener.onPostInsert— nothing inSplitExperimentServicesets one up itself, andsplitisPropagation.NEVERso the insert happens in a transaction the method does not own. ExpressionExperiments 93287, 93288, 93289, 93433 and 93434 — splits made under Gemma 1.0, which had no such listener — reached production with no ACL at all and answer 403 on every update. This pins the 2.0 path: the ACL exists and grants edit.Uses a synthetic single-platform experiment rather than a GEO series so it stays in the default suite; the two tests above are
slowand need the network. -
teardown
-