Steven Kirk
b4d7d03afd
Constrain to availableSize in MeasureCore.
#2431 erroneously removed the `.Constrain(availableSize)` call in `Layoutable.Measure`. Now that the WPF source is available, I can see i that WPF does in fact constrain measure to availableSize and Grid relies on this.
Put constraint back in, undo the changes to the controls changed in #2431 (`StackPanel`, `Image`) and update the expected test results based on cross-checks with WPF in https://github.com/wieslawsoltes/WpfUnitTests/pull/1 .
7 years ago
Steven Kirk
51ec592e4a
Added failing test for #2746 .
7 years ago
Steven Kirk
a6c9086782
Fix flaky XAML tests.
Make tests that load XAML inherit from `XamlTestBase` which ensures that `Avalonia.Markup` is loaded.
7 years ago
Steven Kirk
cdb486fe23
Fix NRE in VisualNode.SortChildren.
`_children` may be null. In addition if there are < 2 children, there's no sorting to be done.
7 years ago
Steven Kirk
142ead4d39
Make tests compile on CI.
7 years ago
Steven Kirk
d0a6f48015
Added `Gestures.RightTapped`.
7 years ago
Steven Kirk
5e2b3c56e6
Update tests for #2730 .
7 years ago
Steven Kirk
2c9114d2a2
Moved gesture tests to Avalonia.Input.
As `Gestures` is defined here, not in Avalonia.Interactivity.
7 years ago
Steven Kirk
41e9999ae7
Move MouseTestHelper to Avalonia.UnitTests.
7 years ago
Steven Kirk
0e7f4cac81
Ensure control is invalidated on ZIndex change.
7 years ago
Steven Kirk
bc5a101faf
Render changes to child order/zindex.
Fixes #2714 .
7 years ago
Steven Kirk
32d7938c7c
Added failing tests for #2714 .
7 years ago
Steven Kirk
835cc6e051
Added failing test for #2754 .
7 years ago
Steven Kirk
b8c4c0e873
Fix failing tests.
7 years ago
Dariusz Komosinski
ad994a685c
Fix PriorityValue usage of DeferredSetter. Implement slower path in DeferredSetter that deals with callbacks.
7 years ago
Dariusz Komosinski
48be9dc260
Remove old DeferredSetter implementation. Cleanup code, add license info.
7 years ago
Dariusz Komosinski
812c5f30c9
Remove SetAndRaise callback handling. Move event raising to setter.
7 years ago
Steven Kirk
cae46af287
Fixed typos.
7 years ago
Steven Kirk
0b88151b65
Fix tests failing after merge.
7 years ago
Dariusz Komosinski
3c787b3d4d
Fix events for ContextMenu and Popup.
7 years ago
Steven Kirk
e235efe388
Implement DashStyle equality.
7 years ago
Steven Kirk
2af5a03c2d
Make DashStyle mutable.
7 years ago
Steven Kirk
3c1dfcfcf5
Added equality test.
And fix bug in `DashStyle`.
7 years ago
Steven Kirk
cad119ebfb
Invalidate Pen when properties change.
7 years ago
Steven Kirk
ec45084e6a
Make Pen mutable.
And add `IPen` interface and `ImmutablePen` class.
7 years ago
Steven Kirk
eeb7271c34
Added failing test for #2584 .
7 years ago
Nikita Tsukanov
c61644721e
Actually use parent name scope for templates
7 years ago
Nikita Tsukanov
ce28364545
Added comments regarding name scope task completions
7 years ago
Nikita Tsukanov
991f767c3c
Removed outdated tests
7 years ago
Nikita Tsukanov
b0111a2c48
Canvas leak?
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
3169f59da8
Introduced name scope chains
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
4df55f733d
Manually manage the name scope for control leak tests
7 years ago
Nikita Tsukanov
49b8d24d0b
Fixed LeakTests
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Steven Kirk
07a625d489
Added more failing TreeViewTests.
7 years ago
Steven Kirk
f8741ead2c
Added failing SelectingItemsControl tests.
7 years ago
Steven Kirk
4e4c1918ab
Added failing test for #2660 .
And a passing test too. Also added some useful methods to `TreeView` to help with this.
7 years ago
artyom
6eed518746
Indicate exotic lifetimes are not supported
7 years ago
artyom
da467dd647
Fix failing unit tests
7 years ago
artyom
009f39ae74
Update AutoSuspendHelper to use IControlledApplicationLifetime
7 years ago
Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Steven Kirk
fc9a8db010
Correctly select materialized containers.
And add another test.
7 years ago
Steven Kirk
11a3f0c093
Added failing test for #2565 .
Along with a passing test I wrote looking for the solution, and some documentation about SelectionMode.
7 years ago
Steven Kirk
fdd5d7afec
Added failing (skipped) test for #2592 .
7 years ago
José Pedro
5adf7c3a4c
Moved test to separate method.
7 years ago
Steven Kirk
67bd1b8d86
Added failing tests for #1701 .
7 years ago
Steven Kirk
ccf60266e8
Send clicks rather than mouse down messages.
7 years ago