Nikita Tsukanov
b6219db4ad
More Dispatcher.UIThread.RunJobs in tests
4 years ago
Jeremy Koritzinsky
54fdb5232b
Update tests
4 years ago
Giuseppe Lippolis
3e9c86054b
feat(Style): Add test to check using attached properties in attribute selector
5 years ago
Steven Kirk
721547fcb2
Update samples/tests to net6.0.
And no longer target net461 in unit tests as we've not had a test pass in net core and fail in netfx in years, and it bloats our CI time; EXCEPT Avalonia.Markup.Xaml.UnitTests where we're still testing against net4.7 as MSIL generation is runtime-sensitive.
5 years ago
Max Katz
d64a700b4f
Imrpove nth-child parsing
5 years ago
Max Katz
69fb1c056f
FIrst version of nth-child
5 years ago
Dariusz Komosinski
7475354709
Add more mono trickery
5 years ago
Dan Walmsley
8ac7127809
sign more test assemblies
6 years ago
Andrey Kunchev
d1cf6fc9be
fix failing test
6 years ago
workgroupengineering
47d6ba61dd
Update tests/Avalonia.Markup.UnitTests/Extensions/IEnummerableExtension.cs
fixes code smell
Co-authored-by: Dariusz Komosiński <darek.komosinski@gmail.com>
6 years ago
Giuseppe Lippolis
411b227834
Adding test
6 years ago
Giuseppe Lippolis
c98918bc2a
Update tests
6 years ago
Steven Kirk
ed43a5753a
Handle BindingNotifications in LogicalNotNode.
Fixes handling binding notifications in `LogicalNotNote`. Previously if a `!` was placed in a binding that produced a `BindingNotification`, then `LogicalNotNode` tried to convert the `BindingNotification` to `bool` and failed, throwing an exception. Handle this properly.
6 years ago
Steven Kirk
5e16897137
Unwrap BindingNotification in MultiBinding.
And add some unit tests.
6 years ago
Dariusz Komosinski
3b7d8574e8
Try matching for INPC before matching methods.
6 years ago
Steven Kirk
5397efc4f0
Remove some left-over copyright headers.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Steven Kirk
30e8cac05d
Update to .NET core 3.1.
6 years ago
José Pedro
1ba4c68a35
Implemented TargetNullValue for bindings.
7 years ago
Steven Kirk
b8717bf6dc
Tidy up API.
7 years ago
Steven Kirk
6be3acb46c
Make ValueStore typed.
Major refactor of the Avalonia core to make the styled property store typed.
7 years ago
artyom
00a148d0a3
Try with WaitForPendingFinalizers
7 years ago
Steven Kirk
15e388da75
Adding failing binding tests.
- `OneTime` bindings are failing to release their subscription if the `DataContext` is unset when the binding is made.
- Combining `OneTime` and `OneWayToSource` bindings are causing an NRE. The NRE is being caught but it too results in a subscription being leaked.
7 years ago
Steven Kirk
661254c9cf
Add issue number to test.
7 years ago
Dariusz Komosiński
9acf82d47b
!B Fix expression nodes not knowing if last value is actually null or dead.
7 years ago
Steven Kirk
49f54b5275
Added failing test for #2912 .
7 years ago
Dariusz Komosinski
5f1a003e4f
Add failing unit test for TwoWay binding issue.
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
OronDF343
b519ecc121
Support StringFormat without Converter in MultiBinding
7 years ago
Steven Kirk
d22282c151
Added failing tests for #2470 .
7 years ago
OronDF343
d065568be9
Added MultiBinding.StringFormat + Relevant unit tests
7 years ago
Steven Kirk
89d969b367
Added selector comma operator.
The comma selector can be used to separate a number different selectors, all of which will be applied to the control with an OR.
Fixes #1742
7 years ago
Steven Kirk
d37615bea8
Added failing test for #1898 .
Plus a couple of other empty binding path tests.
7 years ago
Steven Kirk
d991173296
Added tests for #2316 .
7 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
7 years ago
Steven Kirk
d75af69307
Fix tests.
7 years ago
Nikita Tsukanov
feadefc1a1
Run Mono/FullNET tests for all "core" libs except Avalonia.Controls
7 years ago
Andrey Kunchev
741154d653
add more failing tests more specific to the particular problem in binding with complex property path like property.item1.item2.item3
8 years ago
Andrey Kunchev
617b5708c2
add failing tests for Relative Source in Binding
8 years ago
Andrey Kunchev
a955f73a3e
failing unittest for nested multibinding
8 years ago
Jeremy Koritzinsky
e0be7353a8
Fix tests that broke from the API change.
8 years ago
Steven Kirk
b163892a7d
Make TemplateBinding.Converter work.
Also:
- Add some unit tests
- Make `TwoWay` bindings back to the parent control work at `LocalValue` priority
Fixes 1737
8 years ago
Steven Kirk
0945478357
Fix grammar.
8 years ago
Steven Kirk
6a14747eb6
StringFormatConverter -> StringFormatValueConverter
8 years ago
Steven Kirk
70440517ca
Initial implementation of StringFormat.
XAML tests failing because of https://github.com/cwensley/Portable.Xaml/pull/106
8 years ago
Jeremy Koritzinsky
1b2d644e48
Make tests in Avalonia.Base.UnitTests use ExpressionObserver.Create. For tests that require using invalid members or are more tedious to test with expression trees, test them in Avalonia.Markup.UnitTests with ExpressionObserverBuilder.
8 years ago
Jeremy Koritzinsky
44aaa33dc3
Clean up package dependencies.
8 years ago
Jeremy Koritzinsky
4040216ff8
Span-ify our homebrew parser's 'public' API.
8 years ago
Jeremy Koritzinsky
2f087c350c
Create new Selector parser that does not have a dependency on Sprache.
8 years ago