[Vala] How to test async methods?



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]