LibsocialwebTest.TestCase: defer creation of lsw_backend until set_up()
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 14 Mar 2013 15:50:06 +0000 (15:50 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 18 Mar 2013 19:08:30 +0000 (19:08 +0000)
commitfb2abc0ab8a72b346d30679df39dd217d092b676
tree2f8ab9cbe8f625761afa06ddd2745df1aaf38b3f
parente4de6c5f6dd4eb66a7519afe2d60166c0cb7f0a7
LibsocialwebTest.TestCase: defer creation of lsw_backend until set_up()

Also destroy it in tear_down(), for symmetry. Since there are only two
LSW test cases and neither of them has more than one test, we don't
need to worry much about compatibility - it's easy to check.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=695381
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Philip Withnall <philip@tecnocode.co.uk>
tests/lib/libsocialweb/test-case.vala