Class TestSetupUtils
java.lang.Object
de.hybris.platform.commercewebservicestests.setup.TestSetupUtils
- Direct Known Subclasses:
B2BPunchoutOccTestSetupUtils,BundleTestSetupUtils,ChineseAddressOccTestSetupUtils,ChineseLogisticOccTestSetupUtils,ChinesePaymentOccTestSetupUtils,ChineseProfileOccTestSetupUtils,ChineseTaxInvoiceOccTestSetupUtils,ConsignmentTrackingOccTestSetupUtils,CustomerInterestsOccTestSetupUtils,CustomerTicketingOccTestSetupUtils,NotificationOccTestSetupUtils,TestSetupUtils,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 booleanisEndpointDisabled(String restrictedEndPointKey, String restrictedEndpoint) static booleanisExtensionPresent(String name) static booleanstatic booleanstatic voidloadData()static voidstatic voidstatic voidstartServer(String[] ext) static voidstatic voidupdateCaptchaCheckEnabled(boolean enable) static voidupdateCartRerievalDateCheckEnabled(boolean enable) static voidupdateSapInvoiceEnabled(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) -
updateSapInvoiceEnabled
public static void updateSapInvoiceEnabled(boolean enable) -
updateCartRerievalDateCheckEnabled
public static void updateCartRerievalDateCheckEnabled(boolean enable) -
isEndpointDisabled
-