Interface CommentTarget

All Known Implementing Classes:
GraderContext

public interface CommentTarget
instances of this interfaces can be used by the JUnit test class in order to provide helper classes the ability to leave comments without passing a full GraderContext object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    leaves a comment
    void
    registers a pos as the default for representing comments as code oriented feedback
  • Method Details

    • addComment

      void addComment(Content comment)
      leaves a comment
      Parameters:
      comment -
    • useDefaultCodeOrientedFeedbackPos

      void useDefaultCodeOrientedFeedbackPos(ASTPos pos)
      registers a pos as the default for representing comments as code oriented feedback
      Parameters:
      pos -