Class ExpressionExperimentSetServiceTest


public class ExpressionExperimentSetServiceTest extends BaseSpringContextTest5
Tests for methods that perform operations on or with expressionExperiment sets
Author:
tvrossum
  • Constructor Details

    • ExpressionExperimentSetServiceTest

      public ExpressionExperimentSetServiceTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      @AfterEach public void tearDown()
    • testUpdate

      @Test public void testUpdate()
    • testASetWithNoTaxonMaySpanThem

      @Test public void testASetWithNoTaxonMaySpanThem()
      A set that declares a taxon keeps the constraint: no mice in a rat set. The two tests below pin that and must keep passing.

      A set that declares NO taxon may span them. The constraint is a scope a set opts into, not a property every set must have — a curation cohort is the counter-example that forced it: the gold reference set is 179 human, 254 mouse and 16 rat, and there is nothing wrong with it. Before this, creating one was impossible and the failure was an UnsupportedOperationException reading "EESets with mixed taxa are not supported".

    • testAddingExperimentOfWrongTaxonUpdate

      @Test public void testAddingExperimentOfWrongTaxonUpdate()
    • testAddingExperimentOfWrongTaxonUpdateDatabaseEntityMembers

      @Test public void testAddingExperimentOfWrongTaxonUpdateDatabaseEntityMembers()
    • testIsAutomaticallyGenerated

      @Test public void testIsAutomaticallyGenerated()