Add test for design binding picker#13536
Conversation
b46fb99 to
8f4c5b8
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13536 +/- ##
===================================================
+ Coverage 76.59683% 76.59848% +0.00164%
===================================================
Files 3230 3231 +1
Lines 639157 639185 +28
Branches 47295 47302 +7
===================================================
+ Hits 489574 489606 +32
+ Misses 146007 145995 -12
- Partials 3576 3584 +8
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new unit test class to verify that the DesignBindingPicker control and its subcomponents are initialized correctly.
- Adds
DesignBindingPickerTestscovering constructor setup, panel child controls, and a helper for control-type checks. - Introduces a private helper method
ContainsType<T>to simplify asserting presence of child controls by type.
ricardobossan
left a comment
There was a problem hiding this comment.
Please consider adding, in this or another PR, tests for the remaining public and protected methods: Pick, OnVisibleChanged, OnGotFocus and RescaleConstantsForDpi.
KlausLoeffelmann
left a comment
There was a problem hiding this comment.
If it passes, it's OK to merge IMO!
Related #10773
Microsoft Reviewers: Open in CodeFlow