Class FactorValueNeedsAttentionServiceTest

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

@ContextConfiguration public class FactorValueNeedsAttentionServiceTest extends BaseTest5
Tests the Ticket-layer migration of FactorValueNeedsAttentionService (see CURATION_DETAILS_RETIREMENT.md). Asserts that markAsNeedsAttention opens a TicketType.GENERIC ticket targeting BOTH the FV and the owning EE, and that clearNeedsAttentionFlag transitions all open FV-targeted tickets to TicketState.RESOLVED.
  • Constructor Details

    • FactorValueNeedsAttentionServiceTest

      public FactorValueNeedsAttentionServiceTest()
  • Method Details

    • tearDown

      @AfterEach public void tearDown()
    • testMarkAsNeedsAttention_opensTicketTargetingBothFvAndEe

      @Test public void testMarkAsNeedsAttention_opensTicketTargetingBothFvAndEe()
    • testMarkAsNeedsAttention_idempotentWhenOpenTicketAlreadyExists

      @Test public void testMarkAsNeedsAttention_idempotentWhenOpenTicketAlreadyExists()
    • testClearNeedsAttentionFlag_resolvesOpenFvTickets

      @Test public void testClearNeedsAttentionFlag_resolvesOpenFvTickets()
    • testClearNeedsAttentionFlag_skipsAlreadyResolvedAndCancelledTickets

      @Test public void testClearNeedsAttentionFlag_skipsAlreadyResolvedAndCancelledTickets()
    • testClearNeedsAttentionFlag_noOpWhenNoOpenTickets

      @Test public void testClearNeedsAttentionFlag_noOpWhenNoOpenTickets()
    • testMarkAsNeedsAttention_noEeNoTicket

      @Test public void testMarkAsNeedsAttention_noEeNoTicket()