Package de.hybris.platform.servicelayer
Class ExtendedServicelayerBaseTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ExtendedServicelayerBaseTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
ExtendedServicelayerTransactionalBaseTest
Service layer test with possibility to create sample data.
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidprotected static voidImports given csv file from classpath using given encoding.protected static voidimportStream(InputStream is, String encoding, String resourceName) Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
ExtendedServicelayerBaseTest
public ExtendedServicelayerBaseTest()
-
-
Method Details
-
createDefaultCatalog
- Throws:
Exception
-
importCsv
Imports given csv file from classpath using given encoding. Fails in case of import errors.- Parameters:
csvFile- name of file to import from classpathencoding- encoding to use- Throws:
ImpExException
-
importStream
protected static void importStream(InputStream is, String encoding, String resourceName) throws ImpExException - Throws:
ImpExException
-
createCoreData
- Throws:
Exception
-