/* add-persona.c generated by valac 0.13.4, the Vala compiler
 * generated from add-persona.vala, do not modify */

/*
 * Copyright (C) 2011 Collabora Ltd.
 *
 * This library is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Authors: Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
 *
 */

#include <glib.h>
#include <glib-object.h>
#include <folks-test.h>
#include <eds-test.h>
#include <folks/folks.h>
#include <stdlib.h>
#include <string.h>
#include <folks/folks-eds.h>
#include <gio/gio.h>
#include <gee.h>


#define TYPE_ADD_PERSONA_TESTS (add_persona_tests_get_type ())
#define ADD_PERSONA_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ADD_PERSONA_TESTS, AddPersonaTests))
#define ADD_PERSONA_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ADD_PERSONA_TESTS, AddPersonaTestsClass))
#define IS_ADD_PERSONA_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ADD_PERSONA_TESTS))
#define IS_ADD_PERSONA_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ADD_PERSONA_TESTS))
#define ADD_PERSONA_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ADD_PERSONA_TESTS, AddPersonaTestsClass))

typedef struct _AddPersonaTests AddPersonaTests;
typedef struct _AddPersonaTestsClass AddPersonaTestsClass;
typedef struct _AddPersonaTestsPrivate AddPersonaTestsPrivate;
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _eds_test_backend_unref0(var) ((var == NULL) ? NULL : (var = (eds_test_backend_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _AddPersonaTestsTestAddPersonaAsyncData AddPersonaTestsTestAddPersonaAsyncData;
#define __vala_GValue_free0(var) ((var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL)))
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
typedef struct _AddPersonaTestsAddPersonaData AddPersonaTestsAddPersonaData;
typedef struct _AddPersonaTestsCheckPropertiesData AddPersonaTestsCheckPropertiesData;

struct _AddPersonaTests {
	FolksTestCase parent_instance;
	AddPersonaTestsPrivate * priv;
};

struct _AddPersonaTestsClass {
	FolksTestCaseClass parent_class;
};

struct _AddPersonaTestsPrivate {
	GMainLoop* _main_loop;
	EdsTestBackend* _eds_backend;
	FolksIndividualAggregator* _aggregator;
	gchar* _persona_fullname;
	gchar* _email_1;
	EdsfPersonaStore* _pstore;
	gboolean _added_persona;
	GStaticRecMutex __lock__added_persona;
	GHashTable* _properties_found;
	gchar* _avatar_path;
	gchar* _im_addr_1;
	gchar* _im_addr_2;
	gchar* _phone_1;
	gchar* _phone_2;
	FolksPostalAddressFieldDetails* _address;
	gchar* _po_box;
	gchar* _locality;
	gchar* _postal_code;
	gchar* _street;
	gchar* _extension;
	gchar* _country;
	gchar* _region;
	gchar* _family_name;
	gchar* _given_name;
	gchar* _note;
	FolksIndividual* _individual_received;
};

struct _AddPersonaTestsTestAddPersonaAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	AddPersonaTests* self;
	FolksBackendStore* _tmp0_;
	FolksBackendStore* store;
	FolksIndividualAggregator* _tmp1_;
	FolksIndividualAggregator* _tmp2_;
	FolksIndividualAggregator* _tmp3_;
	GeeMap* _tmp4_;
	GeeMap* _tmp5_;
	GeeCollection* _tmp6_;
	GeeCollection* _tmp7_;
	GeeCollection* _tmp8_;
	GeeIterator* _tmp9_;
	GeeIterator* _tmp10_;
	GeeIterator* _backend_it;
	GeeIterator* _tmp11_;
	gboolean _tmp12_;
	GeeIterator* _tmp13_;
	gpointer _tmp14_;
	FolksBackend* backend;
	FolksBackend* _tmp15_;
	GeeMap* _tmp16_;
	GeeMap* _tmp17_;
	gpointer _tmp18_;
	EdsfPersonaStore* _tmp19_;
	EdsfPersonaStore* _tmp20_;
	EdsfPersonaStore* _tmp21_;
	GError* e;
	GError* _tmp22_;
	const gchar* _tmp23_;
	GError * _inner_error_;
};

struct _AddPersonaTestsAddPersonaData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	AddPersonaTests* self;
	GHashFunc _tmp0_;
	GEqualFunc _tmp1_;
	GHashTable* _tmp2_;
	GHashTable* details;
	GValue _tmp3_;
	GValue _tmp4_;
	GValue* _tmp5_;
	GValue* _tmp6_;
	GValue* v1;
	GValue* _tmp7_;
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	gchar* _tmp10_;
	GValue* _tmp11_;
	GValue _tmp12_;
	GValue _tmp13_;
	GValue* _tmp14_;
	GValue* _tmp15_;
	GValue* v2;
	GeeHashSet* _tmp16_;
	GeeHashSet* emails;
	const gchar* _tmp17_;
	FolksEmailFieldDetails* _tmp18_;
	FolksEmailFieldDetails* email_1;
	const gchar* _tmp19_;
	GValue* _tmp20_;
	const gchar* _tmp21_;
	gchar* _tmp22_;
	GValue* _tmp23_;
	GValue _tmp24_;
	GValue _tmp25_;
	GValue* _tmp26_;
	GValue* _tmp27_;
	GValue* v3;
	const gchar* _tmp28_;
	GFile* _tmp29_;
	GFile* _tmp30_;
	GFileIcon* _tmp31_;
	GFileIcon* _tmp32_;
	GFileIcon* avatar;
	GValue* _tmp33_;
	const gchar* _tmp34_;
	gchar* _tmp35_;
	GValue* _tmp36_;
	GValue _tmp37_;
	GValue _tmp38_;
	GValue* _tmp39_;
	GValue* _tmp40_;
	GValue* v4;
	GeeHashMultiMap* _tmp41_;
	GeeHashMultiMap* im_fds;
	const gchar* _tmp42_;
	FolksImFieldDetails* _tmp43_;
	FolksImFieldDetails* _tmp44_;
	const gchar* _tmp45_;
	FolksImFieldDetails* _tmp46_;
	FolksImFieldDetails* _tmp47_;
	const gchar* _tmp48_;
	gchar* _tmp49_;
	GValue* _tmp50_;
	GValue _tmp51_;
	GValue _tmp52_;
	GValue* _tmp53_;
	GValue* _tmp54_;
	GValue* v5;
	GeeHashSet* _tmp55_;
	GeeHashSet* phones;
	const gchar* _tmp56_;
	FolksPhoneFieldDetails* _tmp57_;
	FolksPhoneFieldDetails* phone_1;
	const gchar* _tmp58_;
	const gchar* _tmp59_;
	FolksPhoneFieldDetails* _tmp60_;
	FolksPhoneFieldDetails* phone_2;
	const gchar* _tmp61_;
	GValue* _tmp62_;
	const gchar* _tmp63_;
	gchar* _tmp64_;
	GValue* _tmp65_;
	GValue _tmp66_;
	GValue _tmp67_;
	GValue* _tmp68_;
	GValue* _tmp69_;
	GValue* v6;
	GeeHashSet* _tmp70_;
	GeeHashSet* pa_fds;
	const gchar* _tmp71_;
	const gchar* _tmp72_;
	const gchar* _tmp73_;
	const gchar* _tmp74_;
	const gchar* _tmp75_;
	const gchar* _tmp76_;
	const gchar* _tmp77_;
	FolksPostalAddress* _tmp78_;
	FolksPostalAddress* pa_a;
	FolksPostalAddressFieldDetails* _tmp79_;
	FolksPostalAddressFieldDetails* pa_fd_a;
	const gchar* _tmp80_;
	GValue* _tmp81_;
	const gchar* _tmp82_;
	gchar* _tmp83_;
	GValue* _tmp84_;
	GValue _tmp85_;
	GValue _tmp86_;
	GValue* _tmp87_;
	GValue* _tmp88_;
	GValue* v7;
	const gchar* _tmp89_;
	const gchar* _tmp90_;
	FolksStructuredName* _tmp91_;
	FolksStructuredName* sname;
	GValue* _tmp92_;
	const gchar* _tmp93_;
	gchar* _tmp94_;
	GValue* _tmp95_;
	GValue _tmp96_;
	GValue _tmp97_;
	GValue* _tmp98_;
	GValue* _tmp99_;
	GValue* v8;
	GeeHashSet* _tmp100_;
	GeeHashSet* notes;
	const gchar* _tmp101_;
	FolksNoteFieldDetails* _tmp102_;
	FolksNoteFieldDetails* note;
	GValue* _tmp103_;
	const gchar* _tmp104_;
	gchar* _tmp105_;
	GValue* _tmp106_;
	GValue _tmp107_;
	GValue _tmp108_;
	GValue* _tmp109_;
	GValue* _tmp110_;
	GValue* v9;
	GDateTime* _tmp111_;
	GDateTime* dobj;
	GValue* _tmp112_;
	const gchar* _tmp113_;
	gchar* _tmp114_;
	GValue* _tmp115_;
	GValue _tmp116_;
	GValue _tmp117_;
	GValue* _tmp118_;
	GValue* _tmp119_;
	GValue* v10;
	GeeHashSet* _tmp120_;
	GeeHashSet* role_fds;
	FolksRole* _tmp121_;
	FolksRole* r1;
	FolksRoleFieldDetails* _tmp122_;
	FolksRoleFieldDetails* role_fd1;
	GValue* _tmp123_;
	const gchar* _tmp124_;
	gchar* _tmp125_;
	GValue* _tmp126_;
	FolksIndividualAggregator* _tmp127_;
	EdsfPersonaStore* _tmp128_;
	FolksPersona* _tmp129_;
	FolksPersona* _tmp130_;
	GError* e;
	GError* _tmp131_;
	const gchar* _tmp132_;
	GError * _inner_error_;
};

struct _AddPersonaTestsCheckPropertiesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	AddPersonaTests* self;
	FolksIndividual* i;
	FolksIndividual* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	GHashTable* _tmp4_;
	gchar* _tmp5_;
	FolksIndividual* _tmp6_;
	GeeSet* _tmp7_;
	GeeSet* _tmp8_;
	GeeIterator* _tmp9_;
	GeeIterator* _e_it;
	GeeIterator* _tmp10_;
	gboolean _tmp11_;
	GeeIterator* _tmp12_;
	gpointer _tmp13_;
	FolksEmailFieldDetails* e;
	FolksEmailFieldDetails* _tmp14_;
	gconstpointer _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	GHashTable* _tmp18_;
	gchar* _tmp19_;
	FolksIndividual* _tmp20_;
	GeeMultiMap* _tmp21_;
	GeeMultiMap* _tmp22_;
	GeeSet* _tmp23_;
	GeeSet* _tmp24_;
	GeeIterator* _tmp25_;
	GeeIterator* _tmp26_;
	GeeIterator* _proto_it;
	GeeIterator* _tmp27_;
	gboolean _tmp28_;
	GeeIterator* _tmp29_;
	gpointer _tmp30_;
	gchar* proto;
	FolksIndividual* _tmp31_;
	GeeMultiMap* _tmp32_;
	GeeMultiMap* _tmp33_;
	const gchar* _tmp34_;
	GeeCollection* _tmp35_;
	GeeCollection* im_fds;
	GeeCollection* _tmp36_;
	GeeIterator* _tmp37_;
	GeeIterator* _im_fd_it;
	GeeIterator* _tmp38_;
	gboolean _tmp39_;
	GeeIterator* _tmp40_;
	gpointer _tmp41_;
	FolksImFieldDetails* im_fd;
	FolksImFieldDetails* _tmp42_;
	gconstpointer _tmp43_;
	const gchar* _tmp44_;
	const gchar* _tmp45_;
	GHashTable* _tmp46_;
	gchar* _tmp47_;
	FolksImFieldDetails* _tmp48_;
	gconstpointer _tmp49_;
	const gchar* _tmp50_;
	const gchar* _tmp51_;
	GHashTable* _tmp52_;
	gchar* _tmp53_;
	FolksIndividual* _tmp54_;
	GeeSet* _tmp55_;
	GeeSet* _tmp56_;
	GeeIterator* _tmp57_;
	GeeIterator* _phone_fd_it;
	GeeIterator* _tmp58_;
	gboolean _tmp59_;
	GeeIterator* _tmp60_;
	gpointer _tmp61_;
	FolksPhoneFieldDetails* phone_fd;
	FolksPhoneFieldDetails* _tmp62_;
	const gchar* _tmp63_;
	FolksPhoneFieldDetails* _tmp64_;
	FolksPhoneFieldDetails* _tmp65_;
	gboolean _tmp66_;
	gboolean _tmp67_;
	GHashTable* _tmp68_;
	gchar* _tmp69_;
	FolksPhoneFieldDetails* _tmp70_;
	const gchar* _tmp71_;
	FolksPhoneFieldDetails* _tmp72_;
	FolksPhoneFieldDetails* _tmp73_;
	gboolean _tmp74_;
	gboolean _tmp75_;
	GHashTable* _tmp76_;
	gchar* _tmp77_;
	FolksIndividual* _tmp78_;
	GeeSet* _tmp79_;
	GeeSet* _tmp80_;
	GeeIterator* _tmp81_;
	GeeIterator* _pa_fd_it;
	GeeIterator* _tmp82_;
	gboolean _tmp83_;
	GeeIterator* _tmp84_;
	gpointer _tmp85_;
	FolksPostalAddressFieldDetails* pa_fd;
	FolksPostalAddressFieldDetails* _tmp86_;
	gconstpointer _tmp87_;
	FolksPostalAddress* _tmp88_;
	FolksPostalAddressFieldDetails* _tmp89_;
	gconstpointer _tmp90_;
	FolksPostalAddress* _tmp91_;
	const gchar* _tmp92_;
	const gchar* _tmp93_;
	FolksPostalAddressFieldDetails* _tmp94_;
	FolksPostalAddressFieldDetails* _tmp95_;
	gboolean _tmp96_;
	GHashTable* _tmp97_;
	gchar* _tmp98_;
	gboolean _tmp99_;
	gboolean _tmp100_;
	FolksIndividual* _tmp101_;
	FolksStructuredName* _tmp102_;
	FolksStructuredName* _tmp103_;
	FolksIndividual* _tmp104_;
	FolksStructuredName* _tmp105_;
	FolksStructuredName* _tmp106_;
	const gchar* _tmp107_;
	const gchar* _tmp108_;
	const gchar* _tmp109_;
	gboolean _tmp110_;
	FolksIndividual* _tmp111_;
	FolksStructuredName* _tmp112_;
	FolksStructuredName* _tmp113_;
	const gchar* _tmp114_;
	const gchar* _tmp115_;
	const gchar* _tmp116_;
	gboolean _tmp117_;
	GHashTable* _tmp118_;
	gchar* _tmp119_;
	FolksIndividual* _tmp120_;
	GeeSet* _tmp121_;
	GeeSet* _tmp122_;
	GeeIterator* _tmp123_;
	GeeIterator* _note_it;
	GeeIterator* _tmp124_;
	gboolean _tmp125_;
	GeeIterator* _tmp126_;
	gpointer _tmp127_;
	FolksNoteFieldDetails* note;
	FolksNoteFieldDetails* _tmp128_;
	const gchar* _tmp129_;
	FolksNoteFieldDetails* _tmp130_;
	FolksNoteFieldDetails* _tmp131_;
	gboolean _tmp132_;
	gboolean _tmp133_;
	GHashTable* _tmp134_;
	gchar* _tmp135_;
	FolksIndividual* _tmp136_;
	GLoadableIcon* _tmp137_;
	GLoadableIcon* _tmp138_;
	const gchar* _tmp139_;
	GFile* _tmp140_;
	GFile* _tmp141_;
	GFileIcon* _tmp142_;
	GFileIcon* _tmp143_;
	GFileIcon* b;
	GFileIcon* _tmp144_;
	FolksIndividual* _tmp145_;
	GLoadableIcon* _tmp146_;
	GLoadableIcon* _tmp147_;
	gboolean _tmp148_;
	gboolean same;
	gboolean _tmp149_;
	GHashTable* _tmp150_;
	gchar* _tmp151_;
	FolksIndividual* _tmp152_;
	GDateTime* _tmp153_;
	GDateTime* _tmp154_;
	GDateTime* _tmp155_;
	GDateTime* _tmp156_;
	GDateTime* _tmp157_;
	GDateTime* _tmp158_;
	GDateTime* dobj;
	FolksIndividual* _tmp159_;
	GDateTime* _tmp160_;
	GDateTime* _tmp161_;
	GDateTime* _tmp162_;
	gboolean _tmp163_;
	GHashTable* _tmp164_;
	gchar* _tmp165_;
	FolksIndividual* _tmp166_;
	GeeSet* _tmp167_;
	GeeSet* _tmp168_;
	GeeIterator* _tmp169_;
	GeeIterator* _role_fd_it;
	GeeIterator* _tmp170_;
	gboolean _tmp171_;
	GeeIterator* _tmp172_;
	gpointer _tmp173_;
	FolksRoleFieldDetails* role_fd;
	FolksRole* _tmp174_;
	FolksRole* r1;
	FolksRole* _tmp175_;
	FolksRole* _tmp176_;
	FolksRoleFieldDetails* _tmp177_;
	FolksRoleFieldDetails* role_fd_expected;
	FolksRoleFieldDetails* _tmp178_;
	FolksRoleFieldDetails* _tmp179_;
	gboolean _tmp180_;
	GHashTable* _tmp181_;
	gchar* _tmp182_;
};


