Steven Kirk
11586a4d4c
Don't have async void tests.
That's bad. Also un-skip binding expression tests.
9 years ago
Steven Kirk
af50118162
Added missing method.
Why didn't you notice that before, VS?
9 years ago
Steven Kirk
a232b137b5
Allow reuse of existing tooltip popup.
To do this, had to fix a problem where templated children weren't notified of being re-attached to a logical tree.
9 years ago
Steven Kirk
0d492ca16a
Update ContentPresenter when ContentTemplate changed.
9 years ago
Steven Kirk
1150af791c
Reworked how ContentPresenter child is updated.
Update immediately when attached to a logical tree. Also separate tests for different scenarios.
9 years ago
Steven Kirk
daf59b8497
Start/stop the renderer on window show/hide.
9 years ago
Steven Kirk
0f81420ee2
Don't remove root layer when hiding root.
9 years ago
Steven Kirk
024573ddd5
Removed bad project references.
9 years ago
Steven Kirk
40c342989b
Assert control invalidation behavior.
Controls not attached to the visual tree should not notify the `LayoutManager` that they have had their layout invalidated. Similarly when added to the visual tree their parents and themselves should have their layout invalidated.
9 years ago
Steven Kirk
ac3ca7ca29
Make LayoutManager pass new tests.
9 years ago
Steven Kirk
309c9f7a4b
Added some LayoutManager tests.
Some passing, some failing.
9 years ago
Steven Kirk
684020ae2d
Updated benchmarks
- Update BenchmarkDotNet
- Added measure benchmark
- Add memory diagnoser
9 years ago
Wiesław Šoltés
9450cbe4fd
Skip failing Moq tests
9 years ago
Wiesław Šoltés
8b0ebc135e
Skip failing Moq tests
9 years ago
Wiesław Šoltés
1f9426b345
Fix InvariantCultureFixture
9 years ago
Wiesław Šoltés
13822754a9
Fix duplicate 'CollectionBehavior' attribute
9 years ago
Wiesław Šoltés
b79fc889eb
Fix duplicate 'CollectionBehavior' attribute
[skip ci]
9 years ago
Wiesław Šoltés
d8c009b734
Fix duplicate 'CollectionBehavior' attribute
[skip ci]
9 years ago
Wiesław Šoltés
0d01ffcea0
Limit Tasks to a single thread
[skip ci]
9 years ago
Wiesław Šoltés
788c4558c9
Limit Tasks to a single thread
[skip ci]
https://github.com/xunit/xunit/issues/244#issuecomment-68325962
9 years ago
Wiesław Šoltés
a07ae6e7ca
Limit Tasks to a single thread
https://github.com/xunit/xunit/issues/244#issuecomment-68325962
9 years ago
Wiesław Šoltés
3db4a5826c
Skip tests as results are not consistent
9 years ago
Wiesław Šoltés
bd3b34c0c8
Fix .NETCoreApp,Version=v1.1 tests
9 years ago
Wiesław Šoltés
91aaf87a36
Remove NET461 specific assert
9 years ago
Wiesław Šoltés
dc92cd95ac
Fix NET461 tests
9 years ago
Wiesław Šoltés
3ee2d9425f
Fix expected exception message
9 years ago
Wiesław Šoltés
bb117a7952
Set CurrentUICulture for tests
9 years ago
Wiesław Šoltés
66d5d70784
Use InvariantCulture same as for other tests
[skip ci]
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
Steven Kirk
3e8587348d
Change ILockedFrameBuffer.Dpi to Vector.
`ILockedFrameBuffer.Dpi` was a `Size` but it would make more sense as a `Vector` because `Size * Vector` produces a `Size` whereas a `Size * Size` would produce a `Size3D` if that type existed.
9 years ago
Steven Kirk
e015ef07bf
Remove ReactiveUI dependency from DevTools.
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Steven Kirk
5a819c1c87
Make Window.OpenWindows readonly
And hack around the fact that it's static in unit tests.
9 years ago
Steven Kirk
fb25645aed
Fixed expected skia output.
9 years ago
Steven Kirk
a7ff93450e
Fixed problems with Windows.OpenWindows.
- Showing a window was causing it to be added to the collection twice because `Show()` called `IsVisible = true` which called `Show()`
- The window wasn't getting removed when the `PlatformImpl` signalled it was closed
9 years ago
Steven Kirk
27ec199a3d
Added failing custom render tests.
Deferred rendering does not yet support geometry clipping or opacity masks from `Visual.Render`.
9 years ago
Steven Kirk
d6342e906a
Adjusted expected test output.
The output images were off-center.
9 years ago
Steven Kirk
7e1efb33e2
Added failing render test.
Deferred rendering does not yet support clipping in `Visual.Render`.
9 years ago
Steven Kirk
3ce2479489
Implemented deferred opacity drawing.
9 years ago
Steven Kirk
1c42bbf644
Added failing custom renderer test.
Deferred rendering does not yet support opacity from `Visual.Render`.
9 years ago
Steven Kirk
15c3ef499b
Added failing test for #993 .
10 years ago
Wiesław Šoltés
2afd6cb224
Remove NuGet workaround
10 years ago
Andrey Kunchev
b798e3ffd4
fix unit test for SolidColorBrush
10 years ago
Andrey Kunchev
b5e290ceaf
fix build
10 years ago
Steven Kirk
7fd1adbacd
This needs to be settable.
10 years ago
Steven Kirk
96f316eca6
Removed some small diffs from master.
10 years ago
Steven Kirk
153a4532ae
Added failing test for #886 .
10 years ago
Steven Kirk
c9e90fd7fc
Fix type conversions.
They were not correct before. Also clarified the two types of
conversions:
- `TryConvertImplicit` implements the implicit conversions allowed by
the C# language
- `TryConvert` tries every means at its disposal to convert a value to a
type
`AvaloniaObject` uses only implicit conversions. This allows one to
write:
```
var control = new TextBlock
{
[Canvas.TopProperty] = 10
}
```
Without implicit conversions, this would fail because `Canvas.Top` is a
`double` whereas `10` is an `int`, however only implicit conversions
should be used here, otherwise the following would pass, which is
probably not what would be wanted:
```
var control = new TextBlock
{
[TextBlock.TextProperty] = observable, // Text is now the type name of
`observable`
}
```
`DefaultValueConverter` uses `TryConvert`, i.e. every conversion
possible.
Fixes #972 .
10 years ago
Steven Kirk
5f845632ce
Undo bad merge of csproj.
Not sure how these changes got made.
10 years ago