[Vala] How to test async methods?
- From: "marcin saepia net" <marcin saepia net>
- To: vala <vala-list gnome org>
- Subject: [Vala] How to test async methods?
- Date: Tue, 16 Feb 2016 13:19:10 +0000
Hello,
I need some advice on testing async methods.
When I run .begin() in the isolated test suite (where mainloop is not
running) it seems that .end() callback never gets called.
What is the best way to trigger running async methods? Should I just spawn
mainloop on purpose or is there any clearer way to do this?
Thank you in advance,
Marcin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]