Benedikt Stebner
95769ff007
Add TextBlock inlines support
4 years ago
Steven Kirk
ddb8f9c7de
Update unit tests to use new default theme URLs.
4 years ago
Jeremy Koritzinsky
1d5e262487
Use a dynamically-emitted trampoline method so we can handle the "execute method has a return type" case cleanly.
This also provides a location for us to add any other trampolines that we need to emit.
4 years ago
Jeremy Koritzinsky
cdc8c9f078
Add some tests
4 years ago
Jeremy Koritzinsky
0576baf5b7
Add tests for full-fidelity method->delegate conversion in compiled bindings.
4 years ago
Jeremy Koritzinsky
7624e14bcd
Support RelativeSource-based bindings without requiring an x:DataType property.
Only require an x:DataType property when we actually use it.
4 years ago
Steven Kirk
5153cc4e12
Remove unneeded dependency.
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
Dan Walmsley
51ab3266dd
add a unit test.
5 years ago
Max Katz
f276c4ed8b
Changes after review
5 years ago
Max Katz
031e8ac2f0
Complete
5 years ago
Max Katz
e5ca5c38e8
Update IChildIndexProvider interface with ChildIndexChanged and implement in on items controls
5 years ago
Max Katz
69fb1c056f
FIrst version of nth-child
5 years ago
Nikita Tsukanov
5ede6f9ae2
Added support for non-control templates in XAML
5 years ago
Giuseppe Lippolis
df5250e155
ref(tests): warning CS0067 The event 'TrackingResourceProvider.OwnerChanged' is never used
5 years ago
Steven Kirk
911262bf3f
Correctly handle long-form bindings with empty path.
5 years ago
Steven Kirk
551380e71d
Added failing test for #4392 .
5 years ago
Dariusz Komosinski
cca1d4abc4
Fix even more tests.
5 years ago
Dariusz Komosinski
e55c11ec37
Fix unit tests.
5 years ago
Yoh Deadfall
741f3458d4
Allowed empty templates
5 years ago
Nikita Tsukanov
61792ce45f
Allow binding to classes with Classes.ClassName
5 years ago
artyom
b7b5eaa702
Add a failing test
5 years ago
Steven Kirk
1a39210feb
Fix ncrunch.
5 years ago
José Pedro
f281e81530
Fixed typo.
Whitespace fixes.
5 years ago
Dan Walmsley
8ac7127809
sign more test assemblies
5 years ago
Steven Kirk
b16820a230
Added failing test for application resources.
`DynamicResource` in `Application.Resources` fails to resolve resource.
6 years ago
Steven Kirk
ad677f0ff4
Added failing test for #4900 .
6 years ago
Steven Kirk
34b5f07e96
Added failing tests for #5027 .
We shouldn't subscribe to bindings until needed.
6 years ago
Andrey Kunchev
cc1051efa3
add failing test for set of base class property
6 years ago
Nikita Tsukanov
b229acf8dc
Don't use the concrete type in tests
6 years ago
Andrey Kunchev
f9de2a9c82
add more tests for CompiledBinding Source with StaticResource
6 years ago
Andrey Kunchev
80a87d7aa3
add failing tests for CompiledBidning with Source set to StaticResource and x:Static
6 years ago
Andrey Kunchev
bf2dfff8f6
add test for casting after indexer
6 years ago
Andrey Kunchev
ebe1af51a9
modify tests to c# style casting in binding path
6 years ago
Andrey Kunchev
fa754bcaa2
add test for converter with parameter in compiled binding
6 years ago
Andrey Kunchev
9633300e5d
add few more tests for cast in binding path
6 years ago
Andrey Kunchev
df95ba630d
add test for $parent as it look like not working for compiled binding
6 years ago
Andrey Kunchev
0036bf22c4
add tests for reflection binding for casting in path
6 years ago
Andrey Kunchev
604a8b635f
add some tests for cast in path expression
6 years ago
Giuseppe Lippolis
a222bf9239
Add test to check ViewModel is Collected
6 years ago
Giuseppe Lippolis
9f3ed1c8fe
Add testing
6 years ago
Nikita Tsukanov
6c89473ca1
Fixed tests
6 years ago
Nikita Tsukanov
d355007c57
Extracted runtime XAML loader to a separate package
6 years ago
Jeremy Koritzinsky
5fb7fe3c32
Fix Discovering properties and indexers on parent interfaces of an interface type.
Fixes #4234
6 years ago
Steven Kirk
8d2af50808
Add failing tests for #3552 .
6 years ago
Steven Kirk
5e16897137
Unwrap BindingNotification in MultiBinding.
And add some unit tests.
6 years ago
Steven Kirk
f46c62801e
Convert Color resources to brushes.
Make `StaticResource` and `DynamicResource` automatically convert `Color`s to `ImmutableSolidColorBrush`es and add a `ColorToBrushConverter` for use by bindings.
To do this I made `GetResourceObservable` accept an optional conversion function.
6 years ago
Dan Walmsley
ed375b5780
Allow tests to pass as we expect a KeyNotFound exceptions.
6 years ago
Dan Walmsley
455c899876
Add failing unit tests.
6 years ago
Steven Kirk
dcdaf5e0bf
Don't raise ResourceChanged on reparenting...
...when the new parent isn't attached to the tree. This prevents us sending a load of useless `ResourcesChanged` events.
6 years ago