Class AIFileProcessorAdditionalTest

java.lang.Object
org.machanism.machai.gw.processor.AIFileProcessorAdditionalTest

class AIFileProcessorAdditionalTest extends Object
  • Field Details

    • tempDir

      @TempDir Path tempDir
  • Constructor Details

    • AIFileProcessorAdditionalTest

      AIFileProcessorAdditionalTest()
  • Method Details

    • scanDocuments_whenProjectDirNull_thenThrows

      @Test void scanDocuments_whenProjectDirNull_thenThrows()
    • scanDocuments_whenScanDirBlank_thenThrows

      @Test void scanDocuments_whenScanDirBlank_thenThrows()
    • parseScanDir_whenRootDirIsProjectDirAndDefaultPromptNull_thenAddsRecursiveGlobSuffix

      @Test void parseScanDir_whenRootDirIsProjectDirAndDefaultPromptNull_thenAddsRecursiveGlobSuffix()
    • parseScanDir_whenRootDirIsProjectDirAndDefaultPromptPresent_thenGlobDoesNotAddRecursiveSuffix

      @Test void parseScanDir_whenRootDirIsProjectDirAndDefaultPromptPresent_thenGlobDoesNotAddRecursiveSuffix()
    • readFromFilePath_whenMissing_thenThrowsIllegalArgumentExceptionWithPath

      @Test void readFromFilePath_whenMissing_thenThrowsIllegalArgumentExceptionWithPath()
    • parseLines_whenNull_thenReturnsEmptyString

      @Test void parseLines_whenNull_thenReturnsEmptyString()
    • parseLines_whenFileReference_thenIncludesFileContentsAndPreservesNewline

      @Test void parseLines_whenFileReference_thenIncludesFileContentsAndPreservesNewline() throws IOException
      Throws:
      IOException