Class CommandFunctionToolsAdditionalTest

java.lang.Object
org.machanism.machai.gw.tools.CommandFunctionToolsAdditionalTest

class CommandFunctionToolsAdditionalTest extends Object
  • Field Details

    • tempDir

      @TempDir Path tempDir
  • Constructor Details

    • CommandFunctionToolsAdditionalTest

      CommandFunctionToolsAdditionalTest()
  • Method Details

    • resolveWorkingDirShouldHandleDotTraversalAbsoluteAndNullValues

      @Test void resolveWorkingDirShouldHandleDotTraversalAbsoluteAndNullValues() throws Exception
      Throws:
      Exception
    • parseEnvShouldIgnoreInvalidAndKeepValidEntries

      @Test void parseEnvShouldIgnoreInvalidAndKeepValidEntries()
    • parseEnvShouldReturnEmptyMapForNullAndEmptyInput

      @Test void parseEnvShouldReturnEmptyMapForNullAndEmptyInput()
    • waitAndCollectShouldAppendExitCodeAndExposeReadStreamMethod

      @Test void waitAndCollectShouldAppendExitCodeAndExposeReadStreamMethod() throws Exception
      Throws:
      Exception
    • waitAndCollectShouldRecordTimeoutForLongRunningProcess

      @Test void waitAndCollectShouldRecordTimeoutForLongRunningProcess() throws Exception
      Throws:
      Exception
    • commandTerminationExceptionShouldExposeExitCode

      @Test void commandTerminationExceptionShouldExposeExitCode()
    • executorServiceAutoCloseableShouldShutdownExecutor

      @Test void executorServiceAutoCloseableShouldShutdownExecutor() throws Exception
      Throws:
      Exception