static gpointer add_persona_tests_parent_class = NULL;

GType add_persona_tests_get_type (void) G_GNUC_CONST;
#define ADD_PERSONA_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ADD_PERSONA_TESTS, AddPersonaTestsPrivate))
enum  {
	ADD_PERSONA_TESTS_DUMMY_PROPERTY
};
AddPersonaTests* add_persona_tests_new (void);
AddPersonaTests* add_persona_tests_construct (GType object_type);
void add_persona_tests_test_add_persona (AddPersonaTests* self);
static void _add_persona_tests_test_add_persona_folks_test_case_test_method (gpointer self);
static void add_persona_tests_real_set_up (FolksTestCase* base);
static void add_persona_tests_real_tear_down (FolksTestCase* base);
static void _g_free0_ (gpointer var);
static void _add_persona_tests_test_add_persona_async (AddPersonaTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _add_persona_tests_test_add_persona_finish (AddPersonaTests* self, GAsyncResult* _res_);
static gboolean __lambda0_ (AddPersonaTests* self);
static gboolean ___lambda0__gsource_func (gpointer self);
static void _add_persona_tests_test_add_persona_async_data_free (gpointer _data);
static gboolean _add_persona_tests_test_add_persona_async_co (AddPersonaTestsTestAddPersonaAsyncData* _data_);
static void _add_persona_tests_test_add_persona_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _add_persona_tests_individuals_changed_cb (AddPersonaTests* self, GeeMultiMap* changes);
static void __add_persona_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void _add_persona_tests_notify_pstore_cb (AddPersonaTests* self, GObject* _pstore, GParamSpec* ps);
static void __add_persona_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _add_persona_tests_try_to_add (AddPersonaTests* self);
static void _add_persona_tests_add_persona_data_free (gpointer _data);
static void _add_persona_tests_add_persona (AddPersonaTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _add_persona_tests_add_persona_finish (AddPersonaTests* self, GAsyncResult* _res_);
static gboolean _add_persona_tests_add_persona_co (AddPersonaTestsAddPersonaData* _data_);
static void _vala_GValue_free (GValue* self);
static void __vala_GValue_free0_ (gpointer var);
static GValue* _g_value_dup (GValue* self);
static void _add_persona_tests_add_persona_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static guint _add_persona_tests_track_individual (AddPersonaTests* self, FolksIndividual* i);
static void _add_persona_tests_notify_cb (AddPersonaTests* self, GObject* individual_obj, GParamSpec* ps);
static void __add_persona_tests_notify_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _add_persona_tests_check_properties (AddPersonaTests* self, FolksIndividual* i, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _add_persona_tests_check_properties_finish (AddPersonaTests* self, GAsyncResult* _res_);
static void _add_persona_tests_check_properties_data_free (gpointer _data);
static gboolean _add_persona_tests_check_properties_co (AddPersonaTestsCheckPropertiesData* _data_);
static void _add_persona_tests_check_properties_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _add_persona_tests_exit_if_all_properties_found (AddPersonaTests* self);
static void add_persona_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _add_persona_tests_test_add_persona_folks_test_case_test_method (gpointer self) {
#line 58 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	add_persona_tests_test_add_persona (self);
#line 569 "add-persona.c"
}


AddPersonaTests* add_persona_tests_construct (GType object_type) {
	AddPersonaTests * self = NULL;
	EdsTestBackend* _tmp0_;
#line 54 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self = (AddPersonaTests*) folks_test_case_construct (object_type, "AddPersonaTests");
#line 56 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = eds_test_backend_new ();
#line 56 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_eds_test_backend_unref0 (self->priv->_eds_backend);
#line 56 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_eds_backend = _tmp0_;
#line 58 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test adding a persona to e-d-s ", _add_persona_tests_test_add_persona_folks_test_case_test_method, self);
#line 52 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return self;
#line 588 "add-persona.c"
}


AddPersonaTests* add_persona_tests_new (void) {
#line 52 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return add_persona_tests_construct (TYPE_ADD_PERSONA_TESTS);
#line 595 "add-persona.c"
}


static void add_persona_tests_real_set_up (FolksTestCase* base) {
	AddPersonaTests * self;
	EdsTestBackend* _tmp0_;
#line 61 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self = (AddPersonaTests*) base;
#line 63 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = self->priv->_eds_backend;
#line 63 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	eds_test_backend_set_up (_tmp0_);
#line 608 "add-persona.c"
}


static void add_persona_tests_real_tear_down (FolksTestCase* base) {
	AddPersonaTests * self;
	EdsTestBackend* _tmp0_;
#line 66 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self = (AddPersonaTests*) base;
#line 68 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = self->priv->_eds_backend;
#line 68 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	eds_test_backend_tear_down (_tmp0_);
#line 621 "add-persona.c"
}


static void _g_free0_ (gpointer var) {
#line 90 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	var = (g_free (var), NULL);
#line 628 "add-persona.c"
}


static gboolean __lambda0_ (AddPersonaTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 109 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = self->priv->_main_loop;
#line 109 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_main_loop_quit (_tmp0_);
#line 110 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_assert_not_reached ();
#line 107 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return result;
#line 643 "add-persona.c"
}


static gboolean ___lambda0__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda0_ (self);
#line 107 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return result;
#line 652 "add-persona.c"
}


void add_persona_tests_test_add_persona (AddPersonaTests* self) {
	GMainLoop* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	const gchar* _tmp13_;
	const gchar* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	FolksPostalAddress* _tmp18_;
	FolksPostalAddress* pa;
	FolksPostalAddress* _tmp19_;
	FolksPostalAddressFieldDetails* _tmp20_;
	FolksPostalAddressFieldDetails* _tmp21_;
	const gchar* _tmp22_;
	GHashFunc _tmp23_;
	GEqualFunc _tmp24_;
	GHashTable* _tmp25_;
	GHashTable* _tmp26_;
	gchar* _tmp27_;
	GHashTable* _tmp28_;
	gchar* _tmp29_;
	GHashTable* _tmp30_;
	gchar* _tmp31_;
	GHashTable* _tmp32_;
	gchar* _tmp33_;
	GHashTable* _tmp34_;
	gchar* _tmp35_;
	GHashTable* _tmp36_;
	gchar* _tmp37_;
	GHashTable* _tmp38_;
	gchar* _tmp39_;
	GHashTable* _tmp40_;
	gchar* _tmp41_;
	GHashTable* _tmp42_;
	gchar* _tmp43_;
	GHashTable* _tmp44_;
	gchar* _tmp45_;
	GHashTable* _tmp46_;
	gchar* _tmp47_;
	GHashTable* _tmp48_;
	gchar* _tmp49_;
	GMainLoop* _tmp50_;
	GHashTable* _tmp51_;
	GList* _tmp52_ = NULL;
#line 71 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 73 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 73 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 73 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_main_loop = _tmp0_;
#line 74 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = g_strdup ("persona #1");
#line 74 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 74 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_persona_fullname = _tmp1_;
#line 75 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp2_ = g_strdup ("someone-1@example.org");
#line 75 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_email_1);
#line 75 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_email_1 = _tmp2_;
#line 76 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp3_ = g_getenv ("AVATAR_FILE_PATH");
#line 76 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 76 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_avatar_path);
#line 76 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_avatar_path = _tmp4_;
#line 77 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp5_ = g_strdup ("someone-1@jabber.example.org");
#line 77 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_im_addr_1);
#line 77 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_im_addr_1 = _tmp5_;
#line 78 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp6_ = g_strdup ("someone-2@jabber.example.org");
#line 78 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_im_addr_2);
#line 78 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_im_addr_2 = _tmp6_;
#line 79 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp7_ = g_strdup ("12345");
#line 79 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_phone_1);
#line 79 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_phone_1 = _tmp7_;
#line 80 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp8_ = g_strdup ("54321");
#line 80 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_phone_2);
#line 80 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_phone_2 = _tmp8_;
#line 81 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp9_ = g_strdup ("family");
#line 81 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_family_name);
#line 81 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_family_name = _tmp9_;
#line 82 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp10_ = g_strdup ("given");
#line 82 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_given_name);
#line 82 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_given_name = _tmp10_;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp11_ = self->priv->_po_box;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp12_ = self->priv->_extension;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp13_ = self->priv->_street;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp14_ = self->priv->_locality;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp15_ = self->priv->_region;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp16_ = self->priv->_postal_code;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp17_ = self->priv->_country;
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp18_ = folks_postal_address_new (_tmp11_, _tmp12_, _tmp13_, _tmp14_, _tmp15_, _tmp16_, _tmp17_, NULL, NULL);
#line 84 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	pa = _tmp18_;
#line 87 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp19_ = pa;
#line 87 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp20_ = folks_postal_address_field_details_new (_tmp19_, NULL);
#line 87 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (self->priv->_address);
#line 87 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_address = _tmp20_;
#line 88 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp21_ = self->priv->_address;
#line 88 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp22_ = EDSF_PERSONA_address_fields[0];
#line 88 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _tmp21_, "type", _tmp22_);
#line 90 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp23_ = g_str_hash;
#line 90 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp24_ = g_str_equal;
#line 90 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp25_ = g_hash_table_new_full (_tmp23_, _tmp24_, _g_free0_, NULL);
#line 90 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_hash_table_unref0 (self->priv->_properties_found);
#line 90 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_properties_found = _tmp25_;
#line 92 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp26_ = self->priv->_properties_found;
#line 92 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp27_ = g_strdup ("full_name");
#line 92 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp26_, _tmp27_, GINT_TO_POINTER (FALSE));
#line 93 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp28_ = self->priv->_properties_found;
#line 93 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp29_ = g_strdup ("email-1");
#line 93 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp28_, _tmp29_, GINT_TO_POINTER (FALSE));
#line 94 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp30_ = self->priv->_properties_found;
#line 94 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp31_ = g_strdup ("avatar");
#line 94 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp30_, _tmp31_, GINT_TO_POINTER (FALSE));
#line 95 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp32_ = self->priv->_properties_found;
#line 95 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp33_ = g_strdup ("im-addr-1");
#line 95 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp32_, _tmp33_, GINT_TO_POINTER (FALSE));
#line 96 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp34_ = self->priv->_properties_found;
#line 96 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp35_ = g_strdup ("im-addr-2");
#line 96 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp34_, _tmp35_, GINT_TO_POINTER (FALSE));
#line 97 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp36_ = self->priv->_properties_found;
#line 97 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp37_ = g_strdup ("phone-1");
#line 97 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp36_, _tmp37_, GINT_TO_POINTER (FALSE));
#line 98 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp38_ = self->priv->_properties_found;
#line 98 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp39_ = g_strdup ("phone-2");
#line 98 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp38_, _tmp39_, GINT_TO_POINTER (FALSE));
#line 99 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp40_ = self->priv->_properties_found;
#line 99 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp41_ = g_strdup ("postal-address-1");
#line 99 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp40_, _tmp41_, GINT_TO_POINTER (FALSE));
#line 100 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp42_ = self->priv->_properties_found;
#line 100 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp43_ = g_strdup ("structured_name");
#line 100 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp42_, _tmp43_, GINT_TO_POINTER (FALSE));
#line 101 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp44_ = self->priv->_properties_found;
#line 101 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp45_ = g_strdup ("note");
#line 101 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp44_, _tmp45_, GINT_TO_POINTER (FALSE));
#line 102 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp46_ = self->priv->_properties_found;
#line 102 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp47_ = g_strdup ("birthday");
#line 102 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp46_, _tmp47_, GINT_TO_POINTER (FALSE));
#line 103 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp48_ = self->priv->_properties_found;
#line 103 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp49_ = g_strdup ("role-1");
#line 103 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_tmp48_, _tmp49_, GINT_TO_POINTER (FALSE));
#line 105 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_test_add_persona_async (self, NULL, NULL);
#line 107 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda0__gsource_func, g_object_ref (self), g_object_unref);
#line 113 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp50_ = self->priv->_main_loop;
#line 113 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_main_loop_run (_tmp50_);
#line 115 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp51_ = self->priv->_properties_found;
#line 115 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp52_ = g_hash_table_get_values (_tmp51_);
#line 901 "add-persona.c"
	{
		GList* k_collection = NULL;
		GList* k_it = NULL;
#line 115 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		k_collection = _tmp52_;
#line 115 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		for (k_it = k_collection; k_it != NULL; k_it = k_it->next) {
#line 909 "add-persona.c"
			gboolean k = FALSE;
#line 115 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			k = GPOINTER_TO_INT (k_it->data);
#line 913 "add-persona.c"
			{
				gboolean _tmp53_;
#line 117 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp53_ = k;
#line 117 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				g_assert (_tmp53_);
#line 920 "add-persona.c"
			}
		}
#line 115 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_list_free0 (k_collection);
#line 925 "add-persona.c"
	}
#line 71 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (pa);
#line 929 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_async_data_free (gpointer _data) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
	_data_ = _data;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_slice_free (AddPersonaTestsTestAddPersonaAsyncData, _data_);
#line 940 "add-persona.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return self ? g_object_ref (self) : NULL;
#line 947 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_async (AddPersonaTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
	AddPersonaTests* _tmp0_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = g_slice_new0 (AddPersonaTestsTestAddPersonaAsyncData);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _add_persona_tests_test_add_persona_async);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _add_persona_tests_test_add_persona_async_data_free);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->self = _tmp0_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_test_add_persona_async_co (_data_);
