Wiesław Šoltés
26561a5ad4
Only include when using net461 framework
10 years ago
Wiesław Šoltés
07b5756b21
Removed non existing items
10 years ago
Wiesław Šoltés
e2489a6b28
Removed unused variable
10 years ago
Wiesław Šoltés
6d557f7819
Already included in coretests.props
10 years ago
Andrey Kunchev
1f530c20f4
minor refactorings
10 years ago
Steven Kirk
d7703d619c
Fixed failing test.
And removed `TestServices.WindowImpl` as it was being ignored.
10 years ago
Steven Kirk
65dd1a423b
Use the default compile items in unit tests.
For the tests that have been ported to .net core at least.
10 years ago
Andrey Kunchev
f7bba472e4
tests for Grid Row and Col definitions
10 years ago
Andrey Kunchev
895cdb4b14
ensure style include is built from Markup extension
10 years ago
Nikita Tsukanov
6cf037ad7c
One liners
10 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
10 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
10 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
10 years ago
Andrey Kunchev
ac976a30bb
fixed review comments
10 years ago
Steven Kirk
65f9fe67f7
Added a set of immutable brushes.
Make `SolidColorBrush` immutable, but make the static `Brushes`
properties return immutable brushes. The immutable brushes will be
needed by the deferred renderer.
10 years ago
Steven Kirk
c3f71bc1c6
Added tests for stream binding operator in XAML.
10 years ago
Andrey Kunchev
824429b049
2 more unit test for parsing avalonia properties without getter or setter
10 years ago
Nikita Tsukanov
886a65beaa
Use dotnet test for layout and controls tests
10 years ago
Nikita Tsukanov
dc8a32d1b1
Run Avalonia.Base.UnitTests using `dotnet test`
10 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
10 years ago
Andrey Kunchev
e7de0aeb2e
added 2 more tests for creation order in xaml
10 years ago
Nikita Tsukanov
b6b5b9de88
Test now compile and can be run from visual studio
10 years ago
Andrey Kunchev
84ac0cec54
added failing test for 2 way binding to IList avalonia property
10 years ago
Nikita Tsukanov
363898e658
Migrated render tests to PackageReference
10 years ago
Andrey Kunchev
245992abc6
fix build for resource tests
10 years ago
Andrey Kunchev
ff5a8459c7
clean up and skip portable xaml failing test for xaml creation order, it's not valid for portable xaml context
10 years ago
Andrey Kunchev
fcca312f0e
comment omnixaml specific code with #ifdef
10 years ago
Andrey Kunchev
a010d5c37a
use Delayed Bindings for all properties except datacontext
10 years ago
donandren
9d93b83fa6
WIP: really cache xaml types and props and other and other minor things
10 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
10 years ago
donandren
8b468c174c
fix AvaloniaPropertyConverter Tests, added attached property binding test, fixed some tests, simplified others
10 years ago
donandren
0e99ccce5f
added some more tests for xaml parsing of binding/multibinding/attached
10 years ago
donandren
e6cd080081
support Attached property in property type converter
10 years ago
donandren
cb4fcfb602
added test for complex style and Panel in control template
10 years ago
donandren
1a424e3ac2
add test for panel children set from xaml
10 years ago
donandren
55c6383a21
tempalte binding in control template operational
10 years ago
donandren
1ec99deaf6
some simple tests for bindind, tempaltebinding and control template
10 years ago
donandren
dec6fb2e88
solution/project configurations for Omnixaml
10 years ago
donandren
f73b3cc54f
fix style resources instantiation in portable.xaml
10 years ago
donandren
0c5e42e078
use portable.xaml as project reference
10 years ago
donandren
d59e5078d4
added tests for using type converters
10 years ago
donandren
1948fff8de
named control added to namescope tests
10 years ago
donandren
851b97ac58
Added some simple tests for Content control and datatemplate
10 years ago
Steven Kirk
380bd7b74f
Don't validate thread affinity for bindings.
The scheduler should ensure that bindings are called on the correct
thread.
10 years ago
Steven Kirk
609c571424
Added AspectRatio and division operator to Size.
10 years ago
Steven Kirk
64e8896144
Added Rect.Union empty tests.
10 years ago
Steven Kirk
5546ed043f
Added Rect.Union.
10 years ago
Steven Kirk
a5f03f7a89
Don't need to pass visual brush renderer when creating render target.
10 years ago
Steven Kirk
f6dee9eab4
Add interfaces for all brush types.
Also:
- Change `GradientBrush.GradientStops` to be a readonly list, as changes
to it would have been ignored anyway.
- Fix typo in ImageBrush filename.
10 years ago
Steven Kirk
a46be4e200
Ensure correct thread for AvaloniaProperty access.
Previously we ensured that `AvaloniaObject.SetValue` was run on the main
thread. This makes sure that `GetValue`, `IsSet` and `ClearValue` are
also run on the main thread. Unit testing this turned out to be more
complicated than expected, because `Dispatcher` keeps a hold of a
reference to the first `IPlatformThreadingInterface` it sees, so made
`UnitTestApplication` able to notify `Dispatcher` that it should update
its services.
10 years ago