GNOME Bugzilla – Bug 735921
Test suite fixes/improvements
Last modified: 2014-09-03 08:58:46 UTC
A bunch of fixes for failing test cases, or leak/warning fixes.
Created attachment 285177 [details] [review] tests: Don't call g_type_init() on newer glib This is deprecated and causes a compile warning
Created attachment 285178 [details] [review] tests: Don't call soup_message_headers_get with newer libsoup This is deprecated and causes compile-time warnings
Created attachment 285179 [details] [review] tests: Remove unused 'session' variable
Created attachment 285180 [details] [review] tests: Remove more unused variables/code
Created attachment 285181 [details] [review] tests/oauth: Use oauthbin.com as the test server The tests used to use term.ie which is gone. There are still some intermittent failures when running the tests, sometimes the test is successful, sometimes it's not :(
Created attachment 285182 [details] [review] tests/lastfm: Fix memory leak
Created attachment 285183 [details] [review] tests/proxy: Fix memory leaks
Created attachment 285184 [details] [review] tests/proxy: Make sure GError is unset when call succeeds
Review of attachment 285177 [details] [review]: ack
Review of attachment 285178 [details] [review]: ack
Review of attachment 285179 [details] [review]: ack
Review of attachment 285180 [details] [review]: ack
Review of attachment 285181 [details] [review]: who is maintaining oauthbin? Isn't there other more popular oauth server that could be used? (I don't know much about oauth)
Review of attachment 285182 [details] [review]: ack
Review of attachment 285184 [details] [review]: ack
Review of attachment 285183 [details] [review]: ack
Review of attachment 285181 [details] [review]: No clue, oauthbin is the first test oauth server I could find (ie hardcoded credentials, ping service). Most of the other hits I got were about deploying myself some php oauth code from google code. I'd expect most real oauth server to have switched to oauth2 by now.
Attachment 285177 [details] pushed as c81d89c - tests: Don't call g_type_init() on newer glib Attachment 285178 [details] pushed as ec8fffc - tests: Don't call soup_message_headers_get with newer libsoup Attachment 285179 [details] pushed as 752c645 - tests: Remove unused 'session' variable Attachment 285180 [details] pushed as 9ecd36a - tests: Remove more unused variables/code Attachment 285181 [details] pushed as 6942de4 - tests/oauth: Use oauthbin.com as the test server Attachment 285182 [details] pushed as 75b2da5 - tests/lastfm: Fix memory leak Attachment 285183 [details] pushed as 0ad11f0 - tests/proxy: Fix memory leaks Attachment 285184 [details] pushed as 92a0634 - tests/proxy: Make sure GError is unset when call succeeds