Package org.sonar.server.rule

Examples of org.sonar.server.rule.RuleService


  WsTester tester;

  @Before
  public void setUp() throws Exception {
    QProfileService profileService = mock(QProfileService.class);
    RuleService ruleService = mock(RuleService.class);
    tester = new WsTester(new QProfilesWs(
      new QProfileRestoreBuiltInAction(this.profileService),
      new RuleActivationActions(profileService),
      new BulkRuleActivationActions(profileService, ruleService, i18n)));
  }
View Full Code Here


  WebService.Controller controller;

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

TOP

Related Classes of org.sonar.server.rule.RuleService

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.