Class ProcessUnitTest
java.lang.Object
test.de.iip_ecosphere.platform.configuration.maven.ProcessUnitTest
Tests
ProcessUnit.- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests a maven process.voidTests a maven process.voidTests a process with timeout.voidTests a process started/executed by a shell script to be terminated.voidTests a process with timeout.voidTests a successfully terminating process with timeout and regEx match.voidTests a successfully terminating process with timeout and failing regEx match.voidTests a process with timeout.
-
Constructor Details
-
ProcessUnitTest
public ProcessUnitTest()
-
-
Method Details
-
testTerminatingMatchingProcess
Tests a successfully terminating process with timeout and regEx match.- Throws:
IOException- shall not happen if successful
-
testTerminatingNonMatchingProcess
Tests a successfully terminating process with timeout and failing regEx match.- Throws:
IOException- shall not happen if successful
-
testTerminatedProcess
Tests a process with timeout.- Throws:
IOException- shall not happen if successful
-
testProcessMultiPattern
Tests a process with timeout.- Throws:
IOException- shall not happen if successful
-
testTimeoutProcess
Tests a process with timeout.- Throws:
IOException- shall not happen if successful
-
testShellProcess
Tests a process started/executed by a shell script to be terminated.- Throws:
IOException- shall not happen if successful
-
testMvnProcess
Tests a maven process. Applies (not needed) additional arguments to test more complex (Windows) command lines.- Throws:
IOException- shall not happen if successful
-
testMvnProcess2
Tests a maven process.- Throws:
IOException- shall not happen if successful
-