Author: dcosse Date: 2014-07-24 14:31:31 +0200 (Thu, 24 Jul 2014) New Revision: 3865 Url: http://forge.chorem.org/projects/lima/repository/revisions/3865 Log: refs #1032 correction sur un test en echec Modified: trunk/lima-business/src/test/java/org/chorem/lima/business/NewImportExportServiceTest.java Modified: trunk/lima-business/src/test/java/org/chorem/lima/business/NewImportExportServiceTest.java =================================================================== --- trunk/lima-business/src/test/java/org/chorem/lima/business/NewImportExportServiceTest.java 2014-07-24 12:28:03 UTC (rev 3864) +++ trunk/lima-business/src/test/java/org/chorem/lima/business/NewImportExportServiceTest.java 2014-07-24 12:31:31 UTC (rev 3865) @@ -302,27 +302,8 @@ IOUtils.closeQuietly(accountsStream); // TODO DCossé 23/07/14 should be done in one transaction on service side but it doesn't work now - newImportService.importAllAsCSV(entryBooksStreamString, transactionsStreamString, fiscalPeriodsStreamString, entriesStreamString, accountsStreamString); -// newImportService.importEntryBooksAsCSV(entryBooksStreamString); -// if(log.isInfoEnabled()) { -// log.info("jouranux importés"); -// } -// newImportService.importFinancialTransactionsAsCSV(transactionsStreamString); -// if(log.isInfoEnabled()) { -// log.info("transactions importés"); -// } -// newImportService.importFiscalPeriodsAsCSV(fiscalPeriodsStreamString); -// if(log.isInfoEnabled()) { -// log.info("période ficales importés"); -// } -// newImportService.importEntriesAsCSV(entriesStreamString); -// if(log.isInfoEnabled()) { -// log.info("entrées importés"); -// } -// newImportService.importAccountAsCSV(accountsStreamString); -// if(log.isInfoEnabled()) { -// log.info("comptes importés"); -// } + newImportService.importAllAsCSV(entryBooksStreamString, transactionsStreamString, fiscalPeriodsStreamString, accountsStreamString, entriesStreamString); + } catch (Exception ex) { if(log.isInfoEnabled()) { log.info(ex);