diff options
Diffstat (limited to 'src/tests/efl_mono/Model.cs')
-rw-r--r-- | src/tests/efl_mono/Model.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests/efl_mono/Model.cs b/src/tests/efl_mono/Model.cs index bb6ba3b01c..bdf30b341d 100644 --- a/src/tests/efl_mono/Model.cs +++ b/src/tests/efl_mono/Model.cs @@ -3,6 +3,7 @@ using System; using System.Threading.Tasks; using System.Diagnostics.CodeAnalysis; +using Efl.Ui; #if EFL_BETA @@ -41,7 +42,7 @@ public static class TestModel { var veggies = CreateModel(loop); var model = new Efl.GenericModel<VeggieViewModel>(veggies, loop); - Test.AssertEquals(3, (int)model.GetChildrenCount()); + Test.AssertEquals(3, (int)model.ChildrenCount); VeggieViewModel r2 = await model.GetAtAsync(1).ConfigureAwait(false); Test.AssertEquals(r2.Name, "Romaine Lettuce"); @@ -68,11 +69,11 @@ public static class TestModel { { string propertyBound = null; bool callbackCalled = false; - var parent = new Efl.Ui.Win(null); + var parent = new Efl.Ui.Win(null, "", ""); parent.Visible = false; var factory = new Efl.Ui.ItemFactory<Efl.Ui.Button>(parent); factory.PropertyBoundEvent += (object sender, Efl.Ui.PropertyBindPropertyBoundEventArgs args) => { - propertyBound = args.arg; + propertyBound = args.Arg; callbackCalled = true; }; |