aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-05-31 19:57:58 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-05-31 20:02:13 -0300
commit49a31a7a8628ce041078de90b9b0ce40cfffcac1 (patch)
treef5f1991eacefdb334bf77abc43f8a043c63f909f
parenteina: Remove printfs (diff)
downloadefl-devs/lauromoura/mvvm.tar.gz
csharp: Update model testsdevs/lauromoura/mvvm
-rw-r--r--src/tests/efl_mono/Model.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/tests/efl_mono/Model.cs b/src/tests/efl_mono/Model.cs
index f95250187f..0befe19ad7 100644
--- a/src/tests/efl_mono/Model.cs
+++ b/src/tests/efl_mono/Model.cs
@@ -40,13 +40,12 @@ public static class TestModel {
var model = new Efl.GenericModel<VeggieViewModel>(veggies, loop);
Test.AssertEquals(3, (int)model.GetChildrenCount());
- VeggieViewModel r = await model.GetAtAsync(0);
-
- Test.AssertEquals(r.Name, "Tomato");
VeggieViewModel r2 = await model.GetAtAsync(1);
Test.AssertEquals(r2.Name, "Romaine Lettuce");
- Console.WriteLine ("end of test, Name of result is {0}", r.Name);
+ VeggieViewModel r = await model.GetAtAsync(0);
+ Test.AssertEquals(r.Name, "Tomato");
+
loop.End();
}
@@ -61,9 +60,9 @@ public static class TestModel {
public static void factory_test ()
{
- var factory = new Efl.Ui.ItemFactory<Efl.Object>();
- //factory.Foo();
- factory.Name().Bind("first name");
+ /* var factory = new Efl.Ui.ItemFactory<Efl.Object>(); */
+ /* //factory.Foo(); */
+ /* factory.Name().Bind("first name"); */
}
}