gcr: Make prompter tests work properly, add debugging
authorStef Walter <stefw@collabora.co.uk>
Mon, 31 Oct 2011 16:43:54 +0000 (17:43 +0100)
committerStef Walter <stefw@collabora.co.uk>
Tue, 13 Dec 2011 20:45:09 +0000 (21:45 +0100)
commitcf51303c1b38857d3aa04cece982d6e8e58fea5a
tree260d2fc3ebba66e7dc533c68b777a5877c8833d9
parent4edd77e47f1f6ee6ed138a4d3f4f06cd5896cafa
gcr: Make prompter tests work properly, add debugging

 * Run mock prompter in a separate thread to fix blocking
   and concurrency issues.
 * Run tests in in the main process thread
 * Add more debugging output
12 files changed:
.gitignore
egg/egg-error.h
egg/egg-testing.c
egg/egg-testing.h
gcr/gcr-mock-prompter.c
gcr/gcr-mock-prompter.h
gcr/gcr-system-prompt.c
gcr/gcr-system-prompt.h
gcr/gcr-system-prompter.c
gcr/gcr-system-prompter.h
gcr/tests/frob-system-prompt.c [new file with mode: 0644]
gcr/tests/test-system-prompt.c [new file with mode: 0644]