Skip to content
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

SONARXML-146 Allow checks to access SensorContext to read configuration #344

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

leonardo-pilastri-sonarsource
Copy link
Contributor

@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource commented Oct 4, 2024

In the context of implementing XMLChecks that rely on analysis properties, like "sonar.android.minsdkversion.min", which are gathered by the scanners and stored into the SensorContext.config(), this PR wants to allow SonarXMLCheck implementations to access the context, and allow the SonarXMLCheckVerifier to pass this kind of configuration to properly test the expected behavior of such checks.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏿

@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource force-pushed the lp/SONARXML-146 branch 2 times, most recently from 84fb1ca to 731d697 Compare October 4, 2024 15:33
@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource merged commit 8498d14 into master Oct 4, 2024
4 checks passed
@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource deleted the lp/SONARXML-146 branch October 4, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants