@ConditionalRun(RepositoryInstalled.MercurialInstalled.class) @ConditionalRun(RepositoryInstalled.SCCSInstalled.class) @Test public void testNoHistoryFetch() throws Exception { env.setFetchHistoryWhenNotInCache(false); env.setHistoryReaderTimeLimit(0); cache.setHistoryIndexDone(); checkNoHistoryFetchRepo("mercurial", "main.c", false, false); checkNoHistoryFetchRepo("teamware", "header.h", true, true); }
@Override public void setHistoryIndexDone() { historyIndexDone = true; }
FileHistoryCache implements HistoryCache { @Override public void setHistoryIndexDone() { historyIndexDone = true; } }
FileHistoryCache implements HistoryCache { @Override public void setHistoryIndexDone() { historyIndexDone = true; }  }
FileHistoryCache implements HistoryCache { @Override public void setHistoryIndexDone() { historyIndexDone = true; }  @Override void setHistoryIndexDone(); @Override boolean isHistoryIndexDone(); @Override void initialize(); @Override void optimize(); @Override boolean supportsRepository(Repository repository); @Override void store(History history, Repository repository); @Override History get(File file, Repository repository, boolean withFiles); @Override boolean hasCacheForDirectory(File directory, Repository repository); @Override boolean hasCacheForFile(File file); String getRepositoryHistDataDirname(Repository repository); @Override String getLatestCachedRevision(Repository repository); @Override Map<String, Date> getLastModifiedTimes(
            File directory, Repository repository); @Override void clear(Repository repository); @Override void clearFile(String path); @Override String getInfo(); }
FileHistoryCache implements HistoryCache { @Override public void setHistoryIndexDone() { historyIndexDone = true; }  @Override void setHistoryIndexDone(); @Override boolean isHistoryIndexDone(); @Override void initialize(); @Override void optimize(); @Override boolean supportsRepository(Repository repository); @Override void store(History history, Repository repository); @Override History get(File file, Repository repository, boolean withFiles); @Override boolean hasCacheForDirectory(File directory, Repository repository); @Override boolean hasCacheForFile(File file); String getRepositoryHistDataDirname(Repository repository); @Override String getLatestCachedRevision(Repository repository); @Override Map<String, Date> getLastModifiedTimes(
            File directory, Repository repository); @Override void clear(Repository repository); @Override void clearFile(String path); @Override String getInfo();  }