#line 966 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_finish (AddPersonaTests* self, GAsyncResult* _res_) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 974 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = _user_data_;
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_source_object_ = source_object;
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_res_ = _res_;
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_test_add_persona_async_co (_data_);
#line 988 "add-persona.c"
}


static void __add_persona_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 126 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_individuals_changed_cb (self, changes);
#line 995 "add-persona.c"
}


static void __add_persona_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 141 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_notify_pstore_cb (self, _sender, pspec);
#line 1002 "add-persona.c"
}


static gboolean _add_persona_tests_test_add_persona_async_co (AddPersonaTestsTestAddPersonaAsyncData* _data_) {
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	switch (_data_->_state_) {
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		case 0:
#line 1011 "add-persona.c"
		goto _state_0;
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		case 1:
#line 1015 "add-persona.c"
		goto _state_1;
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		case 2:
#line 1019 "add-persona.c"
		goto _state_2;
		default:
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_assert_not_reached ();
#line 1024 "add-persona.c"
	}
	_state_0:
#line 123 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp0_ = NULL;
#line 123 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 123 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->store = _data_->_tmp0_;
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_state_ = 1;
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_backend_store_prepare (_data_->store, _add_persona_tests_test_add_persona_async_ready, _data_);
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return FALSE;
#line 1039 "add-persona.c"
	_state_1:
#line 124 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_backend_store_prepare_finish (_data_->store, _data_->_res_);
#line 125 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp1_ = folks_individual_aggregator_new ();
#line 125 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->self->priv->_aggregator);
#line 125 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->self->priv->_aggregator = _data_->_tmp1_;
#line 126 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 126 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_signal_connect_object (_data_->_tmp2_, "individuals-changed-detailed", (GCallback) __add_persona_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed, _data_->self, 0);
#line 1053 "add-persona.c"
	{
#line 130 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp3_ = _data_->self->priv->_aggregator;
#line 130 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_state_ = 2;
#line 130 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		folks_individual_aggregator_prepare (_data_->_tmp3_, _add_persona_tests_test_add_persona_async_ready, _data_);
#line 130 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		return FALSE;
#line 1063 "add-persona.c"
		_state_2:
#line 130 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_);
#line 130 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1069 "add-persona.c"
			goto __catch0_g_error;
		}
#line 132 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->self->priv->_pstore);
#line 132 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->self->priv->_pstore = NULL;
#line 1076 "add-persona.c"
		{
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp4_ = folks_backend_store_get_enabled_backends (_data_->store);
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp5_ = _data_->_tmp4_;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp6_ = gee_map_get_values (_data_->_tmp5_);
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp7_ = _data_->_tmp6_;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp8_ = _data_->_tmp7_;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp9_ = NULL;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp9_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp8_);
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp10_ = _data_->_tmp9_;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->_tmp8_);
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_backend_it = _data_->_tmp10_;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			while (TRUE) {
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp11_ = _data_->_backend_it;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp12_ = FALSE;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp12_ = gee_iterator_next (_data_->_tmp11_);
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				if (!_data_->_tmp12_) {
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					break;
#line 1110 "add-persona.c"
				}
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp13_ = _data_->_backend_it;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp14_ = NULL;
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp14_ = gee_iterator_get (_data_->_tmp13_);
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->backend = (FolksBackend*) _data_->_tmp14_;
#line 135 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp15_ = _data_->backend;
#line 135 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp16_ = folks_backend_get_persona_stores (_data_->_tmp15_);
#line 135 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp17_ = _data_->_tmp16_;
#line 135 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp18_ = NULL;
#line 135 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp18_ = gee_map_get (_data_->_tmp17_, "local://test");
#line 135 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_g_object_unref0 (_data_->self->priv->_pstore);
#line 135 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->self->priv->_pstore = EDSF_PERSONA_STORE ((FolksPersonaStore*) _data_->_tmp18_);
#line 137 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp19_ = _data_->self->priv->_pstore;
#line 137 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				if (_data_->_tmp19_ != NULL) {
#line 138 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_g_object_unref0 (_data_->backend);
#line 138 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					break;
#line 1142 "add-persona.c"
				}
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_g_object_unref0 (_data_->backend);
#line 1146 "add-persona.c"
			}
#line 133 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->_backend_it);
#line 1150 "add-persona.c"
		}
#line 140 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp20_ = _data_->self->priv->_pstore;
#line 140 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_assert (_data_->_tmp20_ != NULL);
#line 141 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp21_ = _data_->self->priv->_pstore;
#line 141 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _data_->_tmp21_, "notify::is-prepared", (GCallback) __add_persona_tests_notify_pstore_cb_g_object_notify, _data_->self, 0);
#line 142 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_add_persona_tests_try_to_add (_data_->self);
#line 1162 "add-persona.c"
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->e = _data_->_inner_error_;
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_inner_error_ = NULL;
#line 146 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp22_ = _data_->e;
#line 146 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp23_ = _data_->_tmp22_->message;
#line 146 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_warning ("add-persona.vala:146: Error when calling prepare: %s\n", _data_->_tmp23_);
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_error_free0 (_data_->e);
#line 1179 "add-persona.c"
	}
	__finally0:
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_inner_error_ != NULL) {
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->store);
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_clear_error (&_data_->_inner_error_);
#line 128 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		return FALSE;
#line 1192 "add-persona.c"
	}
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->store);
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_state_ == 0) {
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1200 "add-persona.c"
	} else {
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1204 "add-persona.c"
	}
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_object_unref (_data_->_async_result);
#line 121 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return FALSE;
#line 1210 "add-persona.c"
}


