Package org.sonar.api.i18n

Examples of org.sonar.api.i18n.I18n


  @Before
  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);
View Full Code Here


  @Before
  public void setUp() {
    QProfileService profileService = mock(QProfileService.class);
    RuleService ruleService = mock(RuleService.class);
    I18n i18n = mock(I18n.class);
    controller = new WsTester(new QProfilesWs(new QProfileRestoreBuiltInAction(
      mock(QProfileService.class)),
      new RuleActivationActions(profileService),
      new BulkRuleActivationActions(profileService, ruleService, i18n)
    )).controller(QProfilesWs.API_ENDPOINT);
View Full Code Here

TOP

Related Classes of org.sonar.api.i18n.I18n

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.