Class TestSetupUtils
java.lang.Object
de.hybris.platform.ycommercewebservicestest.setup.TestSetupUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRe-register the ItemCreationLifecycleListener in the persistence pool after test system initializationstatic booleanallExtensionsPresent(String configKey) static booleananyExtensionPresent(String configKey) static voidstatic booleanisExtensionPresent(String name) static booleanstatic booleanstatic voidloadData()static voidstatic voidstatic voidstartServer(String[] ext) static voidstatic voidupdateCaptchaCheckEnabled(boolean enable)
-
Constructor Details
-
TestSetupUtils
public TestSetupUtils()
-
-
Method Details
-
loadDataInJunit
- Throws:
Exception
-
loadData
- Throws:
Exception
-
cleanData
- Throws:
Exception
-
afterInitializeTestSystem
public static void afterInitializeTestSystem()Re-register the ItemCreationLifecycleListener in the persistence pool after test system initialization -
isServerStarted
public static boolean isServerStarted() -
startServer
public static void startServer() -
startServer
-
stopServer
public static void stopServer() -
isNewPromotionEngineTurnedOn
public static boolean isNewPromotionEngineTurnedOn() -
isExtensionPresent
-
anyExtensionPresent
-
allExtensionsPresent
-
updateCaptchaCheckEnabled
public static void updateCaptchaCheckEnabled(boolean enable)
-