rc/8.0.0#216
Conversation
…uspiciousAppDetectionConfig
tompsota
left a comment
There was a problem hiding this comment.
One more thing: There are no tests for SuspiciousAppDetectionConfig, MalwareScanScope, ScopeType, or ReasonMode. Every other model in lib/src/models/ has a corresponding test/src/models/*_test.dart covering construction, toJson, fromJson, and edge cases (see test/src/models/android_config_test.dart lines 45–91 for the established pattern).
Also missing: an AndroidConfig test exercising the suspiciousAppDetectionConfig field in both fromJson/toJson directions
Can you just generate some simple test cases?
If the requested changes here are relevant also for other repos, please update those as well.
|
Added tests for SuspiciousAppDetectionConfig, MalwareScanScope, ScopeType, ReasonMode plus AndroidConfig coverage for the suspiciousAppDetectionConfig field. |
…ield to scanScope
Rename the `scanScope: ScopeType` field inside the `ScanScope` class to `scopeType` so the field name matches its type name. Update the generated g.dart, JSON key, default config, example app, Kotlin native bridge, and all tests accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
No description provided.