static void _add_persona_tests_add_persona_data_free (gpointer _data) {
	AddPersonaTestsAddPersonaData* _data_;
	_data_ = _data;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_slice_free (AddPersonaTestsAddPersonaData, _data_);
#line 1221 "add-persona.c"
}


static void _add_persona_tests_add_persona (AddPersonaTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	AddPersonaTestsAddPersonaData* _data_;
	AddPersonaTests* _tmp0_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = g_slice_new0 (AddPersonaTestsAddPersonaData);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _add_persona_tests_add_persona);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _add_persona_tests_add_persona_data_free);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->self = _tmp0_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_add_persona_co (_data_);
#line 1240 "add-persona.c"
}


static void _add_persona_tests_add_persona_finish (AddPersonaTests* self, GAsyncResult* _res_) {
	AddPersonaTestsAddPersonaData* _data_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1248 "add-persona.c"
}


static void _vala_GValue_free (GValue* self) {
#line 152 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_unset (self);
#line 152 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_free (self);
#line 1257 "add-persona.c"
}


static void __vala_GValue_free0_ (gpointer var) {
#line 152 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	(var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL));
#line 1264 "add-persona.c"
}


static GValue* _g_value_dup (GValue* self) {
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return g_boxed_copy (G_TYPE_VALUE, self);
#line 1271 "add-persona.c"
}


static gpointer __g_value_dup0 (gpointer self) {
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return self ? _g_value_dup (self) : NULL;
#line 1278 "add-persona.c"
}


static void _add_persona_tests_add_persona_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	AddPersonaTestsAddPersonaData* _data_;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = _user_data_;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_source_object_ = source_object;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_res_ = _res_;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_add_persona_co (_data_);
#line 1292 "add-persona.c"
}


static gboolean _add_persona_tests_add_persona_co (AddPersonaTestsAddPersonaData* _data_) {
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	switch (_data_->_state_) {
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		case 0:
#line 1301 "add-persona.c"
		goto _state_0;
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		case 1:
#line 1305 "add-persona.c"
		goto _state_1;
		default:
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_assert_not_reached ();
#line 1310 "add-persona.c"
	}
	_state_0:
#line 152 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp0_ = g_str_hash;
#line 152 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp1_ = g_str_equal;
#line 152 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp2_ = g_hash_table_new_full (_data_->_tmp0_, _data_->_tmp1_, _g_free0_, __vala_GValue_free0_);
#line 152 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->details = _data_->_tmp2_;
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp3_, 0, sizeof (GValue));
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp3_, G_TYPE_STRING);
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp5_ = __g_value_dup0 (&_data_->_tmp4_);
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp4_) ? (g_value_unset (&_data_->_tmp4_), NULL) : NULL;
#line 155 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v1 = _data_->_tmp6_;
#line 156 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp7_ = _data_->v1;
#line 156 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp8_ = _data_->self->priv->_persona_fullname;
#line 156 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_string (_data_->_tmp7_, _data_->_tmp8_);
#line 157 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp9_ = NULL;
#line 157 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp9_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_FULL_NAME);
#line 157 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp10_ = g_strdup (_data_->_tmp9_);
#line 157 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp11_ = _data_->v1;
#line 157 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v1 = NULL;
#line 157 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp10_, _data_->_tmp11_);
#line 160 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp12_, 0, sizeof (GValue));
#line 160 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp12_, GEE_TYPE_SET);
#line 160 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 160 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp14_ = __g_value_dup0 (&_data_->_tmp13_);
#line 160 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 160 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp13_) ? (g_value_unset (&_data_->_tmp13_), NULL) : NULL;
#line 160 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v2 = _data_->_tmp15_;
#line 161 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp16_ = gee_hash_set_new (FOLKS_TYPE_EMAIL_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 161 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->emails = _data_->_tmp16_;
#line 164 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp17_ = _data_->self->priv->_email_1;
#line 164 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp18_ = folks_email_field_details_new (_data_->_tmp17_, NULL);
#line 164 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->email_1 = _data_->_tmp18_;
#line 165 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp19_ = EDSF_PERSONA_email_fields[0];
#line 165 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_abstract_field_details_set_parameter ((FolksAbstractFieldDetails*) _data_->email_1, "type", _data_->_tmp19_);
#line 166 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->emails, _data_->email_1);
#line 167 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp20_ = _data_->v2;
#line 167 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->_tmp20_, (GObject*) _data_->emails);
#line 168 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp21_ = NULL;
#line 168 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp21_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_EMAIL_ADDRESSES);
#line 168 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp22_ = g_strdup (_data_->_tmp21_);
#line 168 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp23_ = _data_->v2;
#line 168 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v2 = NULL;
#line 168 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp22_, _data_->_tmp23_);
#line 172 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp24_, 0, sizeof (GValue));
#line 172 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp24_, G_TYPE_LOADABLE_ICON);
#line 172 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp25_ = _data_->_tmp24_;
#line 172 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp26_ = __g_value_dup0 (&_data_->_tmp25_);
#line 172 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp27_ = _data_->_tmp26_;
#line 172 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp25_) ? (g_value_unset (&_data_->_tmp25_), NULL) : NULL;
#line 172 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v3 = _data_->_tmp27_;
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp28_ = _data_->self->priv->_avatar_path;
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp29_ = NULL;
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp29_ = g_file_new_for_path (_data_->_tmp28_);
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp30_ = _data_->_tmp29_;
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp31_ = (GFileIcon*) g_file_icon_new (_data_->_tmp30_);
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp32_ = _data_->_tmp31_;
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->_tmp30_);
#line 173 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->avatar = _data_->_tmp32_;
#line 174 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp33_ = _data_->v3;
#line 174 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->_tmp33_, (GObject*) _data_->avatar);
#line 175 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp34_ = NULL;
#line 175 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp34_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_AVATAR);
#line 175 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp35_ = g_strdup (_data_->_tmp34_);
#line 175 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp36_ = _data_->v3;
#line 175 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v3 = NULL;
#line 175 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp35_, _data_->_tmp36_);
#line 178 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp37_, 0, sizeof (GValue));
#line 178 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp37_, GEE_TYPE_MULTI_MAP);
#line 178 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp38_ = _data_->_tmp37_;
#line 178 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp39_ = __g_value_dup0 (&_data_->_tmp38_);
#line 178 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp40_ = _data_->_tmp39_;
#line 178 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp38_) ? (g_value_unset (&_data_->_tmp38_), NULL) : NULL;
#line 178 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v4 = _data_->_tmp40_;
#line 179 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp41_ = gee_hash_multi_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, FOLKS_TYPE_IM_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL);
#line 179 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->im_fds = _data_->_tmp41_;
#line 180 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp42_ = _data_->self->priv->_im_addr_1;
#line 180 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp43_ = folks_im_field_details_new (_data_->_tmp42_, NULL);
#line 180 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp44_ = _data_->_tmp43_;
#line 180 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_multi_map_set ((GeeMultiMap*) _data_->im_fds, "jabber", _data_->_tmp44_);
#line 180 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->_tmp44_);
#line 181 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp45_ = _data_->self->priv->_im_addr_2;
#line 181 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp46_ = folks_im_field_details_new (_data_->_tmp45_, NULL);
#line 181 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp47_ = _data_->_tmp46_;
#line 181 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_multi_map_set ((GeeMultiMap*) _data_->im_fds, "yahoo", _data_->_tmp47_);
#line 181 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->_tmp47_);
#line 182 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->v4, (GObject*) _data_->im_fds);
#line 183 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp48_ = NULL;
#line 183 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp48_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_IM_ADDRESSES);
#line 183 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp49_ = g_strdup (_data_->_tmp48_);
#line 183 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp50_ = __g_value_dup0 (_data_->v4);
#line 183 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp49_, _data_->_tmp50_);
#line 186 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp51_, 0, sizeof (GValue));
#line 186 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp51_, GEE_TYPE_SET);
#line 186 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp52_ = _data_->_tmp51_;
#line 186 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp53_ = __g_value_dup0 (&_data_->_tmp52_);
#line 186 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp54_ = _data_->_tmp53_;
#line 186 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp52_) ? (g_value_unset (&_data_->_tmp52_), NULL) : NULL;
#line 186 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v5 = _data_->_tmp54_;
#line 187 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp55_ = gee_hash_set_new (FOLKS_TYPE_PHONE_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 187 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->phones = _data_->_tmp55_;
#line 191 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp56_ = _data_->self->priv->_phone_1;
#line 191 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp57_ = folks_phone_field_details_new (_data_->_tmp56_, NULL);
#line 191 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->phone_1 = _data_->_tmp57_;
#line 192 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp58_ = EDSF_PERSONA_phone_fields[0];
#line 192 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_abstract_field_details_set_parameter ((FolksAbstractFieldDetails*) _data_->phone_1, "type", _data_->_tmp58_);
#line 193 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->phones, _data_->phone_1);
#line 194 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp59_ = _data_->self->priv->_phone_2;
#line 194 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp60_ = folks_phone_field_details_new (_data_->_tmp59_, NULL);
#line 194 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->phone_2 = _data_->_tmp60_;
#line 195 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp61_ = EDSF_PERSONA_phone_fields[1];
#line 195 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_abstract_field_details_set_parameter ((FolksAbstractFieldDetails*) _data_->phone_2, "type", _data_->_tmp61_);
#line 196 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->phones, _data_->phone_2);
#line 197 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp62_ = _data_->v5;
#line 197 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->_tmp62_, (GObject*) _data_->phones);
#line 198 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp63_ = NULL;
#line 198 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp63_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_PHONE_NUMBERS);
#line 198 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp64_ = g_strdup (_data_->_tmp63_);
#line 198 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp65_ = _data_->v5;
#line 198 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v5 = NULL;
#line 198 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp64_, _data_->_tmp65_);
#line 202 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp66_, 0, sizeof (GValue));
#line 202 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp66_, GEE_TYPE_SET);
#line 202 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp67_ = _data_->_tmp66_;
#line 202 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp68_ = __g_value_dup0 (&_data_->_tmp67_);
#line 202 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp69_ = _data_->_tmp68_;
#line 202 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp67_) ? (g_value_unset (&_data_->_tmp67_), NULL) : NULL;
#line 202 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v6 = _data_->_tmp69_;
#line 203 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp70_ = gee_hash_set_new (FOLKS_TYPE_POSTAL_ADDRESS_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 203 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->pa_fds = _data_->_tmp70_;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp71_ = _data_->self->priv->_po_box;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp72_ = _data_->self->priv->_extension;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp73_ = _data_->self->priv->_street;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp74_ = _data_->self->priv->_locality;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp75_ = _data_->self->priv->_region;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp76_ = _data_->self->priv->_postal_code;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp77_ = _data_->self->priv->_country;
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp78_ = folks_postal_address_new (_data_->_tmp71_, _data_->_tmp72_, _data_->_tmp73_, _data_->_tmp74_, _data_->_tmp75_, _data_->_tmp76_, _data_->_tmp77_, NULL, NULL);
#line 207 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->pa_a = _data_->_tmp78_;
#line 210 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp79_ = folks_postal_address_field_details_new (_data_->pa_a, NULL);
#line 210 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->pa_fd_a = _data_->_tmp79_;
#line 211 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp80_ = EDSF_PERSONA_address_fields[0];
#line 211 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _data_->pa_fd_a, "types", _data_->_tmp80_);
#line 212 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->pa_fds, _data_->pa_fd_a);
#line 213 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp81_ = _data_->v6;
#line 213 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->_tmp81_, (GObject*) _data_->pa_fds);
#line 214 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp82_ = NULL;
#line 214 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp82_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_POSTAL_ADDRESSES);
#line 214 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp83_ = g_strdup (_data_->_tmp82_);
#line 214 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp84_ = _data_->v6;
#line 214 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v6 = NULL;
#line 214 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp83_, _data_->_tmp84_);
#line 218 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp85_, 0, sizeof (GValue));
#line 218 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp85_, FOLKS_TYPE_STRUCTURED_NAME);
#line 218 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp86_ = _data_->_tmp85_;
#line 218 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp87_ = __g_value_dup0 (&_data_->_tmp86_);
#line 218 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp88_ = _data_->_tmp87_;
#line 218 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp86_) ? (g_value_unset (&_data_->_tmp86_), NULL) : NULL;
#line 218 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v7 = _data_->_tmp88_;
#line 219 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp89_ = _data_->self->priv->_family_name;
#line 219 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp90_ = _data_->self->priv->_given_name;
#line 219 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp91_ = folks_structured_name_new (_data_->_tmp89_, _data_->_tmp90_, NULL, NULL, NULL);
#line 219 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->sname = _data_->_tmp91_;
#line 221 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp92_ = _data_->v7;
#line 221 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->_tmp92_, (GObject*) _data_->sname);
#line 222 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp93_ = NULL;
#line 222 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp93_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_STRUCTURED_NAME);
#line 222 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp94_ = g_strdup (_data_->_tmp93_);
#line 222 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp95_ = _data_->v7;
#line 222 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v7 = NULL;
#line 222 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp94_, _data_->_tmp95_);
#line 226 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp96_, 0, sizeof (GValue));
#line 226 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp96_, GEE_TYPE_SET);
#line 226 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp97_ = _data_->_tmp96_;
#line 226 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp98_ = __g_value_dup0 (&_data_->_tmp97_);
#line 226 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp99_ = _data_->_tmp98_;
#line 226 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp97_) ? (g_value_unset (&_data_->_tmp97_), NULL) : NULL;
#line 226 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v8 = _data_->_tmp99_;
#line 227 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp100_ = gee_hash_set_new (FOLKS_TYPE_NOTE_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 227 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->notes = _data_->_tmp100_;
#line 230 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp101_ = _data_->self->priv->_note;
#line 230 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp102_ = folks_note_field_details_new (_data_->_tmp101_, NULL, NULL);
#line 230 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->note = _data_->_tmp102_;
#line 231 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->notes, _data_->note);
#line 232 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp103_ = _data_->v8;
#line 232 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->_tmp103_, (GObject*) _data_->notes);
#line 233 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp104_ = NULL;
#line 233 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp104_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_NOTES);
#line 233 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp105_ = g_strdup (_data_->_tmp104_);
#line 233 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp106_ = _data_->v8;
#line 233 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v8 = NULL;
#line 233 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp105_, _data_->_tmp106_);
#line 237 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp107_, 0, sizeof (GValue));
#line 237 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp107_, G_TYPE_DATE_TIME);
#line 237 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp108_ = _data_->_tmp107_;
#line 237 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp109_ = __g_value_dup0 (&_data_->_tmp108_);
#line 237 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp110_ = _data_->_tmp109_;
#line 237 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp108_) ? (g_value_unset (&_data_->_tmp108_), NULL) : NULL;
#line 237 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v9 = _data_->_tmp110_;
#line 238 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp111_ = g_date_time_new_utc (1980, 1, 1, 0, 0, 0.0);
#line 238 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->dobj = _data_->_tmp111_;
#line 239 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp112_ = _data_->v9;
#line 239 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_boxed (_data_->_tmp112_, _data_->dobj);
#line 240 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp113_ = NULL;
#line 240 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp113_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_BIRTHDAY);
#line 240 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp114_ = g_strdup (_data_->_tmp113_);
#line 240 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp115_ = _data_->v9;
#line 240 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v9 = NULL;
#line 240 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp114_, _data_->_tmp115_);
#line 243 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	memset (&_data_->_tmp116_, 0, sizeof (GValue));
#line 243 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_init (&_data_->_tmp116_, GEE_TYPE_SET);
#line 243 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp117_ = _data_->_tmp116_;
#line 243 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp118_ = __g_value_dup0 (&_data_->_tmp117_);
#line 243 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp119_ = _data_->_tmp118_;
#line 243 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp117_) ? (g_value_unset (&_data_->_tmp117_), NULL) : NULL;
#line 243 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v10 = _data_->_tmp119_;
#line 244 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp120_ = gee_hash_set_new (FOLKS_TYPE_ROLE_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 244 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->role_fds = _data_->_tmp120_;
#line 247 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp121_ = folks_role_new ("Dr.", "The Nut House Ltd", NULL);
#line 247 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->r1 = _data_->_tmp121_;
#line 248 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	folks_role_set_role (_data_->r1, "The Manager");
#line 249 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp122_ = folks_role_field_details_new (_data_->r1, NULL);
#line 249 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->role_fd1 = _data_->_tmp122_;
#line 250 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->role_fds, _data_->role_fd1);
#line 251 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp123_ = _data_->v10;
#line 251 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_value_set_object (_data_->_tmp123_, (GObject*) _data_->role_fds);
#line 252 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp124_ = NULL;
#line 252 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp124_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_ROLES);
#line 252 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp125_ = g_strdup (_data_->_tmp124_);
#line 252 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp126_ = _data_->v10;
#line 252 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->v10 = NULL;
#line 252 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp125_, _data_->_tmp126_);
#line 1775 "add-persona.c"
	{
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp127_ = _data_->self->priv->_aggregator;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp128_ = _data_->self->priv->_pstore;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_state_ = 1;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		folks_individual_aggregator_add_persona_from_details (_data_->_tmp127_, NULL, (FolksPersonaStore*) _data_->_tmp128_, _data_->details, _add_persona_tests_add_persona_ready, _data_);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		return FALSE;
#line 1787 "add-persona.c"
		_state_1:
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp129_ = NULL;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp129_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp127_, _data_->_res_, &_data_->_inner_error_);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp130_ = _data_->_tmp129_;
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_tmp130_);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		if (_data_->_inner_error_ != NULL) {
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1801 "add-persona.c"
				goto __catch1_folks_individual_aggregator_error;
			}
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->role_fd1);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->r1);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->role_fds);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v10);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_date_time_unref0 (_data_->dobj);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v9);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->note);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->notes);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v8);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->sname);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v7);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->pa_fd_a);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->pa_a);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->pa_fds);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v6);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->phone_2);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->phone_1);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->phones);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v5);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->im_fds);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v4);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->avatar);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v3);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->email_1);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->emails);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v2);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			__vala_GValue_free0 (_data_->v1);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_hash_table_unref0 (_data_->details);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_clear_error (&_data_->_inner_error_);
#line 257 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			return FALSE;
#line 1866 "add-persona.c"
		}
	}
	goto __finally1;
	__catch1_folks_individual_aggregator_error:
	{
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->e = _data_->_inner_error_;
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_inner_error_ = NULL;
#line 262 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp131_ = _data_->e;
#line 262 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp132_ = _data_->_tmp131_->message;
#line 262 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_warning ("add-persona.vala:262: [AddPersonaError] add_persona_from_details: %s\n", _data_->_tmp132_);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_error_free0 (_data_->e);
#line 1884 "add-persona.c"
	}
	__finally1:
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_inner_error_ != NULL) {
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->role_fd1);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->r1);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->role_fds);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v10);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_date_time_unref0 (_data_->dobj);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v9);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->note);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->notes);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v8);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->sname);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v7);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->pa_fd_a);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->pa_a);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->pa_fds);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v6);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->phone_2);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->phone_1);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->phones);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v5);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->im_fds);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v4);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->avatar);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v3);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->email_1);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->emails);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v2);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		__vala_GValue_free0 (_data_->v1);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_hash_table_unref0 (_data_->details);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_clear_error (&_data_->_inner_error_);
#line 255 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		return FALSE;
#line 1951 "add-persona.c"
	}
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->role_fd1);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->r1);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->role_fds);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v10);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_date_time_unref0 (_data_->dobj);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v9);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->note);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->notes);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v8);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->sname);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v7);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->pa_fd_a);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->pa_a);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->pa_fds);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v6);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->phone_2);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->phone_1);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->phones);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v5);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->im_fds);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v4);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->avatar);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v3);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->email_1);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->emails);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v2);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	__vala_GValue_free0 (_data_->v1);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_hash_table_unref0 (_data_->details);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_state_ == 0) {
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2013 "add-persona.c"
	} else {
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2017 "add-persona.c"
	}
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_object_unref (_data_->_async_result);
#line 150 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return FALSE;
#line 2023 "add-persona.c"
}


