Search in sources :

Example 1 with SessionModelIO

use of org.baderlab.csplugins.enrichmentmap.model.io.SessionModelIO in project EnrichmentMapApp by BaderLab.

the class LegacySessionLoadTest method testSavingSession.

@Ignore
@SessionFile("em_session_2.2.cys")
public void testSavingSession() throws Exception {
    EnrichmentMapManager emManager = injector.getInstance(EnrichmentMapManager.class);
    Map<Long, EnrichmentMap> maps = emManager.getAllEnrichmentMaps();
    assertEquals(1, maps.size());
    SessionModelIO listener = injector.getInstance(SessionModelIO.class);
    listener.saveModel();
}
Also used : EnrichmentMapManager(org.baderlab.csplugins.enrichmentmap.model.EnrichmentMapManager) SessionModelIO(org.baderlab.csplugins.enrichmentmap.model.io.SessionModelIO) EnrichmentMap(org.baderlab.csplugins.enrichmentmap.model.EnrichmentMap) Ignore(org.junit.Ignore) SessionFile(org.baderlab.csplugins.enrichmentmap.integration.SessionFile)

Aggregations

SessionFile (org.baderlab.csplugins.enrichmentmap.integration.SessionFile)1 EnrichmentMap (org.baderlab.csplugins.enrichmentmap.model.EnrichmentMap)1 EnrichmentMapManager (org.baderlab.csplugins.enrichmentmap.model.EnrichmentMapManager)1 SessionModelIO (org.baderlab.csplugins.enrichmentmap.model.io.SessionModelIO)1 Ignore (org.junit.Ignore)1