java.lang.Object
test.de.iip_ecosphere.platform.configuration.maven.ProcessUnitTest

public class ProcessUnitTest extends Object
Tests ProcessUnit.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • ProcessUnitTest

      public ProcessUnitTest()
  • Method Details

    • testTerminatingMatchingProcess

      public void testTerminatingMatchingProcess() throws IOException
      Tests a successfully terminating process with timeout and regEx match.
      Throws:
      IOException - shall not happen if successful
    • testTerminatingNonMatchingProcess

      public void testTerminatingNonMatchingProcess() throws IOException
      Tests a successfully terminating process with timeout and failing regEx match.
      Throws:
      IOException - shall not happen if successful
    • testTerminatedProcess

      public void testTerminatedProcess() throws IOException
      Tests a process with timeout.
      Throws:
      IOException - shall not happen if successful
    • testProcessMultiPattern

      public void testProcessMultiPattern() throws IOException
      Tests a process with timeout.
      Throws:
      IOException - shall not happen if successful
    • testTimeoutProcess

      public void testTimeoutProcess() throws IOException
      Tests a process with timeout.
      Throws:
      IOException - shall not happen if successful
    • testShellProcess

      public void testShellProcess() throws IOException
      Tests a process started/executed by a shell script to be terminated.
      Throws:
      IOException - shall not happen if successful
    • testMvnProcess

      public void testMvnProcess() throws IOException
      Tests a maven process. Applies (not needed) additional arguments to test more complex (Windows) command lines.
      Throws:
      IOException - shall not happen if successful
    • testMvnProcess2

      public void testMvnProcess2() throws IOException
      Tests a maven process.
      Throws:
      IOException - shall not happen if successful