Steven Kirk
bdc8100961
Fix failing tests.
8 years ago
Dan Walmsley
8d07861e59
white space.
8 years ago
Dan Walmsley
2c9f3ede54
fix tests and and fixes.
8 years ago
Dan Walmsley
67003577a0
Add failing unit tests for border and content presenter.
8 years ago
Steven Kirk
2d1ab0a106
Only update clip bounds when ClipToBounds = true.
Fixes #1436
8 years ago
Steven Kirk
253ff56895
Added a couple of Border CornerRadius render tests.
8 years ago
Benedikt Schroeder
27a666467c
Initial
8 years ago
sdoroff
cee1a79911
Added Unit Tests
8 years ago
Steven Kirk
e329140c04
Added failing test for #1447 .
8 years ago
Jumar Macato
fc06fa1e35
Fix skew matrix function's flipped axes + update tests.
8 years ago
Jumar Macato
0306d9475d
Added LayoutTransformControl skew tests
8 years ago
ahopper
c06ac12de7
fix d2d render tests
8 years ago
ahopper
c6a7611150
render test fixed
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
8 years ago
sdoroff
5927e7acfe
Added Unit Tests
8 years ago
Steven Kirk
53397a2aab
Added failing test for #1423 .
8 years ago
Steven Kirk
87d7f65eb8
Added failing test for #1420 .
8 years ago
Steven Kirk
7ba9d33b0e
Added extra test for Bounds/Margin.
And removed empty test.
8 years ago
Steven Kirk
f136eeccb1
Added failing test for #1408 .
8 years ago
Steven Kirk
3891cbf06d
Fixed spelling.
8 years ago
Steven Kirk
53ff0e178c
Added failing test for #1376
8 years ago
sdoroff
89b018135e
Added Unit Tests
8 years ago
sdoroff
7969749cd1
Added a unit test
8 years ago
Jeremy Koritzinsky
8817910549
Add ref-counting for the scene instance in DeferredRenderer to ensure that we don't dispose a scene while it is being rendered.
Also rename Scene.Clone to Scene.CloneScene to prevent confusion between IRef<Scene>.Clone and Scene.Clone.
8 years ago
Jeremy Koritzinsky
74f8930277
Fixed bug in TrimDrawOperations that wasn't disposing draw operations correctly.
8 years ago
sdoroff
5dce65f7b6
Created a shared DataValidationErrors framework
Moved Validation Error tracking to attached an attached property
Created an shared error indicator that can be simply added to control
templates and re-styled across all controls
This should reduce the need for code and markup duplication while
allowing for a consistent visual interface
8 years ago
Jeremy Koritzinsky
7e174a79e0
Refactored refcounting and added tests for refcount tracking in the DeferredRenderer and friends.
8 years ago
Jeremy Koritzinsky
8b97174735
Fix tests to correctly access the item of the ref-counted instance.
8 years ago
Jeremy Koritzinsky
952f89883d
Fix build errors in SceneGraph and DeferredRenderer tests.
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
7458f28ca9
Fix intermittently failing test.
Fixed in https://ci.appveyor.com/project/AvaloniaUI/Avalonia/build/0.1.4466 : this should prevent that by keeping both of the data objects alive.
8 years ago
Steven Kirk
6133837600
Locate tests directory in code.
Rather than using a hard-coded path.
8 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
8 years ago
Steven Kirk
52dcd41cd9
Don't dispose geometry impls.
We can't do this until we have ref counting infrastructure in, as the impls may still be in use by the deferred renderer.
8 years ago
Steven Kirk
589b76e9cd
Moved render tests for each platform to their own directory.
The test .cs files stay in the `Avalonia.RenderTests` directory but the D2D and Skia render test .csprojs are moved to their own directory: include the test files by using a glob in the .csproj.
This avoids the hack we were having to do to get `BaseIntermediateOutputPath` to work - we no longer have this problem as now each .csproj has its own directory, it can use the default directory for intermediate files.
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
42f0f6a23f
Added failing test for #1343 .
8 years ago
Steven Kirk
062f67cd18
Added expected test output.
8 years ago
Steven Kirk
7a60b790b0
Added failing test for #1341 .
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Steven Kirk
46bcbacc53
Fix layout in ScrollContentPresenter.
- Share common layout logic between `Border`, `ContentPresenter` and `ScrollContentPresenter`
- Added a bunch of tests for things not previously convered
- Fix `ScrollContentPresenter` child layout
8 years ago
Steven Kirk
f22994a083
Added failing test for #1065 .
Also add setter for `ScrollContentPresenter.CanScrollHorizontally`.
8 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
8 years ago
Jeremy Koritzinsky
1c12cd4bd6
Fix x64 builds of Avaloina.Direct2D1. Refactor build scripts to reduce time and fix issues.
8 years ago
Jeremy Koritzinsky
b502f48ff8
Make sure Direct2D1 Unit tests (non-render tests) run in the build.
8 years ago
Jeremy Koritzinsky
f72577cf92
Clean up test scripts
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
Jeremy Koritzinsky
ba481365f6
Enable turning off the setup check for appbuilder tests.
8 years ago