/* link-personas-diff-stores.c generated by valac 0.28.0.16-b1323, the Vala compiler
 * generated from link-personas-diff-stores.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 <eds-test.h>
#include <folks/folks.h>
#include <stdlib.h>
#include <string.h>
#include <gee.h>
#include <folks-test.h>
#include <gio/gio.h>


#define TYPE_LINK_PERSONAS_DIFF_STORES_TESTS (link_personas_diff_stores_tests_get_type ())
#define LINK_PERSONAS_DIFF_STORES_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LINK_PERSONAS_DIFF_STORES_TESTS, LinkPersonasDiffStoresTests))
#define LINK_PERSONAS_DIFF_STORES_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LINK_PERSONAS_DIFF_STORES_TESTS, LinkPersonasDiffStoresTestsClass))
#define IS_LINK_PERSONAS_DIFF_STORES_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LINK_PERSONAS_DIFF_STORES_TESTS))
#define IS_LINK_PERSONAS_DIFF_STORES_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_LINK_PERSONAS_DIFF_STORES_TESTS))
#define LINK_PERSONAS_DIFF_STORES_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_LINK_PERSONAS_DIFF_STORES_TESTS, LinkPersonasDiffStoresTestsClass))

typedef struct _LinkPersonasDiffStoresTests LinkPersonasDiffStoresTests;
typedef struct _LinkPersonasDiffStoresTestsClass LinkPersonasDiffStoresTestsClass;
typedef struct _LinkPersonasDiffStoresTestsPrivate LinkPersonasDiffStoresTestsPrivate;
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _eds_test_backend_unref0(var) ((var == NULL) ? NULL : (var = (eds_test_backend_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block1Data Block1Data;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData;
#define __vala_GValue_free0(var) ((var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL)))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
typedef struct _LinkPersonasDiffStoresTestsAddPersonasData LinkPersonasDiffStoresTestsAddPersonasData;
typedef struct _LinkPersonasDiffStoresTestsIndividualsChangedAsyncData LinkPersonasDiffStoresTestsIndividualsChangedAsyncData;
typedef struct _LinkPersonasDiffStoresTestsCheckPersonasData LinkPersonasDiffStoresTestsCheckPersonasData;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _LinkPersonasDiffStoresTests {
	EdsTestTestCase parent_instance;
	LinkPersonasDiffStoresTestsPrivate * priv;
};

struct _LinkPersonasDiffStoresTestsClass {
	EdsTestTestCaseClass parent_class;
};

struct _LinkPersonasDiffStoresTestsPrivate {
	GMainLoop* _main_loop;
	EdsTestBackend* _eds_backend_other;
	FolksIndividualAggregator* _aggregator;
	gchar* _persona_fullname_1;
	gchar* _persona_fullname_2;
	gboolean _linking_fired;
	gboolean _linked_individual_found;
	gchar* _persona_iid_1;
	gchar* _persona_iid_2;
	GeeHashSet* _personas;
};

struct _Block1Data {
	int _ref_count_;
	LinkPersonasDiffStoresTests* self;
	FolksBackendStore* store;
	gpointer _async_data_;
};

struct _LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	LinkPersonasDiffStoresTests* self;
	Block1Data* _data1_;
	FolksBackendStore* _tmp0_;
	FolksIndividualAggregator* _tmp1_;
	FolksIndividualAggregator* _tmp2_;
	FolksIndividualAggregator* _tmp3_;
	FolksIndividualAggregator* _tmp4_;
	gboolean _tmp5_;
	gboolean _tmp6_;
	FolksIndividualAggregator* _tmp7_;
	GError* e;
	GError* _tmp8_;
	const gchar* _tmp9_;
	GError * _inner_error_;
};

struct _LinkPersonasDiffStoresTestsAddPersonasData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	LinkPersonasDiffStoresTests* self;
	FolksPersonaStore* pstore1;
	FolksPersonaStore* pstore2;
	GHashTable* details1;
	GHashFunc _tmp0_;
	GEqualFunc _tmp1_;
	GHashTable* _tmp2_;
	GValue* v1;
	GValue _tmp3_;
	GValue _tmp4_;
	GValue* _tmp5_;
	GValue* _tmp6_;
	GValue* _tmp7_;
	const gchar* _tmp8_;
	GHashTable* _tmp9_;
	gchar* _tmp10_;
	GValue* _tmp11_;
	GHashTable* details2;
	GHashFunc _tmp12_;
	GEqualFunc _tmp13_;
	GHashTable* _tmp14_;
	GValue* v2;
	GValue _tmp15_;
	GValue _tmp16_;
	GValue* _tmp17_;
	GValue* _tmp18_;
	GValue* _tmp19_;
	const gchar* _tmp20_;
	GHashTable* _tmp21_;
	gchar* _tmp22_;
	GValue* _tmp23_;
	FolksIndividualAggregator* _tmp24_;
	FolksPersonaStore* _tmp25_;
	GHashTable* _tmp26_;
	FolksPersona* _tmp27_;
	FolksPersona* _tmp28_;
	FolksIndividualAggregator* _tmp29_;
	FolksPersonaStore* _tmp30_;
	GHashTable* _tmp31_;
	FolksPersona* _tmp32_;
	FolksPersona* _tmp33_;
	GError* e;
	GError* _tmp34_;
	const gchar* _tmp35_;
	GError * _inner_error_;
};

struct _LinkPersonasDiffStoresTestsIndividualsChangedAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	LinkPersonasDiffStoresTests* self;
	GeeMultiMap* changes;
	GeeCollection* added;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_;
	GeeIterator* _i_it;
	GeeCollection* _tmp2_;
	GeeIterator* _tmp3_;
	GeeIterator* _tmp4_;
	gboolean _tmp5_;
	FolksIndividual* i;
	GeeIterator* _tmp6_;
	gpointer _tmp7_;
	FolksIndividual* _tmp8_;
	FolksIndividual* _tmp9_;
};

struct _LinkPersonasDiffStoresTestsCheckPersonasData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	LinkPersonasDiffStoresTests* self;
	FolksIndividual* i;
	gboolean _tmp0_;
	FolksPersona* first_persona;
	GeeIterator* _p_it;
	FolksIndividual* _tmp1_;
	GeeSet* _tmp2_;
	GeeSet* _tmp3_;
	GeeIterator* _tmp4_;
	GeeIterator* _tmp5_;
	gboolean _tmp6_;
	FolksPersona* p;
	GeeIterator* _tmp7_;
	gpointer _tmp8_;
	FolksPersona* _tmp9_;
	FolksPersona* _tmp10_;
	gboolean _tmp11_;
	FolksIndividual* _tmp12_;
	const gchar* _tmp13_;
	const gchar* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	FolksPersona* _tmp17_;
	const gchar* _tmp18_;
	const gchar* _tmp19_;
	gchar* _tmp20_;
	GeeHashSet* _tmp21_;
	FolksPersona* _tmp22_;
	gboolean _tmp23_;
	FolksIndividual* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	const gchar* _tmp27_;
	const gchar* _tmp28_;
	FolksPersona* _tmp29_;
	const gchar* _tmp30_;
	const gchar* _tmp31_;
	gchar* _tmp32_;
	GeeHashSet* _tmp33_;
	FolksPersona* _tmp34_;
	FolksIndividual* _tmp35_;
	GeeSet* _tmp36_;
	GeeSet* _tmp37_;
	gint _tmp38_;
	gint _tmp39_;
	gboolean first_persona_id;
	gboolean second_persona_id;
	GeeIterator* _p1_it;
	FolksIndividual* _tmp40_;
	GeeSet* _tmp41_;
	GeeSet* _tmp42_;
	GeeIterator* _tmp43_;
	GeeIterator* _tmp44_;
	gboolean _tmp45_;
	FolksPersona* p1;
	GeeIterator* _tmp46_;
	gpointer _tmp47_;
	FolksPersona* _tmp48_;
	const gchar* _tmp49_;
	const gchar* _tmp50_;
	const gchar* _tmp51_;
	FolksPersona* _tmp52_;
	const gchar* _tmp53_;
	const gchar* _tmp54_;
	const gchar* _tmp55_;
	gboolean _tmp56_;
	gboolean _tmp57_;
	gboolean _tmp58_;
	GMainLoop* _tmp59_;
	gboolean _tmp60_;
	GeeHashSet* _tmp61_;
	gint _tmp62_;
	gint _tmp63_;
	gboolean _tmp64_;
	FolksIndividualAggregator* _tmp65_;
	GeeHashSet* _tmp66_;
	GError* e;
	GError* _tmp67_;
	const gchar* _tmp68_;
	GError * _inner_error_;
};


static gpointer link_personas_diff_stores_tests_parent_class = NULL;

GType link_personas_diff_stores_tests_get_type (void) G_GNUC_CONST;
#define LINK_PERSONAS_DIFF_STORES_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_LINK_PERSONAS_DIFF_STORES_TESTS, LinkPersonasDiffStoresTestsPrivate))
enum  {
	LINK_PERSONAS_DIFF_STORES_TESTS_DUMMY_PROPERTY
};
LinkPersonasDiffStoresTests* link_personas_diff_stores_tests_new (void);
LinkPersonasDiffStoresTests* link_personas_diff_stores_tests_construct (GType object_type);
void link_personas_diff_stores_tests_test_linking_via_local_ids_diff_stores (LinkPersonasDiffStoresTests* self);
static void _link_personas_diff_stores_tests_test_linking_via_local_ids_diff_stores_folks_test_case_test_method (gpointer self);
static void link_personas_diff_stores_tests_real_create_backend (EdsTestTestCase* base);
static void link_personas_diff_stores_tests_real_tear_down (FolksTestCase* base);
static void _link_personas_diff_stores_tests_test_linking_personas_async (LinkPersonasDiffStoresTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _link_personas_diff_stores_tests_test_linking_personas_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_);
static void _link_personas_diff_stores_tests_test_linking_personas_async_data_free (gpointer _data);
static gboolean _link_personas_diff_stores_tests_test_linking_personas_async_co (LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData* _data_);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (void * _userdata_);
static void _link_personas_diff_stores_tests_test_linking_personas_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _link_personas_diff_stores_tests_individuals_changed_cb (LinkPersonasDiffStoresTests* self, GeeMultiMap* changes);
static void __link_personas_diff_stores_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void ___lambda5_ (Block1Data* _data1_, GObject* obj, GParamSpec* pspec);
static FolksPersonaStore* _link_personas_diff_stores_tests_get_store (LinkPersonasDiffStoresTests* self, FolksBackendStore* store, const gchar* store_id);
static void _link_personas_diff_stores_tests_add_personas (LinkPersonasDiffStoresTests* self, FolksPersonaStore* pstore1, FolksPersonaStore* pstore2, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _link_personas_diff_stores_tests_add_personas_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_);
static void ____lambda5__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _link_personas_diff_stores_tests_add_personas_data_free (gpointer _data);
static gboolean _link_personas_diff_stores_tests_add_personas_co (LinkPersonasDiffStoresTestsAddPersonasData* _data_);
static void _g_free0_ (gpointer var);
static void _vala_GValue_free (GValue* self);
static void __vala_GValue_free0_ (gpointer var);
static GValue* _g_value_dup (GValue* self);
static void _link_personas_diff_stores_tests_add_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _link_personas_diff_stores_tests_individuals_changed_async (LinkPersonasDiffStoresTests* self, GeeMultiMap* changes, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _link_personas_diff_stores_tests_individuals_changed_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_);
static void __lambda4_ (LinkPersonasDiffStoresTests* self, GObject* object, GAsyncResult* _result_);
static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void _link_personas_diff_stores_tests_individuals_changed_async_data_free (gpointer _data);
static gboolean _link_personas_diff_stores_tests_individuals_changed_async_co (LinkPersonasDiffStoresTestsIndividualsChangedAsyncData* _data_);
static void _link_personas_diff_stores_tests_check_personas (LinkPersonasDiffStoresTests* self, FolksIndividual* i, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _link_personas_diff_stores_tests_check_personas_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_);
static void _link_personas_diff_stores_tests_individuals_changed_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _link_personas_diff_stores_tests_check_personas_data_free (gpointer _data);
static gboolean _link_personas_diff_stores_tests_check_personas_co (LinkPersonasDiffStoresTestsCheckPersonasData* _data_);
static void _link_personas_diff_stores_tests_check_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void link_personas_diff_stores_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _link_personas_diff_stores_tests_test_linking_via_local_ids_diff_stores_folks_test_case_test_method (gpointer self) {
#line 41 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	link_personas_diff_stores_tests_test_linking_via_local_ids_diff_stores ((LinkPersonasDiffStoresTests*) self);
#line 328 "link-personas-diff-stores.c"
}


LinkPersonasDiffStoresTests* link_personas_diff_stores_tests_construct (GType object_type) {
	LinkPersonasDiffStoresTests * self = NULL;
#line 39 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self = (LinkPersonasDiffStoresTests*) eds_test_test_case_construct (object_type, "LinkPersonasDiffStoresTests");
#line 41 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test linking via local IDs using different PersonaStores", _link_personas_diff_stores_tests_test_linking_via_local_ids_diff_stores_folks_test_case_test_method, self);
#line 37 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return self;
#line 340 "link-personas-diff-stores.c"
}


LinkPersonasDiffStoresTests* link_personas_diff_stores_tests_new (void) {
#line 37 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return link_personas_diff_stores_tests_construct (TYPE_LINK_PERSONAS_DIFF_STORES_TESTS);
#line 347 "link-personas-diff-stores.c"
}


static void link_personas_diff_stores_tests_real_create_backend (EdsTestTestCase* base) {
	LinkPersonasDiffStoresTests * self;
	EdsTestBackend* _tmp0_ = NULL;
	EdsTestBackend* _tmp1_ = NULL;
	EdsTestBackend* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	EdsTestBackend* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
#line 45 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self = (LinkPersonasDiffStoresTests*) base;
#line 47 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	EDS_TEST_TEST_CASE_CLASS (link_personas_diff_stores_tests_parent_class)->create_backend (G_TYPE_CHECK_INSTANCE_CAST (self, EDS_TEST_TYPE_TEST_CASE, EdsTestTestCase));
#line 49 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = eds_test_backend_new ("other");
#line 49 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_eds_test_backend_unref0 (self->priv->_eds_backend_other);
#line 49 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_eds_backend_other = _tmp0_;
#line 50 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp1_ = self->priv->_eds_backend_other;
#line 50 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	eds_test_backend_set_up (_tmp1_, FALSE);
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp2_ = ((EdsTestTestCase*) self)->eds_backend;
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp3_ = eds_test_backend_get_address_book_uid (_tmp2_);
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp4_ = _tmp3_;
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp5_ = g_strconcat (_tmp4_, ":", NULL);
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp6_ = _tmp5_;
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp7_ = self->priv->_eds_backend_other;
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp8_ = eds_test_backend_get_address_book_uid (_tmp7_);
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp9_ = _tmp8_;
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp10_ = g_strconcat (_tmp6_, _tmp9_, NULL);
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp11_ = _tmp10_;
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_setenv ("FOLKS_BACKEND_EDS_USE_ADDRESS_BOOKS", _tmp11_, TRUE);
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (_tmp11_);
#line 52 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (_tmp6_);
#line 405 "link-personas-diff-stores.c"
}


static void link_personas_diff_stores_tests_real_tear_down (FolksTestCase* base) {
	LinkPersonasDiffStoresTests * self;
	EdsTestBackend* _tmp0_ = NULL;
#line 58 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self = (LinkPersonasDiffStoresTests*) base;
#line 60 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = self->priv->_eds_backend_other;
#line 60 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	eds_test_backend_tear_down (_tmp0_);
#line 61 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_eds_test_backend_unref0 (self->priv->_eds_backend_other);
#line 61 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_eds_backend_other = NULL;
#line 62 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	FOLKS_TEST_CASE_CLASS (link_personas_diff_stores_tests_parent_class)->tear_down ((FolksTestCase*) G_TYPE_CHECK_INSTANCE_CAST (self, EDS_TEST_TYPE_TEST_CASE, EdsTestTestCase));
#line 424 "link-personas-diff-stores.c"
}


void link_personas_diff_stores_tests_test_linking_via_local_ids_diff_stores (LinkPersonasDiffStoresTests* self) {
	GMainLoop* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	GeeHashSet* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	GMainLoop* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
#line 65 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_if_fail (self != NULL);
#line 67 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 67 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 67 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_main_loop = _tmp0_;
#line 68 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp1_ = g_strdup ("persona #1");
#line 68 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 68 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_persona_fullname_1 = _tmp1_;
#line 69 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp2_ = g_strdup ("persona #2");
#line 69 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 69 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_persona_fullname_2 = _tmp2_;
#line 70 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp3_ = gee_hash_set_new (FOLKS_TYPE_PERSONA, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
#line 70 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (self->priv->_personas);
#line 70 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_personas = _tmp3_;
#line 71 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_linking_fired = FALSE;
#line 72 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp4_ = g_strdup ("");
#line 72 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_iid_1);
#line 72 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_persona_iid_1 = _tmp4_;
#line 73 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp5_ = g_strdup ("");
#line 73 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_iid_2);
#line 73 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_persona_iid_2 = _tmp5_;
#line 74 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_linked_individual_found = FALSE;
#line 76 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_test_linking_personas_async (self, NULL, NULL);
#line 78 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp6_ = self->priv->_main_loop;
#line 78 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	folks_test_utils_loop_run_with_timeout (_tmp6_, 8);
#line 80 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp7_ = self->priv->_linked_individual_found;
#line 80 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_vala_assert (_tmp7_ == TRUE, "this._linked_individual_found == true");
#line 82 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 82 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_aggregator = NULL;
#line 83 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 83 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv->_main_loop = NULL;
#line 497 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_test_linking_personas_async_data_free (gpointer _data) {
	LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData* _data_;
	_data_ = _data;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_slice_free (LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData, _data_);
#line 508 "link-personas-diff-stores.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return self ? g_object_ref (self) : NULL;
#line 515 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_test_linking_personas_async (LinkPersonasDiffStoresTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData* _data_;
	LinkPersonasDiffStoresTests* _tmp0_ = NULL;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_slice_new0 (LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _link_personas_diff_stores_tests_test_linking_personas_async);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _link_personas_diff_stores_tests_test_linking_personas_async_data_free);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->self = _tmp0_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_test_linking_personas_async_co (_data_);
#line 534 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_test_linking_personas_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_) {
	LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData* _data_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 542 "link-personas-diff-stores.c"
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return _data1_;
#line 551 "link-personas-diff-stores.c"
}


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 560 "link-personas-diff-stores.c"
		LinkPersonasDiffStoresTests* self;
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		self = _data1_->self;
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (_data1_->store);
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (self);
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_slice_free (Block1Data, _data1_);
#line 570 "link-personas-diff-stores.c"
	}
}


static void _link_personas_diff_stores_tests_test_linking_personas_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData* _data_;
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = _user_data_;
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_source_object_ = source_object;
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_res_ = _res_;
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_test_linking_personas_async_co (_data_);
#line 585 "link-personas-diff-stores.c"
}


static void __link_personas_diff_stores_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 91 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_individuals_changed_cb ((LinkPersonasDiffStoresTests*) self, changes);
#line 592 "link-personas-diff-stores.c"
}


static void ___lambda5_ (Block1Data* _data1_, GObject* obj, GParamSpec* pspec) {
	LinkPersonasDiffStoresTests* self;
	FolksPersonaStore* pstore = NULL;
	EdsTestBackend* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	FolksPersonaStore* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	FolksPersonaStore* pstore2 = NULL;
	EdsTestBackend* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	FolksPersonaStore* _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	gboolean _tmp11_ = FALSE;
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self = _data1_->self;
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_if_fail (obj != NULL);
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_if_fail (pspec != NULL);
#line 102 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = ((EdsTestTestCase*) self)->eds_backend;
#line 102 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp1_ = eds_test_backend_get_address_book_uid (_tmp0_);
#line 102 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp2_ = _tmp1_;
#line 102 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp3_ = _link_personas_diff_stores_tests_get_store (self, _data1_->store, _tmp2_);
#line 102 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	pstore = _tmp3_;
#line 104 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_vala_assert (pstore != NULL, "pstore != null");
#line 105 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp4_ = folks_persona_store_get_is_prepared (pstore);
#line 105 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp5_ = _tmp4_;
#line 105 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_vala_assert (_tmp5_ == TRUE, "pstore.is_prepared == true");
#line 107 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp6_ = self->priv->_eds_backend_other;
#line 107 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp7_ = eds_test_backend_get_address_book_uid (_tmp6_);
#line 107 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp8_ = _tmp7_;
#line 107 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp9_ = _link_personas_diff_stores_tests_get_store (self, _data1_->store, _tmp8_);
#line 107 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	pstore2 = _tmp9_;
#line 109 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_vala_assert (pstore2 != NULL, "pstore2 != null");
#line 110 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp10_ = folks_persona_store_get_is_prepared (pstore2);
#line 110 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp11_ = _tmp10_;
#line 110 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_vala_assert (_tmp11_ == TRUE, "pstore2.is_prepared == true");
#line 112 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_add_personas (self, pstore, pstore2, NULL, NULL);
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (pstore2);
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (pstore);
#line 660 "link-personas-diff-stores.c"
}


static void ____lambda5__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	___lambda5_ (self, _sender, pspec);
#line 667 "link-personas-diff-stores.c"
}


static gboolean _link_personas_diff_stores_tests_test_linking_personas_async_co (LinkPersonasDiffStoresTestsTestLinkingPersonasAsyncData* _data_) {
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	switch (_data_->_state_) {
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 0:
#line 676 "link-personas-diff-stores.c"
		goto _state_0;
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 1:
#line 680 "link-personas-diff-stores.c"
		goto _state_1;
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 2:
#line 684 "link-personas-diff-stores.c"
		goto _state_2;
		default:
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_assert_not_reached ();
#line 689 "link-personas-diff-stores.c"
	}
	_state_0:
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_data1_ = g_slice_new0 (Block1Data);
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_data1_->_ref_count_ = 1;
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_data1_->self = g_object_ref (_data_->self);
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_data1_->_async_data_ = _data_;
#line 88 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = NULL;
#line 88 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 88 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_data1_->store = _data_->_tmp0_;
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_state_ = 1;
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	folks_backend_store_prepare (_data_->_data1_->store, _link_personas_diff_stores_tests_test_linking_personas_async_ready, _data_);
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return FALSE;
#line 712 "link-personas-diff-stores.c"
	_state_1:
#line 89 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	folks_backend_store_prepare_finish (_data_->_data1_->store, _data_->_res_);
#line 90 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp1_ = NULL;
#line 90 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp1_ = folks_individual_aggregator_dup ();
#line 90 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->self->priv->_aggregator);
#line 90 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->self->priv->_aggregator = _data_->_tmp1_;
#line 91 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp2_ = NULL;
#line 91 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 91 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_signal_connect_object (_data_->_tmp2_, "individuals-changed-detailed", (GCallback) __link_personas_diff_stores_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed, _data_->self, 0);
#line 730 "link-personas-diff-stores.c"
	{
#line 95 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp3_ = NULL;
#line 95 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp3_ = _data_->self->priv->_aggregator;
#line 95 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_state_ = 2;
#line 95 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		folks_individual_aggregator_prepare (_data_->_tmp3_, _link_personas_diff_stores_tests_test_linking_personas_async_ready, _data_);
#line 95 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		return FALSE;
#line 742 "link-personas-diff-stores.c"
		_state_2:
#line 95 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_);
#line 95 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 748 "link-personas-diff-stores.c"
			goto __catch0_g_error;
		}
#line 96 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp4_ = NULL;
#line 96 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp4_ = _data_->self->priv->_aggregator;
#line 96 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp5_ = FALSE;
#line 96 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp5_ = folks_individual_aggregator_get_is_prepared (_data_->_tmp4_);
#line 96 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp6_ = FALSE;
#line 96 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 96 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_vala_assert (_data_->_tmp6_, "this._aggregator.is_prepared");
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp7_ = NULL;
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp7_ = _data_->self->priv->_aggregator;
#line 100 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_signal_connect_data ((GObject*) _data_->_tmp7_, "notify::is-quiescent", (GCallback) ____lambda5__g_object_notify, block1_data_ref (_data_->_data1_), (GClosureNotify) block1_data_unref, 0);
#line 771 "link-personas-diff-stores.c"
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->e = _data_->_inner_error_;
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_inner_error_ = NULL;
#line 117 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp8_ = NULL;
#line 117 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp8_ = _data_->e;
#line 117 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp9_ = NULL;
#line 117 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp9_ = _data_->_tmp8_->message;
#line 117 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_warning ("link-personas-diff-stores.vala:117: Error when calling prepare: %s\n", _data_->_tmp9_);
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_error_free0 (_data_->e);
#line 792 "link-personas-diff-stores.c"
	}
	__finally0:
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		block1_data_unref (_data_->_data1_);
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_data1_ = NULL;
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.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 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_clear_error (&_data_->_inner_error_);
#line 93 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		return FALSE;
#line 807 "link-personas-diff-stores.c"
	}
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	block1_data_unref (_data_->_data1_);
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_data1_ = NULL;
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_state_ == 0) {
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 817 "link-personas-diff-stores.c"
	} else {
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 821 "link-personas-diff-stores.c"
	}
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_object_unref (_data_->_async_result);
#line 86 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return FALSE;
#line 827 "link-personas-diff-stores.c"
}


static FolksPersonaStore* _link_personas_diff_stores_tests_get_store (LinkPersonasDiffStoresTests* self, FolksBackendStore* store, const gchar* store_id) {
	FolksPersonaStore* result = NULL;
	FolksPersonaStore* pstore = NULL;
#line 121 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 121 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_val_if_fail (store != NULL, NULL);
#line 121 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_val_if_fail (store_id != NULL, NULL);
#line 123 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	pstore = NULL;
#line 842 "link-personas-diff-stores.c"
	{
		GeeIterator* _backend_it = NULL;
		FolksBackendStore* _tmp0_ = NULL;
		GeeMap* _tmp1_ = NULL;
		GeeMap* _tmp2_ = NULL;
		GeeCollection* _tmp3_ = NULL;
		GeeCollection* _tmp4_ = NULL;
		GeeCollection* _tmp5_ = NULL;
		GeeIterator* _tmp6_ = NULL;
		GeeIterator* _tmp7_ = NULL;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp0_ = store;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp1_ = folks_backend_store_get_enabled_backends (_tmp0_);
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp2_ = _tmp1_;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp3_ = gee_map_get_values (_tmp2_);
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp4_ = _tmp3_;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp5_ = _tmp4_;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp6_ = gee_iterable_iterator ((GeeIterable*) _tmp5_);
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_tmp7_ = _tmp6_;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (_tmp5_);
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_backend_it = _tmp7_;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		while (TRUE) {
#line 875 "link-personas-diff-stores.c"
			GeeIterator* _tmp8_ = NULL;
			gboolean _tmp9_ = FALSE;
			FolksBackend* backend = NULL;
			GeeIterator* _tmp10_ = NULL;
			gpointer _tmp11_ = NULL;
			FolksBackend* _tmp12_ = NULL;
			GeeMap* _tmp13_ = NULL;
			GeeMap* _tmp14_ = NULL;
			const gchar* _tmp15_ = NULL;
			gpointer _tmp16_ = NULL;
			FolksPersonaStore* _tmp17_ = NULL;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp8_ = _backend_it;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp9_ = gee_iterator_next (_tmp8_);
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (!_tmp9_) {
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				break;
#line 895 "link-personas-diff-stores.c"
			}
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp10_ = _backend_it;
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp11_ = gee_iterator_get (_tmp10_);
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			backend = (FolksBackend*) _tmp11_;
#line 126 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp12_ = backend;
#line 126 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp13_ = folks_backend_get_persona_stores (_tmp12_);
#line 126 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp14_ = _tmp13_;
#line 126 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp15_ = store_id;
#line 126 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp16_ = gee_map_get (_tmp14_, _tmp15_);
#line 126 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_object_unref0 (pstore);
#line 126 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			pstore = (FolksPersonaStore*) _tmp16_;
#line 127 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_tmp17_ = pstore;
#line 127 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (_tmp17_ != NULL) {
#line 128 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				_g_object_unref0 (backend);
#line 128 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				break;
#line 925 "link-personas-diff-stores.c"
			}
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_object_unref0 (backend);
#line 929 "link-personas-diff-stores.c"
		}
#line 124 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (_backend_it);
#line 933 "link-personas-diff-stores.c"
	}
#line 130 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	result = pstore;
#line 130 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return result;
#line 939 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_add_personas_data_free (gpointer _data) {
	LinkPersonasDiffStoresTestsAddPersonasData* _data_;
	_data_ = _data;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->pstore1);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->pstore2);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_slice_free (LinkPersonasDiffStoresTestsAddPersonasData, _data_);
#line 954 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_add_personas (LinkPersonasDiffStoresTests* self, FolksPersonaStore* pstore1, FolksPersonaStore* pstore2, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsAddPersonasData* _data_;
	LinkPersonasDiffStoresTests* _tmp0_ = NULL;
	FolksPersonaStore* _tmp1_ = NULL;
	FolksPersonaStore* _tmp2_ = NULL;
	FolksPersonaStore* _tmp3_ = NULL;
	FolksPersonaStore* _tmp4_ = NULL;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_slice_new0 (LinkPersonasDiffStoresTestsAddPersonasData);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _link_personas_diff_stores_tests_add_personas);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _link_personas_diff_stores_tests_add_personas_data_free);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->self = _tmp0_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp1_ = pstore1;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->pstore1);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->pstore1 = _tmp2_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp3_ = pstore2;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->pstore2);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->pstore2 = _tmp4_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_add_personas_co (_data_);
#line 993 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_add_personas_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_) {
	LinkPersonasDiffStoresTestsAddPersonasData* _data_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1001 "link-personas-diff-stores.c"
}


static void _g_free0_ (gpointer var) {
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	var = (g_free (var), NULL);
#line 1008 "link-personas-diff-stores.c"
}


static void _vala_GValue_free (GValue* self) {
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_value_unset (self);
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_free (self);
#line 1017 "link-personas-diff-stores.c"
}


static void __vala_GValue_free0_ (gpointer var) {
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	(var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL));
#line 1024 "link-personas-diff-stores.c"
}


static GValue* _g_value_dup (GValue* self) {
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return g_boxed_copy (G_TYPE_VALUE, self);
#line 1031 "link-personas-diff-stores.c"
}


static gpointer __g_value_dup0 (gpointer self) {
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return self ? _g_value_dup (self) : NULL;
#line 1038 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_add_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsAddPersonasData* _data_;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = _user_data_;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_source_object_ = source_object;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_res_ = _res_;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_add_personas_co (_data_);
#line 1052 "link-personas-diff-stores.c"
}


static gboolean _link_personas_diff_stores_tests_add_personas_co (LinkPersonasDiffStoresTestsAddPersonasData* _data_) {
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	switch (_data_->_state_) {
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 0:
#line 1061 "link-personas-diff-stores.c"
		goto _state_0;
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 1:
#line 1065 "link-personas-diff-stores.c"
		goto _state_1;
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 2:
#line 1069 "link-personas-diff-stores.c"
		goto _state_2;
		default:
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_assert_not_reached ();
#line 1074 "link-personas-diff-stores.c"
	}
	_state_0:
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = NULL;
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = g_str_hash;
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp1_ = NULL;
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp1_ = g_str_equal;
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp2_ = NULL;
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp2_ = g_hash_table_new_full (_data_->_tmp0_, _data_->_tmp1_, _g_free0_, __vala_GValue_free0_);
#line 146 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->details1 = _data_->_tmp2_;
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	memset (&_data_->_tmp3_, 0, sizeof (GValue));
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_value_init (&_data_->_tmp3_, G_TYPE_STRING);
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	memset (&_data_->_tmp4_, 0, sizeof (GValue));
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp5_ = NULL;
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp5_ = __g_value_dup0 (&_data_->_tmp4_);
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp6_ = NULL;
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	G_IS_VALUE (&_data_->_tmp4_) ? (g_value_unset (&_data_->_tmp4_), NULL) : NULL;
#line 148 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->v1 = _data_->_tmp6_;
#line 149 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp7_ = NULL;
#line 149 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp7_ = _data_->v1;
#line 149 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp8_ = NULL;
#line 149 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp8_ = _data_->self->priv->_persona_fullname_1;
#line 149 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_value_set_string (_data_->_tmp7_, _data_->_tmp8_);
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp9_ = NULL;
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp9_ = _data_->details1;
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp10_ = NULL;
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp10_ = g_strdup ("full-name");
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp11_ = NULL;
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp11_ = _data_->v1;
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->v1 = NULL;
#line 150 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_hash_table_insert (_data_->_tmp9_, _data_->_tmp10_, _data_->_tmp11_);
#line 152 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp12_ = NULL;
#line 152 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp12_ = g_str_hash;
#line 152 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp13_ = NULL;
#line 152 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp13_ = g_str_equal;
#line 152 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp14_ = NULL;
#line 152 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp14_ = g_hash_table_new_full (_data_->_tmp12_, _data_->_tmp13_, _g_free0_, __vala_GValue_free0_);
#line 152 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->details2 = _data_->_tmp14_;
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	memset (&_data_->_tmp15_, 0, sizeof (GValue));
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_value_init (&_data_->_tmp15_, G_TYPE_STRING);
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	memset (&_data_->_tmp16_, 0, sizeof (GValue));
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp17_ = NULL;
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp17_ = __g_value_dup0 (&_data_->_tmp16_);
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp18_ = NULL;
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp18_ = _data_->_tmp17_;
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	G_IS_VALUE (&_data_->_tmp16_) ? (g_value_unset (&_data_->_tmp16_), NULL) : NULL;
#line 154 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->v2 = _data_->_tmp18_;
#line 155 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp19_ = NULL;
#line 155 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp19_ = _data_->v2;
#line 155 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp20_ = NULL;
#line 155 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp20_ = _data_->self->priv->_persona_fullname_2;
#line 155 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_value_set_string (_data_->_tmp19_, _data_->_tmp20_);
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp21_ = NULL;
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp21_ = _data_->details2;
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp22_ = NULL;
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp22_ = g_strdup ("full-name");
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp23_ = NULL;
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp23_ = _data_->v2;
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->v2 = NULL;
#line 156 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_hash_table_insert (_data_->_tmp21_, _data_->_tmp22_, _data_->_tmp23_);
#line 1197 "link-personas-diff-stores.c"
	{
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp24_ = NULL;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp24_ = _data_->self->priv->_aggregator;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp25_ = NULL;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp25_ = _data_->pstore1;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp26_ = NULL;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp26_ = _data_->details1;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_state_ = 1;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		folks_individual_aggregator_add_persona_from_details (_data_->_tmp24_, NULL, _data_->_tmp25_, _data_->_tmp26_, _link_personas_diff_stores_tests_add_personas_ready, _data_);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		return FALSE;
#line 1217 "link-personas-diff-stores.c"
		_state_1:
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp27_ = NULL;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp27_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp24_, _data_->_res_, &_data_->_inner_error_);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp28_ = NULL;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp28_ = _data_->_tmp27_;
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (_data_->_tmp28_);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1233 "link-personas-diff-stores.c"
				goto __catch1_folks_individual_aggregator_error;
			}
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			__vala_GValue_free0 (_data_->v2);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_hash_table_unref0 (_data_->details2);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			__vala_GValue_free0 (_data_->v1);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_hash_table_unref0 (_data_->details1);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.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 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			g_clear_error (&_data_->_inner_error_);
#line 160 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			return FALSE;
#line 1250 "link-personas-diff-stores.c"
		}
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp29_ = NULL;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp29_ = _data_->self->priv->_aggregator;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp30_ = NULL;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp30_ = _data_->pstore2;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp31_ = NULL;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp31_ = _data_->details2;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_state_ = 2;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		folks_individual_aggregator_add_persona_from_details (_data_->_tmp29_, NULL, _data_->_tmp30_, _data_->_tmp31_, _link_personas_diff_stores_tests_add_personas_ready, _data_);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		return FALSE;
#line 1270 "link-personas-diff-stores.c"
		_state_2:
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp32_ = NULL;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp32_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp29_, _data_->_res_, &_data_->_inner_error_);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp33_ = NULL;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp33_ = _data_->_tmp32_;
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (_data_->_tmp33_);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1286 "link-personas-diff-stores.c"
				goto __catch1_folks_individual_aggregator_error;
			}
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			__vala_GValue_free0 (_data_->v2);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_hash_table_unref0 (_data_->details2);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			__vala_GValue_free0 (_data_->v1);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_hash_table_unref0 (_data_->details1);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.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 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			g_clear_error (&_data_->_inner_error_);
#line 163 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			return FALSE;
#line 1303 "link-personas-diff-stores.c"
		}
	}
	goto __finally1;
	__catch1_folks_individual_aggregator_error:
	{
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->e = _data_->_inner_error_;
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_inner_error_ = NULL;
#line 168 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp34_ = NULL;
#line 168 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp34_ = _data_->e;
#line 168 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp35_ = NULL;
#line 168 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp35_ = _data_->_tmp34_->message;
#line 168 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_warning ("link-personas-diff-stores.vala:168: [AddPersonaError] add_persona_from" \
"_details: %s\n", _data_->_tmp35_);
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_error_free0 (_data_->e);
#line 1325 "link-personas-diff-stores.c"
	}
	__finally1:
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		__vala_GValue_free0 (_data_->v2);
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_hash_table_unref0 (_data_->details2);
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		__vala_GValue_free0 (_data_->v1);
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_hash_table_unref0 (_data_->details1);
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.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 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_clear_error (&_data_->_inner_error_);
#line 158 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		return FALSE;
#line 1344 "link-personas-diff-stores.c"
	}
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	__vala_GValue_free0 (_data_->v2);
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_hash_table_unref0 (_data_->details2);
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	__vala_GValue_free0 (_data_->v1);
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_hash_table_unref0 (_data_->details1);
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_state_ == 0) {
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1358 "link-personas-diff-stores.c"
	} else {
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1362 "link-personas-diff-stores.c"
	}
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_object_unref (_data_->_async_result);
#line 144 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return FALSE;
#line 1368 "link-personas-diff-stores.c"
}


static void __lambda4_ (LinkPersonasDiffStoresTests* self, GObject* object, GAsyncResult* _result_) {
	GAsyncResult* _tmp0_ = NULL;
#line 176 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_if_fail (_result_ != NULL);
#line 178 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = _result_;
#line 178 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_individuals_changed_finish (self, _tmp0_);
#line 1380 "link-personas-diff-stores.c"
}


static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 176 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	__lambda4_ ((LinkPersonasDiffStoresTests*) self, source_object, res);
#line 176 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_object_unref (self);
#line 1389 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_individuals_changed_cb (LinkPersonasDiffStoresTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_ = NULL;
#line 173 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_if_fail (self != NULL);
#line 173 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_return_if_fail (changes != NULL);
#line 176 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = changes;
#line 176 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_individuals_changed_async (self, _tmp0_, ___lambda4__gasync_ready_callback, g_object_ref (self));
#line 1403 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_individuals_changed_async_data_free (gpointer _data) {
	LinkPersonasDiffStoresTestsIndividualsChangedAsyncData* _data_;
	_data_ = _data;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->changes);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_slice_free (LinkPersonasDiffStoresTestsIndividualsChangedAsyncData, _data_);
#line 1416 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_individuals_changed_async (LinkPersonasDiffStoresTests* self, GeeMultiMap* changes, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsIndividualsChangedAsyncData* _data_;
	LinkPersonasDiffStoresTests* _tmp0_ = NULL;
	GeeMultiMap* _tmp1_ = NULL;
	GeeMultiMap* _tmp2_ = NULL;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_slice_new0 (LinkPersonasDiffStoresTestsIndividualsChangedAsyncData);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _link_personas_diff_stores_tests_individuals_changed_async);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _link_personas_diff_stores_tests_individuals_changed_async_data_free);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->self = _tmp0_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp1_ = changes;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->changes);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->changes = _tmp2_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_individuals_changed_async_co (_data_);
#line 1445 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_individuals_changed_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_) {
	LinkPersonasDiffStoresTestsIndividualsChangedAsyncData* _data_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1453 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_individuals_changed_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsIndividualsChangedAsyncData* _data_;
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = _user_data_;
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_source_object_ = source_object;
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_res_ = _res_;
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_individuals_changed_async_co (_data_);
#line 1467 "link-personas-diff-stores.c"
}


static gboolean _link_personas_diff_stores_tests_individuals_changed_async_co (LinkPersonasDiffStoresTestsIndividualsChangedAsyncData* _data_) {
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	switch (_data_->_state_) {
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 0:
#line 1476 "link-personas-diff-stores.c"
		goto _state_0;
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 1:
#line 1480 "link-personas-diff-stores.c"
		goto _state_1;
		default:
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_assert_not_reached ();
#line 1485 "link-personas-diff-stores.c"
	}
	_state_0:
#line 185 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = NULL;
#line 185 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = _data_->changes;
#line 185 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp1_ = NULL;
#line 185 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp1_ = gee_multi_map_get_values (_data_->_tmp0_);
#line 185 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->added = _data_->_tmp1_;
#line 1498 "link-personas-diff-stores.c"
	{
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp2_ = NULL;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp2_ = _data_->added;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp3_ = NULL;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp3_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp2_);
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_i_it = _data_->_tmp3_;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		while (TRUE) {
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp4_ = NULL;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp4_ = _data_->_i_it;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp5_ = FALSE;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp5_ = gee_iterator_next (_data_->_tmp4_);
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (!_data_->_tmp5_) {
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				break;
#line 1524 "link-personas-diff-stores.c"
			}
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp6_ = NULL;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp6_ = _data_->_i_it;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp7_ = NULL;
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp7_ = gee_iterator_get (_data_->_tmp6_);
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->i = (FolksIndividual*) _data_->_tmp7_;
#line 189 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp8_ = NULL;
#line 189 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp8_ = _data_->i;
#line 189 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (_data_->_tmp8_ == NULL) {
#line 191 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				_g_object_unref0 (_data_->i);
#line 191 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				continue;
#line 1546 "link-personas-diff-stores.c"
			}
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp9_ = NULL;
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp9_ = _data_->i;
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_state_ = 1;
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_link_personas_diff_stores_tests_check_personas (_data_->self, _data_->_tmp9_, _link_personas_diff_stores_tests_individuals_changed_async_ready, _data_);
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			return FALSE;
#line 1558 "link-personas-diff-stores.c"
			_state_1:
#line 194 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_link_personas_diff_stores_tests_check_personas_finish (_data_->self, _data_->_res_);
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_object_unref0 (_data_->i);
#line 1564 "link-personas-diff-stores.c"
		}
#line 187 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (_data_->_i_it);
#line 1568 "link-personas-diff-stores.c"
	}
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->added);
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_state_ == 0) {
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1576 "link-personas-diff-stores.c"
	} else {
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1580 "link-personas-diff-stores.c"
	}
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_object_unref (_data_->_async_result);
#line 182 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return FALSE;
#line 1586 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_check_personas_data_free (gpointer _data) {
	LinkPersonasDiffStoresTestsCheckPersonasData* _data_;
	_data_ = _data;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->i);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_slice_free (LinkPersonasDiffStoresTestsCheckPersonasData, _data_);
#line 1599 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_check_personas (LinkPersonasDiffStoresTests* self, FolksIndividual* i, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsCheckPersonasData* _data_;
	LinkPersonasDiffStoresTests* _tmp0_ = NULL;
	FolksIndividual* _tmp1_ = NULL;
	FolksIndividual* _tmp2_ = NULL;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_slice_new0 (LinkPersonasDiffStoresTestsCheckPersonasData);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _link_personas_diff_stores_tests_check_personas);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _link_personas_diff_stores_tests_check_personas_data_free);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->self = _tmp0_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp1_ = i;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->i);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->i = _tmp2_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_check_personas_co (_data_);
#line 1628 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_check_personas_finish (LinkPersonasDiffStoresTests* self, GAsyncResult* _res_) {
	LinkPersonasDiffStoresTestsCheckPersonasData* _data_;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1636 "link-personas-diff-stores.c"
}


static void _link_personas_diff_stores_tests_check_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	LinkPersonasDiffStoresTestsCheckPersonasData* _data_;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_ = _user_data_;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_source_object_ = source_object;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_res_ = _res_;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_link_personas_diff_stores_tests_check_personas_co (_data_);
#line 1650 "link-personas-diff-stores.c"
}


static gboolean _link_personas_diff_stores_tests_check_personas_co (LinkPersonasDiffStoresTestsCheckPersonasData* _data_) {
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	switch (_data_->_state_) {
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 0:
#line 1659 "link-personas-diff-stores.c"
		goto _state_0;
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		case 1:
#line 1663 "link-personas-diff-stores.c"
		goto _state_1;
		default:
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_assert_not_reached ();
#line 1668 "link-personas-diff-stores.c"
	}
	_state_0:
#line 211 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = FALSE;
#line 211 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp0_ = _data_->self->priv->_linked_individual_found;
#line 211 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_tmp0_ == TRUE) {
#line 212 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		if (_data_->_state_ == 0) {
#line 212 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1681 "link-personas-diff-stores.c"
		} else {
#line 212 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1685 "link-personas-diff-stores.c"
		}
#line 212 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_object_unref (_data_->_async_result);
#line 212 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		return FALSE;
#line 1691 "link-personas-diff-stores.c"
	}
#line 214 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->first_persona = NULL;
#line 1695 "link-personas-diff-stores.c"
	{
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp1_ = NULL;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp1_ = _data_->i;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp2_ = NULL;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp2_ = folks_individual_get_personas (_data_->_tmp1_);
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp3_ = NULL;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp3_ = _data_->_tmp2_;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp4_ = NULL;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp4_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp3_);
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_p_it = _data_->_tmp4_;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		while (TRUE) {
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp5_ = NULL;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp5_ = _data_->_p_it;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp6_ = FALSE;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp6_ = gee_iterator_next (_data_->_tmp5_);
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (!_data_->_tmp6_) {
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				break;
#line 1729 "link-personas-diff-stores.c"
			}
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp7_ = NULL;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp7_ = _data_->_p_it;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp8_ = NULL;
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp8_ = gee_iterator_get (_data_->_tmp7_);
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->p = (FolksPersona*) _data_->_tmp8_;
#line 217 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp9_ = NULL;
#line 217 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp9_ = _data_->p;
#line 217 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp10_ = NULL;
#line 217 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp10_ = _g_object_ref0 (_data_->_tmp9_);
#line 217 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_object_unref0 (_data_->first_persona);
#line 217 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->first_persona = _data_->_tmp10_;
#line 218 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_object_unref0 (_data_->p);
#line 218 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			break;
#line 1757 "link-personas-diff-stores.c"
		}
#line 215 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_object_unref0 (_data_->_p_it);
#line 1761 "link-personas-diff-stores.c"
	}
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp12_ = NULL;
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp12_ = _data_->i;
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp13_ = NULL;
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp13_ = folks_name_details_get_full_name ((FolksNameDetails*) _data_->_tmp12_);
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp14_ = NULL;
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp15_ = NULL;
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp15_ = _data_->self->priv->_persona_fullname_1;
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (g_strcmp0 (_data_->_tmp14_, _data_->_tmp15_) == 0) {
#line 222 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp16_ = NULL;
#line 222 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp16_ = _data_->self->priv->_persona_iid_1;
#line 222 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp11_ = g_strcmp0 (_data_->_tmp16_, "") == 0;
#line 1787 "link-personas-diff-stores.c"
	} else {
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp11_ = FALSE;
#line 1791 "link-personas-diff-stores.c"
	}
#line 221 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_tmp11_) {
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp17_ = NULL;
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp17_ = _data_->first_persona;
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp18_ = NULL;
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp18_ = folks_persona_get_iid (_data_->_tmp17_);
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp19_ = NULL;
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp19_ = _data_->_tmp18_;
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp20_ = NULL;
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp20_ = g_strdup (_data_->_tmp19_);
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_g_free0 (_data_->self->priv->_persona_iid_1);
#line 224 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->self->priv->_persona_iid_1 = _data_->_tmp20_;
#line 225 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp21_ = NULL;
#line 225 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp21_ = _data_->self->priv->_personas;
#line 225 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp22_ = NULL;
#line 225 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp22_ = _data_->first_persona;
#line 225 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		gee_abstract_collection_add ((GeeAbstractCollection*) _data_->_tmp21_, _data_->_tmp22_);
#line 1825 "link-personas-diff-stores.c"
	} else {
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp24_ = NULL;
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp24_ = _data_->i;
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp25_ = NULL;
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp25_ = folks_name_details_get_full_name ((FolksNameDetails*) _data_->_tmp24_);
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp26_ = NULL;
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp26_ = _data_->_tmp25_;
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp27_ = NULL;
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp27_ = _data_->self->priv->_persona_fullname_2;
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		if (g_strcmp0 (_data_->_tmp26_, _data_->_tmp27_) == 0) {
#line 228 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp28_ = NULL;
#line 228 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp28_ = _data_->self->priv->_persona_iid_2;
#line 228 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp23_ = g_strcmp0 (_data_->_tmp28_, "") == 0;
#line 1851 "link-personas-diff-stores.c"
		} else {
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp23_ = FALSE;
#line 1855 "link-personas-diff-stores.c"
		}
#line 227 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		if (_data_->_tmp23_) {
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp29_ = NULL;
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp29_ = _data_->first_persona;
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp30_ = NULL;
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp30_ = folks_persona_get_iid (_data_->_tmp29_);
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp31_ = NULL;
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp31_ = _data_->_tmp30_;
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp32_ = NULL;
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp32_ = g_strdup (_data_->_tmp31_);
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_free0 (_data_->self->priv->_persona_iid_2);
#line 230 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->self->priv->_persona_iid_2 = _data_->_tmp32_;
#line 231 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp33_ = NULL;
#line 231 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp33_ = _data_->self->priv->_personas;
#line 231 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp34_ = NULL;
#line 231 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp34_ = _data_->first_persona;
#line 231 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _data_->_tmp33_, _data_->_tmp34_);
#line 1889 "link-personas-diff-stores.c"
		} else {
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp35_ = NULL;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp35_ = _data_->i;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp36_ = NULL;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp36_ = folks_individual_get_personas (_data_->_tmp35_);
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp37_ = NULL;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp37_ = _data_->_tmp36_;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp38_ = 0;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp38_ = gee_collection_get_size ((GeeCollection*) _data_->_tmp37_);
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp39_ = 0;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp39_ = _data_->_tmp38_;
#line 233 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (_data_->_tmp39_ > 1) {
#line 235 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				_data_->first_persona_id = FALSE;
#line 236 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				_data_->second_persona_id = FALSE;
#line 1917 "link-personas-diff-stores.c"
				{
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp40_ = NULL;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp40_ = _data_->i;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp41_ = NULL;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp41_ = folks_individual_get_personas (_data_->_tmp40_);
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp42_ = NULL;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp42_ = _data_->_tmp41_;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp43_ = NULL;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp43_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp42_);
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_p1_it = _data_->_tmp43_;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					while (TRUE) {
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp44_ = NULL;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp44_ = _data_->_p1_it;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp45_ = FALSE;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp45_ = gee_iterator_next (_data_->_tmp44_);
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						if (!_data_->_tmp45_) {
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							break;
#line 1951 "link-personas-diff-stores.c"
						}
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp46_ = NULL;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp46_ = _data_->_p1_it;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp47_ = NULL;
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp47_ = gee_iterator_get (_data_->_tmp46_);
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->p1 = (FolksPersona*) _data_->_tmp47_;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp48_ = NULL;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp48_ = _data_->p1;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp49_ = NULL;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp49_ = folks_persona_get_iid (_data_->_tmp48_);
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp50_ = NULL;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp50_ = _data_->_tmp49_;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp51_ = NULL;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_data_->_tmp51_ = _data_->self->priv->_persona_iid_1;
#line 240 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						if (g_strcmp0 (_data_->_tmp50_, _data_->_tmp51_) == 0) {
#line 241 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->first_persona_id = TRUE;
#line 1983 "link-personas-diff-stores.c"
						} else {
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp52_ = NULL;
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp52_ = _data_->p1;
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp53_ = NULL;
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp53_ = folks_persona_get_iid (_data_->_tmp52_);
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp54_ = NULL;
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp54_ = _data_->_tmp53_;
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp55_ = NULL;
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							_data_->_tmp55_ = _data_->self->priv->_persona_iid_2;
#line 242 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
							if (g_strcmp0 (_data_->_tmp54_, _data_->_tmp55_) == 0) {
#line 243 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
								_data_->second_persona_id = TRUE;
#line 2005 "link-personas-diff-stores.c"
							}
						}
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
						_g_object_unref0 (_data_->p1);
#line 2010 "link-personas-diff-stores.c"
					}
#line 238 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_g_object_unref0 (_data_->_p1_it);
#line 2014 "link-personas-diff-stores.c"
				}
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				_data_->_tmp57_ = FALSE;
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				_data_->_tmp57_ = _data_->first_persona_id;
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				if (_data_->_tmp57_) {
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp58_ = FALSE;
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp58_ = _data_->second_persona_id;
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp56_ = _data_->_tmp58_;
#line 2028 "link-personas-diff-stores.c"
				} else {
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp56_ = FALSE;
#line 2032 "link-personas-diff-stores.c"
				}
#line 246 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
				if (_data_->_tmp56_) {
#line 248 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->self->priv->_linked_individual_found = TRUE;
#line 249 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp59_ = NULL;
#line 249 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					_data_->_tmp59_ = _data_->self->priv->_main_loop;
#line 249 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
					g_main_loop_quit (_data_->_tmp59_);
#line 2044 "link-personas-diff-stores.c"
				}
			}
		}
	}
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp61_ = NULL;
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp61_ = _data_->self->priv->_personas;
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp62_ = 0;
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp62_ = gee_abstract_collection_get_size ((GeeCollection*) _data_->_tmp61_);
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp63_ = 0;
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_data_->_tmp63_ = _data_->_tmp62_;
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_tmp63_ == 2) {
#line 256 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp64_ = FALSE;
#line 256 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp64_ = _data_->self->priv->_linking_fired;
#line 256 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp60_ = _data_->_tmp64_ == FALSE;
#line 2069 "link-personas-diff-stores.c"
	} else {
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->_tmp60_ = FALSE;
#line 2073 "link-personas-diff-stores.c"
	}
#line 255 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_tmp60_) {
#line 258 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		_data_->self->priv->_linking_fired = TRUE;
#line 2079 "link-personas-diff-stores.c"
		{
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp65_ = NULL;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp65_ = _data_->self->priv->_aggregator;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp66_ = NULL;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp66_ = _data_->self->priv->_personas;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_state_ = 1;
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			folks_individual_aggregator_link_personas (_data_->_tmp65_, (GeeSet*) _data_->_tmp66_, _link_personas_diff_stores_tests_check_personas_ready, _data_);
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			return FALSE;
#line 2095 "link-personas-diff-stores.c"
			_state_1:
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			folks_individual_aggregator_link_personas_finish (_data_->_tmp65_, _data_->_res_, &_data_->_inner_error_);
#line 261 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2101 "link-personas-diff-stores.c"
				goto __catch2_g_error;
			}
		}
		goto __finally2;
		__catch2_g_error:
		{
#line 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->e = _data_->_inner_error_;
#line 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_inner_error_ = NULL;
#line 265 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp67_ = NULL;
#line 265 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp67_ = _data_->e;
#line 265 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp68_ = NULL;
#line 265 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_data_->_tmp68_ = _data_->_tmp67_->message;
#line 265 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			g_warning ("link-personas-diff-stores.vala:265: link_personas: %s\n", _data_->_tmp68_);
#line 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_error_free0 (_data_->e);
#line 2124 "link-personas-diff-stores.c"
		}
		__finally2:
#line 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			_g_object_unref0 (_data_->first_persona);
#line 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.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 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			g_clear_error (&_data_->_inner_error_);
#line 259 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
			return FALSE;
#line 2137 "link-personas-diff-stores.c"
		}
	}
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (_data_->first_persona);
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	if (_data_->_state_ == 0) {
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2146 "link-personas-diff-stores.c"
	} else {
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2150 "link-personas-diff-stores.c"
	}
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_object_unref (_data_->_async_result);
#line 208 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return FALSE;
#line 2156 "link-personas-diff-stores.c"
}


static void link_personas_diff_stores_tests_class_init (LinkPersonasDiffStoresTestsClass * klass) {
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	link_personas_diff_stores_tests_parent_class = g_type_class_peek_parent (klass);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_type_class_add_private (klass, sizeof (LinkPersonasDiffStoresTestsPrivate));
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	((EdsTestTestCaseClass *) klass)->create_backend = link_personas_diff_stores_tests_real_create_backend;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	((FolksTestCaseClass *) klass)->tear_down = link_personas_diff_stores_tests_real_tear_down;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	G_OBJECT_CLASS (klass)->finalize = link_personas_diff_stores_tests_finalize;
#line 2171 "link-personas-diff-stores.c"
}


static void link_personas_diff_stores_tests_instance_init (LinkPersonasDiffStoresTests * self) {
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self->priv = LINK_PERSONAS_DIFF_STORES_TESTS_GET_PRIVATE (self);
#line 2178 "link-personas-diff-stores.c"
}


static void link_personas_diff_stores_tests_finalize (GObject* obj) {
	LinkPersonasDiffStoresTests * self;
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_LINK_PERSONAS_DIFF_STORES_TESTS, LinkPersonasDiffStoresTests);
#line 26 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 27 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_eds_test_backend_unref0 (self->priv->_eds_backend_other);
#line 28 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 29 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 30 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 33 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_iid_1);
#line 34 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_free0 (self->priv->_persona_iid_2);
#line 35 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (self->priv->_personas);
#line 24 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	G_OBJECT_CLASS (link_personas_diff_stores_tests_parent_class)->finalize (obj);
#line 2204 "link-personas-diff-stores.c"
}


GType link_personas_diff_stores_tests_get_type (void) {
	static volatile gsize link_personas_diff_stores_tests_type_id__volatile = 0;
	if (g_once_init_enter (&link_personas_diff_stores_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (LinkPersonasDiffStoresTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) link_personas_diff_stores_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LinkPersonasDiffStoresTests), 0, (GInstanceInitFunc) link_personas_diff_stores_tests_instance_init, NULL };
		GType link_personas_diff_stores_tests_type_id;
		link_personas_diff_stores_tests_type_id = g_type_register_static (EDS_TEST_TYPE_TEST_CASE, "LinkPersonasDiffStoresTests", &g_define_type_info, 0);
		g_once_init_leave (&link_personas_diff_stores_tests_type_id__volatile, link_personas_diff_stores_tests_type_id);
	}
	return link_personas_diff_stores_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	LinkPersonasDiffStoresTests* tests = NULL;
	LinkPersonasDiffStoresTests* _tmp0_ = NULL;
#line 273 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_test_init (&args_length1, &args, NULL);
#line 275 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_tmp0_ = link_personas_diff_stores_tests_new ();
#line 275 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	tests = _tmp0_;
#line 276 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	folks_test_case_register ((FolksTestCase*) tests);
#line 277 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	g_test_run ();
#line 278 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	folks_test_case_final_tear_down ((FolksTestCase*) tests);
#line 280 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	result = 0;
#line 280 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	_g_object_unref0 (tests);
#line 280 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return result;
#line 2242 "link-personas-diff-stores.c"
}


int main (int argc, char ** argv) {
#if !GLIB_CHECK_VERSION (2,35,0)
	g_type_init ();
#endif
#line 271 "/opt/gnome3/source/folks/tests/eds/link-personas-diff-stores.vala"
	return _vala_main (argv, argc);
#line 2252 "link-personas-diff-stores.c"
}



