Package org.sonar.core.issue.db

Examples of org.sonar.core.issue.db.ActionPlanDto


  public void plan() {
    IssueDto issue = newIssue();
    tester.get(IssueDao.class).insert(session, issue);

    String actionPlanKey = "EFGH";
    db.actionPlanDao().save(new ActionPlanDto().setKey(actionPlanKey).setProjectId(project.getId()));
    session.commit();

    assertThat(indexClient.get(IssueIndex.class).getByKey(issue.getKey()).actionPlanKey()).isNull();

    service.plan(issue.getKey(), actionPlanKey);
View Full Code Here


  }

  @Test
  public void un_plan() {
    String actionPlanKey = "EFGH";
    db.actionPlanDao().save(new ActionPlanDto().setKey(actionPlanKey).setProjectId(project.getId()));

    IssueDto issue = newIssue().setActionPlanKey(actionPlanKey);
    tester.get(IssueDao.class).insert(session, issue);
    session.commit();
View Full Code Here

TOP

Related Classes of org.sonar.core.issue.db.ActionPlanDto

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.