static void _add_persona_tests_individuals_changed_cb (AddPersonaTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	guint num_replaces;
	GeeSet* _tmp13_;
	gint _tmp14_;
	gint _tmp15_;
	guint _tmp16_;
#line 267 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 267 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (changes != NULL);
#line 270 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = changes;
#line 270 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 270 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	added = _tmp1_;
#line 271 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp2_ = changes;
#line 271 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 271 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	removed = _tmp3_;
#line 273 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	num_replaces = (guint) 0;
#line 2057 "add-persona.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp4_ = added;
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_i_it = _tmp5_;
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		while (TRUE) {
#line 2070 "add-persona.c"
			GeeIterator* _tmp6_;
			gboolean _tmp7_ = FALSE;
			GeeIterator* _tmp8_;
			gpointer _tmp9_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp10_;
			FolksIndividual* _tmp11_;
			guint _tmp12_ = 0U;
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp6_ = _i_it;
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (!_tmp7_) {
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 2087 "add-persona.c"
			}
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp8_ = _i_it;
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			i = (FolksIndividual*) _tmp9_;
#line 277 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp10_ = i;
#line 277 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_tmp10_ == NULL) {
#line 279 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_g_object_unref0 (i);
#line 279 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				continue;
#line 2103 "add-persona.c"
			}
#line 282 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp11_ = i;
#line 282 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp12_ = _add_persona_tests_track_individual (self, _tmp11_);
#line 282 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			num_replaces = _tmp12_;
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (i);
#line 2113 "add-persona.c"
		}
#line 275 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_i_it);
#line 2117 "add-persona.c"
	}
#line 285 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp13_ = removed;
#line 285 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp14_ = gee_collection_get_size ((GeeCollection*) _tmp13_);
#line 285 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp15_ = _tmp14_;
#line 285 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp16_ = num_replaces;
#line 285 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_assert (((guint) _tmp15_) <= (_tmp16_ + 1));
#line 267 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (removed);
#line 267 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (added);
#line 2133 "add-persona.c"
}


static void __add_persona_tests_notify_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 302 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_notify_cb (self, _sender, pspec);
#line 2140 "add-persona.c"
}


static guint _add_persona_tests_track_individual (AddPersonaTests* self, FolksIndividual* i) {
	guint result = 0U;
	guint retval;
	FolksIndividual* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 288 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 288 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_val_if_fail (i != NULL, 0U);
#line 290 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	retval = (guint) 0;
#line 292 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = i;
#line 292 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = folks_individual_get_is_user (_tmp0_);
#line 292 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp2_ = _tmp1_;
#line 292 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_tmp2_ == FALSE) {
#line 2164 "add-persona.c"
		gboolean _tmp3_ = FALSE;
		FolksIndividual* _tmp4_;
		gboolean _tmp11_;
		FolksIndividual* _tmp12_;
		FolksIndividual* _tmp44_;
		FolksIndividual* _tmp45_;
		guint _tmp46_;
		FolksIndividual* _tmp47_;
		FolksIndividual* _tmp48_;
		FolksIndividual* _tmp49_;
		FolksIndividual* _tmp50_;
		FolksIndividual* _tmp51_;
		FolksIndividual* _tmp52_;
		FolksIndividual* _tmp53_;
		FolksIndividual* _tmp54_;
		FolksIndividual* _tmp55_;
		FolksIndividual* _tmp56_;
		FolksIndividual* _tmp57_;
#line 296 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp4_ = self->priv->_individual_received;
#line 296 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		if (_tmp4_ == NULL) {
#line 296 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp3_ = TRUE;
#line 2189 "add-persona.c"
		} else {
			FolksIndividual* _tmp5_;
			const gchar* _tmp6_;
			const gchar* _tmp7_;
			FolksIndividual* _tmp8_;
			const gchar* _tmp9_;
			const gchar* _tmp10_;
#line 297 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp5_ = self->priv->_individual_received;
#line 297 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp6_ = folks_individual_get_id (_tmp5_);
#line 297 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp7_ = _tmp6_;
#line 297 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp8_ = i;
#line 297 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp9_ = folks_individual_get_id (_tmp8_);
#line 297 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp10_ = _tmp9_;
#line 297 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp3_ = g_strcmp0 (_tmp7_, _tmp10_) == 0;
#line 2211 "add-persona.c"
		}
