Steven Kirk
ee40eee9e9
Merge branch 'fixes/1035-reenable-skipped-tests' into fixes/1029-fix-tooltip-crash
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
a579dcc1f7
Merge branch 'master' into fixes/1029-fix-tooltip-crash
9 years ago
Steven Kirk
8df47eda2d
Merge pull request #1011 from AvaloniaUI/fixes/938-button-press-release
Only click when pointer is over the button.
9 years ago
Steven Kirk
bb51776b36
Merge branch 'master' into fixes/938-button-press-release
9 years ago
Steven Kirk
a75dfb63a1
Merge branch 'master' into fixes/1029-fix-tooltip-crash
9 years ago
Steven Kirk
fc1308ef98
Merge pull request #1034 from AvaloniaUI/fixes/1033-dont-use-weakreference-in-bindingnotification
Don't use WeakReference in BindingNotification.
9 years ago
Steven Kirk
f59e080936
Merge branch 'master' into fixes/1033-dont-use-weakreference-in-bindingnotification
9 years ago
Steven Kirk
488d6e908f
Merge pull request #1019 from wieslawsoltes/FixInvariantCultureFixture
Fix invariant culture fixture
9 years ago
Steven Kirk
bcc3ca13ae
Don't use WeakReference in BindingNotification.
It's a bad idea - if you put say a `3` into a `BindingNotification`, that `int` will get boxed and then put into a `WeakReference`, which means that the `3` can get GC'd. That's not a desireable behavior!
9 years ago
Steven Kirk
b2a6890167
Merge branch 'master' into FixInvariantCultureFixture
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
Jeremy Koritzinsky
53a4944123
Merge branch 'master' into fixes/938-button-press-release
9 years ago
Steven Kirk
82483d7dec
Fix exception in ToolTip.
Make sure old `ToolTip` is disposed before showing a new one.
9 years ago
Steven Kirk
cfcdeff547
Merge pull request #1021 from AvaloniaUI/fixup-layout-manager
Fix up the Layout Manager
9 years ago
Steven Kirk
ac4147ae7c
Merge branch 'master' into fixup-layout-manager
9 years ago
Nikita Tsukanov
ad76a075f9
Use Cake 0.18.0
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
Nikita Tsukanov
60e7aa3647
Merge pull request #1022 from ForNeVeR/feature/windows-interop-skiasharp
Add SkiaSharp dependency to WindowsInteropTest
9 years ago
Friedrich von Never
cd8ddf31a6
WindowsInteropTest: add SkiaSharp dependency
9 years ago
Steven Kirk
18f9e2840d
Explain the algoithm a bit.
9 years ago
Steven Kirk
a1d46a7784
Use a stack instead of HashSet.
Controls that are already invalid will not invalidate themselves again to with the `LayoutManager`, so we don't need to worry about duplicates.
9 years ago
Steven Kirk
f97ebe961b
Fixed some stupid mistakes in algorithm.
9 years ago
Steven Kirk
9da4e5b112
Merge branch 'benchmarks' into fixup-layout-manager
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
87293d80bb
Merge remote-tracking branch 'refs/remotes/AvaloniaUI/master'
9 years ago
Nikita Tsukanov
eb5ac5bca6
Update Moq
9 years ago
Nikita Tsukanov
3ed7d8e617
Merge pull request #1017 from wieslawsoltes/EnableNetCoreUnitTests
Enable Net-Core unit tests
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
72ab1e060b
Create build.cake
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