Max Katz
57b7a3a8b2
Update tests per new default
5 years ago
Steven Kirk
2c3f70bd07
Add more tests for resetting InternalSelectionModel.
Always check that `WriteableSelectedItems` is correct - sometimes it's not it seems.
5 years ago
ReeJK
6e26cd58fa
Button state update when CommandParameter changed
5 years ago
Andrey Ermilkin
bcca8d8616
Scaling Vector is not commutative
5 years ago
Yoh Deadfall
741f3458d4
Allowed empty templates
5 years ago
Steven Kirk
15a765490f
Added another failing transitions test.
5 years ago
Steven Kirk
eba0529726
Added failing transitions test.
5 years ago
Steven Kirk
5bc392ee95
Added more failing tests.
To test completing/disposing bindings during and while ending batch updates.
5 years ago
Nikita Tsukanov
61792ce45f
Allow binding to classes with Classes.ClassName
5 years ago
aljosas
2a185da639
removing Dispatcher.UIThread.RunJobs() from tests
5 years ago
aljosas
2dd6b574d4
fixing failing test
5 years ago
aljosas
1c61a5c1c5
fixed failed test
5 years ago
amwx
5662c22a72
Add Tests
5 years ago
Steven Kirk
3afa95253f
Allow binding property during ending batch update.
- Allow adding a binding to a cleared property while ending a batch update. Need to check that the existing value isn't a remove sentinel here, otherwise the binding will be lost.
- When a binding is added during the end of a batch update, `_batchUpdate` will be non-null but newly added bindings shouldn't have `BeginBatchUpdate` called on them because no `EndBatchUpdate` will arrive (as we've already called them)
- Add sanity checks to the unit test to make sure that correct notifications are raised
5 years ago
Steven Kirk
03cf2c6f9f
Added another failing batch update test.
And a bit of a sanity check to the previous one.
5 years ago
Steven Kirk
0a41ba08fd
Added failing batch update test.
5 years ago
Jumar Macato
74a74acf0c
set from float to double
5 years ago
Jumar Macato
4ef47bfdb0
Add TryGetSegment
5 years ago
Jumar Macato
f8596a60ea
add unimplemented stuff on MockRenderInterface.cs
5 years ago
Jumar Macato
386a318abe
add stubs for headless/mock
5 years ago
aljosas
ede1e2db94
fixing PR for data validation for Combobox control and all SelectingItemsControl
5 years ago
aljosas
899ba64913
fixing data validation for Combobox control and all SelectingItems control #5652
5 years ago
Giuseppe Lippolis
8decb3bbc6
fix(Benchmark): FluentBenchmark thrown: 'Avalonia.Markup.Xaml.XamlLoadException'
5 years ago
aguahombre
5d130b5d79
Add data validation error support to NumericUpDown control #3591
5 years ago
aguahombre
f22730aca8
AutoCompleteBox validation not working for SelectedItem #5586
5 years ago
luthfiampas
1fa6bd25eb
better TextBox.MaxLength tests
5 years ago
Dan Walmsley
69a149f0ca
use inline data.
5 years ago
Dan Walmsley
f829137f73
add unit tests for window close when os button is clicked
5 years ago
Dan Walmsley
25413c85e6
fix build.
5 years ago
Dan Walmsley
19e5b277f2
add unit tests.
5 years ago
Dariusz Komosinski
7475354709
Add more mono trickery
5 years ago
Steven Kirk
1837548b3b
Fix TabItems leaking.
When a `TabItem` was created a binding was being set up to the owner `TabControl` but that binding was never being freed.
Ideally we'd be setting these properties in XAML rather than hardcoding them in the generator but that would be a breaking change for everyone who re-templated `TabControl`.
As a second-best option what we'd do is set up a `$parent` binding in the generator but this isn't available in Avalonia.Controls so had to implement a quick observable which watches for a parent `TabControl` and subscribes to it.
5 years ago
Steven Kirk
3d4c17b387
Added failing leak test for TabControl/TabItem.
Removing `TabItem`s causes a leak.
5 years ago
luthfiampas
a4477e7de6
set default value of IsTextSearchEnabled to true
5 years ago
luthfiampas
e6952dc352
rename AutoSelect to TextSearch
5 years ago
Steven Kirk
b3f4e4d63e
Added failing test for #4906 .
5 years ago
Steven Kirk
4e3af8c9c1
Fix non-compiling assemblies.
5 years ago
artyom
b7b5eaa702
Add a failing test
5 years ago
Benedikt Stebner
bd9aaae4c0
Fix Typo
5 years ago
Benedikt Stebner
1371cf5612
Fix LineBreakEnumerator
5 years ago
luthfiampas
e4cf7a6bf7
add auto-select functionality to ComboBox control
5 years ago
Steven Kirk
1a39210feb
Fix ncrunch.
5 years ago
Yoh Deadfall
a767773eb2
Fixed tests
5 years ago
Yoh Deadfall
faf9aa1f96
CanExecute reevaluation on parameter change
5 years ago
Benedikt Schroeder
4bebe777d9
Fix mock font manager and add typeface collection tests
5 years ago
José Pedro
f281e81530
Fixed typo.
Whitespace fixes.
5 years ago
Max Katz
dc7e33e4f3
Add Should_Close_On_Null_Tip test
5 years ago
Andrey Kunchev
a01fb157e4
add some tests for contextmenu open without params
5 years ago
Max Katz
b240fc7d0c
Add failing and working tests for null DataContext
5 years ago
Dan Walmsley
b735796c64
Rename PropertyMetaData to AvaloniaPropertyMetaData
5 years ago