[folks] Use the key-file backend for writes in tests for non-writeable backends.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Use the key-file backend for writes in tests for non-writeable backends.
- Date: Fri, 26 Aug 2011 16:50:31 +0000 (UTC)
commit ef36f347ea24cfa3ea35cc5010b4e5ff4ccd878f
Author: Travis Reitter <travis reitter collabora co uk>
Date: Fri Aug 26 07:47:44 2011 -0700
Use the key-file backend for writes in tests for non-writeable backends.
We could have used the EDS backend, but this helps keep the execution
of the tests as simple as possible.
This fixes a bug in the libsocialweb aggregation test where it was
using the EDS backend from the Aggregator default but its
FOLKS_BACKEND_STORE_KEY_FILE_PATH didn't include the EDS backend, so
it had nowhere to store its linking personas.
tests/libsocialweb/Makefile.am | 1 +
tests/telepathy/Makefile.am | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/libsocialweb/Makefile.am b/tests/libsocialweb/Makefile.am
index 53fe1f7..0ae24cd 100644
--- a/tests/libsocialweb/Makefile.am
+++ b/tests/libsocialweb/Makefile.am
@@ -54,6 +54,7 @@ TESTS_ENVIRONMENT = \
GCONF_DEFAULT_SOURCE_PATH= abs_top_srcdir@/tests/data/gconf.path \
FOLKS_BACKEND_PATH=$(BACKEND_UNINST_PATH) \
FOLKS_BACKEND_STORE_KEY_FILE_PATH=$(backend_store_key_file) \
+ FOLKS_WRITEABLE_STORE=key-file \
$(RUN_WITH_PRIVATE_BUS) \
--config-file=$(SESSION_CONF) \
--
diff --git a/tests/telepathy/Makefile.am b/tests/telepathy/Makefile.am
index 9c5f935..b30229c 100644
--- a/tests/telepathy/Makefile.am
+++ b/tests/telepathy/Makefile.am
@@ -56,6 +56,7 @@ TESTS_ENVIRONMENT = \
FOLKS_BACKEND_PATH=$(BACKEND_UNINST_PATH) \
FOLKS_BACKEND_KEY_FILE_PATH=$(srcdir)/data/relationships-empty.ini \
FOLKS_BACKEND_STORE_KEY_FILE_PATH=$(backend_store_key_file) \
+ FOLKS_WRITEABLE_STORE=key-file \
$(RUN_WITH_PRIVATE_BUS) \
--config-file=$(SESSION_CONF) \
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]