tests: Assert there no errors first in gdbus-test-codegen
Before checking the properties of *_proxy
, assert that there were no
errors in constructing the proxy first. Otherwise the property checks
will crash on NULL
pointer dereferences.
The test is still intermittently buggy somewhere, but at least this commit will cause a relevant error message to be printed on failure.
Signed-off-by: Philip Withnall pwithnall@gnome.org