Steven Kirk
f85995ed7e
Move design-time handling of events...
...to `Avalonia.Markup.Xaml`. Also added tests: tests required a new instance of `AvaloniaXamlSchemaContext` for each `AvaloniaXamlLoader` as otherwise one test can affect other tests.
7 years ago
Steven Kirk
b32a10ceda
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
9b4bd8d621
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
260789c425
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
61be769d61
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
372f0f266e
Add another failing test relating to #1099 .
7 years ago
Andrey Kunchev
a4132890bf
add unit tests for layout queue
7 years ago
Andrey Kunchev
48ad6babda
improve test
7 years ago
Andrey Kunchev
d53dbe9416
add some more layout manager tests for potential issues with infinity loop and proper work
7 years ago
Steven Kirk
268e5ee549
Fix failing test.
7 years ago
Steven Kirk
131a4d90ef
Remove Avalonia.ISupportInitialize.
This is a relic from when we were targeting a PCL profile that didn't have `System.ComponentModel.ISupportInitialize`. Now that we have that, use it instead.
7 years ago
mstr2
039991da68
Fixed a bug where AddOwner would add a property to AvaloniaPropertyRegistry's property list more than once
7 years ago
Andrey Kunchev
870a2f365f
layoutmanager/listbox/vistualization/scroll issue unit test
7 years ago
artyom
6e4b9a23c2
Add unit tests for RoutedViewHost
7 years ago
mstr2
9d3fd84a7a
Fixes a bug where properties would be added multiple times to the global AvaloniaPropertyRegistry._properties list.
7 years ago
Nikita Tsukanov
c742fa42d2
[REMOTE] Skip unknown BSON properties
7 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
7 years ago
Steven Kirk
653fa458c1
Call InitializeComponent in RxUI activation tests.
To make sure activation works after loading XAML.
7 years ago
Steven Kirk
068acb6376
Added TopLevel.Opened unit tests.
7 years ago
Steven Kirk
fafa695257
Use recommended ContentControl pattern.
7 years ago
Steven Kirk
f75f85af2b
Fix order of inherited property changed events.
Previously `PropertyChanged` was raised on the child before the parent because the inherited value change was being notified by listening to the parent `PropertyChanged` event, and this event handler was added first.
Added an `InheritablePropertyChanged` event which will be called only after all other property changed events have been raised and only for inheritable properties.
7 years ago
Steven Kirk
302bf55b8a
Added failing tests for #1099 .
7 years ago
Steven Kirk
9501da85fa
Added failing tests for #2260 .
7 years ago
Steven Kirk
f3029d3346
Added failing test for #2203 .
7 years ago
Steven Kirk
d75af69307
Fix tests.
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Steven Kirk
38a3db18cb
Added IRenderer.SceneInvalidated event.
And use this event to trigger an update of the mouse pointer-over state.
7 years ago
Steven Kirk
6f02e832f8
Added failing test for buggy TreeViewItem expander.
A selector of type `Control /template/ Control:class` is returning `AlwaysThisInstance` instead of `Sometimes`.
7 years ago
Jumar Macato
440985a2b3
Add unit test for FillMode
7 years ago
Jeffrey Ye
3a28179704
return new string[0] from mock interfaces
7 years ago
Nikita Tsukanov
a75c8b9859
Adapted GridLayoutTests to run on Mono
7 years ago
Nikita Tsukanov
feadefc1a1
Run Mono/FullNET tests for all "core" libs except Avalonia.Controls
7 years ago
Nikita Tsukanov
4b234f73df
Run Avalonia.Base.UnitTests on netfx/mono
7 years ago
Nikita Tsukanov
effc7c09c6
Fixed #2228
7 years ago
Jeffrey Ye
27edc74bf8
more comments, and fix compilation error
7 years ago
Jeffrey Ye
2ed745d493
#2222 Get all fonts in the system
7 years ago
Steven Kirk
3d578464c6
Register TabControl with ContentControlMixin.
`ContentControlMixin` implements a number of behaviors related to logical children that controls that have a `ContentPresenter` need in order to function correctly.
Also renamed `PART_Content` to `PART_SelectedContentHost` to match WPF
Fixes #2191
7 years ago
Steven Kirk
792d9f1a05
Added failing test for #2191 .
Check that when content is created via `DataTemplate`, it is correctly added as a logical child.
7 years ago
Jeremy Koritzinsky
44bf2ee721
Add unit test and fix #2149 .
7 years ago
Nikita Tsukanov
5136750bc3
Added nullable type converter proxy
7 years ago
Jumar Macato
6b025bb9a9
Fix nits :)
7 years ago
Nikita Tsukanov
6d5d26b36c
Exclude Wrapping_NoWrap from Linux test run
7 years ago
Nikita Tsukanov
ea7dc760cc
Updated SkiaSharp to 1.68.0
7 years ago
Jumar Macato
660691da49
Make KeyFrame an AvaloniaObject and move the setters to a dedicated property.
7 years ago
Jumar Macato
b2b0d84532
Add Unit Tests for Animations.
7 years ago
Benedikt Schroeder
1d19e28e9b
Full support for relative uris
7 years ago
Andrey Kunchev
54627eeff1
add failing unittest for immediaterenderer not rendering sometimes controls issue #2141
7 years ago
Benedikt Schroeder
f260ec1df4
Support relative paths for embedded fonts
7 years ago
Andrey Kunchev
6c249f375c
add failing test for #2106 scroll to last in listbox not working sometimes
7 years ago
Steven Kirk
41f201bec8
Fix grip visualbrush tests.
7 years ago