diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-02-06 01:36:14 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-02-15 22:00:20 +0300 |
commit | 355df8e4454ce135c27c9b46129bec4df418c2ce (patch) | |
tree | 913453b7e024d3a6b52cf0e2553cbb00c2c2b2f1 /Xamarin.PropertyEditing.Tests | |
parent | a80530347a2640e599849cf8da2ab4d77e5515cd (diff) |
[Tests] Fix CanDelve test
Diffstat (limited to 'Xamarin.PropertyEditing.Tests')
-rw-r--r-- | Xamarin.PropertyEditing.Tests/ObjectPropertyViewModelTests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Tests/ObjectPropertyViewModelTests.cs b/Xamarin.PropertyEditing.Tests/ObjectPropertyViewModelTests.cs index 193bc09..ef3e438 100644 --- a/Xamarin.PropertyEditing.Tests/ObjectPropertyViewModelTests.cs +++ b/Xamarin.PropertyEditing.Tests/ObjectPropertyViewModelTests.cs @@ -179,7 +179,7 @@ namespace Xamarin.PropertyEditing.Tests } [Test] - public void CanDelve () + public async Task CanDelve () { object value = new object(); @@ -189,6 +189,7 @@ namespace Xamarin.PropertyEditing.Tests var editor = new MockObjectEditor (new[] { p.Object }, new Dictionary<IPropertyInfo, IReadOnlyList<ITypeInfo>> { { p.Object, new[] { childsubInfo } } }); + await editor.SetValueAsync (p.Object, new ValueInfo<object> { Value = value, Source = ValueSource.Local }); var providerMock = CreateProviderMock (value, new MockObjectEditor { Target = value }); |