summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-09-10 18:58:31 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-09-10 18:58:31 -0300
commitad48272ffe89bc3604a8c2c6fef41d1114b346b0 (patch)
tree18e6febf44feaa9dd69ce8c6eee74a49f5bfaf8e /src/tests/efl_mono
parent50a1572c093d8c2620cd4d1e9d48950fe7eeae95 (diff)
CSharp: Cleanup test that inserts idle event and do not remove it
Summary: Remove idle event after running test so it doesn't impact with other tests that run after it Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9887
Diffstat (limited to 'src/tests/efl_mono')
-rw-r--r--src/tests/efl_mono/Events.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/efl_mono/Events.cs b/src/tests/efl_mono/Events.cs
index d7da6f6..77a6dbf 100644
--- a/src/tests/efl_mono/Events.cs
+++ b/src/tests/efl_mono/Events.cs
@@ -39,6 +39,8 @@ class TestEoEvents
39 Test.Assert(listener.called); 39 Test.Assert(listener.called);
40 Test.Assert(listener.correct_sender); 40 Test.Assert(listener.correct_sender);
41 Test.AssertEquals("loop_called", loop.GetName()); 41 Test.AssertEquals("loop_called", loop.GetName());
42
43 loop.IdleEvent -= listener.callback;
42 } 44 }
43 45
44 public static void event_with_string_payload() 46 public static void event_with_string_payload()