Package org.sonar.api.utils

Examples of org.sonar.api.utils.Durations


  public void setUp() throws Exception {
    IssueChangelogService issueChangelogService = mock(IssueChangelogService.class);
    IssueActionsWriter actionsWriter = mock(IssueActionsWriter.class);
    DebtModelService debtModelService = mock(DebtModelService.class);
    I18n i18n = mock(I18n.class);
    Durations durations = mock(Durations.class);

    showAction = new IssueShowAction(mock(DbClient.class), mock(IssueService.class), issueChangelogService, mock(IssueCommentService.class), actionsWriter,
      mock(ActionPlanService.class), mock(UserFinder.class),
      debtModelService, mock(RuleService.class), i18n, durations);
    SearchAction searchAction = new SearchAction(mock(DbClient.class), mock(IssueChangeDao.class), mock(IssueService.class), mock(IssueActionsWriter.class),
View Full Code Here


        .setId(103)
        .setKey("PORTABILITY")
        .setName("Portability")
        .setParentId(102));

    durations = new Durations(new Settings().setProperty("sonar.technicalDebt.hoursInDay", 8), null);
    ruleDao = new RuleDao(getMyBatis());

    provider = new RulesProvider();
  }
View Full Code Here

TOP

Related Classes of org.sonar.api.utils.Durations

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.