Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ str="<line including <substring>>"; sub="<substring>"; pre="${str%%"$sub"*}" suf

# Ruling Tests

Ruling tests validate that rule fixes don't break existing true positives. They run the analyzer against real-world Java projects (`guava`, `commons-beanutils`, `eclipse-jetty`, `sonarqube-6.5`, `jboss-ejb3-tutorial`, `regex-examples`, `mall`) and compare results to expected baselines.
Ruling tests validate that rule fixes don't break existing true positives. They run the analyzer against real-world Java projects (`guava`, `commons-beanutils`, `eclipse-jetty`, `sonar-server`, `jboss-ejb3-tutorial`, `regex-examples`, `mall`) and compare results to expected baselines.

- Expected ruling files: `its/ruling/src/test/resources/expected/<project>/java-<RULE_ID>.json`
- Actual ruling output: `its/ruling/target/actual/<project>/java-<RULE_ID>.json`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,9 @@ private static String getFileLocationAbsolutePath(FileLocation location) {

@Test
public void sonarqube_server() throws Exception {
// sonarqube-6.5/server/sonar-server (v.6.5)
String projectName = "sonarqube-6.5";
MavenBuild build = test_project(projectName, projectName + "/server", "sonar-server")
// sonar-server (v.6.5)
String projectName = "sonar-server";
MavenBuild build = test_project(projectName)
Comment thread
gitar-bot[bot] marked this conversation as resolved.
Resolved
.setProperty("sonar.java.fileByFile", "true");
executeBuildWithCommonProperties(build, projectName);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sonar-server:src/main/java/org/sonar/server/ui/PageDecorations.java": [
46
]
}
Loading
Loading