{
base ("AddContactsStressTestTests");
- this._eds_backend = new EdsTest.Backend ();
-
var test_desc = "stress testing adding (%d) contacts to e-d-s ".printf (
this._contacts_cnt);
this.add_test (test_desc, this.test_add_contacts);
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("AddPersonaTests");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("test adding a persona to e-d-s ", this.test_add_persona);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("AvatarDetails");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("avatar details interface", this.test_avatar);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("EmailDetails");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("email details interface", this.test_email_details);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("ImDetailsTests");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("test im details interface",
this.test_im_details_interface);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("IndividualRetrieval");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("singleton individuals", this.test_singleton_individuals);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("NameDetails");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("name details interface", this.test_names);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("PhoneDetails");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("phone details interface", this.test_phone_numbers);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("PostalAddressDetailsTests");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("test postal address details interface",
this.test_postal_address_details_interface);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("RemovePersonaTests");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("test removing personas from e-d-s ",
this.test_remove_persona);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("IndividualRetrieval");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("removing contact", this.test_removal);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetAvatar");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting avatar on e-d-s persona", this.test_set_avatar);
this.add_test ("setting avatar on e-d-s individual",
this.test_set_individual_avatar);
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetBirthday");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting birthday on an e-d-s persona",
this.test_set_birthday);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetEmails");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting emails on e-d-s persona", this.test_set_emails);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetGender");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting gender on e-d-s persona",
this.test_set_gender);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetIMAddresses");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting im addresses on e-d-s persona",
this.test_set_im_addresses);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetIsFavourite");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting is favourite on e-d-s persona",
this.test_set_favourite);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetNames");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting full name on e-d-s persona",
this.test_set_names);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetNotes");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting notes name on e-d-s persona",
this.test_set_notes);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetPhones");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting phones on e-d-s persona", this.test_set_phones);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetPostalAddresses");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting postal addresss on e-d-s persona",
this.test_set_postal_addresses);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetPropertiesRace");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting postal addresss on e-d-s persona",
this.test_set_postal_addresses);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetRoles");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting roles on e-d-s persona",
this.test_set_roles);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetStructuredName");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting structured name on e-d-s persona",
this.test_set_structured_name);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("SetUrls");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("setting urls on e-d-s persona",
this.test_set_urls);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("StoreRemoved");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("single store", this.test_single_store);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
{
base ("UpdatingContacts");
- this._eds_backend = new EdsTest.Backend ();
-
this.add_test ("updating contact", this.test_updates);
}
public override void set_up ()
{
+ this._eds_backend = new EdsTest.Backend ();
this._eds_backend.set_up ();
+
+ /* We configure eds as the primary store */
+ var config_val = "eds:%s".printf (this._eds_backend.address_book_uid);
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", config_val, true);
}
public override void tear_down ()
TESTS_ENVIRONMENT = \
FOLKS_BACKEND_PATH=$(BACKEND_UNINST_PATH) \
FOLKS_BACKEND_STORE_KEY_FILE_PATH=$(backend_store_key_file) \
+ FOLKS_PRIMARY_STORE=key-file \
$(NULL)
TESTS = $(noinst_PROGRAMS)
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_PRIMARY_STORE=key-file \
+ FOLKS_PRIMARY_STORE= \
$(RUN_WITH_PRIVATE_BUS) \
--config-file=$(SESSION_CONF) \
--
public override void set_up ()
{
+ /* Ensure we have a primary store for linking */
+ Environment.set_variable ("FOLKS_PRIMARY_STORE", "key-file", true);
+
/* Initialize an empty key file for the relationships*/
var kf_relationships_path = Path.build_filename (
Environment.get_tmp_dir (),
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_PRIMARY_STORE=key-file \
+ FOLKS_PRIMARY_STORE= \
$(RUN_WITH_PRIVATE_BUS) \
--config-file=$(SESSION_CONF) \
--