Class ExpressionExperimentSubSetDaoTest

java.lang.Object
ubic.gemma.core.util.test.BaseTest5
ubic.gemma.core.util.test.BaseDatabaseTest5
ubic.gemma.persistence.service.expression.experiment.ExpressionExperimentSubSetDaoTest

@ContextConfiguration public class ExpressionExperimentSubSetDaoTest extends BaseDatabaseTest5
  • Constructor Details

    • ExpressionExperimentSubSetDaoTest

      public ExpressionExperimentSubSetDaoTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
    • testRemove

      @Test public void testRemove()
    • testRemoveWhenBioAssayIsOwnedByTheSubset

      @Test public void testRemoveWhenBioAssayIsOwnedByTheSubset()
    • testRemoveWhenBioMaterialIsUsedByAnotherBioAssay

      @Test public void testRemoveWhenBioMaterialIsUsedByAnotherBioAssay()
    • testRemoveWhenBioAssayIsUsedByAnotherSubSet

      @Test public void testRemoveWhenBioAssayIsUsedByAnotherSubSet()
      An assay can sit in a cell-type subset and in a further subset of it. The subset join table restricts on delete, so deleting the assay out from under the other subset aborts the whole removal.
    • testRemoveWhenBioAssayIsInADimensionThatIndexesNoData

      @Test public void testRemoveWhenBioAssayIsInADimensionThatIndexesNoData()
      A dimension that indexes no data is garbage once the subset that owns its assays is gone; leaving it behind strands the assays forever, since the guard below would then refuse to ever delete them.
    • testRemoveWhenBioAssayIsInADimensionThatIndexesData

      @Test public void testRemoveWhenBioAssayIsInADimensionThatIndexesData()
      The reverse: vectors index their values by the assay's position in the dimension, so neither the assay nor the dimension may be touched.