ranger
ranger copied to clipboard
RANGER-5347: Test Cases for agents-common Module: Packages (plugin.conditionevaluator, plugin.contextenricher, plugin.contextenricher.externalretrievers, plugin.geo)
What changes were proposed in this pull request?
AI Disclosure
Added AI-generated Test methods/Test classes using Cursor AI for Common library for Plugins module and manually reviewed.
Added unit test cases for agents-common module
How was this patch tested?
Build completed successfully along with all test cases using the command: mvn clean compile package install.
As per Jacoco Apache -> Common library for Plugins
Packages Covered
Improved Jacoco coverage across multiple packages: org.apache.ranger.plugin.conditionevaluator → 59% → 90% org.apache.ranger.plugin.contextenricher → 48% → 78% org.apache.ranger.plugin.contextenricher.externalretrievers → 0% → 88% org.apache.ranger.plugin.geo → 55% → 96%