Wiesław Šoltés
45112f6690
Fix netcoreapp1.1 target framework build
9 years ago
Steven Kirk
e9968a7606
Make WindowBase.IsVisible show/hide window.
9 years ago
Wiesław Šoltés
fda6a892fb
Removed unused cs file
File was not included in old csproj project
9 years ago
Steven Kirk
4e719262c4
Make WindowBase.IsVisible return correct value.
`WindowBase.IsVisible` now tracks the visibility of the window. Still
needs to call `Show` and `Hide` when changed.
9 years ago
Wiesław Šoltés
e9d108a506
Fixed xml tags
9 years ago
Wiesław Šoltés
3b3266cc7c
Converted Avalonia.Visuals.UnitTests to a new project system
9 years ago
Wiesław Šoltés
105580de35
Fixed xml tag
9 years ago
Wiesław Šoltés
6b0a5c0449
Converted Avalonia.Styling.UnitTests to a new project system
9 years ago
Wiesław Šoltés
86a54ec60d
Converted Avalonia.Markup.Xaml.UnitTests to a new project system
9 years ago
Wiesław Šoltés
19f0f1d407
Removed unused files
9 years ago
Wiesław Šoltés
3495017a07
Removed project guid
9 years ago
Wiesław Šoltés
554ac50c71
Converted Avalonia.Markup.UnitTests to a new project system
9 years ago
Wiesław Šoltés
0c9df8878f
Converted Avalonia.Interactivity.UnitTests to a new project system
9 years ago
Wiesław Šoltés
8601a3e71e
Converted Avalonia.Input.UnitTests to a new project system
9 years ago
Wiesław Šoltés
ad65b6192e
Moved inports to test projects
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Steven Kirk
2734a67fdf
Fixed broken csproj.
9 years ago
Steven Kirk
42239d4498
Moved IDrawingContextImpl to Avalonia.Platform.
So it can be alongside its impl brethren.
9 years ago
Wiesław Šoltés
3a0ac21b48
Consolidated NuGet package versions
9 years ago
Wiesław Šoltés
1615b7992c
Do not include sdk framework twice
9 years ago
Wiesław Šoltés
26561a5ad4
Only include when using net461 framework
9 years ago
Wiesław Šoltés
07b5756b21
Removed non existing items
9 years ago
Wiesław Šoltés
e2489a6b28
Removed unused variable
9 years ago
Wiesław Šoltés
6d557f7819
Already included in coretests.props
9 years ago
Steven Kirk
d7703d619c
Fixed failing test.
And removed `TestServices.WindowImpl` as it was being ignored.
9 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.
9 years ago
Nikita Tsukanov
6cf037ad7c
One liners
9 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
9 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
9 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
9 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.
9 years ago
Nikita Tsukanov
886a65beaa
Use dotnet test for layout and controls tests
9 years ago
Nikita Tsukanov
dc8a32d1b1
Run Avalonia.Base.UnitTests using `dotnet test`
9 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
9 years ago
Nikita Tsukanov
b6b5b9de88
Test now compile and can be run from visual studio
9 years ago
Nikita Tsukanov
363898e658
Migrated render tests to PackageReference
9 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
9 years ago
Steven Kirk
380bd7b74f
Don't validate thread affinity for bindings.
The scheduler should ensure that bindings are called on the correct
thread.
9 years ago
Steven Kirk
609c571424
Added AspectRatio and division operator to Size.
9 years ago
Steven Kirk
64e8896144
Added Rect.Union empty tests.
9 years ago
Steven Kirk
5546ed043f
Added Rect.Union.
9 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.
9 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.
9 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
4ca0bb72b2
Added GetObservable for routed events.
Fixes #905 .
9 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
9 years ago
Nikita Tsukanov
7013033a1b
Added `Bitmap(PixelFormat format, IntPtr data, int width, int height, int stride)` constructor
9 years ago
Nikita Tsukanov
432153c006
Readd [Fact] for path tests
9 years ago
Nikita Tsukanov
026c943055
Fixed tests
9 years ago
Nikita Tsukanov
46de034f98
Don't skip tests that are passing now
9 years ago