public class HybrisTestLogic
extends java.lang.Object
| Constructor and Description |
|---|
HybrisTestLogic(JaloSessionHolder jaloSessionHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
static Currency |
getOrCreateCurrency(java.lang.String isoCode)
Gets or creates (if not existent) currency to given iso code.
|
static Language |
getOrCreateLanguage(java.lang.String isoCode)
Gets or creates (if not existent) language to given iso code.
|
void |
init()
Sets the current session and default language.
|
static boolean |
intenseChecksActivated()
returns true if property "test.intense.checks" is activated if active, then tests like -
ApplicationContextCheckRunListener (compares all beans before and after testrun) - TableSizeCheckRunListner (
compares ALL table sizes (SELECT COUNT) before and after testrun) are being executed
|
public HybrisTestLogic(JaloSessionHolder jaloSessionHolder)
public static boolean intenseChecksActivated()
public void init()
throws JaloSystemException
JaloSystemException - there was a security problem while creating the sessionpublic void finish()
throws JaloSecurityException
JaloSecurityExceptionpublic static Language getOrCreateLanguage(java.lang.String isoCode) throws JaloSystemException
isoCode - iso code of languageJaloSystemException - thrown if language will be created but still existspublic static Currency getOrCreateCurrency(java.lang.String isoCode) throws JaloSystemException
isoCode - iso code of currencyJaloSystemException - thrown if currency will be created but still existsCopyright © 2018 SAP SE. All Rights Reserved.