Class SetupMethods


  • public final class SetupMethods
    extends Object
    Main entry point for setup methods, delegates to the individual setup method implementations.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • performCleanup

        public static void performCleanup​(ServerTestCleanupParams cleanupData)
        Cleans up at the end of a test.
        Parameters:
        cleanupData - Data for clean up.
      • performSetup

        public static ServerTestSetupResult performSetup​(ServerTestSetupParams initData)
                                                  throws IOException
        Runs the setup required for the test, such as creating a client or importing a project.
        Parameters:
        initData - Data for initialization.
        Returns:
        The result of the setup, such as a map with the imported projects.
        Throws:
        IOException - When setup failed.