public abstract class ServicelayerTest extends ServicelayerBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
ServicelayerTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createCoreData() |
static void |
createDefaultCatalog() |
static void |
createDefaultUsers() |
static void |
createHardwareCatalog() |
protected ApplicationContext |
getApplicationContext() |
protected static void |
importCsv(String csvFile,
String encoding)
Imports given csv file from classpath using given encoding.
|
protected static void |
importStream(InputStream is,
String encoding,
String resourceName) |
protected static void |
importStream(InputStream is,
String encoding,
String resourceName,
boolean hijackExceptions) |
protected boolean |
isPrefetchModeNone()
method returns true if configured attribute prefetch mode is NONE.
|
autowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedprotected ApplicationContext getApplicationContext()
getApplicationContext in class ServicelayerBaseTestprotected static void importCsv(String csvFile, String encoding) throws ImpExException
csvFile - name of file to import from classpathencoding - encoding to useImpExExceptionprotected static void importStream(InputStream is, String encoding, String resourceName) throws ImpExException
ImpExExceptionprotected static void importStream(InputStream is, String encoding, String resourceName, boolean hijackExceptions) throws ImpExException
ImpExExceptionprotected boolean isPrefetchModeNone()
Copyright © 2017 SAP SE. All Rights Reserved.