summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/efl_mono/Structs.cs17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/tests/efl_mono/Structs.cs b/src/tests/efl_mono/Structs.cs
index 151bc8388d..334057c907 100644
--- a/src/tests/efl_mono/Structs.cs
+++ b/src/tests/efl_mono/Structs.cs
@@ -499,15 +499,14 @@ internal class TestStructTuples
499#if EFL_BETA 499#if EFL_BETA
500 public static void test_complex_fields_assign_conversion() { 500 public static void test_complex_fields_assign_conversion() {
501 var pos = new Eina.Position2D(1, 2); 501 var pos = new Eina.Position2D(1, 2);
502 var action = Efl.Ui.SelectionAction.Unknown; 502 uint seat = 3;
503 var format = Efl.Ui.SelectionFormat.None; 503 var types = new System.String[] {"text", "markup"};
504 var item = null as Efl.Canvas.Vg.Object; 504
505 505 Efl.Ui.DropEvent attr = (pos, seat, types);
506 Efl.Dnd.DragPos attr = (pos, action, format, item); 506 Test.AssertEquals(attr.Position, pos);
507 Test.AssertEquals(attr.Pos, pos); 507 Test.AssertEquals(attr.Seat, seat);
508 Test.AssertEquals(attr.Action, action); 508 Test.AssertEquals(attr.AvailableTypes.ElementAt(0), types[0]);
509 Test.AssertEquals(attr.Format, format); 509 Test.AssertEquals(attr.AvailableTypes.ElementAt(1), types[1]);
510 Test.AssertEquals(attr.Item, item);
511 } 510 }
512#endif 511#endif
513} 512}