Class ServerManagerTest

java.lang.Object
test.de.iip_ecosphere.platform.services.spring.ServerManagerTest

public class ServerManagerTest extends Object
Tests ServerManager and ArtifactResolver.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • ServerManagerTest

      public ServerManagerTest()
  • Method Details

    • testServerManager

      public void testServerManager() throws ExecutionException
      Tests a server manager with Spring JAR and ZIP.
      Throws:
      ExecutionException - shall not occur
    • testServerManager

      private de.iip_ecosphere.platform.services.spring.ServerManager testServerManager(File file, boolean forceAsProcess) throws ExecutionException
      Tests a server manager with jarFile.
      Parameters:
      file - the artifact file to use
      forceAsProcess - force starting servers as own JVM processes
      Returns:
      the created server manager
      Throws:
      ExecutionException - shall not occur