Class HttpFetcherTest

java.lang.Object
ubic.gemma.core.loader.util.HttpFetcherTest

public class HttpFetcherTest extends Object
Author:
pavlidis
  • Constructor Details

    • HttpFetcherTest

      public HttpFetcherTest()
  • Method Details

    • fetch_withoutSetLocalBasePath_throwsIllegalState

      @Test public void fetch_withoutSetLocalBasePath_throwsIllegalState()
      Regression guard for the Settings-retirement refactor (commit f31cba192d): HttpFetcher.fetch(String) no longer reads gemma.download.path from Settings; the caller must call AbstractFetcher.setLocalBasePath(String) first. This test runs WITHOUT network access — the precondition fires before any fetch attempt, so it stays in the fast default-run suite (no @Tag("slow")).
    • testFetch

      @Test @Tag("slow") public void testFetch()
    • tearDown

      @AfterEach protected void tearDown() throws Exception
      Throws:
      Exception