Exemplo n.º 1
0
 @Before
 public void resetData() {
   xooSampleAnalysis =
       projectAnalysisRule
           .newProjectAnalysis(projectAnalysisRule.registerProject("shared/xoo-sample"))
           .withQualityProfile(
               projectAnalysisRule.registerProfile(
                   "/issue/IssueChangelogTest/one-issue-per-line-profile.xml"));
   xooSampleAnalysis.run();
   issue = searchRandomIssue();
 }
Exemplo n.º 2
0
  @Before
  public void setup() {
    String qualityProfileKey =
        projectAnalysisRule.registerProfile(
            "/issue/IssueActionTest/xoo-one-issue-per-line-profile.xml");
    String projectKey = projectAnalysisRule.registerProject("shared/xoo-sample");

    this.projectAnalysis =
        projectAnalysisRule.newProjectAnalysis(projectKey).withQualityProfile(qualityProfileKey);
    this.projectAnalysis.run();
    this.issue = searchRandomIssue();
  }