Class AIFileProcessorTest

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

class AIFileProcessorTest extends Object
  • Field Details

    • tempDir

      @TempDir Path tempDir
  • Constructor Details

    • AIFileProcessorTest

      AIFileProcessorTest()
  • Method Details

    • parseLines_whenNull_thenEmpty

      @Test void parseLines_whenNull_thenEmpty()
    • parseLines_whenBlankLines_thenPreservesNewlinesAndTrimsWhitespaceLines

      @Test void parseLines_whenBlankLines_thenPreservesNewlinesAndTrimsWhitespaceLines()
    • tryToGetInstructionsFromReference_whenPlainText_thenReturnsOriginal

      @Test void tryToGetInstructionsFromReference_whenPlainText_thenReturnsOriginal() throws Exception
      Throws:
      Exception
    • tryToGetInstructionsFromReference_whenFileReference_thenLoadsAndParses

      @Test void tryToGetInstructionsFromReference_whenFileReference_thenLoadsAndParses() throws Exception
      Throws:
      Exception
    • readFromFilePath_whenRelative_thenResolvesAgainstRootDir

      @Test void readFromFilePath_whenRelative_thenResolvesAgainstRootDir()
    • readFromHttpUrl_whenValid_thenReturnsContent

      @Test void readFromHttpUrl_whenValid_thenReturnsContent() throws Exception
      Throws:
      Exception