Class AIFileProcessorTest
java.lang.Object
org.machanism.machai.gw.processor.AIFileProcessorTest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
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
- 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
- Throws:
Exception
-