Class ReviewerPackageCoverageTest

java.lang.Object
org.machanism.machai.gw.reviewer.ReviewerPackageCoverageTest

class ReviewerPackageCoverageTest extends Object
  • Field Details

    • tempDir

      @TempDir Path tempDir
  • Constructor Details

    • ReviewerPackageCoverageTest

      ReviewerPackageCoverageTest()
  • Method Details

    • htmlReviewer_perform_returnsConfiguredPromptForHtmlCommentGuidance

      @Test void htmlReviewer_perform_returnsConfiguredPromptForHtmlCommentGuidance() throws IOException
      Throws:
      IOException
    • htmlReviewer_perform_returnsNullForXmlFilesWithMultilineGuidanceCommentWithoutColon

      @Test void htmlReviewer_perform_returnsNullForXmlFilesWithMultilineGuidanceCommentWithoutColon() throws IOException
      Throws:
      IOException
    • javaReviewer_perform_returnsConfiguredPromptForRegularJavaFile

      @Test void javaReviewer_perform_returnsConfiguredPromptForRegularJavaFile() throws IOException
      Throws:
      IOException
    • javaReviewer_perform_returnsConfiguredPromptForPackageInfoFile

      @Test void javaReviewer_perform_returnsConfiguredPromptForPackageInfoFile() throws IOException
      Throws:
      IOException
    • markdownReviewer_perform_returnsConfiguredPromptForMarkdownGuidance

      @Test void markdownReviewer_perform_returnsConfiguredPromptForMarkdownGuidance() throws IOException
      Throws:
      IOException
    • pumlReviewer_perform_returnsConfiguredPromptWhenGuidanceTagExistsAnywhere

      @Test void pumlReviewer_perform_returnsConfiguredPromptWhenGuidanceTagExistsAnywhere() throws IOException
      Throws:
      IOException
    • pumlReviewer_perform_throwsNullPointerExceptionWhenGuidancesFileIsNull

      @Test void pumlReviewer_perform_throwsNullPointerExceptionWhenGuidancesFileIsNull()
    • pythonReviewer_getSupportedFileExtensions_returnsPy

      @Test void pythonReviewer_getSupportedFileExtensions_returnsPy()
    • pythonReviewer_perform_returnsConfiguredPromptForLineCommentGuidance

      @Test void pythonReviewer_perform_returnsConfiguredPromptForLineCommentGuidance() throws IOException
      Throws:
      IOException
    • pythonReviewer_perform_returnsConfiguredPromptForTripleQuotedGuidance

      @Test void pythonReviewer_perform_returnsConfiguredPromptForTripleQuotedGuidance() throws IOException
      Throws:
      IOException
    • pythonReviewer_perform_usesTripleQuotedGuidanceWhenBlankLineCommentAppearsFirst

      @Test void pythonReviewer_perform_usesTripleQuotedGuidanceWhenBlankLineCommentAppearsFirst() throws IOException
      Throws:
      IOException
    • textReviewer_perform_returnsBlankContentUnchangedForGuidanceFile

      @Test void textReviewer_perform_returnsBlankContentUnchangedForGuidanceFile() throws IOException
      Throws:
      IOException
    • textReviewer_getPrompt_returnsConfiguredFolderPromptWhenGuidanceIsNotBlank

      @Test void textReviewer_getPrompt_returnsConfiguredFolderPromptWhenGuidanceIsNotBlank()
    • textReviewer_getPrompt_returnsSameReferenceForEmptyString

      @Test void textReviewer_getPrompt_returnsSameReferenceForEmptyString()
    • typeScriptReviewer_perform_returnsConfiguredPromptForLineCommentGuidance

      @Test void typeScriptReviewer_perform_returnsConfiguredPromptForLineCommentGuidance() throws IOException
      Throws:
      IOException
    • typeScriptReviewer_perform_returnsConfiguredPromptForBlockGuidance

      @Test void typeScriptReviewer_perform_returnsConfiguredPromptForBlockGuidance() throws IOException
      Throws:
      IOException
    • typeScriptReviewer_perform_usesBlockGuidanceWhenBlankLineCommentAppearsFirst

      @Test void typeScriptReviewer_perform_usesBlockGuidanceWhenBlankLineCommentAppearsFirst() throws IOException
      Throws:
      IOException
    • reviewer_contractSupportsCheckedIOExceptionDeclarations

      @Test void reviewer_contractSupportsCheckedIOExceptionDeclarations()