#line 296 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp11_ = _tmp3_;
#line 296 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_assert (_tmp11_);
#line 300 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp12_ = self->priv->_individual_received;
#line 300 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		if (_tmp12_ != NULL) {
#line 2221 "add-persona.c"
			FolksIndividual* _tmp13_;
			guint _tmp14_ = 0U;
			GQuark _tmp15_ = 0U;
			FolksIndividual* _tmp16_;
			guint _tmp17_ = 0U;
			GQuark _tmp18_ = 0U;
			FolksIndividual* _tmp19_;
			guint _tmp20_ = 0U;
			GQuark _tmp21_ = 0U;
			FolksIndividual* _tmp22_;
			guint _tmp23_ = 0U;
			GQuark _tmp24_ = 0U;
			FolksIndividual* _tmp25_;
			guint _tmp26_ = 0U;
			GQuark _tmp27_ = 0U;
			FolksIndividual* _tmp28_;
			guint _tmp29_ = 0U;
			GQuark _tmp30_ = 0U;
			FolksIndividual* _tmp31_;
			guint _tmp32_ = 0U;
			GQuark _tmp33_ = 0U;
			FolksIndividual* _tmp34_;
			guint _tmp35_ = 0U;
			GQuark _tmp36_ = 0U;
			FolksIndividual* _tmp37_;
			guint _tmp38_ = 0U;
			GQuark _tmp39_ = 0U;
			FolksIndividual* _tmp40_;
			guint _tmp41_ = 0U;
			GQuark _tmp42_ = 0U;
			GHashTable* _tmp43_;
#line 302 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp13_ = i;
#line 302 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::full-name", G_TYPE_OBJECT, &_tmp14_, &_tmp15_, TRUE);
#line 302 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, _tmp15_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 303 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp16_ = i;
#line 303 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::email-addresses", G_TYPE_OBJECT, &_tmp17_, &_tmp18_, TRUE);
#line 303 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp16_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp17_, _tmp18_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 304 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp19_ = i;
#line 304 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::avatar", G_TYPE_OBJECT, &_tmp20_, &_tmp21_, TRUE);
#line 304 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp19_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp20_, _tmp21_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 305 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp22_ = i;
#line 305 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::im-addresses", G_TYPE_OBJECT, &_tmp23_, &_tmp24_, TRUE);
#line 305 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp22_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp23_, _tmp24_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 306 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp25_ = i;
#line 306 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::phone-numbers", G_TYPE_OBJECT, &_tmp26_, &_tmp27_, TRUE);
#line 306 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp25_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp26_, _tmp27_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 307 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp28_ = i;
#line 307 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::postal-addresses", G_TYPE_OBJECT, &_tmp29_, &_tmp30_, TRUE);
#line 307 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp28_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp29_, _tmp30_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 308 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp31_ = i;
#line 308 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::structured-name", G_TYPE_OBJECT, &_tmp32_, &_tmp33_, TRUE);
#line 308 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp31_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp32_, _tmp33_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 309 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp34_ = i;
#line 309 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::notes", G_TYPE_OBJECT, &_tmp35_, &_tmp36_, TRUE);
#line 309 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp34_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp35_, _tmp36_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 310 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp37_ = i;
#line 310 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::birthday", G_TYPE_OBJECT, &_tmp38_, &_tmp39_, TRUE);
#line 310 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp37_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp38_, _tmp39_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 311 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp40_ = i;
#line 311 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_parse_name ("notify::roles", G_TYPE_OBJECT, &_tmp41_, &_tmp42_, TRUE);
#line 311 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_signal_handlers_disconnect_matched ((GObject*) _tmp40_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DETAIL | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp41_, _tmp42_, NULL, (GCallback) __add_persona_tests_notify_cb_g_object_notify, self);
#line 313 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp43_ = self->priv->_properties_found;
#line 313 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_hash_table_remove_all (_tmp43_);
#line 2317 "add-persona.c"
		}
#line 316 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp44_ = i;
#line 316 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp45_ = _g_object_ref0 (_tmp44_);
#line 316 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (self->priv->_individual_received);
#line 316 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		self->priv->_individual_received = _tmp45_;
#line 317 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp46_ = retval;
#line 317 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		retval = _tmp46_ + 1;
#line 319 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp47_ = i;
#line 319 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp47_, "notify::full-name", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 320 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp48_ = i;
#line 320 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp48_, "notify::email-addresses", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 321 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp49_ = i;
#line 321 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp49_, "notify::avatar", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 322 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp50_ = i;
#line 322 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp50_, "notify::im-addresses", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 323 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp51_ = i;
#line 323 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp51_, "notify::phone-numbers", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 324 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp52_ = i;
#line 324 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp52_, "notify::postal-addresses", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 325 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp53_ = i;
#line 325 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp53_, "notify::structured-name", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 326 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp54_ = i;
#line 326 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp54_, "notify::notes", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 327 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp55_ = i;
#line 327 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp55_, "notify::birthday", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 328 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp56_ = i;
#line 328 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_signal_connect_object ((GObject*) _tmp56_, "notify::roles", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 330 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp57_ = i;
#line 330 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_add_persona_tests_check_properties (self, _tmp57_, NULL, NULL);
#line 2375 "add-persona.c"
	}
#line 333 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	result = retval;
#line 333 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return result;
#line 2381 "add-persona.c"
}


static void _add_persona_tests_notify_cb (AddPersonaTests* self, GObject* individual_obj, GParamSpec* ps) {
	GObject* _tmp0_;
	FolksIndividual* _tmp1_;
	FolksIndividual* i;
#line 336 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 336 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (individual_obj != NULL);
#line 336 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (ps != NULL);
#line 338 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = individual_obj;
#line 338 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = _g_object_ref0 (FOLKS_INDIVIDUAL (_tmp0_));
#line 338 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	i = _tmp1_;
#line 339 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_check_properties (self, i, NULL, NULL);
#line 336 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (i);
#line 2405 "add-persona.c"
}


static void _add_persona_tests_notify_pstore_cb (AddPersonaTests* self, GObject* _pstore, GParamSpec* ps) {
#line 342 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 342 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (_pstore != NULL);
#line 342 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (ps != NULL);
#line 344 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_try_to_add (self);
#line 2418 "add-persona.c"
}


static void _add_persona_tests_try_to_add (AddPersonaTests* self) {
	GError * _inner_error_ = NULL;
#line 347 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 2426 "add-persona.c"
	{
		gboolean _tmp0_;
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_tmp0_ = self->priv->_added_persona;
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_static_rec_mutex_lock (&self->priv->__lock__added_persona);
#line 2433 "add-persona.c"
		{
			gboolean _tmp1_ = FALSE;
			EdsfPersonaStore* _tmp2_;
			gboolean _tmp3_;
			gboolean _tmp4_;
			gboolean _tmp6_;
#line 351 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp2_ = self->priv->_pstore;
#line 351 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp3_ = folks_persona_store_get_is_prepared ((FolksPersonaStore*) _tmp2_);
#line 351 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp4_ = _tmp3_;
#line 351 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_tmp4_) {
#line 2448 "add-persona.c"
				gboolean _tmp5_;
#line 352 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp5_ = self->priv->_added_persona;
#line 352 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp1_ = _tmp5_ == FALSE;
#line 2454 "add-persona.c"
			} else {
#line 351 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp1_ = FALSE;
#line 2458 "add-persona.c"
			}
#line 351 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp6_ = _tmp1_;
#line 351 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_tmp6_) {
#line 354 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				self->priv->_added_persona = TRUE;
#line 355 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_add_persona_tests_add_persona (self, NULL, NULL);
#line 2468 "add-persona.c"
			}
		}
		__finally2:
		{
			gboolean _tmp7_;
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_tmp7_ = self->priv->_added_persona;
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_static_rec_mutex_unlock (&self->priv->__lock__added_persona);
#line 2478 "add-persona.c"
		}
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		if (_inner_error_ != NULL) {
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_clear_error (&_inner_error_);
#line 349 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			return;
#line 2488 "add-persona.c"
		}
	}
}


static void _add_persona_tests_check_properties_data_free (gpointer _data) {
	AddPersonaTestsCheckPropertiesData* _data_;
	_data_ = _data;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->i);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_slice_free (AddPersonaTestsCheckPropertiesData, _data_);
#line 2503 "add-persona.c"
}


static void _add_persona_tests_check_properties (AddPersonaTests* self, FolksIndividual* i, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	AddPersonaTestsCheckPropertiesData* _data_;
	AddPersonaTests* _tmp0_;
	FolksIndividual* _tmp1_;
	FolksIndividual* _tmp2_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = g_slice_new0 (AddPersonaTestsCheckPropertiesData);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _add_persona_tests_check_properties);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _add_persona_tests_check_properties_data_free);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->self = _tmp0_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = i;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->i = _tmp2_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_check_properties_co (_data_);
#line 2530 "add-persona.c"
}


static void _add_persona_tests_check_properties_finish (AddPersonaTests* self, GAsyncResult* _res_) {
	AddPersonaTestsCheckPropertiesData* _data_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2538 "add-persona.c"
}


static void _add_persona_tests_check_properties_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	AddPersonaTestsCheckPropertiesData* _data_;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_ = _user_data_;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_source_object_ = source_object;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_res_ = _res_;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_check_properties_co (_data_);
#line 2552 "add-persona.c"
}


static gboolean _add_persona_tests_check_properties_co (AddPersonaTestsCheckPropertiesData* _data_) {
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	switch (_data_->_state_) {
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		case 0:
#line 2561 "add-persona.c"
		goto _state_0;
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		case 1:
#line 2565 "add-persona.c"
		goto _state_1;
		default:
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_assert_not_reached ();
#line 2570 "add-persona.c"
	}
	_state_0:
#line 362 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp0_ = _data_->i;
#line 362 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp1_ = folks_name_details_get_full_name ((FolksNameDetails*) _data_->_tmp0_);
#line 362 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 362 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp3_ = _data_->self->priv->_persona_fullname;
#line 362 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (g_strcmp0 (_data_->_tmp2_, _data_->_tmp3_) == 0) {
#line 363 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp4_ = _data_->self->priv->_properties_found;
#line 363 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp5_ = g_strdup ("full_name");
#line 363 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_hash_table_replace (_data_->_tmp4_, _data_->_tmp5_, GINT_TO_POINTER (TRUE));
#line 2589 "add-persona.c"
	}
	{
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp6_ = _data_->i;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp7_ = folks_email_details_get_email_addresses ((FolksEmailDetails*) _data_->_tmp6_);
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp8_ = _data_->_tmp7_;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp9_ = NULL;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp9_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp8_);
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_e_it = _data_->_tmp9_;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		while (TRUE) {
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp10_ = _data_->_e_it;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp11_ = FALSE;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp11_ = gee_iterator_next (_data_->_tmp10_);
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (!_data_->_tmp11_) {
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 2616 "add-persona.c"
			}
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp12_ = _data_->_e_it;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp13_ = NULL;
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp13_ = gee_iterator_get (_data_->_tmp12_);
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->e = (FolksEmailFieldDetails*) _data_->_tmp13_;
#line 367 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp14_ = _data_->e;
#line 367 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp15_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _data_->_tmp14_);
#line 367 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 367 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp17_ = _data_->self->priv->_email_1;
#line 367 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (g_strcmp0 ((const gchar*) _data_->_tmp16_, _data_->_tmp17_) == 0) {
#line 369 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp18_ = _data_->self->priv->_properties_found;
#line 369 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp19_ = g_strdup ("email-1");
#line 369 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				g_hash_table_replace (_data_->_tmp18_, _data_->_tmp19_, GINT_TO_POINTER (TRUE));
#line 2642 "add-persona.c"
			}
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->e);
#line 2646 "add-persona.c"
		}
