Make ETestServerFixture more reliable.
authorTristan Van Berkom <tristanvb@openismus.com>
Thu, 24 Jan 2013 10:02:37 +0000 (19:02 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Thu, 24 Jan 2013 10:21:23 +0000 (19:21 +0900)
commitd7119dea8462cd34d0e9fce3fb9932f540aab9d6
tree38aaec64670e663750b52c9e1ce99bfb78d45721
parenta761eade00974da17547a76d042c4e1da505c33d
Make ETestServerFixture more reliable.

Since e_source_registry_commit_source_sync() does not delay execution
until the source is actually added, use the "source-added" signal instead
to wait for the source to actually be added.

Also, created loops in the fixture test and run more iterations
(should help to catch problems with the fixture early, in case
there are still races).
tests/test-server-utils/e-test-server-utils.c
tests/test-server-utils/test-fixture.c