Class FileFunctionToolsToolingTest

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

class FileFunctionToolsToolingTest extends Object
  • Field Details

    • tempDir

      @TempDir File tempDir
  • Constructor Details

    • FileFunctionToolsToolingTest

      FileFunctionToolsToolingTest()
  • Method Details

    • readFile_whenMissing_returnsFileNotFoundMessage

      @Test void readFile_whenMissing_returnsFileNotFoundMessage() throws Exception
      Throws:
      Exception
    • writeFile_thenReadFile_roundTripWithCharset

      @Test void writeFile_thenReadFile_roundTripWithCharset() throws Exception
      Throws:
      Exception
    • listFiles_whenDirectoryEmpty_returnsEmptyString

      @Test void listFiles_whenDirectoryEmpty_returnsEmptyString() throws Exception
      Throws:
      Exception
    • listFiles_whenHasChildren_returnsCommaSeparatedRelativePaths

      @Test void listFiles_whenHasChildren_returnsCommaSeparatedRelativePaths() throws Exception
      Throws:
      Exception
    • getRecursiveFiles_whenNoFiles_returnsNoFilesMessage

      @Test void getRecursiveFiles_whenNoFiles_returnsNoFilesMessage() throws Exception
      Throws:
      Exception