#line 365 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_e_it);
#line 2650 "add-persona.c"
	}
	{
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp20_ = _data_->i;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp21_ = folks_im_details_get_im_addresses ((FolksImDetails*) _data_->_tmp20_);
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp22_ = _data_->_tmp21_;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp23_ = NULL;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp23_ = gee_multi_map_get_keys (_data_->_tmp22_);
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp24_ = _data_->_tmp23_;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp25_ = NULL;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp25_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp24_);
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp26_ = _data_->_tmp25_;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_tmp24_);
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_proto_it = _data_->_tmp26_;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		while (TRUE) {
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp27_ = _data_->_proto_it;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp28_ = FALSE;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp28_ = gee_iterator_next (_data_->_tmp27_);
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (!_data_->_tmp28_) {
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 2687 "add-persona.c"
			}
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp29_ = _data_->_proto_it;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp30_ = NULL;
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp30_ = gee_iterator_get (_data_->_tmp29_);
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->proto = (gchar*) _data_->_tmp30_;
#line 375 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp31_ = _data_->i;
#line 375 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp32_ = folks_im_details_get_im_addresses ((FolksImDetails*) _data_->_tmp31_);
#line 375 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp33_ = _data_->_tmp32_;
#line 375 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp34_ = _data_->proto;
#line 375 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp35_ = NULL;
#line 375 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp35_ = gee_multi_map_get (_data_->_tmp33_, _data_->_tmp34_);
#line 375 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->im_fds = _data_->_tmp35_;
#line 2711 "add-persona.c"
			{
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp36_ = _data_->im_fds;
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp37_ = NULL;
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp37_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp36_);
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_im_fd_it = _data_->_tmp37_;
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				while (TRUE) {
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp38_ = _data_->_im_fd_it;
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp39_ = FALSE;
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp39_ = gee_iterator_next (_data_->_tmp38_);
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					if (!_data_->_tmp39_) {
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						break;
#line 2733 "add-persona.c"
					}
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp40_ = _data_->_im_fd_it;
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp41_ = NULL;
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp41_ = gee_iterator_get (_data_->_tmp40_);
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->im_fd = (FolksImFieldDetails*) _data_->_tmp41_;
#line 378 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp42_ = _data_->im_fd;
#line 378 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp43_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _data_->_tmp42_);
#line 378 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp44_ = _data_->_tmp43_;
#line 378 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp45_ = _data_->self->priv->_im_addr_1;
#line 378 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					if (g_strcmp0 ((const gchar*) _data_->_tmp44_, _data_->_tmp45_) == 0) {
#line 379 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						_data_->_tmp46_ = _data_->self->priv->_properties_found;
#line 379 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						_data_->_tmp47_ = g_strdup ("im-addr-1");
#line 379 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						g_hash_table_replace (_data_->_tmp46_, _data_->_tmp47_, GINT_TO_POINTER (TRUE));
#line 2759 "add-persona.c"
					} else {
#line 380 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						_data_->_tmp48_ = _data_->im_fd;
#line 380 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						_data_->_tmp49_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _data_->_tmp48_);
#line 380 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						_data_->_tmp50_ = _data_->_tmp49_;
#line 380 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						_data_->_tmp51_ = _data_->self->priv->_im_addr_2;
#line 380 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
						if (g_strcmp0 ((const gchar*) _data_->_tmp50_, _data_->_tmp51_) == 0) {
#line 381 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
							_data_->_tmp52_ = _data_->self->priv->_properties_found;
#line 381 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
							_data_->_tmp53_ = g_strdup ("im-addr-2");
#line 381 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
							g_hash_table_replace (_data_->_tmp52_, _data_->_tmp53_, GINT_TO_POINTER (TRUE));
#line 2777 "add-persona.c"
						}
					}
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_g_object_unref0 (_data_->im_fd);
#line 2782 "add-persona.c"
				}
#line 376 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_g_object_unref0 (_data_->_im_fd_it);
#line 2786 "add-persona.c"
			}
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->im_fds);
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_free0 (_data_->proto);
#line 2792 "add-persona.c"
		}
#line 373 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_proto_it);
#line 2796 "add-persona.c"
	}
	{
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp54_ = _data_->i;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp55_ = folks_phone_details_get_phone_numbers ((FolksPhoneDetails*) _data_->_tmp54_);
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp56_ = _data_->_tmp55_;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp57_ = NULL;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp57_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp56_);
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_phone_fd_it = _data_->_tmp57_;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		while (TRUE) {
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp58_ = _data_->_phone_fd_it;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp59_ = FALSE;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp59_ = gee_iterator_next (_data_->_tmp58_);
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (!_data_->_tmp59_) {
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 2823 "add-persona.c"
			}
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp60_ = _data_->_phone_fd_it;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp61_ = NULL;
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp61_ = gee_iterator_get (_data_->_tmp60_);
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->phone_fd = (FolksPhoneFieldDetails*) _data_->_tmp61_;
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp62_ = _data_->phone_fd;
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp63_ = _data_->self->priv->_phone_1;
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp64_ = folks_phone_field_details_new (_data_->_tmp63_, NULL);
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp65_ = _data_->_tmp64_;
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp66_ = FALSE;
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp66_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _data_->_tmp62_, (FolksAbstractFieldDetails*) _data_->_tmp65_);
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp67_ = _data_->_tmp66_;
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->_tmp65_);
#line 387 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_data_->_tmp67_) {
#line 389 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp68_ = _data_->self->priv->_properties_found;
#line 389 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp69_ = g_strdup ("phone-1");
#line 389 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				g_hash_table_replace (_data_->_tmp68_, _data_->_tmp69_, GINT_TO_POINTER (TRUE));
#line 2857 "add-persona.c"
			} else {
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp70_ = _data_->phone_fd;
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp71_ = _data_->self->priv->_phone_2;
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp72_ = folks_phone_field_details_new (_data_->_tmp71_, NULL);
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp73_ = _data_->_tmp72_;
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp74_ = FALSE;
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp74_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _data_->_tmp70_, (FolksAbstractFieldDetails*) _data_->_tmp73_);
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp75_ = _data_->_tmp74_;
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_g_object_unref0 (_data_->_tmp73_);
#line 391 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				if (_data_->_tmp75_) {
#line 393 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp76_ = _data_->self->priv->_properties_found;
#line 393 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_data_->_tmp77_ = g_strdup ("phone-2");
#line 393 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					g_hash_table_replace (_data_->_tmp76_, _data_->_tmp77_, GINT_TO_POINTER (TRUE));
#line 2883 "add-persona.c"
				}
			}
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->phone_fd);
#line 2888 "add-persona.c"
		}
#line 385 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_phone_fd_it);
#line 2892 "add-persona.c"
	}
	{
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp78_ = _data_->i;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp79_ = folks_postal_address_details_get_postal_addresses ((FolksPostalAddressDetails*) _data_->_tmp78_);
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp80_ = _data_->_tmp79_;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp81_ = NULL;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp81_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp80_);
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_pa_fd_it = _data_->_tmp81_;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		while (TRUE) {
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp82_ = _data_->_pa_fd_it;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp83_ = FALSE;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp83_ = gee_iterator_next (_data_->_tmp82_);
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (!_data_->_tmp83_) {
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 2919 "add-persona.c"
			}
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp84_ = _data_->_pa_fd_it;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp85_ = NULL;
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp85_ = gee_iterator_get (_data_->_tmp84_);
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->pa_fd = (FolksPostalAddressFieldDetails*) _data_->_tmp85_;
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp86_ = _data_->self->priv->_address;
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp87_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _data_->_tmp86_);
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp88_ = _data_->_tmp87_;
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp89_ = _data_->pa_fd;
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp90_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _data_->_tmp89_);
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp91_ = _data_->_tmp90_;
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp92_ = folks_postal_address_get_uid ((FolksPostalAddress*) _data_->_tmp91_);
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp93_ = _data_->_tmp92_;
#line 399 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			folks_postal_address_set_uid ((FolksPostalAddress*) _data_->_tmp88_, _data_->_tmp93_);
#line 400 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp94_ = _data_->pa_fd;
#line 400 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp95_ = _data_->self->priv->_address;
#line 400 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp96_ = FALSE;
#line 400 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp96_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _data_->_tmp94_, (FolksAbstractFieldDetails*) _data_->_tmp95_);
#line 400 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_data_->_tmp96_) {
#line 401 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp97_ = _data_->self->priv->_properties_found;
#line 401 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp98_ = g_strdup ("postal-address-1");
#line 401 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				g_hash_table_replace (_data_->_tmp97_, _data_->_tmp98_, GINT_TO_POINTER (TRUE));
#line 2963 "add-persona.c"
			}
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->pa_fd);
#line 2967 "add-persona.c"
		}
#line 397 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_pa_fd_it);
#line 2971 "add-persona.c"
	}
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp101_ = _data_->i;
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp102_ = folks_name_details_get_structured_name ((FolksNameDetails*) _data_->_tmp101_);
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp103_ = _data_->_tmp102_;
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_tmp103_ != NULL) {
#line 405 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp104_ = _data_->i;
#line 405 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp105_ = folks_name_details_get_structured_name ((FolksNameDetails*) _data_->_tmp104_);
#line 405 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp106_ = _data_->_tmp105_;
#line 405 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp107_ = folks_structured_name_get_family_name (_data_->_tmp106_);
#line 405 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp108_ = _data_->_tmp107_;
#line 405 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp109_ = _data_->self->priv->_family_name;
#line 405 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp100_ = g_strcmp0 (_data_->_tmp108_, _data_->_tmp109_) == 0;
#line 2995 "add-persona.c"
	} else {
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp100_ = FALSE;
#line 2999 "add-persona.c"
	}
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp110_ = _data_->_tmp100_;
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_tmp110_) {
#line 406 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp111_ = _data_->i;
#line 406 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp112_ = folks_name_details_get_structured_name ((FolksNameDetails*) _data_->_tmp111_);
#line 406 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp113_ = _data_->_tmp112_;
#line 406 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp114_ = folks_structured_name_get_given_name (_data_->_tmp113_);
#line 406 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp115_ = _data_->_tmp114_;
#line 406 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp116_ = _data_->self->priv->_given_name;
#line 406 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp99_ = g_strcmp0 (_data_->_tmp115_, _data_->_tmp116_) == 0;
#line 3019 "add-persona.c"
	} else {
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp99_ = FALSE;
#line 3023 "add-persona.c"
	}
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp117_ = _data_->_tmp99_;
#line 404 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_tmp117_) {
#line 407 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp118_ = _data_->self->priv->_properties_found;
#line 407 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp119_ = g_strdup ("structured_name");
#line 407 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_hash_table_replace (_data_->_tmp118_, _data_->_tmp119_, GINT_TO_POINTER (TRUE));
#line 3035 "add-persona.c"
	}
	{
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp120_ = _data_->i;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp121_ = folks_note_details_get_notes ((FolksNoteDetails*) _data_->_tmp120_);
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp122_ = _data_->_tmp121_;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp123_ = NULL;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp123_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp122_);
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_note_it = _data_->_tmp123_;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		while (TRUE) {
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp124_ = _data_->_note_it;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp125_ = FALSE;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp125_ = gee_iterator_next (_data_->_tmp124_);
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (!_data_->_tmp125_) {
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 3062 "add-persona.c"
			}
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp126_ = _data_->_note_it;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp127_ = NULL;
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp127_ = gee_iterator_get (_data_->_tmp126_);
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->note = (FolksNoteFieldDetails*) _data_->_tmp127_;
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp128_ = _data_->note;
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp129_ = _data_->self->priv->_note;
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp130_ = folks_note_field_details_new (_data_->_tmp129_, NULL, NULL);
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp131_ = _data_->_tmp130_;
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp132_ = FALSE;
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp132_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _data_->_tmp128_, (FolksAbstractFieldDetails*) _data_->_tmp131_);
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp133_ = _data_->_tmp132_;
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->_tmp131_);
#line 411 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_data_->_tmp133_) {
#line 413 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp134_ = _data_->self->priv->_properties_found;
#line 413 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp135_ = g_strdup ("note");
#line 413 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				g_hash_table_replace (_data_->_tmp134_, _data_->_tmp135_, GINT_TO_POINTER (TRUE));
#line 414 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_g_object_unref0 (_data_->note);
#line 414 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 3100 "add-persona.c"
			}
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->note);
#line 3104 "add-persona.c"
		}
