Class AIFileProcessorCoverageTest
java.lang.Object
org.machanism.machai.gw.processor.AIFileProcessorCoverageTest
-
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(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
tempDir
-
-
Constructor Details
-
AIFileProcessorCoverageTest
AIFileProcessorCoverageTest()
-
-
Method Details
-
parseScanDir_whenDot_usesProjectDirAndDefaultPromptNull_addsRecursiveGlob
@Test void parseScanDir_whenDot_usesProjectDirAndDefaultPromptNull_addsRecursiveGlob() -
scanDocuments_whenProjectDirIsNull_throwsIllegalArgumentException
@Test void scanDocuments_whenProjectDirIsNull_throwsIllegalArgumentException() -
scanDocuments_whenScanDirIsBlank_throwsIllegalArgumentException
@Test void scanDocuments_whenScanDirIsBlank_throwsIllegalArgumentException() -
scanDocuments_whenScanDirEqualsProjectDirAbsolute_setsScanDirToProjectDir
@Test void scanDocuments_whenScanDirEqualsProjectDirAbsolute_setsScanDirToProjectDir() throws Exception- Throws:
Exception
-
getDirInfoLine_whenAllMissingOrNull_returnsNotDefined
@Test void getDirInfoLine_whenAllMissingOrNull_returnsNotDefined() -
getProjectStructureDescription_whenNullNames_usesNotDefinedAndIncludesRelativeFile
@Test void getProjectStructureDescription_whenNullNames_usesNotDefinedAndIncludesRelativeFile() throws IOException- Throws:
IOException
-
processFolder_wrapsExceptionIntoIllegalArgumentException
@Test void processFolder_wrapsExceptionIntoIllegalArgumentException() -
readFromFilePath_whenMissing_throwsIllegalArgumentExceptionWithPathInMessage
@Test void readFromFilePath_whenMissing_throwsIllegalArgumentExceptionWithPathInMessage() -
tryToGetInstructionsFromReference_whenNull_returnsNull_viaReflection
- Throws:
Exception
-
tryToGetInstructionsFromReference_whenFilePrefix_readsAndParses_viaReflection
@Test void tryToGetInstructionsFromReference_whenFilePrefix_readsAndParses_viaReflection() throws Exception- Throws:
Exception
-
tryToGetInstructionsFromReference_whenHttpPrefix_withInvalidUrl_throwsInvocationCauseIOException
@Test void tryToGetInstructionsFromReference_whenHttpPrefix_withInvalidUrl_throwsInvocationCauseIOException() throws Exception- Throws:
Exception
-