Class ExtendedServicelayerBaseTest

All Implemented Interfaces:
JaloSessionHolder
Direct Known Subclasses:
ExtendedServicelayerTransactionalBaseTest

public class ExtendedServicelayerBaseTest extends ServicelayerBaseTest
Service layer test with possibility to create sample data.
  • Constructor Details

    • ExtendedServicelayerBaseTest

      public ExtendedServicelayerBaseTest()
  • Method Details

    • createDefaultCatalog

      public static void createDefaultCatalog() throws Exception
      Throws:
      Exception
    • importCsv

      protected static void importCsv(String csvFile, String encoding) throws ImpExException
      Imports given csv file from classpath using given encoding. Fails in case of import errors.
      Parameters:
      csvFile - name of file to import from classpath
      encoding - encoding to use
      Throws:
      ImpExException
    • importStream

      protected static void importStream(InputStream is, String encoding, String resourceName) throws ImpExException
      Throws:
      ImpExException
    • createCoreData

      public static void createCoreData() throws Exception
      Throws:
      Exception