@Test public void tlNotParsableTest() { updateTLUrl("src/test/resources/lotlCache/CZ_not-parsable.xml"); TLValidationJobSummary summary = getTLValidationJob().getSummary(); assertEquals(0, summary.getNumberOfProcessedLOTLs()); assertEquals(1, summary.getNumberOfProcessedTLs()); List<TLInfo> tlInfos = summary.getOtherTLInfos(); assertEquals(1, tlInfos.size()); TLInfo czTL = tlInfos.get(0); assertFalse(czTL.getDownloadCacheInfo().isResultExist()); assertTrue(czTL.getDownloadCacheInfo().isError()); assertNotNull(czTL.getDownloadCacheInfo().getExceptionMessage()); assertNotNull(czTL.getDownloadCacheInfo().getExceptionStackTrace()); assertFalse(czTL.getParsingCacheInfo().isResultExist()); assertNull(czTL.getParsingCacheInfo().getExceptionMessage()); assertNull(czTL.getParsingCacheInfo().getExceptionStackTrace()); assertFalse(czTL.getValidationCacheInfo().isResultExist()); assertNull(czTL.getValidationCacheInfo().getExceptionMessage()); assertNull(czTL.getValidationCacheInfo().getExceptionStackTrace()); }
public synchronized TLValidationJobSummary getSummary() { return new ValidationJobSummaryBuilder(cacheAccessFactory.getReadOnlyCacheAccess(), trustedListSources, listOfTrustedListSources) .build(); }
TLValidationJob { public synchronized TLValidationJobSummary getSummary() { return new ValidationJobSummaryBuilder(cacheAccessFactory.getReadOnlyCacheAccess(), trustedListSources, listOfTrustedListSources) .build(); } }
TLValidationJob { public synchronized TLValidationJobSummary getSummary() { return new ValidationJobSummaryBuilder(cacheAccessFactory.getReadOnlyCacheAccess(), trustedListSources, listOfTrustedListSources) .build(); }  }
TLValidationJob { public synchronized TLValidationJobSummary getSummary() { return new ValidationJobSummaryBuilder(cacheAccessFactory.getReadOnlyCacheAccess(), trustedListSources, listOfTrustedListSources) .build(); }  void setTrustedListSources(TLSource... trustedListSources); void setListOfTrustedListSources(LOTLSource... listOfTrustedListSources); void setExecutorService(ExecutorService executorService); void setOfflineDataLoader(DSSFileLoader offlineLoader); void setOnlineDataLoader(DSSFileLoader onlineLoader); void setCacheCleaner(final CacheCleaner cacheCleaner); void setTrustedListCertificateSource(TrustedListsCertificateSource trustedListCertificateSource); void setSynchronizationStrategy(SynchronizationStrategy synchronizationStrategy); void setDebug(boolean debug); void setLOTLAlerts(List<Alert<LOTLInfo>> lotlAlerts); void setTLAlerts(List<Alert<TLInfo>> tlAlerts); synchronized TLValidationJobSummary getSummary(); synchronized void offlineRefresh(); synchronized void onlineRefresh(); }
TLValidationJob { public synchronized TLValidationJobSummary getSummary() { return new ValidationJobSummaryBuilder(cacheAccessFactory.getReadOnlyCacheAccess(), trustedListSources, listOfTrustedListSources) .build(); }  void setTrustedListSources(TLSource... trustedListSources); void setListOfTrustedListSources(LOTLSource... listOfTrustedListSources); void setExecutorService(ExecutorService executorService); void setOfflineDataLoader(DSSFileLoader offlineLoader); void setOnlineDataLoader(DSSFileLoader onlineLoader); void setCacheCleaner(final CacheCleaner cacheCleaner); void setTrustedListCertificateSource(TrustedListsCertificateSource trustedListCertificateSource); void setSynchronizationStrategy(SynchronizationStrategy synchronizationStrategy); void setDebug(boolean debug); void setLOTLAlerts(List<Alert<LOTLInfo>> lotlAlerts); void setTLAlerts(List<Alert<TLInfo>> tlAlerts); synchronized TLValidationJobSummary getSummary(); synchronized void offlineRefresh(); synchronized void onlineRefresh();  }