/* add-persona.c generated by valac 0.14.0.15-f8b5, 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 <tracker-test.h>
#include <folks/folks.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <folks/folks-tracker.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 _tracker_test_backend_unref0(var) ((var == NULL) ? NULL : (var = (tracker_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_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_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)))
typedef struct _AddPersonaTestsAddPersonaData AddPersonaTestsAddPersonaData;

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

struct _AddPersonaTestsClass {
	FolksTestCaseClass parent_class;
};

struct _AddPersonaTestsPrivate {
	GMainLoop* _main_loop;
	TrackerTestBackend* _tracker_backend;
	FolksIndividualAggregator* _aggregator;
	gchar* _persona_fullname;
	gchar* _persona_nickname;
	gchar* _family_name;
	gchar* _given_name;
	GHashTable* _properties_found;
	gchar* _persona_iid;
	GLoadableIcon* _avatar;
	gchar* _birthday;
	GDateTime* _bday;
	gchar* _email_1;
	gchar* _email_2;
	gchar* _im_addr_1;
	gchar* _im_addr_2;
	gchar* _note_1;
	gchar* _phone_1;
	gchar* _phone_2;
	gchar* _title_1;
	gchar* _organisation_1;
	gchar* _role_1;
	FolksPostalAddressFieldDetails* _postal_address_fd;
	gchar* _po_box;
	gchar* _locality;
	gchar* _postal_code;
	gchar* _street;
	gchar* _extension;
	gchar* _country;
	gchar* _region;
	gchar* _url_1;
	gchar* _url_2;
	TrfPersonaStore* _pstore;
	gboolean _added_persona;
	GStaticRecMutex __lock__added_persona;
};

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_;
	TrfPersonaStore* _tmp19_;
	TrfPersonaStore* _tmp20_;
	TrfPersonaStore* _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;
	GValue* _tmp16_;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	gchar* _tmp19_;
	GValue* _tmp20_;
	GValue _tmp21_;
	GValue _tmp22_;
	GValue* _tmp23_;
	GValue* _tmp24_;
	GValue* v3;
	GValue* _tmp25_;
	const gchar* _tmp26_;
	gchar* _tmp27_;
	GValue* _tmp28_;
	GValue _tmp29_;
	GValue _tmp30_;
	GValue* _tmp31_;
	GValue* _tmp32_;
	GValue* v4;
	const gchar* _tmp33_;
	const gchar* _tmp34_;
	FolksStructuredName* _tmp35_;
	FolksStructuredName* sname;
	GValue* _tmp36_;
	const gchar* _tmp37_;
	gchar* _tmp38_;
	GValue* _tmp39_;
	GValue _tmp40_;
	GValue _tmp41_;
	GValue* _tmp42_;
	GValue* _tmp43_;
	GValue* v5;
	GValue* _tmp44_;
	GLoadableIcon* _tmp45_;
	const gchar* _tmp46_;
	gchar* _tmp47_;
	GValue* _tmp48_;
	GValue _tmp49_;
	GValue _tmp50_;
	GValue* _tmp51_;
	GValue* _tmp52_;
	GValue* v6;
	GTimeVal t;
	const gchar* _tmp53_;
	GTimeVal _tmp54_;
	GDateTime* _tmp55_;
	GDateTime* dobj;
	GValue* _tmp56_;
	const gchar* _tmp57_;
	gchar* _tmp58_;
	GValue* _tmp59_;
	GValue _tmp60_;
	GValue _tmp61_;
	GValue* _tmp62_;
	GValue* _tmp63_;
	GValue* v7;
	GValue* _tmp64_;
	const gchar* _tmp65_;
	gchar* _tmp66_;
	GValue* _tmp67_;
	GValue _tmp68_;
	GValue _tmp69_;
	GValue* _tmp70_;
	GValue* _tmp71_;
	GValue* v8;
	GeeHashSet* _tmp72_;
	GeeHashSet* emails;
	const gchar* _tmp73_;
	FolksEmailFieldDetails* _tmp74_;
	FolksEmailFieldDetails* email_1;
	const gchar* _tmp75_;
	FolksEmailFieldDetails* _tmp76_;
	FolksEmailFieldDetails* email_2;
	GValue* _tmp77_;
	const gchar* _tmp78_;
	gchar* _tmp79_;
	GValue* _tmp80_;
	GValue _tmp81_;
	GValue _tmp82_;
	GValue* _tmp83_;
	GValue* _tmp84_;
	GValue* v9;
	GeeHashMultiMap* _tmp85_;
	GeeHashMultiMap* im_addrs;
	const gchar* _tmp86_;
	FolksImFieldDetails* _tmp87_;
	FolksImFieldDetails* _tmp88_;
	const gchar* _tmp89_;
	FolksImFieldDetails* _tmp90_;
	FolksImFieldDetails* _tmp91_;
	const gchar* _tmp92_;
	gchar* _tmp93_;
	GValue* _tmp94_;
	GValue _tmp95_;
	GValue _tmp96_;
	GValue* _tmp97_;
	GValue* _tmp98_;
	GValue* v10;
	GeeHashSet* _tmp99_;
	GeeHashSet* notes;
	const gchar* _tmp100_;
	FolksNoteFieldDetails* _tmp101_;
	FolksNoteFieldDetails* note_fd_1;
	GValue* _tmp102_;
	const gchar* _tmp103_;
	gchar* _tmp104_;
	GValue* _tmp105_;
	GValue _tmp106_;
	GValue _tmp107_;
	GValue* _tmp108_;
	GValue* _tmp109_;
	GValue* v11;
	GeeHashSet* _tmp110_;
	GeeHashSet* phones;
	const gchar* _tmp111_;
	FolksPhoneFieldDetails* _tmp112_;
	FolksPhoneFieldDetails* phone_1;
	const gchar* _tmp113_;
	FolksPhoneFieldDetails* _tmp114_;
	FolksPhoneFieldDetails* phone_2;
	GValue* _tmp115_;
	const gchar* _tmp116_;
	gchar* _tmp117_;
	GValue* _tmp118_;
	GValue _tmp119_;
	GValue _tmp120_;
	GValue* _tmp121_;
	GValue* _tmp122_;
	GValue* v12;
	GeeHashSet* _tmp123_;
	GeeHashSet* role_fds;
	const gchar* _tmp124_;
	const gchar* _tmp125_;
	FolksRole* _tmp126_;
	FolksRole* r1;
	const gchar* _tmp127_;
	FolksRoleFieldDetails* _tmp128_;
	FolksRoleFieldDetails* role_fd1;
	GValue* _tmp129_;
	const gchar* _tmp130_;
	gchar* _tmp131_;
	GValue* _tmp132_;
	GValue _tmp133_;
	GValue _tmp134_;
	GValue* _tmp135_;
	GValue* _tmp136_;
	GValue* v13;
	GeeHashSet* _tmp137_;
	GeeHashSet* postal_addresses;
	const gchar* _tmp138_;
	const gchar* _tmp139_;
	const gchar* _tmp140_;
	const gchar* _tmp141_;
	const gchar* _tmp142_;
	const gchar* _tmp143_;
	const gchar* _tmp144_;
	FolksPostalAddress* _tmp145_;
	FolksPostalAddress* postal_a;
	FolksPostalAddressFieldDetails* _tmp146_;
	FolksPostalAddressFieldDetails* postal_a_fd;
	GValue* _tmp147_;
	const gchar* _tmp148_;
	gchar* _tmp149_;
	GValue* _tmp150_;
	GValue _tmp151_;
	GValue _tmp152_;
	GValue* _tmp153_;
	GValue* _tmp154_;
	GValue* v14;
	GeeHashSet* _tmp155_;
	GeeHashSet* urls;
	const gchar* _tmp156_;
	FolksUrlFieldDetails* _tmp157_;
	FolksUrlFieldDetails* url_1;
	const gchar* _tmp158_;
	FolksUrlFieldDetails* _tmp159_;
	FolksUrlFieldDetails* url_2;
	GValue* _tmp160_;
	const gchar* _tmp161_;
	gchar* _tmp162_;
	GValue* _tmp163_;
	FolksIndividualAggregator* _tmp164_;
	TrfPersonaStore* _tmp165_;
	FolksPersona* _tmp166_;
	FolksPersona* _tmp167_;
	TrfPersona* persona;
	TrfPersona* _tmp168_;
	const gchar* _tmp169_;
	const gchar* _tmp170_;
	gchar* _tmp171_;
	GError* e;
	GError* _tmp172_;
	const gchar* _tmp173_;
	GError * _inner_error_;
};


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 __lambda3_ (AddPersonaTests* self);
static gboolean ___lambda3__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 void _add_persona_tests_notify_persona_sname (AddPersonaTests* self, GObject* persona_p, GParamSpec* ps);
static void __add_persona_tests_notify_persona_sname_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
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);
static void _add_persona_tests_check_sname (AddPersonaTests* self, FolksStructuredName* sname);
static void _add_persona_tests_exit_if_all_properties_found (AddPersonaTests* self);
static void ___lambda2_ (AddPersonaTests* self, GObject* obj, GAsyncResult* _result_);
static void ____lambda2__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer 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 69 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	add_persona_tests_test_add_persona (self);
#line 415 "add-persona.c"
}


AddPersonaTests* add_persona_tests_construct (GType object_type) {
	AddPersonaTests * self = NULL;
	TrackerTestBackend* _tmp0_;
#line 65 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self = (AddPersonaTests*) folks_test_case_construct (object_type, "AddPersonaTests");
#line 67 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = tracker_test_backend_new ();
#line 67 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 67 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_tracker_backend = _tmp0_;
#line 69 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test adding personas to Tracker ", _add_persona_tests_test_add_persona_folks_test_case_test_method, self);
#line 63 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return self;
#line 434 "add-persona.c"
}


AddPersonaTests* add_persona_tests_new (void) {
#line 63 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return add_persona_tests_construct (TYPE_ADD_PERSONA_TESTS);
#line 441 "add-persona.c"
}


static void add_persona_tests_real_set_up (FolksTestCase* base) {
	AddPersonaTests * self;
#line 72 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self = (AddPersonaTests*) base;
#line 449 "add-persona.c"
}


static void add_persona_tests_real_tear_down (FolksTestCase* base) {
	AddPersonaTests * self;
#line 76 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self = (AddPersonaTests*) base;
#line 457 "add-persona.c"
}


static void _g_free0_ (gpointer var) {
#line 111 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	var = (g_free (var), NULL);
#line 464 "add-persona.c"
}


static gboolean __lambda3_ (AddPersonaTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 136 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = self->priv->_main_loop;
#line 136 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_main_loop_quit (_tmp0_);
#line 137 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_assert_not_reached ();
#line 134 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return result;
#line 479 "add-persona.c"
}


static gboolean ___lambda3__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda3_ (self);
#line 134 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return result;
#line 488 "add-persona.c"
}


void add_persona_tests_test_add_persona (AddPersonaTests* self) {
	GMainLoop* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	const gchar* _tmp6_ = NULL;
	gchar* _tmp7_;
	gchar* _avatar_path;
	const gchar* _tmp8_;
	GFile* _tmp9_ = NULL;
	GFile* _tmp10_;
	GFileIcon* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	const gchar* _tmp23_;
	const gchar* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	const gchar* _tmp27_;
	const gchar* _tmp28_;
	const gchar* _tmp29_;
	FolksPostalAddress* _tmp30_;
	FolksPostalAddress* address;
	FolksPostalAddress* _tmp31_;
	FolksPostalAddressFieldDetails* _tmp32_;
	GTimeVal t = {0};
	const gchar* _tmp33_;
	GTimeVal _tmp34_;
	GDateTime* _tmp35_;
	GHashFunc _tmp36_;
	GEqualFunc _tmp37_;
	GHashTable* _tmp38_;
	GHashTable* _tmp39_;
	gchar* _tmp40_;
	GHashTable* _tmp41_;
	gchar* _tmp42_;
	GHashTable* _tmp43_;
	gchar* _tmp44_;
	GHashTable* _tmp45_;
	gchar* _tmp46_;
	GHashTable* _tmp47_;
	gchar* _tmp48_;
	GHashTable* _tmp49_;
	gchar* _tmp50_;
	GHashTable* _tmp51_;
	gchar* _tmp52_;
	GHashTable* _tmp53_;
	gchar* _tmp54_;
	GHashTable* _tmp55_;
	gchar* _tmp56_;
	GHashTable* _tmp57_;
	gchar* _tmp58_;
	GHashTable* _tmp59_;
	gchar* _tmp60_;
	GHashTable* _tmp61_;
	gchar* _tmp62_;
	GHashTable* _tmp63_;
	gchar* _tmp64_;
	GHashTable* _tmp65_;
	gchar* _tmp66_;
	GHashTable* _tmp67_;
	gchar* _tmp68_;
	GHashTable* _tmp69_;
	gchar* _tmp70_;
	GHashTable* _tmp71_;
	gchar* _tmp72_;
	GHashTable* _tmp73_;
	gchar* _tmp74_;
	GMainLoop* _tmp75_;
	GHashTable* _tmp76_;
	GList* _tmp77_ = NULL;
	TrackerTestBackend* _tmp79_;
#line 80 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 82 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 82 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 82 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_main_loop = _tmp0_;
#line 83 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = g_strdup ("persona #1");
#line 83 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 83 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_persona_fullname = _tmp1_;
#line 84 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp2_ = g_strdup ("nickname");
#line 84 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_persona_nickname);
#line 84 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_persona_nickname = _tmp2_;
#line 85 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp3_ = g_strdup ("family");
#line 85 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_family_name);
#line 85 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_family_name = _tmp3_;
#line 86 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp4_ = g_strdup ("given");
#line 86 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_given_name);
#line 86 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_given_name = _tmp4_;
#line 87 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp5_ = g_strdup ("");
#line 87 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_persona_iid);
#line 87 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_persona_iid = _tmp5_;
#line 88 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp6_ = g_getenv ("AVATAR_FILE_PATH");
#line 88 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp7_ = g_strdup (_tmp6_);
#line 88 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_avatar_path = _tmp7_;
#line 89 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp8_ = _avatar_path;
#line 89 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp9_ = g_file_new_for_path (_tmp8_);
#line 89 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp10_ = _tmp9_;
#line 89 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp11_ = (GFileIcon*) g_file_icon_new (_tmp10_);
#line 89 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (self->priv->_avatar);
#line 89 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_avatar = (GLoadableIcon*) _tmp11_;
#line 89 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_tmp10_);
#line 90 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp12_ = g_strdup ("2001-10-26T20:32:52Z");
#line 90 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_birthday);
#line 90 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_birthday = _tmp12_;
#line 91 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp13_ = g_strdup ("someone-1@example.org");
#line 91 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_email_1);
#line 91 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_email_1 = _tmp13_;
#line 92 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp14_ = g_strdup ("someone-2@example.org");
#line 92 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_email_2);
#line 92 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_email_2 = _tmp14_;
#line 93 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp15_ = g_strdup ("someone-1@jabber.example.org");
#line 93 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_im_addr_1);
#line 93 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_im_addr_1 = _tmp15_;
#line 94 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp16_ = g_strdup ("someone-2@jabber.example.org");
#line 94 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_im_addr_2);
#line 94 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_im_addr_2 = _tmp16_;
#line 95 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp17_ = g_strdup ("this is a note");
#line 95 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_note_1);
#line 95 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_note_1 = _tmp17_;
#line 96 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp18_ = g_strdup ("12345");
#line 96 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_phone_1);
#line 96 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_phone_1 = _tmp18_;
#line 97 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp19_ = g_strdup ("54321");
#line 97 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_phone_2);
#line 97 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_phone_2 = _tmp19_;
#line 98 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp20_ = g_strdup ("CFO");
#line 98 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_title_1);
#line 98 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_title_1 = _tmp20_;
#line 99 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp21_ = g_strdup ("Example Inc.");
#line 99 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_organisation_1);
#line 99 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_organisation_1 = _tmp21_;
#line 100 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp22_ = g_strdup ("Role");
#line 100 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_role_1);
#line 100 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_role_1 = _tmp22_;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp23_ = self->priv->_po_box;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp24_ = self->priv->_extension;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp25_ = self->priv->_street;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp26_ = self->priv->_locality;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp27_ = self->priv->_region;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp28_ = self->priv->_postal_code;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp29_ = self->priv->_country;
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp30_ = folks_postal_address_new (_tmp23_, _tmp24_, _tmp25_, _tmp26_, _tmp27_, _tmp28_, _tmp29_, NULL, NULL);
#line 102 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	address = _tmp30_;
#line 105 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp31_ = address;
#line 105 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp32_ = folks_postal_address_field_details_new (_tmp31_, NULL);
#line 105 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (self->priv->_postal_address_fd);
#line 105 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_postal_address_fd = _tmp32_;
#line 107 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_get_current_time (&t);
#line 108 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp33_ = self->priv->_birthday;
#line 108 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_time_val_from_iso8601 (_tmp33_, &t);
#line 109 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp34_ = t;
#line 109 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp35_ = g_date_time_new_from_timeval_utc (&_tmp34_);
#line 109 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_date_time_unref0 (self->priv->_bday);
#line 109 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_bday = _tmp35_;
#line 111 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp36_ = g_str_hash;
#line 111 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp37_ = g_str_equal;
#line 111 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp38_ = g_hash_table_new_full (_tmp36_, _tmp37_, _g_free0_, NULL);
#line 111 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_hash_table_unref0 (self->priv->_properties_found);
#line 111 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_properties_found = _tmp38_;
#line 113 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp39_ = self->priv->_properties_found;
#line 113 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp40_ = g_strdup ("full_name");
#line 113 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp39_, _tmp40_, GINT_TO_POINTER (FALSE));
#line 114 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp41_ = self->priv->_properties_found;
#line 114 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp42_ = g_strdup ("nickname");
#line 114 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp41_, _tmp42_, GINT_TO_POINTER (FALSE));
#line 115 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp43_ = self->priv->_properties_found;
#line 115 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp44_ = g_strdup ("is_favourite");
#line 115 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp43_, _tmp44_, GINT_TO_POINTER (FALSE));
#line 116 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp45_ = self->priv->_properties_found;
#line 116 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp46_ = g_strdup ("structured_name");
#line 116 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp45_, _tmp46_, GINT_TO_POINTER (FALSE));
#line 117 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp47_ = self->priv->_properties_found;
#line 117 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp48_ = g_strdup ("avatar");
#line 117 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp47_, _tmp48_, GINT_TO_POINTER (FALSE));
#line 118 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp49_ = self->priv->_properties_found;
#line 118 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp50_ = g_strdup ("birthday");
#line 118 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp49_, _tmp50_, GINT_TO_POINTER (FALSE));
#line 119 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp51_ = self->priv->_properties_found;
#line 119 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp52_ = g_strdup ("gender");
#line 119 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp51_, _tmp52_, GINT_TO_POINTER (FALSE));
#line 120 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp53_ = self->priv->_properties_found;
#line 120 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp54_ = g_strdup ("email-1");
#line 120 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp53_, _tmp54_, GINT_TO_POINTER (FALSE));
#line 121 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp55_ = self->priv->_properties_found;
#line 121 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp56_ = g_strdup ("email-2");
#line 121 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp55_, _tmp56_, GINT_TO_POINTER (FALSE));
#line 122 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp57_ = self->priv->_properties_found;
#line 122 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp58_ = g_strdup ("im-addr-1");
#line 122 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp57_, _tmp58_, GINT_TO_POINTER (FALSE));
#line 123 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp59_ = self->priv->_properties_found;
#line 123 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp60_ = g_strdup ("im-addr-2");
#line 123 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp59_, _tmp60_, GINT_TO_POINTER (FALSE));
#line 124 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp61_ = self->priv->_properties_found;
#line 124 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp62_ = g_strdup ("note-1");
#line 124 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp61_, _tmp62_, GINT_TO_POINTER (FALSE));
#line 125 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp63_ = self->priv->_properties_found;
#line 125 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp64_ = g_strdup ("phone-1");
#line 125 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp63_, _tmp64_, GINT_TO_POINTER (FALSE));
#line 126 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp65_ = self->priv->_properties_found;
#line 126 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp66_ = g_strdup ("phone-2");
#line 126 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp65_, _tmp66_, GINT_TO_POINTER (FALSE));
#line 127 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp67_ = self->priv->_properties_found;
#line 127 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp68_ = g_strdup ("role-1");
#line 127 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp67_, _tmp68_, GINT_TO_POINTER (FALSE));
#line 128 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp69_ = self->priv->_properties_found;
#line 128 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp70_ = g_strdup ("postal-address-1");
#line 128 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp69_, _tmp70_, GINT_TO_POINTER (FALSE));
#line 129 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp71_ = self->priv->_properties_found;
#line 129 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp72_ = g_strdup ("url-1");
#line 129 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp71_, _tmp72_, GINT_TO_POINTER (FALSE));
#line 130 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp73_ = self->priv->_properties_found;
#line 130 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp74_ = g_strdup ("url-2");
#line 130 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_tmp73_, _tmp74_, GINT_TO_POINTER (FALSE));
#line 132 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_test_add_persona_async (self, NULL, NULL);
#line 134 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda3__gsource_func, g_object_ref (self), g_object_unref);
#line 140 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp75_ = self->priv->_main_loop;
#line 140 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_main_loop_run (_tmp75_);
#line 142 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp76_ = self->priv->_properties_found;
#line 142 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp77_ = g_hash_table_get_values (_tmp76_);
#line 869 "add-persona.c"
	{
		GList* k_collection = NULL;
		GList* k_it = NULL;
#line 142 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		k_collection = _tmp77_;
#line 142 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		for (k_it = k_collection; k_it != NULL; k_it = k_it->next) {
#line 877 "add-persona.c"
			gboolean k = FALSE;
#line 142 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			k = GPOINTER_TO_INT (k_it->data);
#line 881 "add-persona.c"
			{
				gboolean _tmp78_;
#line 144 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp78_ = k;
#line 144 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_assert (_tmp78_);
#line 888 "add-persona.c"
			}
		}
#line 142 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_list_free0 (k_collection);
#line 893 "add-persona.c"
	}
#line 147 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp79_ = self->priv->_tracker_backend;
#line 147 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	tracker_test_backend_tear_down (_tmp79_);
#line 80 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (address);
#line 80 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (_avatar_path);
#line 903 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_async_data_free (gpointer _data) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
	_data_ = _data;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_slice_free (AddPersonaTestsTestAddPersonaAsyncData, _data_);
#line 914 "add-persona.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return self ? g_object_ref (self) : NULL;
#line 921 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_async (AddPersonaTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
	AddPersonaTests* _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_ = g_slice_new0 (AddPersonaTestsTestAddPersonaAsyncData);
#line 26 "/home/treitter/collabora/folks/tests/tracker/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 26 "/home/treitter/collabora/folks/tests/tracker/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 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->self = _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_test_add_persona_async_co (_data_);
#line 940 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_finish (AddPersonaTests* self, GAsyncResult* _res_) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 948 "add-persona.c"
}


static void _add_persona_tests_test_add_persona_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	AddPersonaTestsTestAddPersonaAsyncData* _data_;
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_ = _user_data_;
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_source_object_ = source_object;
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_res_ = _res_;
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_test_add_persona_async_co (_data_);
#line 962 "add-persona.c"
}


static void __add_persona_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 155 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_individuals_changed_cb (self, changes);
#line 969 "add-persona.c"
}


static void __add_persona_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 170 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_notify_pstore_cb (self, _sender, pspec);
#line 976 "add-persona.c"
}


static gboolean _add_persona_tests_test_add_persona_async_co (AddPersonaTestsTestAddPersonaAsyncData* _data_) {
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	switch (_data_->_state_) {
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		case 0:
#line 985 "add-persona.c"
		goto _state_0;
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		case 1:
#line 989 "add-persona.c"
		goto _state_1;
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		case 2:
#line 993 "add-persona.c"
		goto _state_2;
		default:
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_assert_not_reached ();
#line 998 "add-persona.c"
	}
	_state_0:
#line 152 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp0_ = NULL;
#line 152 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 152 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->store = _data_->_tmp0_;
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_state_ = 1;
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	folks_backend_store_prepare (_data_->store, _add_persona_tests_test_add_persona_async_ready, _data_);
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return FALSE;
#line 1013 "add-persona.c"
	_state_1:
#line 153 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	folks_backend_store_prepare_finish (_data_->store, _data_->_res_);
#line 154 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp1_ = folks_individual_aggregator_new ();
#line 154 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->self->priv->_aggregator);
#line 154 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->self->priv->_aggregator = _data_->_tmp1_;
#line 155 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 155 "/home/treitter/collabora/folks/tests/tracker/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 1027 "add-persona.c"
	{
#line 159 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp3_ = _data_->self->priv->_aggregator;
#line 159 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_state_ = 2;
#line 159 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		folks_individual_aggregator_prepare (_data_->_tmp3_, _add_persona_tests_test_add_persona_async_ready, _data_);
#line 159 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		return FALSE;
#line 1037 "add-persona.c"
		_state_2:
#line 159 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_);
#line 159 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1043 "add-persona.c"
			goto __catch0_g_error;
		}
#line 161 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->self->priv->_pstore);
#line 161 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->self->priv->_pstore = NULL;
#line 1050 "add-persona.c"
		{
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp4_ = folks_backend_store_get_enabled_backends (_data_->store);
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp5_ = _data_->_tmp4_;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp6_ = gee_map_get_values (_data_->_tmp5_);
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp7_ = _data_->_tmp6_;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp8_ = _data_->_tmp7_;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp9_ = NULL;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp9_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp8_);
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_tmp10_ = _data_->_tmp9_;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->_tmp8_);
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_data_->_backend_it = _data_->_tmp10_;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			while (TRUE) {
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp11_ = _data_->_backend_it;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp12_ = FALSE;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp12_ = gee_iterator_next (_data_->_tmp11_);
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				if (!_data_->_tmp12_) {
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					break;
#line 1084 "add-persona.c"
				}
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp13_ = _data_->_backend_it;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp14_ = NULL;
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp14_ = gee_iterator_get (_data_->_tmp13_);
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->backend = (FolksBackend*) _data_->_tmp14_;
#line 164 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp15_ = _data_->backend;
#line 164 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp16_ = folks_backend_get_persona_stores (_data_->_tmp15_);
#line 164 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp17_ = _data_->_tmp16_;
#line 164 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp18_ = NULL;
#line 164 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp18_ = gee_map_get (_data_->_tmp17_, "tracker");
#line 164 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_g_object_unref0 (_data_->self->priv->_pstore);
#line 164 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->self->priv->_pstore = TRF_PERSONA_STORE ((FolksPersonaStore*) _data_->_tmp18_);
#line 166 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_data_->_tmp19_ = _data_->self->priv->_pstore;
#line 166 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				if (_data_->_tmp19_ != NULL) {
#line 167 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_g_object_unref0 (_data_->backend);
#line 167 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					break;
#line 1116 "add-persona.c"
				}
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_g_object_unref0 (_data_->backend);
#line 1120 "add-persona.c"
			}
#line 162 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->_backend_it);
#line 1124 "add-persona.c"
		}
#line 169 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp20_ = _data_->self->priv->_pstore;
#line 169 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_assert (_data_->_tmp20_ != NULL);
#line 170 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp21_ = _data_->self->priv->_pstore;
#line 170 "/home/treitter/collabora/folks/tests/tracker/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 171 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_add_persona_tests_try_to_add (_data_->self);
#line 1136 "add-persona.c"
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 157 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->e = _data_->_inner_error_;
#line 157 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_inner_error_ = NULL;
#line 175 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp22_ = _data_->e;
#line 175 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp23_ = _data_->_tmp22_->message;
#line 175 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_warning ("add-persona.vala:175: Error when calling prepare: %s\n", _data_->_tmp23_);
#line 157 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_error_free0 (_data_->e);
#line 1153 "add-persona.c"
	}
	__finally0:
#line 157 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_data_->_inner_error_ != NULL) {
#line 157 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->store);
#line 157 "/home/treitter/collabora/folks/tests/tracker/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 157 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_clear_error (&_data_->_inner_error_);
#line 157 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		return FALSE;
#line 1166 "add-persona.c"
	}
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->store);
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_data_->_state_ == 0) {
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1174 "add-persona.c"
	} else {
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1178 "add-persona.c"
	}
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_object_unref (_data_->_async_result);
#line 150 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return FALSE;
#line 1184 "add-persona.c"
}


static void _add_persona_tests_add_persona_data_free (gpointer _data) {
	AddPersonaTestsAddPersonaData* _data_;
	_data_ = _data;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_slice_free (AddPersonaTestsAddPersonaData, _data_);
#line 1195 "add-persona.c"
}


static void _add_persona_tests_add_persona (AddPersonaTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	AddPersonaTestsAddPersonaData* _data_;
	AddPersonaTests* _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_ = g_slice_new0 (AddPersonaTestsAddPersonaData);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _add_persona_tests_add_persona);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _add_persona_tests_add_persona_data_free);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->self = _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_add_persona_co (_data_);
#line 1214 "add-persona.c"
}


static void _add_persona_tests_add_persona_finish (AddPersonaTests* self, GAsyncResult* _res_) {
	AddPersonaTestsAddPersonaData* _data_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1222 "add-persona.c"
}


static void _vala_GValue_free (GValue* self) {
#line 181 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_unset (self);
#line 181 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_free (self);
#line 1231 "add-persona.c"
}


static void __vala_GValue_free0_ (gpointer var) {
#line 181 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	(var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL));
#line 1238 "add-persona.c"
}


static GValue* _g_value_dup (GValue* self) {
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return g_boxed_copy (G_TYPE_VALUE, self);
#line 1245 "add-persona.c"
}


static gpointer __g_value_dup0 (gpointer self) {
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return self ? _g_value_dup (self) : NULL;
#line 1252 "add-persona.c"
}


static void _add_persona_tests_add_persona_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	AddPersonaTestsAddPersonaData* _data_;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_ = _user_data_;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_source_object_ = source_object;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_res_ = _res_;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_add_persona_co (_data_);
#line 1266 "add-persona.c"
}


static gboolean _add_persona_tests_add_persona_co (AddPersonaTestsAddPersonaData* _data_) {
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	switch (_data_->_state_) {
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		case 0:
#line 1275 "add-persona.c"
		goto _state_0;
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		case 1:
#line 1279 "add-persona.c"
		goto _state_1;
		default:
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_assert_not_reached ();
#line 1284 "add-persona.c"
	}
	_state_0:
#line 181 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp0_ = g_str_hash;
#line 181 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp1_ = g_str_equal;
#line 181 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp2_ = g_hash_table_new_full (_data_->_tmp0_, _data_->_tmp1_, _g_free0_, __vala_GValue_free0_);
#line 181 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->details = _data_->_tmp2_;
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp3_, 0, sizeof (GValue));
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp3_, G_TYPE_STRING);
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp5_ = __g_value_dup0 (&_data_->_tmp4_);
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp4_) ? (g_value_unset (&_data_->_tmp4_), NULL) : NULL;
#line 184 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v1 = _data_->_tmp6_;
#line 185 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp7_ = _data_->v1;
#line 185 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp8_ = _data_->self->priv->_persona_fullname;
#line 185 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_string (_data_->_tmp7_, _data_->_tmp8_);
#line 186 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp9_ = NULL;
#line 186 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp9_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_FULL_NAME);
#line 186 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp10_ = g_strdup (_data_->_tmp9_);
#line 186 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp11_ = _data_->v1;
#line 186 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v1 = NULL;
#line 186 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp10_, _data_->_tmp11_);
#line 189 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp12_, 0, sizeof (GValue));
#line 189 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp12_, G_TYPE_STRING);
#line 189 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 189 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp14_ = __g_value_dup0 (&_data_->_tmp13_);
#line 189 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 189 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp13_) ? (g_value_unset (&_data_->_tmp13_), NULL) : NULL;
#line 189 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v2 = _data_->_tmp15_;
#line 190 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp16_ = _data_->v2;
#line 190 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp17_ = _data_->self->priv->_persona_nickname;
#line 190 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_string (_data_->_tmp16_, _data_->_tmp17_);
#line 191 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp18_ = NULL;
#line 191 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp18_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_NICKNAME);
#line 191 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp19_ = g_strdup (_data_->_tmp18_);
#line 191 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp20_ = _data_->v2;
#line 191 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v2 = NULL;
#line 191 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp19_, _data_->_tmp20_);
#line 194 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp21_, 0, sizeof (GValue));
#line 194 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp21_, G_TYPE_BOOLEAN);
#line 194 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp22_ = _data_->_tmp21_;
#line 194 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp23_ = __g_value_dup0 (&_data_->_tmp22_);
#line 194 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp24_ = _data_->_tmp23_;
#line 194 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp22_) ? (g_value_unset (&_data_->_tmp22_), NULL) : NULL;
#line 194 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v3 = _data_->_tmp24_;
#line 195 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp25_ = _data_->v3;
#line 195 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_boolean (_data_->_tmp25_, TRUE);
#line 196 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp26_ = NULL;
#line 196 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp26_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_IS_FAVOURITE);
#line 196 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp27_ = g_strdup (_data_->_tmp26_);
#line 196 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp28_ = _data_->v3;
#line 196 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v3 = NULL;
#line 196 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp27_, _data_->_tmp28_);
#line 200 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp29_, 0, sizeof (GValue));
#line 200 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp29_, FOLKS_TYPE_STRUCTURED_NAME);
#line 200 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp30_ = _data_->_tmp29_;
#line 200 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp31_ = __g_value_dup0 (&_data_->_tmp30_);
#line 200 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp32_ = _data_->_tmp31_;
#line 200 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp30_) ? (g_value_unset (&_data_->_tmp30_), NULL) : NULL;
#line 200 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v4 = _data_->_tmp32_;
#line 201 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp33_ = _data_->self->priv->_family_name;
#line 201 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp34_ = _data_->self->priv->_given_name;
#line 201 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp35_ = folks_structured_name_new (_data_->_tmp33_, _data_->_tmp34_, NULL, NULL, NULL);
#line 201 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->sname = _data_->_tmp35_;
#line 203 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp36_ = _data_->v4;
#line 203 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp36_, (GObject*) _data_->sname);
#line 204 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp37_ = NULL;
#line 204 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp37_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_STRUCTURED_NAME);
#line 204 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp38_ = g_strdup (_data_->_tmp37_);
#line 204 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp39_ = _data_->v4;
#line 204 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v4 = NULL;
#line 204 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp38_, _data_->_tmp39_);
#line 208 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp40_, 0, sizeof (GValue));
#line 208 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp40_, G_TYPE_LOADABLE_ICON);
#line 208 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp41_ = _data_->_tmp40_;
#line 208 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp42_ = __g_value_dup0 (&_data_->_tmp41_);
#line 208 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp43_ = _data_->_tmp42_;
#line 208 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp41_) ? (g_value_unset (&_data_->_tmp41_), NULL) : NULL;
#line 208 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v5 = _data_->_tmp43_;
#line 209 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp44_ = _data_->v5;
#line 209 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp45_ = _data_->self->priv->_avatar;
#line 209 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp44_, (GObject*) _data_->_tmp45_);
#line 210 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp46_ = NULL;
#line 210 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp46_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_AVATAR);
#line 210 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp47_ = g_strdup (_data_->_tmp46_);
#line 210 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp48_ = _data_->v5;
#line 210 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v5 = NULL;
#line 210 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp47_, _data_->_tmp48_);
#line 213 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp49_, 0, sizeof (GValue));
#line 213 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp49_, G_TYPE_DATE_TIME);
#line 213 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp50_ = _data_->_tmp49_;
#line 213 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp51_ = __g_value_dup0 (&_data_->_tmp50_);
#line 213 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp52_ = _data_->_tmp51_;
#line 213 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp50_) ? (g_value_unset (&_data_->_tmp50_), NULL) : NULL;
#line 213 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v6 = _data_->_tmp52_;
#line 214 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_get_current_time (&_data_->t);
#line 215 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp53_ = _data_->self->priv->_birthday;
#line 215 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_time_val_from_iso8601 (_data_->_tmp53_, &_data_->t);
#line 216 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp54_ = _data_->t;
#line 216 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp55_ = g_date_time_new_from_timeval_utc (&_data_->_tmp54_);
#line 216 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->dobj = _data_->_tmp55_;
#line 217 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp56_ = _data_->v6;
#line 217 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_boxed (_data_->_tmp56_, _data_->dobj);
#line 218 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp57_ = NULL;
#line 218 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp57_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_BIRTHDAY);
#line 218 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp58_ = g_strdup (_data_->_tmp57_);
#line 218 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp59_ = _data_->v6;
#line 218 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v6 = NULL;
#line 218 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp58_, _data_->_tmp59_);
#line 221 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp60_, 0, sizeof (GValue));
#line 221 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp60_, FOLKS_TYPE_GENDER);
#line 221 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp61_ = _data_->_tmp60_;
#line 221 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp62_ = __g_value_dup0 (&_data_->_tmp61_);
#line 221 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp63_ = _data_->_tmp62_;
#line 221 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp61_) ? (g_value_unset (&_data_->_tmp61_), NULL) : NULL;
#line 221 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v7 = _data_->_tmp63_;
#line 222 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp64_ = _data_->v7;
#line 222 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_enum (_data_->_tmp64_, (gint) FOLKS_GENDER_MALE);
#line 223 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp65_ = NULL;
#line 223 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp65_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_GENDER);
#line 223 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp66_ = g_strdup (_data_->_tmp65_);
#line 223 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp67_ = _data_->v7;
#line 223 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v7 = NULL;
#line 223 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp66_, _data_->_tmp67_);
#line 226 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp68_, 0, sizeof (GValue));
#line 226 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp68_, GEE_TYPE_SET);
#line 226 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp69_ = _data_->_tmp68_;
#line 226 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp70_ = __g_value_dup0 (&_data_->_tmp69_);
#line 226 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp71_ = _data_->_tmp70_;
#line 226 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp69_) ? (g_value_unset (&_data_->_tmp69_), NULL) : NULL;
#line 226 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v8 = _data_->_tmp71_;
#line 227 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp72_ = 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 227 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->emails = _data_->_tmp72_;
#line 230 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp73_ = _data_->self->priv->_email_1;
#line 230 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp74_ = folks_email_field_details_new (_data_->_tmp73_, NULL);
#line 230 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->email_1 = _data_->_tmp74_;
#line 231 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->emails, _data_->email_1);
#line 232 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp75_ = _data_->self->priv->_email_2;
#line 232 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp76_ = folks_email_field_details_new (_data_->_tmp75_, NULL);
#line 232 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->email_2 = _data_->_tmp76_;
#line 233 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->emails, _data_->email_2);
#line 234 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp77_ = _data_->v8;
#line 234 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp77_, (GObject*) _data_->emails);
#line 235 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp78_ = NULL;
#line 235 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp78_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_EMAIL_ADDRESSES);
#line 235 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp79_ = g_strdup (_data_->_tmp78_);
#line 235 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp80_ = _data_->v8;
#line 235 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v8 = NULL;
#line 235 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp79_, _data_->_tmp80_);
#line 239 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp81_, 0, sizeof (GValue));
#line 239 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp81_, GEE_TYPE_MULTI_MAP);
#line 239 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp82_ = _data_->_tmp81_;
#line 239 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp83_ = __g_value_dup0 (&_data_->_tmp82_);
#line 239 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp84_ = _data_->_tmp83_;
#line 239 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp82_) ? (g_value_unset (&_data_->_tmp82_), NULL) : NULL;
#line 239 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v9 = _data_->_tmp84_;
#line 240 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp85_ = 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, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 240 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->im_addrs = _data_->_tmp85_;
#line 243 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp86_ = _data_->self->priv->_im_addr_1;
#line 243 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp87_ = folks_im_field_details_new (_data_->_tmp86_, NULL);
#line 243 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp88_ = _data_->_tmp87_;
#line 243 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_multi_map_set ((GeeMultiMap*) _data_->im_addrs, "jabber", _data_->_tmp88_);
#line 243 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->_tmp88_);
#line 244 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp89_ = _data_->self->priv->_im_addr_2;
#line 244 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp90_ = folks_im_field_details_new (_data_->_tmp89_, NULL);
#line 244 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp91_ = _data_->_tmp90_;
#line 244 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_multi_map_set ((GeeMultiMap*) _data_->im_addrs, "yahoo", _data_->_tmp91_);
#line 244 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->_tmp91_);
#line 245 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->v9, (GObject*) _data_->im_addrs);
#line 246 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp92_ = NULL;
#line 246 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp92_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_IM_ADDRESSES);
#line 246 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp93_ = g_strdup (_data_->_tmp92_);
#line 246 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp94_ = __g_value_dup0 (_data_->v9);
#line 246 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp93_, _data_->_tmp94_);
#line 249 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp95_, 0, sizeof (GValue));
#line 249 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp95_, GEE_TYPE_SET);
#line 249 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp96_ = _data_->_tmp95_;
#line 249 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp97_ = __g_value_dup0 (&_data_->_tmp96_);
#line 249 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp98_ = _data_->_tmp97_;
#line 249 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp96_) ? (g_value_unset (&_data_->_tmp96_), NULL) : NULL;
#line 249 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v10 = _data_->_tmp98_;
#line 250 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp99_ = 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 250 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->notes = _data_->_tmp99_;
#line 253 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp100_ = _data_->self->priv->_note_1;
#line 253 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp101_ = folks_note_field_details_new (_data_->_tmp100_, NULL, NULL);
#line 253 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->note_fd_1 = _data_->_tmp101_;
#line 254 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->notes, _data_->note_fd_1);
#line 255 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp102_ = _data_->v10;
#line 255 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp102_, (GObject*) _data_->notes);
#line 256 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp103_ = NULL;
#line 256 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp103_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_NOTES);
#line 256 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp104_ = g_strdup (_data_->_tmp103_);
#line 256 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp105_ = _data_->v10;
#line 256 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v10 = NULL;
#line 256 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp104_, _data_->_tmp105_);
#line 259 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp106_, 0, sizeof (GValue));
#line 259 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp106_, GEE_TYPE_SET);
#line 259 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp107_ = _data_->_tmp106_;
#line 259 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp108_ = __g_value_dup0 (&_data_->_tmp107_);
#line 259 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp109_ = _data_->_tmp108_;
#line 259 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp107_) ? (g_value_unset (&_data_->_tmp107_), NULL) : NULL;
#line 259 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v11 = _data_->_tmp109_;
#line 260 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp110_ = 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 260 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->phones = _data_->_tmp110_;
#line 264 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp111_ = _data_->self->priv->_phone_1;
#line 264 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp112_ = folks_phone_field_details_new (_data_->_tmp111_, NULL);
#line 264 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->phone_1 = _data_->_tmp112_;
#line 265 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->phones, _data_->phone_1);
#line 266 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp113_ = _data_->self->priv->_phone_2;
#line 266 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp114_ = folks_phone_field_details_new (_data_->_tmp113_, NULL);
#line 266 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->phone_2 = _data_->_tmp114_;
#line 267 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->phones, _data_->phone_2);
#line 268 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp115_ = _data_->v11;
#line 268 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp115_, (GObject*) _data_->phones);
#line 269 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp116_ = NULL;
#line 269 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp116_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_PHONE_NUMBERS);
#line 269 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp117_ = g_strdup (_data_->_tmp116_);
#line 269 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp118_ = _data_->v11;
#line 269 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v11 = NULL;
#line 269 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp117_, _data_->_tmp118_);
#line 273 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp119_, 0, sizeof (GValue));
#line 273 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp119_, GEE_TYPE_SET);
#line 273 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp120_ = _data_->_tmp119_;
#line 273 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp121_ = __g_value_dup0 (&_data_->_tmp120_);
#line 273 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp122_ = _data_->_tmp121_;
#line 273 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp120_) ? (g_value_unset (&_data_->_tmp120_), NULL) : NULL;
#line 273 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v12 = _data_->_tmp122_;
#line 274 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp123_ = 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 274 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->role_fds = _data_->_tmp123_;
#line 277 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp124_ = _data_->self->priv->_title_1;
#line 277 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp125_ = _data_->self->priv->_organisation_1;
#line 277 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp126_ = folks_role_new (_data_->_tmp124_, _data_->_tmp125_, NULL);
#line 277 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->r1 = _data_->_tmp126_;
#line 278 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp127_ = _data_->self->priv->_role_1;
#line 278 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	folks_role_set_role (_data_->r1, _data_->_tmp127_);
#line 279 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp128_ = folks_role_field_details_new (_data_->r1, NULL);
#line 279 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->role_fd1 = _data_->_tmp128_;
#line 280 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->role_fds, _data_->role_fd1);
#line 281 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp129_ = _data_->v12;
#line 281 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp129_, (GObject*) _data_->role_fds);
#line 282 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp130_ = NULL;
#line 282 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp130_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_ROLES);
#line 282 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp131_ = g_strdup (_data_->_tmp130_);
#line 282 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp132_ = _data_->v12;
#line 282 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v12 = NULL;
#line 282 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp131_, _data_->_tmp132_);
#line 285 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp133_, 0, sizeof (GValue));
#line 285 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp133_, GEE_TYPE_SET);
#line 285 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp134_ = _data_->_tmp133_;
#line 285 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp135_ = __g_value_dup0 (&_data_->_tmp134_);
#line 285 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp136_ = _data_->_tmp135_;
#line 285 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp134_) ? (g_value_unset (&_data_->_tmp134_), NULL) : NULL;
#line 285 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v13 = _data_->_tmp136_;
#line 286 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp137_ = 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 286 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->postal_addresses = _data_->_tmp137_;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp138_ = _data_->self->priv->_po_box;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp139_ = _data_->self->priv->_extension;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp140_ = _data_->self->priv->_street;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp141_ = _data_->self->priv->_locality;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp142_ = _data_->self->priv->_region;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp143_ = _data_->self->priv->_postal_code;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp144_ = _data_->self->priv->_country;
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp145_ = folks_postal_address_new (_data_->_tmp138_, _data_->_tmp139_, _data_->_tmp140_, _data_->_tmp141_, _data_->_tmp142_, _data_->_tmp143_, _data_->_tmp144_, NULL, NULL);
#line 291 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->postal_a = _data_->_tmp145_;
#line 294 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp146_ = folks_postal_address_field_details_new (_data_->postal_a, NULL);
#line 294 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->postal_a_fd = _data_->_tmp146_;
#line 295 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->postal_addresses, _data_->postal_a_fd);
#line 296 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp147_ = _data_->v13;
#line 296 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp147_, (GObject*) _data_->postal_addresses);
#line 297 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp148_ = NULL;
#line 297 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp148_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_POSTAL_ADDRESSES);
#line 297 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp149_ = g_strdup (_data_->_tmp148_);
#line 297 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp150_ = _data_->v13;
#line 297 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v13 = NULL;
#line 297 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp149_, _data_->_tmp150_);
#line 301 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	memset (&_data_->_tmp151_, 0, sizeof (GValue));
#line 301 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_init (&_data_->_tmp151_, GEE_TYPE_SET);
#line 301 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp152_ = _data_->_tmp151_;
#line 301 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp153_ = __g_value_dup0 (&_data_->_tmp152_);
#line 301 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp154_ = _data_->_tmp153_;
#line 301 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_IS_VALUE (&_data_->_tmp152_) ? (g_value_unset (&_data_->_tmp152_), NULL) : NULL;
#line 301 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v14 = _data_->_tmp154_;
#line 302 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp155_ = gee_hash_set_new (FOLKS_TYPE_URL_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 302 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->urls = _data_->_tmp155_;
#line 305 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp156_ = _data_->self->priv->_url_1;
#line 305 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp157_ = folks_url_field_details_new (_data_->_tmp156_, NULL);
#line 305 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->url_1 = _data_->_tmp157_;
#line 306 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->urls, _data_->url_1);
#line 307 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp158_ = _data_->self->priv->_url_2;
#line 307 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp159_ = folks_url_field_details_new (_data_->_tmp158_, NULL);
#line 307 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->url_2 = _data_->_tmp159_;
#line 308 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data_->urls, _data_->url_2);
#line 309 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp160_ = _data_->v14;
#line 309 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_value_set_object (_data_->_tmp160_, (GObject*) _data_->urls);
#line 310 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp161_ = NULL;
#line 310 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp161_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_URLS);
#line 310 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp162_ = g_strdup (_data_->_tmp161_);
#line 310 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->_tmp163_ = _data_->v14;
#line 310 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_data_->v14 = NULL;
#line 310 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp162_, _data_->_tmp163_);
#line 1883 "add-persona.c"
	{
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp164_ = _data_->self->priv->_aggregator;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp165_ = _data_->self->priv->_pstore;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_state_ = 1;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		folks_individual_aggregator_add_persona_from_details (_data_->_tmp164_, NULL, (FolksPersonaStore*) _data_->_tmp165_, _data_->details, _add_persona_tests_add_persona_ready, _data_);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		return FALSE;
#line 1895 "add-persona.c"
		_state_1:
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp166_ = NULL;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp166_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp164_, _data_->_res_, &_data_->_inner_error_);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp167_ = _data_->_tmp166_;
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		if (_data_->_inner_error_ != NULL) {
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1907 "add-persona.c"
				goto __catch1_folks_individual_aggregator_error;
			}
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->url_2);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->url_1);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->urls);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v14);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->postal_a_fd);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->postal_a);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->postal_addresses);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v13);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->role_fd1);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->r1);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->role_fds);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v12);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->phone_2);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->phone_1);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->phones);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v11);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->note_fd_1);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->notes);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v10);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->im_addrs);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v9);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->email_2);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->email_1);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->emails);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v8);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v7);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_date_time_unref0 (_data_->dobj);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v6);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v5);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_data_->sname);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v4);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v3);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v2);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			__vala_GValue_free0 (_data_->v1);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_hash_table_unref0 (_data_->details);
#line 316 "/home/treitter/collabora/folks/tests/tracker/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 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			g_clear_error (&_data_->_inner_error_);
#line 316 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			return FALSE;
#line 1986 "add-persona.c"
		}
#line 315 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->persona = TRF_PERSONA (_data_->_tmp167_);
#line 318 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp168_ = _data_->persona;
#line 318 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp169_ = folks_persona_get_iid ((FolksPersona*) _data_->_tmp168_);
#line 318 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp170_ = _data_->_tmp169_;
#line 318 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp171_ = g_strdup (_data_->_tmp170_);
#line 318 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_free0 (_data_->self->priv->_persona_iid);
#line 318 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->self->priv->_persona_iid = _data_->_tmp171_;
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->persona);
#line 2004 "add-persona.c"
	}
	goto __finally1;
	__catch1_folks_individual_aggregator_error:
	{
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->e = _data_->_inner_error_;
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_inner_error_ = NULL;
#line 322 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp172_ = _data_->e;
#line 322 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_data_->_tmp173_ = _data_->_tmp172_->message;
#line 322 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_warning ("add-persona.vala:322: [AddPersonaError] add_persona_from_details: %s\n", _data_->_tmp173_);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_error_free0 (_data_->e);
#line 2021 "add-persona.c"
	}
	__finally1:
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_data_->_inner_error_ != NULL) {
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->url_2);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->url_1);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->urls);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v14);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->postal_a_fd);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->postal_a);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->postal_addresses);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v13);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->role_fd1);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->r1);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->role_fds);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v12);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->phone_2);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->phone_1);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->phones);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v11);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->note_fd_1);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->notes);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v10);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->im_addrs);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v9);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->email_2);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->email_1);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->emails);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v8);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v7);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_date_time_unref0 (_data_->dobj);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v6);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v5);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_data_->sname);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v4);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v3);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v2);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		__vala_GValue_free0 (_data_->v1);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_hash_table_unref0 (_data_->details);
#line 313 "/home/treitter/collabora/folks/tests/tracker/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 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_clear_error (&_data_->_inner_error_);
#line 313 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		return FALSE;
#line 2102 "add-persona.c"
	}
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->url_2);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->url_1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->urls);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v14);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->postal_a_fd);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->postal_a);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->postal_addresses);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v13);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->role_fd1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->r1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->role_fds);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v12);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->phone_2);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->phone_1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->phones);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v11);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->note_fd_1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->notes);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v10);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->im_addrs);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v9);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->email_2);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->email_1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->emails);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v8);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v7);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_date_time_unref0 (_data_->dobj);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v6);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v5);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_data_->sname);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v4);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v3);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v2);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	__vala_GValue_free0 (_data_->v1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_hash_table_unref0 (_data_->details);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_data_->_state_ == 0) {
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2178 "add-persona.c"
	} else {
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2182 "add-persona.c"
	}
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_object_unref (_data_->_async_result);
#line 179 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return FALSE;
#line 2188 "add-persona.c"
}


static void __add_persona_tests_notify_persona_sname_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 348 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_notify_persona_sname (self, _sender, pspec);
#line 2195 "add-persona.c"
}


static void __add_persona_tests_notify_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 353 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_notify_cb (self, _sender, pspec);
#line 2202 "add-persona.c"
}


static void _add_persona_tests_individuals_changed_cb (AddPersonaTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
#line 327 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 327 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (changes != NULL);
#line 330 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = changes;
#line 330 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 330 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	added = _tmp1_;
#line 2220 "add-persona.c"
	{
		GeeCollection* _tmp2_;
		GeeIterator* _tmp3_ = NULL;
		GeeIterator* _i_it;
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp2_ = added;
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp3_ = gee_iterable_iterator ((GeeIterable*) _tmp2_);
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_i_it = _tmp3_;
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 2233 "add-persona.c"
			GeeIterator* _tmp4_;
			gboolean _tmp5_ = FALSE;
			GeeIterator* _tmp6_;
			gpointer _tmp7_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp8_;
			FolksIndividual* _tmp9_;
			gboolean _tmp10_;
			gboolean _tmp11_;
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp4_ = _i_it;
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp5_ = gee_iterator_next (_tmp4_);
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp5_) {
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 2251 "add-persona.c"
			}
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp6_ = _i_it;
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp7_ = gee_iterator_get (_tmp6_);
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			i = (FolksIndividual*) _tmp7_;
#line 334 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp8_ = i;
#line 334 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			g_assert (_tmp8_ != NULL);
#line 336 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp9_ = i;
#line 336 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp10_ = folks_individual_get_is_user (_tmp9_);
#line 336 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp11_ = _tmp10_;
#line 336 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_tmp11_ == FALSE) {
#line 2271 "add-persona.c"
				FolksIndividual* _tmp27_;
				FolksIndividual* _tmp28_;
				FolksIndividual* _tmp29_;
				FolksIndividual* _tmp30_;
				FolksIndividual* _tmp31_;
				FolksIndividual* _tmp32_;
				FolksIndividual* _tmp33_;
				FolksIndividual* _tmp34_;
				FolksIndividual* _tmp35_;
				FolksIndividual* _tmp36_;
				FolksIndividual* _tmp37_;
				FolksIndividual* _tmp38_;
				FolksIndividual* _tmp39_;
				FolksIndividual* _tmp40_;
				FolksIndividual* _tmp41_;
				FolksIndividual* _tmp42_;
				FolksIndividual* _tmp43_;
				FolksIndividual* _tmp44_;
				{
					FolksIndividual* _tmp12_;
					GeeSet* _tmp13_;
					GeeSet* _tmp14_;
					GeeIterator* _tmp15_ = NULL;
					GeeIterator* _p_it;
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp12_ = i;
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp13_ = folks_individual_get_personas (_tmp12_);
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp14_ = _tmp13_;
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp15_ = gee_iterable_iterator ((GeeIterable*) _tmp14_);
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_p_it = _tmp15_;
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					while (TRUE) {
#line 2308 "add-persona.c"
						GeeIterator* _tmp16_;
						gboolean _tmp17_ = FALSE;
						GeeIterator* _tmp18_;
						gpointer _tmp19_ = NULL;
						FolksPersona* p;
						gboolean _tmp20_ = FALSE;
						FolksPersona* _tmp21_;
						gboolean _tmp25_;
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp16_ = _p_it;
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp17_ = gee_iterator_next (_tmp16_);
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						if (!_tmp17_) {
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							break;
#line 2325 "add-persona.c"
						}
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp18_ = _p_it;
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp19_ = gee_iterator_get (_tmp18_);
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						p = (FolksPersona*) _tmp19_;
#line 345 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp21_ = p;
#line 345 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						if (FOLKS_IS_NAME_DETAILS (_tmp21_)) {
#line 2337 "add-persona.c"
							FolksPersona* _tmp22_;
							FolksStructuredName* _tmp23_;
							FolksStructuredName* _tmp24_;
#line 346 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp22_ = p;
#line 346 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp23_ = folks_name_details_get_structured_name (FOLKS_NAME_DETAILS (_tmp22_));
#line 346 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp24_ = _tmp23_;
#line 346 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp20_ = _tmp24_ != NULL;
#line 2349 "add-persona.c"
						} else {
#line 345 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp20_ = FALSE;
#line 2353 "add-persona.c"
						}
#line 345 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp25_ = _tmp20_;
#line 345 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						if (_tmp25_) {
#line 2359 "add-persona.c"
							FolksPersona* _tmp26_;
#line 348 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp26_ = p;
#line 348 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							g_signal_connect_object ((GObject*) _tmp26_, "notify::structured-name", (GCallback) __add_persona_tests_notify_persona_sname_g_object_notify, self, 0);
#line 2365 "add-persona.c"
						}
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_g_object_unref0 (p);
#line 2369 "add-persona.c"
					}
#line 343 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_g_object_unref0 (_p_it);
#line 2373 "add-persona.c"
				}
#line 353 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp27_ = i;
#line 353 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp27_, "notify::full-name", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 354 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp28_ = i;
#line 354 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp28_, "notify::nickname", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 355 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp29_ = i;
#line 355 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp29_, "notify::avatar", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 356 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp30_ = i;
#line 356 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp30_, "notify::is-favourite", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 357 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp31_ = i;
#line 357 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp31_, "notify::structured-name", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 358 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp32_ = i;
#line 358 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp32_, "notify::family-name", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 359 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp33_ = i;
#line 359 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp33_, "notify::given-name", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 360 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp34_ = i;
#line 360 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp34_, "notify::avatar", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 361 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp35_ = i;
#line 361 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp35_, "notify::birthday", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 362 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp36_ = i;
#line 362 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp36_, "notify::gender", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 363 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp37_ = i;
#line 363 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp37_, "notify::email-addresses", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 364 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp38_ = i;
#line 364 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp38_, "notify::im-addresses", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 365 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp39_ = i;
#line 365 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp39_, "notify::notes", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 366 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp40_ = i;
#line 366 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp40_, "notify::phone-numbers", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 367 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp41_ = i;
#line 367 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp41_, "notify::roles", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 368 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp42_ = i;
#line 368 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp42_, "notify::postal-addresses", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 369 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp43_ = i;
#line 369 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_signal_connect_object ((GObject*) _tmp43_, "notify::urls", (GCallback) __add_persona_tests_notify_cb_g_object_notify, self, 0);
#line 371 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp44_ = i;
#line 371 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_add_persona_tests_check_properties (self, _tmp44_);
#line 2447 "add-persona.c"
			}
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (i);
#line 2451 "add-persona.c"
		}
#line 332 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_i_it);
#line 2455 "add-persona.c"
	}
#line 327 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (added);
#line 2459 "add-persona.c"
}


static void _add_persona_tests_notify_cb (AddPersonaTests* self, GObject* individual_obj, GParamSpec* ps) {
	GObject* _tmp0_;
	FolksIndividual* _tmp1_;
	FolksIndividual* i;
#line 376 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 376 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (individual_obj != NULL);
#line 376 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (ps != NULL);
#line 378 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = individual_obj;
#line 378 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = _g_object_ref0 (FOLKS_INDIVIDUAL (_tmp0_));
#line 378 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	i = _tmp1_;
#line 379 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_check_properties (self, i);
#line 376 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (i);
#line 2483 "add-persona.c"
}


static void _add_persona_tests_notify_persona_sname (AddPersonaTests* self, GObject* persona_p, GParamSpec* ps) {
	GObject* _tmp0_;
	TrfPersona* _tmp1_;
	TrfPersona* persona;
	FolksStructuredName* _tmp2_;
	FolksStructuredName* _tmp3_;
#line 382 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 382 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (persona_p != NULL);
#line 382 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (ps != NULL);
#line 384 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = persona_p;
#line 384 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = _g_object_ref0 (TRF_PERSONA (_tmp0_));
#line 384 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	persona = _tmp1_;
#line 385 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp2_ = folks_name_details_get_structured_name ((FolksNameDetails*) persona);
#line 385 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp3_ = _tmp2_;
#line 385 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_check_sname (self, _tmp3_);
#line 386 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_exit_if_all_properties_found (self);
#line 382 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (persona);
#line 2515 "add-persona.c"
}


static void _add_persona_tests_notify_pstore_cb (AddPersonaTests* self, GObject* _pstore, GParamSpec* ps) {
#line 389 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 389 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (_pstore != NULL);
#line 389 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (ps != NULL);
#line 391 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_try_to_add (self);
#line 2528 "add-persona.c"
}


static void _add_persona_tests_try_to_add (AddPersonaTests* self) {
	GError * _inner_error_ = NULL;
#line 394 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 2536 "add-persona.c"
	{
		gboolean _tmp0_;
#line 396 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp0_ = self->priv->_added_persona;
#line 396 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_static_rec_mutex_lock (&self->priv->__lock__added_persona);
#line 2543 "add-persona.c"
		{
			gboolean _tmp1_ = FALSE;
			TrfPersonaStore* _tmp2_;
			gboolean _tmp3_;
			gboolean _tmp4_;
			gboolean _tmp6_;
#line 398 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp2_ = self->priv->_pstore;
#line 398 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp3_ = folks_persona_store_get_is_prepared ((FolksPersonaStore*) _tmp2_);
#line 398 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp4_ = _tmp3_;
#line 398 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_tmp4_) {
#line 2558 "add-persona.c"
				gboolean _tmp5_;
#line 399 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp5_ = self->priv->_added_persona;
#line 399 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp1_ = _tmp5_ == FALSE;
#line 2564 "add-persona.c"
			} else {
#line 398 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp1_ = FALSE;
#line 2568 "add-persona.c"
			}
#line 398 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp6_ = _tmp1_;
#line 398 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_tmp6_) {
#line 401 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				self->priv->_added_persona = TRUE;
#line 402 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_add_persona_tests_add_persona (self, NULL, NULL);
#line 2578 "add-persona.c"
			}
		}
		__finally2:
		{
			gboolean _tmp7_;
#line 396 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp7_ = self->priv->_added_persona;
#line 396 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			g_static_rec_mutex_unlock (&self->priv->__lock__added_persona);
#line 2588 "add-persona.c"
		}
#line 396 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		if (_inner_error_ != NULL) {
#line 396 "/home/treitter/collabora/folks/tests/tracker/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 396 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			g_clear_error (&_inner_error_);
#line 396 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			return;
#line 2598 "add-persona.c"
		}
	}
}


static void ___lambda2_ (AddPersonaTests* self, GObject* obj, GAsyncResult* _result_) {
	GAsyncResult* _tmp0_;
	gboolean _tmp1_ = FALSE;
#line 503 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (_result_ != NULL);
#line 505 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = _result_;
#line 505 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = folks_test_utils_loadable_icons_content_equal_finish (_tmp0_);
#line 505 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp1_) {
#line 2615 "add-persona.c"
		GHashTable* _tmp2_;
		gchar* _tmp3_;
#line 506 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp2_ = self->priv->_properties_found;
#line 506 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp3_ = g_strdup ("avatar");
#line 506 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_hash_table_replace (_tmp2_, _tmp3_, GINT_TO_POINTER (TRUE));
#line 2624 "add-persona.c"
	}
#line 508 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_exit_if_all_properties_found (self);
#line 2628 "add-persona.c"
}


static void ____lambda2__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 501 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	___lambda2_ (self, source_object, res);
#line 501 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_object_unref (self);
#line 2637 "add-persona.c"
}


static void _add_persona_tests_check_properties (AddPersonaTests* self, FolksIndividual* i) {
	FolksIndividual* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	FolksIndividual* _tmp6_;
	const gchar* _tmp7_;
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	FolksIndividual* _tmp12_;
	gboolean _tmp13_;
	gboolean _tmp14_;
	FolksIndividual* _tmp17_;
	FolksStructuredName* _tmp18_;
	FolksStructuredName* _tmp19_;
	gboolean _tmp23_ = FALSE;
	FolksIndividual* _tmp24_;
	GDateTime* _tmp25_;
	GDateTime* _tmp26_;
	gboolean _tmp32_;
	FolksIndividual* _tmp35_;
	FolksGender _tmp36_;
	FolksGender _tmp37_;
	FolksIndividual* _tmp199_;
	GLoadableIcon* _tmp200_;
	GLoadableIcon* _tmp201_;
#line 407 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 407 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (i != NULL);
#line 409 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = i;
#line 409 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp0_);
#line 409 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp2_ = _tmp1_;
#line 409 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp3_ = self->priv->_persona_fullname;
#line 409 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (g_strcmp0 (_tmp2_, _tmp3_) == 0) {
#line 2681 "add-persona.c"
		GHashTable* _tmp4_;
		gchar* _tmp5_;
#line 410 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp4_ = self->priv->_properties_found;
#line 410 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp5_ = g_strdup ("full_name");
#line 410 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_hash_table_replace (_tmp4_, _tmp5_, GINT_TO_POINTER (TRUE));
#line 2690 "add-persona.c"
	}
#line 412 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp6_ = i;
#line 412 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp7_ = folks_name_details_get_nickname ((FolksNameDetails*) _tmp6_);
#line 412 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp8_ = _tmp7_;
#line 412 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp9_ = self->priv->_persona_nickname;
#line 412 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (g_strcmp0 (_tmp8_, _tmp9_) == 0) {
#line 2702 "add-persona.c"
		GHashTable* _tmp10_;
		gchar* _tmp11_;
#line 413 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp10_ = self->priv->_properties_found;
#line 413 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp11_ = g_strdup ("nickname");
#line 413 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_hash_table_replace (_tmp10_, _tmp11_, GINT_TO_POINTER (TRUE));
#line 2711 "add-persona.c"
	}
#line 415 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp12_ = i;
#line 415 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp13_ = folks_favourite_details_get_is_favourite ((FolksFavouriteDetails*) _tmp12_);
#line 415 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp14_ = _tmp13_;
#line 415 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp14_) {
#line 2721 "add-persona.c"
		GHashTable* _tmp15_;
		gchar* _tmp16_;
#line 416 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp15_ = self->priv->_properties_found;
#line 416 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp16_ = g_strdup ("is_favourite");
#line 416 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_hash_table_replace (_tmp15_, _tmp16_, GINT_TO_POINTER (TRUE));
#line 2730 "add-persona.c"
	}
#line 418 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp17_ = i;
#line 418 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp18_ = folks_name_details_get_structured_name ((FolksNameDetails*) _tmp17_);
#line 418 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp19_ = _tmp18_;
#line 418 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp19_ != NULL) {
#line 2740 "add-persona.c"
		FolksIndividual* _tmp20_;
		FolksStructuredName* _tmp21_;
		FolksStructuredName* _tmp22_;
#line 420 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp20_ = i;
#line 420 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp21_ = folks_name_details_get_structured_name ((FolksNameDetails*) _tmp20_);
#line 420 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp22_ = _tmp21_;
#line 420 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_add_persona_tests_check_sname (self, _tmp22_);
#line 2752 "add-persona.c"
	}
#line 423 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp24_ = i;
#line 423 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp25_ = folks_birthday_details_get_birthday ((FolksBirthdayDetails*) _tmp24_);
#line 423 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp26_ = _tmp25_;
#line 423 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp26_ != NULL) {
#line 2762 "add-persona.c"
		FolksIndividual* _tmp27_;
		GDateTime* _tmp28_;
		GDateTime* _tmp29_;
		GDateTime* _tmp30_;
		gint _tmp31_ = 0;
#line 424 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp27_ = i;
#line 424 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp28_ = folks_birthday_details_get_birthday ((FolksBirthdayDetails*) _tmp27_);
#line 424 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp29_ = _tmp28_;
#line 424 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp30_ = self->priv->_bday;
#line 424 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp31_ = g_date_time_compare (_tmp29_, _tmp30_);
#line 424 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp23_ = _tmp31_ == 0;
#line 2780 "add-persona.c"
	} else {
#line 423 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp23_ = FALSE;
#line 2784 "add-persona.c"
	}
#line 423 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp32_ = _tmp23_;
#line 423 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp32_) {
#line 2790 "add-persona.c"
		GHashTable* _tmp33_;
		gchar* _tmp34_;
#line 425 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp33_ = self->priv->_properties_found;
#line 425 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp34_ = g_strdup ("birthday");
#line 425 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_hash_table_replace (_tmp33_, _tmp34_, GINT_TO_POINTER (TRUE));
#line 2799 "add-persona.c"
	}
#line 427 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp35_ = i;
#line 427 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp36_ = folks_gender_details_get_gender ((FolksGenderDetails*) _tmp35_);
#line 427 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp37_ = _tmp36_;
#line 427 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp37_ == FOLKS_GENDER_MALE) {
#line 2809 "add-persona.c"
		GHashTable* _tmp38_;
		gchar* _tmp39_;
#line 428 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp38_ = self->priv->_properties_found;
#line 428 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp39_ = g_strdup ("gender");
#line 428 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_hash_table_replace (_tmp38_, _tmp39_, GINT_TO_POINTER (TRUE));
#line 2818 "add-persona.c"
	}
	{
		FolksIndividual* _tmp40_;
		GeeSet* _tmp41_;
		GeeSet* _tmp42_;
		GeeIterator* _tmp43_ = NULL;
		GeeIterator* _e_it;
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp40_ = i;
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp41_ = folks_email_details_get_email_addresses ((FolksEmailDetails*) _tmp40_);
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp42_ = _tmp41_;
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp43_ = gee_iterable_iterator ((GeeIterable*) _tmp42_);
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_e_it = _tmp43_;
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 2838 "add-persona.c"
			GeeIterator* _tmp44_;
			gboolean _tmp45_ = FALSE;
			GeeIterator* _tmp46_;
			gpointer _tmp47_ = NULL;
			FolksEmailFieldDetails* e;
			FolksEmailFieldDetails* _tmp48_;
			gconstpointer _tmp49_;
			const gchar* _tmp50_;
			const gchar* _tmp51_;
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp44_ = _e_it;
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp45_ = gee_iterator_next (_tmp44_);
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp45_) {
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 2856 "add-persona.c"
			}
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp46_ = _e_it;
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp47_ = gee_iterator_get (_tmp46_);
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			e = (FolksEmailFieldDetails*) _tmp47_;
#line 432 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp48_ = e;
#line 432 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp49_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp48_);
#line 432 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp50_ = _tmp49_;
#line 432 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp51_ = self->priv->_email_1;
#line 432 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (g_strcmp0 ((const gchar*) _tmp50_, _tmp51_) == 0) {
#line 2874 "add-persona.c"
				GHashTable* _tmp52_;
				gchar* _tmp53_;
#line 434 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp52_ = self->priv->_properties_found;
#line 434 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp53_ = g_strdup ("email-1");
#line 434 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_hash_table_replace (_tmp52_, _tmp53_, GINT_TO_POINTER (TRUE));
#line 2883 "add-persona.c"
			} else {
				FolksEmailFieldDetails* _tmp54_;
				gconstpointer _tmp55_;
				const gchar* _tmp56_;
				const gchar* _tmp57_;
#line 436 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp54_ = e;
#line 436 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp55_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp54_);
#line 436 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp56_ = _tmp55_;
#line 436 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp57_ = self->priv->_email_2;
#line 436 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				if (g_strcmp0 ((const gchar*) _tmp56_, _tmp57_) == 0) {
#line 2899 "add-persona.c"
					GHashTable* _tmp58_;
					gchar* _tmp59_;
#line 438 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp58_ = self->priv->_properties_found;
#line 438 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp59_ = g_strdup ("email-2");
#line 438 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					g_hash_table_replace (_tmp58_, _tmp59_, GINT_TO_POINTER (TRUE));
#line 2908 "add-persona.c"
				}
			}
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (e);
#line 2913 "add-persona.c"
		}
#line 430 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_e_it);
#line 2917 "add-persona.c"
	}
	{
		FolksIndividual* _tmp60_;
		GeeMultiMap* _tmp61_;
		GeeMultiMap* _tmp62_;
		GeeSet* _tmp63_ = NULL;
		GeeSet* _tmp64_;
		GeeIterator* _tmp65_ = NULL;
		GeeIterator* _tmp66_;
		GeeIterator* _proto_it;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp60_ = i;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp61_ = folks_im_details_get_im_addresses ((FolksImDetails*) _tmp60_);
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp62_ = _tmp61_;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp63_ = gee_multi_map_get_keys (_tmp62_);
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp64_ = _tmp63_;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp65_ = gee_iterable_iterator ((GeeIterable*) _tmp64_);
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp66_ = _tmp65_;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_tmp64_);
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_proto_it = _tmp66_;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 2948 "add-persona.c"
			GeeIterator* _tmp67_;
			gboolean _tmp68_ = FALSE;
			GeeIterator* _tmp69_;
			gpointer _tmp70_ = NULL;
			gchar* proto;
			FolksIndividual* _tmp71_;
			GeeMultiMap* _tmp72_;
			GeeMultiMap* _tmp73_;
			const gchar* _tmp74_;
			GeeCollection* _tmp75_ = NULL;
			GeeCollection* addrs;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp67_ = _proto_it;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp68_ = gee_iterator_next (_tmp67_);
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp68_) {
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 2968 "add-persona.c"
			}
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp69_ = _proto_it;
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp70_ = gee_iterator_get (_tmp69_);
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			proto = (gchar*) _tmp70_;
#line 444 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp71_ = i;
#line 444 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp72_ = folks_im_details_get_im_addresses ((FolksImDetails*) _tmp71_);
#line 444 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp73_ = _tmp72_;
#line 444 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp74_ = proto;
#line 444 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp75_ = gee_multi_map_get (_tmp73_, _tmp74_);
#line 444 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			addrs = _tmp75_;
#line 2988 "add-persona.c"
			{
				GeeCollection* _tmp76_;
				GeeIterator* _tmp77_ = NULL;
				GeeIterator* _a_it;
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp76_ = addrs;
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp77_ = gee_iterable_iterator ((GeeIterable*) _tmp76_);
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_a_it = _tmp77_;
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				while (TRUE) {
#line 3001 "add-persona.c"
					GeeIterator* _tmp78_;
					gboolean _tmp79_ = FALSE;
					GeeIterator* _tmp80_;
					gpointer _tmp81_ = NULL;
					FolksImFieldDetails* a;
					FolksImFieldDetails* _tmp82_;
					gconstpointer _tmp83_;
					const gchar* _tmp84_;
					const gchar* _tmp85_;
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp78_ = _a_it;
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp79_ = gee_iterator_next (_tmp78_);
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					if (!_tmp79_) {
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						break;
#line 3019 "add-persona.c"
					}
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp80_ = _a_it;
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp81_ = gee_iterator_get (_tmp80_);
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					a = (FolksImFieldDetails*) _tmp81_;
#line 447 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp82_ = a;
#line 447 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp83_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp82_);
#line 447 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp84_ = _tmp83_;
#line 447 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp85_ = self->priv->_im_addr_1;
#line 447 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					if (g_strcmp0 ((const gchar*) _tmp84_, _tmp85_) == 0) {
#line 3037 "add-persona.c"
						GHashTable* _tmp86_;
						gchar* _tmp87_;
#line 448 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp86_ = self->priv->_properties_found;
#line 448 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp87_ = g_strdup ("im-addr-1");
#line 448 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						g_hash_table_replace (_tmp86_, _tmp87_, GINT_TO_POINTER (TRUE));
#line 3046 "add-persona.c"
					} else {
						FolksImFieldDetails* _tmp88_;
						gconstpointer _tmp89_;
						const gchar* _tmp90_;
						const gchar* _tmp91_;
#line 449 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp88_ = a;
#line 449 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp89_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp88_);
#line 449 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp90_ = _tmp89_;
#line 449 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						_tmp91_ = self->priv->_im_addr_2;
#line 449 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
						if (g_strcmp0 ((const gchar*) _tmp90_, _tmp91_) == 0) {
#line 3062 "add-persona.c"
							GHashTable* _tmp92_;
							gchar* _tmp93_;
#line 450 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp92_ = self->priv->_properties_found;
#line 450 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							_tmp93_ = g_strdup ("im-addr-2");
#line 450 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
							g_hash_table_replace (_tmp92_, _tmp93_, GINT_TO_POINTER (TRUE));
#line 3071 "add-persona.c"
						}
					}
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_g_object_unref0 (a);
#line 3076 "add-persona.c"
				}
#line 445 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_g_object_unref0 (_a_it);
#line 3080 "add-persona.c"
			}
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (addrs);
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_free0 (proto);
#line 3086 "add-persona.c"
		}
#line 442 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_proto_it);
#line 3090 "add-persona.c"
	}
	{
		FolksIndividual* _tmp94_;
		GeeSet* _tmp95_;
		GeeSet* _tmp96_;
		GeeIterator* _tmp97_ = NULL;
		GeeIterator* _n_it;
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp94_ = i;
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp95_ = folks_note_details_get_notes ((FolksNoteDetails*) _tmp94_);
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp96_ = _tmp95_;
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp97_ = gee_iterable_iterator ((GeeIterable*) _tmp96_);
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_n_it = _tmp97_;
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 3110 "add-persona.c"
			GeeIterator* _tmp98_;
			gboolean _tmp99_ = FALSE;
			GeeIterator* _tmp100_;
			gpointer _tmp101_ = NULL;
			FolksNoteFieldDetails* n;
			FolksNoteFieldDetails* _tmp102_;
			const gchar* _tmp103_;
			FolksNoteFieldDetails* _tmp104_;
			FolksNoteFieldDetails* _tmp105_;
			gboolean _tmp106_ = FALSE;
			gboolean _tmp107_;
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp98_ = _n_it;
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp99_ = gee_iterator_next (_tmp98_);
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp99_) {
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 3130 "add-persona.c"
			}
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp100_ = _n_it;
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp101_ = gee_iterator_get (_tmp100_);
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			n = (FolksNoteFieldDetails*) _tmp101_;
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp102_ = n;
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp103_ = self->priv->_note_1;
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp104_ = folks_note_field_details_new (_tmp103_, NULL, NULL);
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp105_ = _tmp104_;
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp106_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp102_, (FolksAbstractFieldDetails*) _tmp105_);
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp107_ = _tmp106_;
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_tmp105_);
#line 456 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_tmp107_) {
#line 3154 "add-persona.c"
				GHashTable* _tmp108_;
				gchar* _tmp109_;
#line 458 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp108_ = self->priv->_properties_found;
#line 458 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp109_ = g_strdup ("note-1");
#line 458 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_hash_table_replace (_tmp108_, _tmp109_, GINT_TO_POINTER (TRUE));
#line 3163 "add-persona.c"
			}
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (n);
#line 3167 "add-persona.c"
		}
#line 454 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_n_it);
#line 3171 "add-persona.c"
	}
	{
		FolksIndividual* _tmp110_;
		GeeSet* _tmp111_;
		GeeSet* _tmp112_;
		GeeIterator* _tmp113_ = NULL;
		GeeIterator* _phone_fd_it;
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp110_ = i;
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp111_ = folks_phone_details_get_phone_numbers ((FolksPhoneDetails*) _tmp110_);
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp112_ = _tmp111_;
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp113_ = gee_iterable_iterator ((GeeIterable*) _tmp112_);
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_phone_fd_it = _tmp113_;
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 3191 "add-persona.c"
			GeeIterator* _tmp114_;
			gboolean _tmp115_ = FALSE;
			GeeIterator* _tmp116_;
			gpointer _tmp117_ = NULL;
			FolksPhoneFieldDetails* phone_fd;
			FolksPhoneFieldDetails* _tmp118_;
			const gchar* _tmp119_;
			FolksPhoneFieldDetails* _tmp120_;
			FolksPhoneFieldDetails* _tmp121_;
			gboolean _tmp122_ = FALSE;
			gboolean _tmp123_;
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp114_ = _phone_fd_it;
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp115_ = gee_iterator_next (_tmp114_);
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp115_) {
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 3211 "add-persona.c"
			}
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp116_ = _phone_fd_it;
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp117_ = gee_iterator_get (_tmp116_);
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			phone_fd = (FolksPhoneFieldDetails*) _tmp117_;
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp118_ = phone_fd;
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp119_ = self->priv->_phone_1;
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp120_ = folks_phone_field_details_new (_tmp119_, NULL);
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp121_ = _tmp120_;
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp122_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp118_, (FolksAbstractFieldDetails*) _tmp121_);
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp123_ = _tmp122_;
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (_tmp121_);
#line 464 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_tmp123_) {
#line 3235 "add-persona.c"
				GHashTable* _tmp124_;
				gchar* _tmp125_;
#line 466 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp124_ = self->priv->_properties_found;
#line 466 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp125_ = g_strdup ("phone-1");
#line 466 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_hash_table_replace (_tmp124_, _tmp125_, GINT_TO_POINTER (TRUE));
#line 3244 "add-persona.c"
			} else {
				FolksPhoneFieldDetails* _tmp126_;
				const gchar* _tmp127_;
				FolksPhoneFieldDetails* _tmp128_;
				FolksPhoneFieldDetails* _tmp129_;
				gboolean _tmp130_ = FALSE;
				gboolean _tmp131_;
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp126_ = phone_fd;
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp127_ = self->priv->_phone_2;
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp128_ = folks_phone_field_details_new (_tmp127_, NULL);
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp129_ = _tmp128_;
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp130_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp126_, (FolksAbstractFieldDetails*) _tmp129_);
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp131_ = _tmp130_;
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_g_object_unref0 (_tmp129_);
#line 468 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				if (_tmp131_) {
#line 3268 "add-persona.c"
					GHashTable* _tmp132_;
					gchar* _tmp133_;
#line 470 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp132_ = self->priv->_properties_found;
#line 470 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_tmp133_ = g_strdup ("phone-2");
#line 470 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					g_hash_table_replace (_tmp132_, _tmp133_, GINT_TO_POINTER (TRUE));
#line 3277 "add-persona.c"
				}
			}
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (phone_fd);
#line 3282 "add-persona.c"
		}
#line 462 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_phone_fd_it);
#line 3286 "add-persona.c"
	}
	{
		FolksIndividual* _tmp134_;
		GeeSet* _tmp135_;
		GeeSet* _tmp136_;
		GeeIterator* _tmp137_ = NULL;
		GeeIterator* _role_fd_it;
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp134_ = i;
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp135_ = folks_role_details_get_roles ((FolksRoleDetails*) _tmp134_);
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp136_ = _tmp135_;
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp137_ = gee_iterable_iterator ((GeeIterable*) _tmp136_);
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_role_fd_it = _tmp137_;
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 3306 "add-persona.c"
			GeeIterator* _tmp138_;
			gboolean _tmp139_ = FALSE;
			GeeIterator* _tmp140_;
			gpointer _tmp141_ = NULL;
			FolksRoleFieldDetails* role_fd;
			const gchar* _tmp142_;
			const gchar* _tmp143_;
			FolksRole* _tmp144_;
			FolksRole* role_expected;
			FolksRole* _tmp145_;
			const gchar* _tmp146_;
			FolksRole* _tmp147_;
			FolksRoleFieldDetails* _tmp148_;
			FolksRoleFieldDetails* role_fd_expected;
			FolksRoleFieldDetails* _tmp149_;
			FolksRoleFieldDetails* _tmp150_;
			gboolean _tmp151_ = FALSE;
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp138_ = _role_fd_it;
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp139_ = gee_iterator_next (_tmp138_);
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp139_) {
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 3332 "add-persona.c"
			}
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp140_ = _role_fd_it;
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp141_ = gee_iterator_get (_tmp140_);
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			role_fd = (FolksRoleFieldDetails*) _tmp141_;
#line 476 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp142_ = self->priv->_title_1;
#line 476 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp143_ = self->priv->_organisation_1;
#line 476 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp144_ = folks_role_new (_tmp142_, _tmp143_, NULL);
#line 476 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			role_expected = _tmp144_;
#line 477 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp145_ = role_expected;
#line 477 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp146_ = self->priv->_role_1;
#line 477 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			folks_role_set_role (_tmp145_, _tmp146_);
#line 478 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp147_ = role_expected;
#line 478 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp148_ = folks_role_field_details_new (_tmp147_, NULL);
#line 478 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			role_fd_expected = _tmp148_;
#line 479 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp149_ = role_fd;
#line 479 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp150_ = role_fd_expected;
#line 479 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp151_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp149_, (FolksAbstractFieldDetails*) _tmp150_);
#line 479 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_tmp151_) {
#line 3368 "add-persona.c"
				GHashTable* _tmp152_;
				gchar* _tmp153_;
#line 480 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp152_ = self->priv->_properties_found;
#line 480 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp153_ = g_strdup ("role-1");
#line 480 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_hash_table_replace (_tmp152_, _tmp153_, GINT_TO_POINTER (TRUE));
#line 3377 "add-persona.c"
			}
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (role_fd_expected);
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (role_expected);
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (role_fd);
#line 3385 "add-persona.c"
		}
#line 474 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_role_fd_it);
#line 3389 "add-persona.c"
	}
	{
		FolksIndividual* _tmp154_;
		GeeSet* _tmp155_;
		GeeSet* _tmp156_;
		GeeIterator* _tmp157_ = NULL;
		GeeIterator* _pafd_it;
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp154_ = i;
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp155_ = folks_postal_address_details_get_postal_addresses ((FolksPostalAddressDetails*) _tmp154_);
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp156_ = _tmp155_;
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp157_ = gee_iterable_iterator ((GeeIterable*) _tmp156_);
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_pafd_it = _tmp157_;
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 3409 "add-persona.c"
			GeeIterator* _tmp158_;
			gboolean _tmp159_ = FALSE;
			GeeIterator* _tmp160_;
			gpointer _tmp161_ = NULL;
			FolksPostalAddressFieldDetails* pafd;
			FolksPostalAddressFieldDetails* _tmp162_;
			gconstpointer _tmp163_;
			FolksPostalAddress* _tmp164_;
			FolksPostalAddressFieldDetails* _tmp165_;
			gconstpointer _tmp166_;
			FolksPostalAddress* _tmp167_;
			const gchar* _tmp168_;
			const gchar* _tmp169_;
			FolksPostalAddressFieldDetails* _tmp170_;
			gconstpointer _tmp171_;
			FolksPostalAddress* _tmp172_;
			FolksPostalAddressFieldDetails* _tmp173_;
			gconstpointer _tmp174_;
			FolksPostalAddress* _tmp175_;
			gboolean _tmp176_ = FALSE;
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp158_ = _pafd_it;
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp159_ = gee_iterator_next (_tmp158_);
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp159_) {
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 3438 "add-persona.c"
			}
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp160_ = _pafd_it;
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp161_ = gee_iterator_get (_tmp160_);
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			pafd = (FolksPostalAddressFieldDetails*) _tmp161_;
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp162_ = self->priv->_postal_address_fd;
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp163_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp162_);
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp164_ = _tmp163_;
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp165_ = pafd;
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp166_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp165_);
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp167_ = _tmp166_;
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp168_ = folks_postal_address_get_uid ((FolksPostalAddress*) _tmp167_);
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp169_ = _tmp168_;
#line 485 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			folks_postal_address_set_uid ((FolksPostalAddress*) _tmp164_, _tmp169_);
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp170_ = pafd;
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp171_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp170_);
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp172_ = _tmp171_;
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp173_ = self->priv->_postal_address_fd;
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp174_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp173_);
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp175_ = _tmp174_;
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp176_ = folks_postal_address_equal ((FolksPostalAddress*) _tmp172_, (FolksPostalAddress*) _tmp175_);
#line 486 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (_tmp176_) {
#line 3480 "add-persona.c"
				GHashTable* _tmp177_;
				gchar* _tmp178_;
#line 487 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp177_ = self->priv->_properties_found;
#line 487 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp178_ = g_strdup ("postal-address-1");
#line 487 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_hash_table_replace (_tmp177_, _tmp178_, GINT_TO_POINTER (TRUE));
#line 3489 "add-persona.c"
			}
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (pafd);
#line 3493 "add-persona.c"
		}
#line 483 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_pafd_it);
#line 3497 "add-persona.c"
	}
	{
		FolksIndividual* _tmp179_;
		GeeSet* _tmp180_;
		GeeSet* _tmp181_;
		GeeIterator* _tmp182_ = NULL;
		GeeIterator* _u_it;
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp179_ = i;
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp180_ = folks_url_details_get_urls ((FolksUrlDetails*) _tmp179_);
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp181_ = _tmp180_;
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp182_ = gee_iterable_iterator ((GeeIterable*) _tmp181_);
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_u_it = _tmp182_;
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		while (TRUE) {
#line 3517 "add-persona.c"
			GeeIterator* _tmp183_;
			gboolean _tmp184_ = FALSE;
			GeeIterator* _tmp185_;
			gpointer _tmp186_ = NULL;
			FolksUrlFieldDetails* u;
			FolksUrlFieldDetails* _tmp187_;
			gconstpointer _tmp188_;
			const gchar* _tmp189_;
			const gchar* _tmp190_;
			FolksUrlFieldDetails* _tmp193_;
			gconstpointer _tmp194_;
			const gchar* _tmp195_;
			const gchar* _tmp196_;
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp183_ = _u_it;
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp184_ = gee_iterator_next (_tmp183_);
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (!_tmp184_) {
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				break;
#line 3539 "add-persona.c"
			}
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp185_ = _u_it;
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp186_ = gee_iterator_get (_tmp185_);
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			u = (FolksUrlFieldDetails*) _tmp186_;
#line 492 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp187_ = u;
#line 492 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp188_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp187_);
#line 492 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp189_ = _tmp188_;
#line 492 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp190_ = self->priv->_url_1;
#line 492 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (g_strcmp0 ((const gchar*) _tmp189_, _tmp190_) == 0) {
#line 3557 "add-persona.c"
				GHashTable* _tmp191_;
				gchar* _tmp192_;
#line 493 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp191_ = self->priv->_properties_found;
#line 493 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp192_ = g_strdup ("url-1");
#line 493 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_hash_table_replace (_tmp191_, _tmp192_, GINT_TO_POINTER (TRUE));
#line 3566 "add-persona.c"
			}
#line 494 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp193_ = u;
#line 494 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp194_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp193_);
#line 494 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp195_ = _tmp194_;
#line 494 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_tmp196_ = self->priv->_url_2;
#line 494 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			if (g_strcmp0 ((const gchar*) _tmp195_, _tmp196_) == 0) {
#line 3578 "add-persona.c"
				GHashTable* _tmp197_;
				gchar* _tmp198_;
#line 495 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp197_ = self->priv->_properties_found;
#line 495 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp198_ = g_strdup ("url-2");
#line 495 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				g_hash_table_replace (_tmp197_, _tmp198_, GINT_TO_POINTER (TRUE));
#line 3587 "add-persona.c"
			}
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			_g_object_unref0 (u);
#line 3591 "add-persona.c"
		}
#line 490 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_object_unref0 (_u_it);
#line 3595 "add-persona.c"
	}
#line 498 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp199_ = i;
#line 498 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp200_ = folks_avatar_details_get_avatar ((FolksAvatarDetails*) _tmp199_);
#line 498 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp201_ = _tmp200_;
#line 498 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp201_ != NULL) {
#line 3605 "add-persona.c"
		FolksIndividual* _tmp202_;
		GLoadableIcon* _tmp203_;
		GLoadableIcon* _tmp204_;
		GLoadableIcon* _tmp205_;
#line 501 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp202_ = i;
#line 501 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp203_ = folks_avatar_details_get_avatar ((FolksAvatarDetails*) _tmp202_);
#line 501 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp204_ = _tmp203_;
#line 501 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp205_ = self->priv->_avatar;
#line 501 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		folks_test_utils_loadable_icons_content_equal (_tmp204_, _tmp205_, 100, ____lambda2__gasync_ready_callback, g_object_ref (self));
#line 3620 "add-persona.c"
	}
#line 512 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_add_persona_tests_exit_if_all_properties_found (self);
#line 3624 "add-persona.c"
}


static void _add_persona_tests_exit_if_all_properties_found (AddPersonaTests* self) {
	GHashTable* _tmp0_;
	GList* _tmp1_ = NULL;
	GMainLoop* _tmp6_;
#line 515 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 517 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = self->priv->_properties_found;
#line 517 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = g_hash_table_get_keys (_tmp0_);
#line 3638 "add-persona.c"
	{
		GList* k_collection = NULL;
		GList* k_it = NULL;
#line 517 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		k_collection = _tmp1_;
#line 517 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		for (k_it = k_collection; k_it != NULL; k_it = k_it->next) {
#line 3646 "add-persona.c"
			const gchar* k = NULL;
#line 517 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
			k = (const gchar*) k_it->data;
#line 3650 "add-persona.c"
			{
				GHashTable* _tmp2_;
				const gchar* _tmp3_;
				gconstpointer _tmp4_ = NULL;
				gboolean v;
				gboolean _tmp5_;
#line 519 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp2_ = self->priv->_properties_found;
#line 519 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp3_ = k;
#line 519 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp4_ = g_hash_table_lookup (_tmp2_, _tmp3_);
#line 519 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				v = GPOINTER_TO_INT (_tmp4_);
#line 520 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				_tmp5_ = v;
#line 520 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
				if (_tmp5_ == FALSE) {
#line 521 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					_g_list_free0 (k_collection);
#line 521 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
					return;
#line 3673 "add-persona.c"
				}
			}
		}
#line 517 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_g_list_free0 (k_collection);
#line 3679 "add-persona.c"
	}
#line 523 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp6_ = self->priv->_main_loop;
#line 523 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_main_loop_quit (_tmp6_);
#line 3685 "add-persona.c"
}


static void _add_persona_tests_check_sname (AddPersonaTests* self, FolksStructuredName* sname) {
	gboolean _tmp0_ = FALSE;
	FolksStructuredName* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	gboolean _tmp9_;
#line 526 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (self != NULL);
#line 526 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_return_if_fail (sname != NULL);
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = sname;
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp2_ = folks_structured_name_get_family_name (_tmp1_);
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp3_ = _tmp2_;
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp4_ = self->priv->_family_name;
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (g_strcmp0 (_tmp3_, _tmp4_) == 0) {
#line 3710 "add-persona.c"
		FolksStructuredName* _tmp5_;
		const gchar* _tmp6_;
		const gchar* _tmp7_;
		const gchar* _tmp8_;
#line 529 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp5_ = sname;
#line 529 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp6_ = folks_structured_name_get_given_name (_tmp5_);
#line 529 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp7_ = _tmp6_;
#line 529 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp8_ = self->priv->_given_name;
#line 529 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp0_ = g_strcmp0 (_tmp7_, _tmp8_) == 0;
#line 3725 "add-persona.c"
	} else {
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp0_ = FALSE;
#line 3729 "add-persona.c"
	}
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp9_ = _tmp0_;
#line 528 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	if (_tmp9_) {
#line 3735 "add-persona.c"
		GHashTable* _tmp10_;
		gchar* _tmp11_;
#line 530 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp10_ = self->priv->_properties_found;
#line 530 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		_tmp11_ = g_strdup ("structured_name");
#line 530 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
		g_hash_table_replace (_tmp10_, _tmp11_, GINT_TO_POINTER (TRUE));
#line 3744 "add-persona.c"
	}
}


static void add_persona_tests_class_init (AddPersonaTestsClass * klass) {
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	add_persona_tests_parent_class = g_type_class_peek_parent (klass);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_type_class_add_private (klass, sizeof (AddPersonaTestsPrivate));
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = add_persona_tests_real_set_up;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = add_persona_tests_real_tear_down;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_OBJECT_CLASS (klass)->finalize = add_persona_tests_finalize;
#line 3760 "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_;
	gchar* _tmp8_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv = ADD_PERSONA_TESTS_GET_PRIVATE (self);
#line 51 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = g_strdup ("12345");
#line 51 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_po_box = _tmp0_;
#line 52 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = g_strdup ("locality");
#line 52 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_locality = _tmp1_;
#line 53 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp2_ = g_strdup ("code");
#line 53 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_postal_code = _tmp2_;
#line 54 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp3_ = g_strdup ("some street");
#line 54 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_street = _tmp3_;
#line 55 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp4_ = g_strdup ("some extension");
#line 55 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_extension = _tmp4_;
#line 56 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp5_ = g_strdup ("some country");
#line 56 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_country = _tmp5_;
#line 57 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp6_ = g_strdup ("some region");
#line 57 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_region = _tmp6_;
#line 58 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp7_ = g_strdup ("http://www-1.example.org");
#line 58 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_url_1 = _tmp7_;
#line 59 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp8_ = g_strdup ("http://www-1.example.org");
#line 59 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_url_2 = _tmp8_;
#line 61 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_static_rec_mutex_init (&self->priv->__lock__added_persona);
#line 61 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self->priv->_added_persona = FALSE;
#line 3816 "add-persona.c"
}


static void add_persona_tests_finalize (GObject* obj) {
	AddPersonaTests * self;
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	self = ADD_PERSONA_TESTS (obj);
#line 28 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 29 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 30 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 31 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 32 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_persona_nickname);
#line 33 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_family_name);
#line 34 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_given_name);
#line 35 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_hash_table_unref0 (self->priv->_properties_found);
#line 36 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_persona_iid);
#line 37 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (self->priv->_avatar);
#line 38 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_birthday);
#line 39 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_date_time_unref0 (self->priv->_bday);
#line 40 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_email_1);
#line 41 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_email_2);
#line 42 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_im_addr_1);
#line 43 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_im_addr_2);
#line 44 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_note_1);
#line 45 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_phone_1);
#line 46 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_phone_2);
#line 47 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_title_1);
#line 48 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_organisation_1);
#line 49 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_role_1);
#line 50 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (self->priv->_postal_address_fd);
#line 51 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_po_box);
#line 52 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_locality);
#line 53 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_postal_code);
#line 54 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_street);
#line 55 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_extension);
#line 56 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_country);
#line 57 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_region);
#line 58 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_url_1);
#line 59 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_free0 (self->priv->_url_2);
#line 60 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (self->priv->_pstore);
#line 61 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_static_rec_mutex_free (&self->priv->__lock__added_persona);
#line 26 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	G_OBJECT_CLASS (add_persona_tests_parent_class)->finalize (obj);
#line 3894 "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 536 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_test_init (&args_length1, &args, NULL);
#line 538 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp0_ = g_test_get_root ();
#line 538 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	root = _tmp0_;
#line 539 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp1_ = add_persona_tests_new ();
#line 539 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp2_ = _tmp1_;
#line 539 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 539 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 539 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	_g_object_unref0 (_tmp2_);
#line 541 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_test_run ();
#line 543 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	result = 0;
#line 543 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return result;
#line 3939 "add-persona.c"
}


int main (int argc, char ** argv) {
#line 534 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	g_type_init ();
#line 534 "/home/treitter/collabora/folks/tests/tracker/add-persona.vala"
	return _vala_main (argv, argc);
#line 3948 "add-persona.c"
}



