Steven Kirk
7f87c2e74a
Don't raise SelectionModel.PropertyChanged during update.
6 years ago
Steven Kirk
8e29811c91
Added failing test for #3934 .
6 years ago
Steven Kirk
313f334d1c
Added failing PixelRect snapping tests.
6 years ago
Steven Kirk
9ef91f9e10
Fix notifications when removing parent item.
6 years ago
Steven Kirk
fcdac73e75
Fix select range logic.
Make sure the item we're selecting is within the requested range. Also refactored the unit tests to do a simple test on `SelectedIndices` instead of using `IsSelectedWithPartial` because both can't really be tested together using the old testing method.
6 years ago
Steven Kirk
2b5d7fb28d
Don't allow selection of non-expanded TreeViewItems.
And remove child selection when a `TreeViewItem` is un-expanded.
This is necessary because we don't get enough information about a materialized `TreeViewItem` to select it when materialized, so the `SelectionModel` and `TreeViewItem` selection state gets out of sync.
6 years ago
Steven Kirk
d5f0110ca6
Raise SelectionChanged when nested children change.
6 years ago
Steven Kirk
8230684a41
Added failing test for #3918 .
6 years ago
Dan Walmsley
f270a1eafd
remove pen argument from DrawOperation and BrushDrawOperation
6 years ago
Dan Walmsley
daa69f3ff4
fix draw operation tests.
6 years ago
Dan Walmsley
bcfb9ea840
skip broken test.
6 years ago
Dan Walmsley
380d43f2f9
skip broken test.
6 years ago
Dan Walmsley
bc0a763481
add missing scenebuilder test.
6 years ago
Dan Walmsley
67e6de978b
fix scenebuilder test
6 years ago
Dan Walmsley
a8cd4cc2d8
fix failing test.
6 years ago
Steven Kirk
7c3fcd3241
Disable warnings for tests of deprecated APIs.
6 years ago
Steven Kirk
bc079008d1
Remove usage of deprecated input APIs.
6 years ago
Steven Kirk
f06eaf38f8
Use correct unit test AppBuilder.
A reference was added to `Avalonia.ReactiveUI` from `Avalonia.Controls.UnitTests` which caused the incorrect `AppBuilder` to be resolved.
6 years ago
Steven Kirk
c9a385bd5a
Allow SelectionNode children to change.
Make `SelectionModelChildrenRequestedEventArgs.Children` an observable, so that the we can react to the children collection object changing, as well as the children inside the collection changing.
Upstream issue: https://github.com/microsoft/microsoft-ui-xaml/issues/2404
6 years ago
Nikita Tsukanov
159cea5f4c
Broken mocks every-freaking-where
6 years ago
Nikita Tsukanov
d0b041095d
Inset box-shadow
6 years ago
Nikita Tsukanov
20f6f886f9
box-shadow support
6 years ago
Deadpikle
7ba1c9661b
Add some notes on how I got the KeySpline test values
6 years ago
Deadpikle
62b8da3cdf
Added a test for KeySpline animation
6 years ago
Steven Kirk
2fcde9e34d
Use OnApplyTemplate instead of OnTemplateApplied.
- More similar to WPF API
- Less bug-prone (see #3744 )
`OnTemplateApplied` still exists, but is deprecated and does nothing.
6 years ago
Steven Kirk
dc75bf512a
Run sizing tests with both Show and ShowDialog.
One test now failing with `ShowDialog` due to #3843 .
6 years ago
Deadpikle
30eacab09d
Add some unit tests for KeySpline
6 years ago
Jumar Macato
8f7f4b7267
Add failing test for #3653
6 years ago
Benedikt Schroeder
0b1b3914b3
More text rendering improvements
6 years ago
Dariusz Komosinski
1624e88ba3
Remove Window.ShowDialog variant that takes IWindowImpl.
6 years ago
Andrey Kunchev
fb1da608f8
add failing tests for point parsing
6 years ago
Andrey Kunchev
df35f61906
add failing tests for parsing points in xaml
6 years ago
Dan Walmsley
756adb5dd5
fix designer tests.
6 years ago
Dan Walmsley
5de93378cf
fix designer tests.
6 years ago
Steven Kirk
df6dc0abb7
Fix window sizing tests.
We need to make sure the window is being measured the correct number of times to know that the measure pass is correct.
6 years ago
Steven Kirk
ec24030bac
Added another failing PopupRoot test.
6 years ago
Steven Kirk
908eef0b0d
Added failing tests for #3796 .
6 years ago
Steven Kirk
c6860ceefa
Bypass ArrangeCore logic in top-level controls.
Top-level controls cannot have a `Bounds` offset, and their `(Min)/(Max)/Width` and `(Min)/(Max)/Height` reflects the client size of the actual window, so don't need to be applied at the layout level.
Fixes #3784
6 years ago
Steven Kirk
af950096cc
Added failing test for #3784 .
Had to refactor the `MockWindowingPlatform` a bit.
6 years ago
Steven Kirk
faec3ae67f
Added NonVirtualizingStackLayout.
Required fixing/implementing a bunch of infrastructure around non-virtualizing layouts.
6 years ago
Steven Kirk
b80c61892e
Added failing test for #3551
Co-Authored-By: Dariusz Komosiński <marchingcube@users.noreply.github.com>
6 years ago
Steven Kirk
a98b22c40c
Pass close event to Popup.Closed.
So that the event can be marked as handled if necessary. Mark the event as handled in `AutoCompleteBox`, `ComboBox` and `DatePicker`, but _not_ `ContextMenu`. Fixes #3760 .
6 years ago
Steven Kirk
252733e41f
Added failing test for #3760 .
6 years ago
Steven Kirk
804d70e448
Add failing test for #2680 .
6 years ago
Deadpikle
3885a69ab1
Add more failing tests for other keys
6 years ago
Deadpikle
d8f74b7e41
Cut now triggers an undo
6 years ago
Deadpikle
99e5625ca6
Add failing test for cut not working with undo/redo
6 years ago
Steven Kirk
9fa1ab9282
Add failing tests for shared context menus.
Tests for #497 .
6 years ago
Deadpikle
681911098c
SelectedText = null -> clear text
6 years ago
Steven Kirk
9adbe33577
Added failing test for #2755 .
6 years ago