Search in sources :

Example 1 with ArrayDesignSequenceAnalysisEvent

use of ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignSequenceAnalysisEvent in project Gemma by PavlidisLab.

the class ArrayDesignReportServiceTest method setup.

@Before
public void setup() throws Exception {
    if (!ArrayDesignReportServiceTest.persisted) {
        ArrayDesignReportServiceTest.ad = this.getTestPersistentArrayDesign(5, true, false, // not read only.
        false);
        ads.addUpdateEvent(ArrayDesignReportServiceTest.ad, new ArrayDesignSequenceUpdateEvent(), "sequences");
        ads.addUpdateEvent(ArrayDesignReportServiceTest.ad, new ArrayDesignSequenceAnalysisEvent(), "alignment");
        ads.addUpdateEvent(ArrayDesignReportServiceTest.ad, new ArrayDesignGeneMappingEvent(), "mapping");
        Thread.sleep(100);
        ads.addUpdateEvent(ArrayDesignReportServiceTest.ad, new ArrayDesignSequenceAnalysisEvent(), "alignment 2");
        ads.addUpdateEvent(ArrayDesignReportServiceTest.ad, new ArrayDesignGeneMappingEvent(), "mapping 2");
        Thread.sleep(100);
        ArrayDesignReportServiceTest.persisted = true;
    }
}
Also used : ArrayDesignSequenceAnalysisEvent(ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignSequenceAnalysisEvent) ArrayDesignGeneMappingEvent(ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignGeneMappingEvent) ArrayDesignSequenceUpdateEvent(ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignSequenceUpdateEvent) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 ArrayDesignGeneMappingEvent (ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignGeneMappingEvent)1 ArrayDesignSequenceAnalysisEvent (ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignSequenceAnalysisEvent)1 ArrayDesignSequenceUpdateEvent (ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignSequenceUpdateEvent)1