#line 409 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_note_it);
#line 3108 "add-persona.c"
	}
#line 418 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp136_ = _data_->i;
#line 418 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp137_ = folks_avatar_details_get_avatar ((FolksAvatarDetails*) _data_->_tmp136_);
#line 418 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp138_ = _data_->_tmp137_;
#line 418 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_tmp138_ != NULL) {
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp139_ = _data_->self->priv->_avatar_path;
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp140_ = NULL;
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp140_ = g_file_new_for_path (_data_->_tmp139_);
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp141_ = _data_->_tmp140_;
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp142_ = (GFileIcon*) g_file_icon_new (_data_->_tmp141_);
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp143_ = _data_->_tmp142_;
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_tmp141_);
#line 420 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->b = _data_->_tmp143_;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp144_ = _data_->b;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp145_ = _data_->i;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp146_ = folks_avatar_details_get_avatar ((FolksAvatarDetails*) _data_->_tmp145_);
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp147_ = _data_->_tmp146_;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_state_ = 1;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		folks_test_utils_loadable_icons_content_equal ((GLoadableIcon*) _data_->_tmp144_, _data_->_tmp147_, -1, _add_persona_tests_check_properties_ready, _data_);
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		return FALSE;
#line 3148 "add-persona.c"
		_state_1:
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp148_ = FALSE;
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp148_ = folks_test_utils_loadable_icons_content_equal_finish (_data_->_res_);
#line 422 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->same = _data_->_tmp148_;
#line 424 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp149_ = _data_->same;
#line 424 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		if (_data_->_tmp149_) {
#line 425 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp150_ = _data_->self->priv->_properties_found;
#line 425 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp151_ = g_strdup ("avatar");
#line 425 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_hash_table_replace (_data_->_tmp150_, _data_->_tmp151_, GINT_TO_POINTER (TRUE));
#line 3166 "add-persona.c"
		}
#line 418 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->b);
#line 3170 "add-persona.c"
	}
#line 428 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp152_ = _data_->i;
#line 428 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp153_ = folks_birthday_details_get_birthday ((FolksBirthdayDetails*) _data_->_tmp152_);
#line 428 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_data_->_tmp154_ = _data_->_tmp153_;
#line 428 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_tmp154_ != NULL) {
#line 430 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp155_ = g_date_time_new_local (1980, 1, 1, 0, 0, 0.0);
#line 430 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp156_ = _data_->_tmp155_;
#line 430 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp157_ = NULL;
#line 430 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp157_ = g_date_time_to_utc (_data_->_tmp156_);
#line 430 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp158_ = _data_->_tmp157_;
#line 430 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_date_time_unref0 (_data_->_tmp156_);
#line 430 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->dobj = _data_->_tmp158_;
#line 431 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp159_ = _data_->i;
#line 431 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp160_ = folks_birthday_details_get_birthday ((FolksBirthdayDetails*) _data_->_tmp159_);
#line 431 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp161_ = _data_->_tmp160_;
#line 431 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp162_ = _data_->dobj;
#line 431 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp163_ = FALSE;
#line 431 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp163_ = g_date_time_equal (_data_->_tmp161_, _data_->_tmp162_);
#line 431 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		if (_data_->_tmp163_) {
#line 432 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp164_ = _data_->self->priv->_properties_found;
#line 432 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp165_ = g_strdup ("birthday");
#line 432 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			g_hash_table_replace (_data_->_tmp164_, _data_->_tmp165_, GINT_TO_POINTER (TRUE));
#line 3214 "add-persona.c"
		}
#line 428 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_date_time_unref0 (_data_->dobj);
#line 3218 "add-persona.c"
	}
	{
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp166_ = _data_->i;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp167_ = folks_role_details_get_roles ((FolksRoleDetails*) _data_->_tmp166_);
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp168_ = _data_->_tmp167_;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp169_ = NULL;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_tmp169_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp168_);
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_data_->_role_fd_it = _data_->_tmp169_;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		while (TRUE) {
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp170_ = _data_->_role_fd_it;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp171_ = FALSE;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp171_ = gee_iterator_next (_data_->_tmp170_);
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (!_data_->_tmp171_) {
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				break;
#line 3245 "add-persona.c"
			}
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp172_ = _data_->_role_fd_it;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp173_ = NULL;
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp173_ = gee_iterator_get (_data_->_tmp172_);
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->role_fd = (FolksRoleFieldDetails*) _data_->_tmp173_;
#line 437 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp174_ = folks_role_new ("Dr.", "The Nut House Ltd", NULL);
#line 437 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->r1 = _data_->_tmp174_;
#line 438 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp175_ = _data_->r1;
#line 438 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			folks_role_set_role (_data_->_tmp175_, "The Manager");
#line 439 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp176_ = _data_->r1;
#line 439 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp177_ = folks_role_field_details_new (_data_->_tmp176_, NULL);
#line 439 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->role_fd_expected = _data_->_tmp177_;
#line 440 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp178_ = _data_->role_fd;
#line 440 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp179_ = _data_->role_fd_expected;
#line 440 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp180_ = FALSE;
#line 440 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_data_->_tmp180_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _data_->_tmp178_, (FolksAbstractFieldDetails*) _data_->_tmp179_);
#line 440 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			if (_data_->_tmp180_) {
#line 441 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp181_ = _data_->self->priv->_properties_found;
#line 441 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_data_->_tmp182_ = g_strdup ("role-1");
#line 441 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				g_hash_table_replace (_data_->_tmp181_, _data_->_tmp182_, GINT_TO_POINTER (TRUE));
#line 3285 "add-persona.c"
			}
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->role_fd_expected);
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->r1);
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			_g_object_unref0 (_data_->role_fd);
#line 3293 "add-persona.c"
		}
#line 435 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_object_unref0 (_data_->_role_fd_it);
#line 3297 "add-persona.c"
	}
#line 444 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_add_persona_tests_exit_if_all_properties_found (_data_->self);
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	if (_data_->_state_ == 0) {
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3305 "add-persona.c"
	} else {
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3309 "add-persona.c"
	}
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_object_unref (_data_->_async_result);
#line 360 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return FALSE;
#line 3315 "add-persona.c"
}


static void _add_persona_tests_exit_if_all_properties_found (AddPersonaTests* self) {
	GHashTable* _tmp0_;
	GList* _tmp1_ = NULL;
	GMainLoop* _tmp6_;
#line 447 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 449 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = self->priv->_properties_found;
#line 449 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = g_hash_table_get_keys (_tmp0_);
#line 3329 "add-persona.c"
	{
		GList* k_collection = NULL;
		GList* k_it = NULL;
#line 449 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		k_collection = _tmp1_;
#line 449 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		for (k_it = k_collection; k_it != NULL; k_it = k_it->next) {
#line 3337 "add-persona.c"
			const gchar* k = NULL;
#line 449 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
			k = (const gchar*) k_it->data;
#line 3341 "add-persona.c"
			{
				GHashTable* _tmp2_;
				const gchar* _tmp3_;
				gconstpointer _tmp4_ = NULL;
				gboolean v;
				gboolean _tmp5_;
#line 451 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp2_ = self->priv->_properties_found;
#line 451 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp3_ = k;
#line 451 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp4_ = g_hash_table_lookup (_tmp2_, _tmp3_);
#line 451 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				v = GPOINTER_TO_INT (_tmp4_);
#line 452 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				_tmp5_ = v;
#line 452 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
				if (_tmp5_ == FALSE) {
#line 453 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					_g_list_free0 (k_collection);
#line 453 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
					return;
#line 3364 "add-persona.c"
				}
			}
		}
#line 449 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
		_g_list_free0 (k_collection);
#line 3370 "add-persona.c"
	}
#line 455 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp6_ = self->priv->_main_loop;
#line 455 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_main_loop_quit (_tmp6_);
#line 3376 "add-persona.c"
}


static void add_persona_tests_class_init (AddPersonaTestsClass * klass) {
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	add_persona_tests_parent_class = g_type_class_peek_parent (klass);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_type_class_add_private (klass, sizeof (AddPersonaTestsPrivate));
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = add_persona_tests_real_set_up;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = add_persona_tests_real_tear_down;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_OBJECT_CLASS (klass)->finalize = add_persona_tests_finalize;
#line 3391 "add-persona.c"
}


static void add_persona_tests_instance_init (AddPersonaTests * self) {
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv = ADD_PERSONA_TESTS_GET_PRIVATE (self);
#line 32 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_static_rec_mutex_init (&self->priv->__lock__added_persona);
#line 32 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_added_persona = FALSE;
#line 40 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = g_strdup ("12345");
#line 40 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_po_box = _tmp0_;
#line 41 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = g_strdup ("locality");
#line 41 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_locality = _tmp1_;
#line 42 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp2_ = g_strdup ("code");
#line 42 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_postal_code = _tmp2_;
#line 43 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp3_ = g_strdup ("some street");
#line 43 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_street = _tmp3_;
#line 44 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp4_ = g_strdup ("some extension");
#line 44 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_extension = _tmp4_;
#line 45 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp5_ = g_strdup ("some country");
#line 45 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_country = _tmp5_;
#line 46 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp6_ = g_strdup ("some region");
#line 46 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_region = _tmp6_;
#line 49 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp7_ = g_strdup ("This is a note.");
#line 49 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self->priv->_note = _tmp7_;
#line 3442 "add-persona.c"
}


static void add_persona_tests_finalize (GObject* obj) {
	AddPersonaTests * self;
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	self = ADD_PERSONA_TESTS (obj);
#line 26 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 27 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_eds_test_backend_unref0 (self->priv->_eds_backend);
#line 28 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 29 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 30 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_email_1);
#line 31 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (self->priv->_pstore);
#line 32 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_static_rec_mutex_free (&self->priv->__lock__added_persona);
#line 33 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_hash_table_unref0 (self->priv->_properties_found);
#line 34 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_avatar_path);
#line 35 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_im_addr_1);
#line 36 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_im_addr_2);
#line 37 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_phone_1);
#line 38 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_phone_2);
#line 39 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (self->priv->_address);
#line 40 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_po_box);
#line 41 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_locality);
#line 42 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_postal_code);
#line 43 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_street);
#line 44 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_extension);
#line 45 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_country);
#line 46 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_region);
#line 47 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_family_name);
#line 48 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_given_name);
#line 49 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_free0 (self->priv->_note);
#line 50 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (self->priv->_individual_received);
#line 24 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	G_OBJECT_CLASS (add_persona_tests_parent_class)->finalize (obj);
#line 3502 "add-persona.c"
}


GType add_persona_tests_get_type (void) {
	static volatile gsize add_persona_tests_type_id__volatile = 0;
	if (g_once_init_enter (&add_persona_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AddPersonaTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) add_persona_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AddPersonaTests), 0, (GInstanceInitFunc) add_persona_tests_instance_init, NULL };
		GType add_persona_tests_type_id;
		add_persona_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "AddPersonaTests", &g_define_type_info, 0);
		g_once_init_leave (&add_persona_tests_type_id__volatile, add_persona_tests_type_id);
	}
	return add_persona_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	AddPersonaTests* _tmp1_;
	AddPersonaTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 461 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_test_init (&args_length1, &args, NULL);
#line 463 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp0_ = g_test_get_root ();
#line 463 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	root = _tmp0_;
#line 464 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp1_ = add_persona_tests_new ();
#line 464 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp2_ = _tmp1_;
#line 464 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 464 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 464 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	_g_object_unref0 (_tmp2_);
#line 466 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_test_run ();
#line 468 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	result = 0;
#line 468 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return result;
#line 3547 "add-persona.c"
}


int main (int argc, char ** argv) {
#line 459 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	g_type_init ();
#line 459 "/debian/rgs/devel/folks/tests/eds/add-persona.vala"
	return _vala_main (argv, argc);
#line 3556 "add-persona.c"
}



