PageRenderTime 43ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/MockComment.groovy

http://github.com/plytro/jira-campfire
Groovy | 23 lines | 19 code | 3 blank | 1 comment | 0 complexity | 940746962c279bb5c3e8d64fae075de7 MD5 | raw file
  1. import com.atlassian.jira.issue.comments.Comment
  2. class MockComment implements Comment{
  3. String body
  4. //Junk not needed for the tests but needed to satisfy the interface
  5. com.atlassian.crowd.embedded.api.User getAuthorUser(){}
  6. com.atlassian.crowd.embedded.api.User getUpdateAuthorUser(){}
  7. com.atlassian.jira.issue.Issue getIssue(){}
  8. com.atlassian.jira.security.roles.ProjectRole getRoleLevel(){}
  9. com.opensymphony.user.User getAuthorObject(){}
  10. com.opensymphony.user.User getUpdateAuthorObject(){}
  11. java.lang.Long getId(){}
  12. java.lang.Long getRoleLevelId(){}
  13. java.lang.String getAuthor(){}
  14. java.lang.String getAuthorFullName(){}
  15. java.lang.String getGroupLevel(){}
  16. java.lang.String getUpdateAuthor(){}
  17. java.lang.String getUpdateAuthorFullName(){}
  18. java.util.Date getCreated(){}
  19. java.util.Date getUpdated(){}
  20. }