Class TestSetupUtils

    • Constructor Detail

      • TestSetupUtils

        public TestSetupUtils()
    • Method Detail

      • loadDataInJunit

        public static void loadDataInJunit()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • loadData

        public static void loadData()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • cleanData

        public static void cleanData()
                              throws java.lang.Exception
        Throws:
        java.lang.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

        public static void startServer​(java.lang.String[] ext)
      • stopServer

        public static void stopServer()
      • isNewPromotionEngineTurnedOn

        public static boolean isNewPromotionEngineTurnedOn()
      • isExtensionPresent

        public static boolean isExtensionPresent​(java.lang.String name)
      • anyExtensionPresent

        public static boolean anyExtensionPresent​(java.lang.String configKey)
      • allExtensionsPresent

        public static boolean allExtensionsPresent​(java.lang.String configKey)