Interface TestImportCsvUtil

  • All Known Implementing Classes:
    DefaultTestImportCsvUtil

    public interface TestImportCsvUtil
    The interface used to lookup bean used to run import during tests. The purpose of providing this interface is to enable using impex in service layer tests. Default implementation is DefaultTestImportCsvUtil and it is configured in servicelayer-spring.xml

    The usage is to lookup default implementation using Registry.getApplicationContext().getBean("testImportCsvUtil");
    See DefaultTypeDaoTest

    • Method Detail

      • importCsv

        void importCsv​(java.lang.String csvFile,
                       java.lang.String encoding)