Steven Kirk
2edcdb8656
MouseDevice now exposed on TopLevel.
9 years ago
Steven Kirk
2f5d8e2d1e
Fix merge error.
9 years ago
Nikita Tsukanov
97b01f097e
Dead code
9 years ago
Nikita Tsukanov
9134723eef
Dead code elimination
9 years ago
Nikita Tsukanov
880e850000
Fixed build
9 years ago
Nikita Tsukanov
cce1c7af60
Switched to nuget version of Portable.Xaml and updated to use netstandard1.3
9 years ago
Nikita Tsukanov
1da031881c
I'm starting to *really* hate the new SDK
9 years ago
Nikita Tsukanov
c4aae602e8
Updated dotmemory
9 years ago
Steven Kirk
2a748fec91
Newly merged tests must be async.
9 years ago
Nikita Tsukanov
2d23cab586
Fixed Skia framebuffer bitmap test
9 years ago
Steven Kirk
7a5e9010a3
Added another passing ImageBrush test.
This tests what I though was a bug in #874 but comparing with WPF, it seems this is correct behavior.
9 years ago
Steven Kirk
730911fc0d
Added a couple more passing tile tests.
9 years ago
Steven Kirk
c4aa2197b2
Fixed TreeView navigation.
Fixes #277 .
9 years ago
Steven Kirk
bb11b302b8
Added failing unit test for #277 .
9 years ago
Steven Kirk
48f0c05522
Fix BindingNotification.ClearValue.
It should have been setting it to `UnsetValue` not null. This allows two skipped tests to pass.
9 years ago
Steven Kirk
129378cad1
Added more GC.KeepAlive statements.
9 years ago
Steven Kirk
ef1039b865
Unskip another test.
9 years ago
Steven Kirk
3b3fbdbbd6
Use `DisableTestParallelization`
Instead of `MaxParallelThreads = 1` - that's how we do it in other assemblies.
9 years ago
Steven Kirk
7baa7dc0dd
Added GC.KeepAlive to tests.
Lots of `Avalonia.Markup.UnitTests` were failing intermittently. This is because in release mode, in a method like this:
```
[Fact]
public void SetValue_Should_Return_False_For_Missing_Object()
{
var data = new Class1();
var target = new ExpressionObserver(data, "Next.Bar");
using (target.Subscribe(_ => { }))
{
Assert.False(target.SetValue("baz"));
}
}
```
`data` can get GC'ed at any point after creating target. Added `GC.KeepAlive()` calls to prevent this.
Fixes #1035
Fixes #1036
Fixes #1037
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
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