Merge lp:~mhr3/unity/safer-tests into lp:unity
Proposed by
Michal Hruby
on 2012-03-05
| Status: | Merged |
|---|---|
| Approved by: | Gord Allott on 2012-03-05 |
| Approved revision: | 2053 |
| Merged at revision: | 2081 |
| Proposed branch: | lp:~mhr3/unity/safer-tests |
| Merge into: | lp:unity |
| Diff against target: |
155 lines (+17/-13) 7 files modified
UnityCore/FilesystemLenses.cpp (+6/-2) tests/TestPlacesResults.cpp (+1/-1) tests/test_filesystem_lenses.cpp (+1/-1) tests/test_gdbus_proxy.cpp (+3/-3) tests/test_hud.cpp (+3/-3) tests/test_main_dbus.cpp (+1/-1) tests/test_utils.h (+2/-2) |
| To merge this branch: | bzr merge lp:~mhr3/unity/safer-tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gord Allott (community) | 2012-03-05 | Approve on 2012-03-05 | |
|
Review via email:
|
|||
Description of the Change
Makes the tests less racy by using g_timeout_add instead of the add_seconds which tries to fire multiple timeouts at once at the cost of precision. Also fixes a possible crash in the tests caused by FilesystemLenses.
To post a comment you must log in.


+1, makes tests work again :)