Class DataUpdaterImplTest

java.lang.Object
ubic.gemma.core.loader.expression.DataUpdaterImplTest

public class DataUpdaterImplTest extends Object
DataUpdaterImpl with every collaborator mocked. The orchestrators run without a transaction, so each step commits on its own and a failure part way through leaves the earlier steps in place.
  • Constructor Details

    • DataUpdaterImplTest

      public DataUpdaterImplTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
    • testReplaceDataReportsAPostprocessingFailureAfterTheRawDataWasReplaced

      @Test public void testReplaceDataReportsAPostprocessingFailureAfterTheRawDataWasReplaced()
    • testAddCountDataStillStoresTheCountsWhenPostprocessingTheLog2cpmFails

      @Test public void testAddCountDataStillStoresTheCountsWhenPostprocessingTheLog2cpmFails()
    • testLog2cpmFromCountsReportsAFailureAndRestoresTheCountsAsPreferred

      @Test public void testLog2cpmFromCountsReportsAFailureAndRestoresTheCountsAsPreferred()
    • testLog2cpmFromCountsLeavesTheCountsNonPreferredWhenOnlyPostprocessingFails

      @Test public void testLog2cpmFromCountsLeavesTheCountsNonPreferredWhenOnlyPostprocessingFails()
    • testAddCountDataRemovesNoSampleWhenNoRowMatchesThePlatform

      @Test public void testAddCountDataRemovesNoSampleWhenNoRowMatchesThePlatform()
      With -allowMissing, the samples missing from the count matrix are removed and committed. A matrix whose rows match no platform element must be rejected before that happens.