-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: Bind With Trigger, add tests #2772
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
Conversation
Added tests to increase codeCov Added TODO: Test Required to public members without tests to ease the task of creating tests ongoing. Fixed Bind with trigger to update UI, added test to cover this
Create TestReactiveUI/src/ReactiveUI/Activation/ViewForMixins.cs Lines 44 to 47 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Activation/ViewForMixins.cs Lines 90 to 93 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Activation/ViewForMixins.cs Lines 116 to 119 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Activation/ViewForMixins.cs Lines 142 to 145 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Activation/ViewForMixins.cs Lines 199 to 202 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Activation/ViewForMixins.cs Lines 225 to 228 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Bindings/Interaction/InteractionBinderImplementation.cs Lines 25 to 28 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Bindings/Interaction/InteractionBinderImplementation.cs Lines 57 to 60 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Bindings/Property/PropertyBindingMixins.cs Lines 133 to 136 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 65 to 68 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 113 to 116 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 138 to 141 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 158 to 161 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 183 to 186 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 206 to 209 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 242 to 245 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 286 to 289 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 328 to 331 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 341 to 344 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 367 to 370 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Expression/Reflection.cs Lines 388 to 391 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/AutoPersistHelper.cs Lines 135 to 138 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/AutoPersistHelper.cs Lines 183 to 186 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/AutoPersistHelper.cs Lines 208 to 211 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/AutoPersistHelper.cs Lines 253 to 256 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/AutoPersistHelper.cs Lines 273 to 276 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/ChangeSetMixin.cs Lines 22 to 25 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/ChangeSetMixin.cs Lines 37 to 40 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Mixins/ChangeSetMixin.cs Lines 45 to 47 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/ReactiveObject/ReactiveRecord.cs Lines 80 to 85 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/ReactiveObject/ReactiveRecord.cs Lines 85 to 89 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/ReactiveObject/ReactiveRecord.cs Lines 99 to 104 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/ReactiveObject/ReactiveRecord.cs Lines 106 to 111 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/ReactiveObject/ReactiveRecord.cs Lines 113 to 116 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Routing/MessageBus.cs Lines 38 to 41 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Routing/MessageBus.cs Lines 50 to 54 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Routing/MessageBus.cs Lines 80 to 83 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Routing/RoutingState.cs Lines 112 to 115 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Scheduler/ScheduledSubject.cs Lines 53 to 58 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Scheduler/ScheduledSubject.cs Lines 56 to 59 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Scheduler/WaitForDispatcherScheduler.cs Lines 45 to 50 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Scheduler/WaitForDispatcherScheduler.cs Lines 49 to 53 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/DummySuspensionDriver.cs Lines 20 to 25 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/DummySuspensionDriver.cs Lines 24 to 29 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/DummySuspensionDriver.cs Lines 28 to 31 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/SuspensionHost.cs Lines 53 to 56 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/SuspensionHost.cs Lines 62 to 65 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/SuspensionHost.cs Lines 71 to 74 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/SuspensionHost.cs Lines 80 to 83 in 283c6bf
This comment was generated by todo based on a
|
Create TestReactiveUI/src/ReactiveUI/Suspension/SuspensionHost.cs Lines 89 to 92 in 283c6bf
This comment was generated by todo based on a
|
Codecov Report
@@ Coverage Diff @@
## main #2772 +/- ##
==========================================
+ Coverage 62.84% 63.52% +0.67%
==========================================
Files 134 134
Lines 4686 4688 +2
==========================================
+ Hits 2945 2978 +33
+ Misses 1741 1710 -31
Continue to review full report at Codecov.
|
|
It seems that since this change, I'm having issues with binding. For example:
Has this scenario been tested? It's particularly weird since the trigger should indicate that something in the view has changed - it should not have any influence on the initial update from view model to view. Also see the review comment I added. |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Added tests to increase codeCov
Added TODO: Create Test to public members without tests to ease the task of creating tests ongoing.
Fixed Bind with trigger to update UI, added test to cover this
What kind of change does this PR introduce?
Bug fix
What is the current behaviour?
Bind with a Observable trigger does not observe the trigger
What is the new behaviour?
Bind with a Observable trigger now observe the trigger and updates the view when the trigger is fired
What might this PR break?
none unless wrong overload was being used previously and still expecting values to update without the trigger
Please check if the PR fulfils these requirements
Other information:
other tests added to increase codeCov