Jeremy Koritzinsky
4ec647b870
Make our unit tests support library (Avalonia.UnitTests) target netstandard2.0 so we don't have to worry about targetting .NET Framework on linux.
8 years ago
Jeremy Koritzinsky
bc882f5b11
Add back NetFX.props framework path overriding.
8 years ago
Jeremy Koritzinsky
df593b3a80
Get leak tests running again in the build script. They were removed at some point. Also, update the tooling used and clean up the code for running them.
8 years ago
Benedikt Schroeder
a59cf3a135
New asset loader
Added unit test for wildcard
8 years ago
Benedikt Schroeder
f609c9c5d9
Cleanup
8 years ago
Benedikt Schroeder
3bec8036a7
Initial
8 years ago
Benedikt Schroeder
2c8953de97
Requested changes
8 years ago
Benedikt Schroeder
33ea1925c7
Fixed unit tests
8 years ago
Steven Kirk
1ee4fa47f9
Tweak IAssetLoader API and fix tests.
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
8 years ago
Nikita Tsukanov
fee5b4e594
Support default clr-namespace when loading XAML from Uri or previewer
8 years ago
Steven Kirk
30e78dc5b6
Only run unit tests on .net core.
This allows us to run them on linux.
8 years ago
Steven Kirk
d2e1eba876
Refactored geometry.
There were a number of problems with `Geometry` and its subclasses and platform implementations. Fix these, for more details see the PR that this commit is a part of.
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Jeremy Koritzinsky
abe1afbb01
Retarget base unit tests library (that is just included in tests) back to net461.
8 years ago
Jeremy Koritzinsky
bc3e3cb25d
Update project file for Avalonia.UnitTests to use net47 instead of net461
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Steven Kirk
e6b5df8d08
Simplified DeferredRendererTests,
9 years ago
Nikita Tsukanov
a4c9f1e400
Make ShapeLayoutTests use MockPlatformRenderInterface
9 years ago
Steven Kirk
685a509c5c
Reimplement commented-out tests.
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Steven Kirk
4a9302b61e
More work on static resources.
Also found a scenario that Portable.Xaml can't seem to handle...
9 years ago
Steven Kirk
84aa27162f
Made a start adding Control/Application.Resources.
9 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Steven Kirk
2f5d8e2d1e
Fix merge error.
9 years ago
Steven Kirk
bb11b302b8
Added failing unit test for #277 .
9 years ago
Steven Kirk
78bb593f97
Use CurrentCulture instead of CurrentUICulture.
Use `CurrentCulture` instead of `CurrentUICulture` in converters etc. `CurrentUICulture` should be used for translations, `CurrentCulture` should be used for things like numbers, dates etc.
9 years ago
Steven Kirk
309c9f7a4b
Added some LayoutManager tests.
Some passing, some failing.
9 years ago
Wiesław Šoltés
1f9426b345
Fix InvariantCultureFixture
9 years ago
Wiesław Šoltés
9247a82ea8
Updated XUnit props
9 years ago
Wiesław Šoltés
872575b9b7
Set project OutputType
9 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Wiesław Šoltés
2afd6cb224
Remove NuGet workaround
9 years ago
Andrey Kunchev
b5e290ceaf
fix build
9 years ago
Steven Kirk
7fd1adbacd
This needs to be settable.
9 years ago
Steven Kirk
96f316eca6
Removed some small diffs from master.
9 years ago
Steven Kirk
69a06e452e
Fixed some Visuals unit tests.
Ported some stuff from `scenegraph` that was missed in #956 , which fixes
some of the failing Avalonia.Visuals.UnitTests.
9 years ago
Steven Kirk
1b517903c3
Fix merge errors.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
e6cb529878
Ported immutable media impls from scenegraph.
The deferred renderer requires immutable objects for drawing as it
renders on a separate thread.
9 years ago
Steven Kirk
376535b198
Make IFormattedTextImpl immutable.
Previously `IFormattedTextImpl` had `SetForegroundBrush` which set
mutable state. Make `FormattedText` fully mutable (before it was kinda
mutable, kinda immutable) and create immutable `IFormattedTextImpl`s on
demand.
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
f8097cc27d
Added msbuild props for package references
9 years ago
Wiesław Šoltés
26561a5ad4
Only include when using net461 framework
9 years ago
Steven Kirk
d7703d619c
Fixed failing test.
And removed `TestServices.WindowImpl` as it was being ignored.
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
dc8a32d1b1
Run Avalonia.Base.UnitTests using `dotnet test`
9 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
9 years ago