-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Java ITs #9635
Fix Java ITs #9635
Conversation
f25cd16
to
6ef1736
Compare
@@ -64,7 +64,8 @@ public void logsContainInfo() { | |||
.contains("WARN: SonarScanner for .NET detected only TEST files and no MAIN files for C# in the current solution. " + | |||
"Only TEST-code related results will be imported to your SonarQube/SonarCloud project. " + | |||
"Many of our rules (e.g. vulnerabilities) are raised only on MAIN-code. " + | |||
"Read more about how the SonarScanner for .NET detects test projects: https://github.com/SonarSource/sonar-scanner-msbuild/wiki/Analysis-of-product-projects-vs.-test-projects"); | |||
"Read more about how the SonarScanner for .NET detects test projects: https://github.com/SonarSource/sonar-scanner-msbuild/wiki/Analysis-of-product-projects-vs.-test-projects", | |||
"Multi-Language analysis is enabled. If this was not intended, please set \"/d:sonar.scanner.scanAll=false\" in the begin step."); | |||
|
|||
assertThat(buildResult.getLogsLines(l -> l.contains("INFO"))).contains( | |||
"INFO: Found 1 MSBuild VB.NET project: 1 MAIN project.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two lines below will probably still fail:
TestUtils.verifyNoGuiWarnings(ORCHESTRATOR, buildResult);
you need to assert the GUI warning there as well
6ef1736
to
c36dea4
Compare
Quality Gate passed for 'Sonar .NET Java Plugin'Issues Measures |
Quality Gate passed for 'SonarAnalyzer for .NET'Issues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.