/* aggregation.c generated by valac 0.17.6.3-6918, the Vala compiler
 * generated from aggregation.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: Travis Reitter <travis.reitter@collabora.co.uk>
 */

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


#define TYPE_AGGREGATION_TESTS (aggregation_tests_get_type ())
#define AGGREGATION_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_AGGREGATION_TESTS, AggregationTests))
#define AGGREGATION_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_AGGREGATION_TESTS, AggregationTestsClass))
#define IS_AGGREGATION_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_AGGREGATION_TESTS))
#define IS_AGGREGATION_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_AGGREGATION_TESTS))
#define AGGREGATION_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_AGGREGATION_TESTS, AggregationTestsClass))

typedef struct _AggregationTests AggregationTests;
typedef struct _AggregationTestsClass AggregationTestsClass;
typedef struct _AggregationTestsPrivate AggregationTestsPrivate;

#define AGGREGATION_TESTS_TYPE_INDIVIDUAL_STATE (aggregation_tests_individual_state_get_type ())
#define _kf_test_backend_unref0(var) ((var == NULL) ? NULL : (var = (kf_test_backend_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block1Data Block1Data;
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _Block2Data Block2Data;
typedef struct _Block3Data Block3Data;
typedef struct _Block4Data Block4Data;
typedef struct _Block5Data Block5Data;
typedef struct _Block6Data Block6Data;
typedef struct _Block7Data Block7Data;
typedef struct _Block8Data Block8Data;
typedef struct _Block9Data Block9Data;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _AggregationTests {
	FolksTestCase parent_instance;
	AggregationTestsPrivate * priv;
};

struct _AggregationTestsClass {
	FolksTestCaseClass parent_class;
};

struct _AggregationTestsPrivate {
	KfTestBackend* _kf_backend;
	TpTestsBackend* _tp_backend;
	GeeHashSet* _default_personas;
	gint _test_timeout;
};

typedef enum  {
	AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED,
	AGGREGATION_TESTS_INDIVIDUAL_STATE_REMOVED,
	AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED
} AggregationTestsIndividualState;

struct _Block1Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	GeeHashSet* default_individuals;
	GeeHashSet* expected_individuals;
	GeeHashSet* expected_individuals_detailed;
	FolksIndividualAggregator* aggregator;
};

struct _Block2Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	FolksIndividual* individual1;
	FolksIndividual* individual1_detailed;
	FolksIndividual* individual2;
	FolksIndividual* individual2_detailed;
	FolksIndividualAggregator* aggregator;
};

struct _Block3Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	FolksIndividual* individual1;
	FolksIndividual* individual1_detailed;
	FolksIndividual* individual2;
	FolksIndividual* individual2_detailed;
	FolksIndividualAggregator* aggregator;
};

struct _Block4Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	FolksIndividual* user_individual;
	FolksIndividual* user_individual_detailed;
	FolksIndividualAggregator* aggregator;
};

struct _Block5Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	FolksIndividualAggregator* aggregator;
};

struct _Block6Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	GeeHashMap* individuals_map;
	FolksIndividualAggregator* aggregator;
	gboolean aggregator_is_finalising;
};

struct _Block7Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	FolksIndividual* individual;
	FolksIndividualAggregator* aggregator;
	FolksPersona* writeable_persona;
};

struct _Block8Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	FolksIndividual* individual;
	FolksIndividualAggregator* aggregator;
	FolksPersona* writeable_persona;
};

struct _Block9Data {
	int _ref_count_;
	AggregationTests * self;
	GMainLoop* main_loop;
	FolksIndividual* individual;
	FolksIndividualAggregator* aggregator;
	FolksPersona* writeable_persona;
};


static gpointer aggregation_tests_parent_class = NULL;

GType aggregation_tests_get_type (void) G_GNUC_CONST;
#define AGGREGATION_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_AGGREGATION_TESTS, AggregationTestsPrivate))
enum  {
	AGGREGATION_TESTS_DUMMY_PROPERTY
};
static GType aggregation_tests_individual_state_get_type (void) G_GNUC_UNUSED;
AggregationTests* aggregation_tests_new (void);
AggregationTests* aggregation_tests_construct (GType object_type);
void aggregation_tests_test_iid (AggregationTests* self);
static void _aggregation_tests_test_iid_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_linkable_properties_same_store (AggregationTests* self);
static void _aggregation_tests_test_linkable_properties_same_store_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_linkable_properties_different_stores (AggregationTests* self);
static void _aggregation_tests_test_linkable_properties_different_stores_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_user (AggregationTests* self);
static void _aggregation_tests_test_user_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_untrusted_store (AggregationTests* self);
static void _aggregation_tests_test_untrusted_store_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_linked_individual_refcounting (AggregationTests* self);
static void _aggregation_tests_test_linked_individual_refcounting_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_ensure_individual_property_writeable_trivial (AggregationTests* self);
static void _aggregation_tests_test_ensure_individual_property_writeable_trivial_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_ensure_individual_property_writeable_add_persona (AggregationTests* self);
static void _aggregation_tests_test_ensure_individual_property_writeable_add_persona_folks_test_case_test_method (gpointer self);
void aggregation_tests_test_ensure_individual_property_writeable_failure (AggregationTests* self);
static void _aggregation_tests_test_ensure_individual_property_writeable_failure_folks_test_case_test_method (gpointer self);
static void aggregation_tests_real_set_up (FolksTestCase* base);
static void aggregation_tests_real_tear_down (FolksTestCase* base);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (void * _userdata_);
static void __lambda2_ (Block1Data* _data1_, GeeMultiMap* changes);
static void _aggregation_tests_test_iid_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed, GeeSet* default_individuals, GeeSet* expected_individuals);
static void ___lambda2__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda3_ (Block1Data* _data1_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda3__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda4_ (Block1Data* _data1_);
static gboolean ___lambda4__gsource_func (gpointer self);
static gboolean __lambda5_ (Block1Data* _data1_);
static void __lambda6_ (Block1Data* _data1_, GObject* s, GAsyncResult* r);
static void ___lambda6__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda5__gsource_func (gpointer self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
static void __lambda7_ (Block2Data* _data2_, GeeMultiMap* changes);
static void _aggregation_tests_test_linkable_properties_individuals_changed (AggregationTests* self, gboolean detailed, guint num_personas, GeeCollection* added, GeeSet* removed, FolksIndividual** individual1, FolksIndividual** individual2);
static void ___lambda7__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda8_ (Block2Data* _data2_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda8__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda9_ (Block2Data* _data2_);
static gboolean ___lambda9__gsource_func (gpointer self);
static gboolean __lambda10_ (Block2Data* _data2_);
static void __lambda11_ (Block2Data* _data2_, GObject* s, GAsyncResult* r);
static void ___lambda11__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda10__gsource_func (gpointer self);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (void * _userdata_);
static void __lambda12_ (Block3Data* _data3_, GeeMultiMap* changes);
static void ___lambda12__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda13_ (Block3Data* _data3_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda13__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda14_ (Block3Data* _data3_);
static gboolean ___lambda14__gsource_func (gpointer self);
static gboolean __lambda15_ (Block3Data* _data3_);
static void __lambda16_ (Block3Data* _data3_, GObject* s, GAsyncResult* r);
static void ___lambda16__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda15__gsource_func (gpointer self);
static Block4Data* block4_data_ref (Block4Data* _data4_);
static void block4_data_unref (void * _userdata_);
static void __lambda17_ (Block4Data* _data4_, GeeMultiMap* changes);
static void _aggregation_tests_test_user_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed, FolksIndividual** user_individual);
static void ___lambda17__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda18_ (Block4Data* _data4_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda18__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda19_ (Block4Data* _data4_);
static gboolean ___lambda19__gsource_func (gpointer self);
static gboolean __lambda20_ (Block4Data* _data4_);
static void __lambda21_ (Block4Data* _data4_, GObject* s, GAsyncResult* r);
static void ___lambda21__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda20__gsource_func (gpointer self);
static Block5Data* block5_data_ref (Block5Data* _data5_);
static void block5_data_unref (void * _userdata_);
static void __lambda22_ (AggregationTests* self, GeeMultiMap* changes);
static void _aggregation_tests_test_untrusted_store_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed);
static void ___lambda22__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda23_ (AggregationTests* self, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda23__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda24_ (Block5Data* _data5_);
static gboolean ___lambda24__gsource_func (gpointer self);
static gboolean __lambda25_ (Block5Data* _data5_);
static void __lambda26_ (Block5Data* _data5_, GObject* s, GAsyncResult* r);
static void ___lambda26__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda25__gsource_func (gpointer self);
static Block6Data* block6_data_ref (Block6Data* _data6_);
static void block6_data_unref (void * _userdata_);
static void __lambda27_ (Block6Data* _data6_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ____lambda28_ (Block6Data* _data6_, GObject* obj);
static void _____lambda28__gweak_notify (gpointer self, GObject* object);
static void ___lambda27__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda29_ (Block6Data* _data6_);
static gboolean ___lambda29__gsource_func (gpointer self);
static gboolean __lambda30_ (Block6Data* _data6_);
static void __lambda31_ (Block6Data* _data6_, GObject* s, GAsyncResult* r);
static void ___lambda31__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda30__gsource_func (gpointer self);
static gboolean __lambda32_ (Block6Data* _data6_);
static gboolean ___lambda32__gsource_func (gpointer self);
static Block7Data* block7_data_ref (Block7Data* _data7_);
static void block7_data_unref (void * _userdata_);
static void __lambda33_ (Block7Data* _data7_, GeeMultiMap* changes);
static void ___lambda33__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda34_ (Block7Data* _data7_);
static gboolean ___lambda34__gsource_func (gpointer self);
static gboolean __lambda35_ (Block7Data* _data7_);
static void __lambda36_ (Block7Data* _data7_, GObject* s, GAsyncResult* r);
static void ___lambda36__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda35__gsource_func (gpointer self);
static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle);
static gboolean __lambda37_ (Block7Data* _data7_);
static gboolean ___lambda37__gsource_func (gpointer self);
static gboolean __lambda38_ (Block7Data* _data7_);
static void __lambda39_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res);
static void ___lambda39__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda38__gsource_func (gpointer self);
static Block8Data* block8_data_ref (Block8Data* _data8_);
static void block8_data_unref (void * _userdata_);
static void __lambda40_ (Block8Data* _data8_, GeeMultiMap* changes);
static void ___lambda40__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda41_ (Block8Data* _data8_);
static gboolean ___lambda41__gsource_func (gpointer self);
static gboolean __lambda42_ (Block8Data* _data8_);
static void __lambda43_ (Block8Data* _data8_, GObject* s, GAsyncResult* r);
static void ___lambda43__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda42__gsource_func (gpointer self);
static void __lambda44_ (Block8Data* _data8_, GeeMultiMap* changes);
static void ___lambda44__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda45_ (Block8Data* _data8_);
static gboolean ___lambda45__gsource_func (gpointer self);
static gboolean __lambda46_ (Block8Data* _data8_);
static void __lambda47_ (Block8Data* _data8_, GObject* obj, GAsyncResult* res);
static void ___lambda47__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda46__gsource_func (gpointer self);
static Block9Data* block9_data_ref (Block9Data* _data9_);
static void block9_data_unref (void * _userdata_);
static void __lambda48_ (Block9Data* _data9_, GeeMultiMap* changes);
static void ___lambda48__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda49_ (Block9Data* _data9_);
static gboolean ___lambda49__gsource_func (gpointer self);
static gboolean __lambda50_ (Block9Data* _data9_);
static void __lambda51_ (Block9Data* _data9_, GObject* s, GAsyncResult* r);
static void ___lambda51__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda50__gsource_func (gpointer self);
static gboolean __lambda52_ (Block9Data* _data9_);
static gboolean ___lambda52__gsource_func (gpointer self);
static gboolean __lambda53_ (Block9Data* _data9_);
static void __lambda54_ (Block9Data* _data9_, GObject* obj, GAsyncResult* res);
static void ___lambda54__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda53__gsource_func (gpointer self);
static void aggregation_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static GType aggregation_tests_individual_state_get_type (void) {
	static volatile gsize aggregation_tests_individual_state_type_id__volatile = 0;
	if (g_once_init_enter (&aggregation_tests_individual_state_type_id__volatile)) {
		static const GEnumValue values[] = {{AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED, "AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED", "added"}, {AGGREGATION_TESTS_INDIVIDUAL_STATE_REMOVED, "AGGREGATION_TESTS_INDIVIDUAL_STATE_REMOVED", "removed"}, {AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED, "AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED", "finalised"}, {0, NULL, NULL}};
		GType aggregation_tests_individual_state_type_id;
		aggregation_tests_individual_state_type_id = g_enum_register_static ("AggregationTestsIndividualState", values);
		g_once_init_leave (&aggregation_tests_individual_state_type_id__volatile, aggregation_tests_individual_state_type_id);
	}
	return aggregation_tests_individual_state_type_id__volatile;
}


static void _aggregation_tests_test_iid_folks_test_case_test_method (gpointer self) {
#line 51 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_iid (self);
#line 349 "aggregation.c"
}


static void _aggregation_tests_test_linkable_properties_same_store_folks_test_case_test_method (gpointer self) {
#line 52 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_linkable_properties_same_store (self);
#line 356 "aggregation.c"
}


static void _aggregation_tests_test_linkable_properties_different_stores_folks_test_case_test_method (gpointer self) {
#line 54 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_linkable_properties_different_stores (self);
#line 363 "aggregation.c"
}


static void _aggregation_tests_test_user_folks_test_case_test_method (gpointer self) {
#line 56 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_user (self);
#line 370 "aggregation.c"
}


static void _aggregation_tests_test_untrusted_store_folks_test_case_test_method (gpointer self) {
#line 57 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_untrusted_store (self);
#line 377 "aggregation.c"
}


static void _aggregation_tests_test_linked_individual_refcounting_folks_test_case_test_method (gpointer self) {
#line 58 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_linked_individual_refcounting (self);
#line 384 "aggregation.c"
}


static void _aggregation_tests_test_ensure_individual_property_writeable_trivial_folks_test_case_test_method (gpointer self) {
#line 59 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_ensure_individual_property_writeable_trivial (self);
#line 391 "aggregation.c"
}


static void _aggregation_tests_test_ensure_individual_property_writeable_add_persona_folks_test_case_test_method (gpointer self) {
#line 61 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_ensure_individual_property_writeable_add_persona (self);
#line 398 "aggregation.c"
}


static void _aggregation_tests_test_ensure_individual_property_writeable_failure_folks_test_case_test_method (gpointer self) {
#line 63 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_ensure_individual_property_writeable_failure (self);
#line 405 "aggregation.c"
}


AggregationTests* aggregation_tests_construct (GType object_type) {
	AggregationTests * self = NULL;
	KfTestBackend* _tmp0_;
	TpTestsBackend* _tmp1_;
	GHashFunc _tmp2_;
	GEqualFunc _tmp3_;
	GeeHashSet* _tmp4_;
	GeeHashSet* _tmp5_;
	GeeHashSet* _tmp6_;
	GeeHashSet* _tmp7_;
	GeeHashSet* _tmp8_;
	GeeHashSet* _tmp9_;
	GeeHashSet* _tmp10_;
	GeeHashSet* _tmp11_;
	GeeHashSet* _tmp12_;
	const gchar* _tmp13_ = NULL;
#line 33 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = (AggregationTests*) folks_test_case_construct (object_type, "Aggregation");
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = kf_test_backend_new ();
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_kf_test_backend_unref0 (self->priv->_kf_backend);
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self->priv->_kf_backend = _tmp0_;
#line 36 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = tp_tests_backend_new ();
#line 36 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_tp_backend);
#line 36 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self->priv->_tp_backend = _tmp1_;
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = g_str_hash;
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = g_str_equal;
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp2_, _tmp3_);
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_default_personas);
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self->priv->_default_personas = _tmp4_;
#line 41 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = self->priv->_default_personas;
#line 41 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp5_, "travis@example.com");
#line 42 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = self->priv->_default_personas;
#line 42 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp6_, "olivier@example.com");
#line 43 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_default_personas;
#line 43 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp7_, "guillaume@example.com");
#line 44 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = self->priv->_default_personas;
#line 44 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp8_, "sjoerd@example.com");
#line 45 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = self->priv->_default_personas;
#line 45 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp9_, "christian@example.com");
#line 46 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = self->priv->_default_personas;
#line 46 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp10_, "wim@example.com");
#line 47 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp11_ = self->priv->_default_personas;
#line 47 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp11_, "helen@example.com");
#line 48 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = self->priv->_default_personas;
#line 48 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp12_, "geraldine@example.com");
#line 51 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "IID", _aggregation_tests_test_iid_folks_test_case_test_method, self);
#line 52 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "linkable properties:same store", _aggregation_tests_test_linkable_properties_same_store_folks_test_case_test_method, self);
#line 54 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "linkable properties:different stores", _aggregation_tests_test_linkable_properties_different_stores_folks_test_case_test_method, self);
#line 56 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "user", _aggregation_tests_test_user_folks_test_case_test_method, self);
#line 57 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "untrusted store", _aggregation_tests_test_untrusted_store_folks_test_case_test_method, self);
#line 58 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "refcounting", _aggregation_tests_test_linked_individual_refcounting_folks_test_case_test_method, self);
#line 59 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "ensure individual property writeable:trivial", _aggregation_tests_test_ensure_individual_property_writeable_trivial_folks_test_case_test_method, self);
#line 61 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "ensure individual property writeable:add persona", _aggregation_tests_test_ensure_individual_property_writeable_add_persona_folks_test_case_test_method, self);
#line 63 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "ensure individual property writeable:failure", _aggregation_tests_test_ensure_individual_property_writeable_failure_folks_test_case_test_method, self);
#line 66 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = g_getenv ("FOLKS_TEST_VALGRIND");
#line 66 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_tmp13_ != NULL) {
#line 67 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self->priv->_test_timeout = 10;
#line 505 "aggregation.c"
	}
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return self;
#line 509 "aggregation.c"
}


AggregationTests* aggregation_tests_new (void) {
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return aggregation_tests_construct (TYPE_AGGREGATION_TESTS);
#line 516 "aggregation.c"
}


static void aggregation_tests_real_set_up (FolksTestCase* base) {
	AggregationTests * self;
	TpTestsBackend* _tmp0_;
#line 70 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = (AggregationTests*) base;
#line 72 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = self->priv->_tp_backend;
#line 72 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_set_up (_tmp0_);
#line 529 "aggregation.c"
}


static void aggregation_tests_real_tear_down (FolksTestCase* base) {
	AggregationTests * self;
	TpTestsBackend* _tmp0_;
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = (AggregationTests*) base;
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = self->priv->_tp_backend;
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_tear_down (_tmp0_);
#line 542 "aggregation.c"
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data1_;
#line 551 "aggregation.c"
}


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 560 "aggregation.c"
		AggregationTests * self;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data1_->self;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->aggregator);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->expected_individuals_detailed);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->expected_individuals);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->default_individuals);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data1_->main_loop);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block1Data, _data1_);
#line 578 "aggregation.c"
	}
}


static void __lambda2_ (Block1Data* _data1_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
	GeeHashSet* _tmp4_;
	GeeHashSet* _tmp5_;
#line 140 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 140 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = _data1_->default_individuals;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = _data1_->expected_individuals_detailed;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_iid_individuals_changed (self, TRUE, added, removed, (GeeSet*) _tmp4_, (GeeSet*) _tmp5_);
#line 140 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 140 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 619 "aggregation.c"
}


static void ___lambda2__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 140 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda2_ (self, changes);
#line 626 "aggregation.c"
}


static void __lambda3_ (Block1Data* _data1_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
	GeeHashSet* _tmp2_;
	GeeHashSet* _tmp3_;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = _data1_->default_individuals;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = _data1_->expected_individuals;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_iid_individuals_changed (self, FALSE, (GeeCollection*) _tmp0_, _tmp1_, (GeeSet*) _tmp2_, (GeeSet*) _tmp3_);
#line 652 "aggregation.c"
}


static void ___lambda3__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda3_ (self, added, removed, message, actor, reason);
#line 659 "aggregation.c"
}


static gboolean __lambda4_ (Block1Data* _data1_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data1_->main_loop;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 677 "aggregation.c"
}


static gboolean ___lambda4__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda4_ (self);
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 686 "aggregation.c"
}


static void __lambda6_ (Block1Data* _data1_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 697 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data1_->aggregator;
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 709 "aggregation.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:173: Failed to prepare aggregator: %s", _tmp2_);
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 730 "aggregation.c"
	}
	__finally0:
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 741 "aggregation.c"
	}
}


static void ___lambda6__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda6_ (self, source_object, res);
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block1_data_unref (self);
#line 751 "aggregation.c"
}


static gboolean __lambda5_ (Block1Data* _data1_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 163 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data1_->aggregator;
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda6__gasync_ready_callback, block1_data_ref (_data1_));
#line 179 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 179 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 769 "aggregation.c"
}


static gboolean ___lambda5__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda5_ (self);
#line 163 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 778 "aggregation.c"
}


void aggregation_tests_test_iid (AggregationTests* self) {
	Block1Data* _data1_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestsBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestsBackend* _tmp4_;
	void* _tmp5_ = NULL;
	void* account2_handle;
	GeeHashSet* _tmp6_;
	GeeHashSet* _tmp7_;
	GeeHashSet* _tmp8_;
	GeeHashSet* _tmp9_;
	GeeHashSet* _tmp10_;
	GeeHashSet* _tmp11_;
	GeeHashSet* _tmp12_;
	GeeHashSet* _tmp13_;
	GeeHashSet* _tmp14_;
	GeeHashSet* _tmp15_;
	GeeHashSet* _tmp16_;
	FolksIndividualAggregator* _tmp27_;
	FolksIndividualAggregator* _tmp28_;
	FolksIndividualAggregator* _tmp29_;
	gint _tmp30_;
	GMainLoop* _tmp31_;
	GeeHashSet* _tmp32_;
	gint _tmp33_;
	gint _tmp34_;
	GeeHashSet* _tmp35_;
	gint _tmp36_;
	gint _tmp37_;
	TpTestsBackend* _tmp38_;
	void* _tmp39_;
	TpTestsBackend* _tmp40_;
	void* _tmp41_;
	KfTestBackend* _tmp42_;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_ = g_slice_new0 (Block1Data);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->_ref_count_ = 1;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->self = g_object_ref (self);
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->main_loop = _tmp0_;
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_tests_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_tests_backend_add_account (_tmp4_, "protocol", "me2@example.com", "cm", "account2");
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->default_individuals = _tmp6_;
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data1_->default_individuals;
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp7_, "6380b17dc511b21a1defd4811f1add97b278f92c");
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data1_->default_individuals;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp8_, "6b08188cb2ef8cbaca140b277780069b5af8add6");
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data1_->default_individuals;
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp9_, "60c91326018f6a60604f8d260fc24a60a5b8512c");
#line 116 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = _data1_->default_individuals;
#line 116 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp10_, "0e46c5e74f61908f49550d241f2a1651892a1695");
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp11_ = _data1_->default_individuals;
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp11_, "07b913b8977c04d2f2011e26a46ea3e3dcfe3e3d");
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data1_->default_individuals;
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp12_, "f948d4d2af79085ab860f0ef67bf0c201c4602d4");
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = _data1_->default_individuals;
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp13_, "f34529a442577b840a75271b464e90666c38c464");
#line 124 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp14_ = _data1_->default_individuals;
#line 124 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp14_, "467d13f955e62bf30ebf9620fa052aaee2160260");
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->expected_individuals = _tmp15_;
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp16_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->expected_individuals_detailed = _tmp16_;
#line 891 "aggregation.c"
	{
		GeeHashSet* _tmp17_;
		GeeIterator* _tmp18_ = NULL;
		GeeIterator* _id_it;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp17_ = _data1_->default_individuals;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp18_ = gee_abstract_collection_iterator ((GeeAbstractCollection*) _tmp17_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_id_it = _tmp18_;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 904 "aggregation.c"
			GeeIterator* _tmp19_;
			gboolean _tmp20_ = FALSE;
			GeeIterator* _tmp21_;
			gpointer _tmp22_ = NULL;
			gchar* id;
			GeeHashSet* _tmp23_;
			const gchar* _tmp24_;
			GeeHashSet* _tmp25_;
			const gchar* _tmp26_;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp19_ = _id_it;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp20_ = gee_iterator_next (_tmp19_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp20_) {
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 922 "aggregation.c"
			}
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp21_ = _id_it;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp22_ = gee_iterator_get (_tmp21_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			id = (gchar*) _tmp22_;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp23_ = _data1_->expected_individuals;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp24_ = id;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp23_, _tmp24_);
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp25_ = _data1_->expected_individuals_detailed;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp26_ = id;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp25_, _tmp26_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_free0 (id);
#line 944 "aggregation.c"
		}
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_id_it);
#line 948 "aggregation.c"
	}
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp27_ = folks_individual_aggregator_new ();
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->aggregator = _tmp27_;
#line 140 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp28_ = _data1_->aggregator;
#line 140 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp28_, "individuals-changed-detailed", (GCallback) ___lambda2__folks_individual_aggregator_individuals_changed_detailed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp29_ = _data1_->aggregator;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp29_, "individuals-changed", (GCallback) ___lambda3__folks_individual_aggregator_individuals_changed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp30_ = self->priv->_test_timeout;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp30_, ___lambda4__gsource_func, block1_data_ref (_data1_), block1_data_unref);
#line 163 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda5__gsource_func, block1_data_ref (_data1_), block1_data_unref);
#line 182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp31_ = _data1_->main_loop;
#line 182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp31_);
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp32_ = _data1_->expected_individuals;
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp33_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp32_);
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp34_ = _tmp33_;
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp34_ == 0, "expected_individuals.size == 0");
#line 186 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp35_ = _data1_->expected_individuals_detailed;
#line 186 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp36_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp35_);
#line 186 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp37_ = _tmp36_;
#line 186 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp37_ == 0, "expected_individuals_detailed.size == 0");
#line 189 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp38_ = self->priv->_tp_backend;
#line 189 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp39_ = account2_handle;
#line 189 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp38_, _tmp39_);
#line 190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp40_ = self->priv->_tp_backend;
#line 190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp41_ = account1_handle;
#line 190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp40_, _tmp41_);
#line 191 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp42_ = self->priv->_kf_backend;
#line 191 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp42_);
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data1_->aggregator);
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_->aggregator = NULL;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block1_data_unref (_data1_);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data1_ = NULL;
#line 1012 "aggregation.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return self ? g_object_ref (self) : NULL;
#line 1019 "aggregation.c"
}


static void _aggregation_tests_test_iid_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed, GeeSet* default_individuals, GeeSet* expected_individuals) {
#line 195 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 195 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 195 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 195 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (default_individuals != NULL);
#line 195 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (expected_individuals != NULL);
#line 1034 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 1047 "aggregation.c"
			GeeIterator* _tmp2_;
			gboolean _tmp3_ = FALSE;
			GeeIterator* _tmp4_;
			gpointer _tmp5_ = NULL;
			FolksIndividual* i;
			gboolean _tmp6_ = FALSE;
			FolksIndividual* _tmp7_;
			gboolean _tmp9_;
			FolksIndividual* _tmp10_;
			gboolean _tmp11_ = FALSE;
			gboolean _tmp12_ = FALSE;
			FolksIndividual* _tmp13_;
			gboolean _tmp14_;
			gboolean _tmp15_;
			gboolean _tmp21_;
			gboolean _tmp27_;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 1072 "aggregation.c"
			}
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 1086 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 1093 "aggregation.c"
			}
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp9_, "i != null || detailed == true");
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 206 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 206 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 1107 "aggregation.c"
			}
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp13_ = i;
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp14_ = folks_individual_get_is_user (_tmp13_);
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp15_ = _tmp14_;
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp15_) {
#line 1117 "aggregation.c"
				FolksIndividual* _tmp16_;
				GeeSet* _tmp17_;
				GeeSet* _tmp18_;
				gint _tmp19_;
				gint _tmp20_;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp16_ = i;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp17_ = folks_individual_get_personas (_tmp16_);
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp18_ = _tmp17_;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp19_ = gee_collection_get_size ((GeeCollection*) _tmp18_);
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp20_ = _tmp19_;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp12_ = _tmp20_ == 2;
#line 1135 "aggregation.c"
			} else {
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp12_ = FALSE;
#line 1139 "aggregation.c"
			}
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp21_ = _tmp12_;
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp21_) {
#line 1145 "aggregation.c"
				GeeSet* _tmp22_;
				FolksIndividual* _tmp23_;
				const gchar* _tmp24_;
				const gchar* _tmp25_;
				gboolean _tmp26_ = FALSE;
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp22_ = default_individuals;
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp23_ = i;
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp24_ = folks_individual_get_id (_tmp23_);
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp25_ = _tmp24_;
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp26_ = gee_collection_contains ((GeeCollection*) _tmp22_, _tmp25_);
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp11_ = _tmp26_;
#line 1163 "aggregation.c"
			} else {
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp11_ = FALSE;
#line 1167 "aggregation.c"
			}
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp27_ = _tmp11_;
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp27_) {
#line 1173 "aggregation.c"
				GeeSet* _tmp28_;
				FolksIndividual* _tmp29_;
				const gchar* _tmp30_;
				const gchar* _tmp31_;
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp28_ = expected_individuals;
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp29_ = i;
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp30_ = folks_individual_get_id (_tmp29_);
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp31_ = _tmp30_;
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				gee_collection_add ((GeeCollection*) _tmp28_, _tmp31_);
#line 1188 "aggregation.c"
			}
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 1192 "aggregation.c"
		}
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 1196 "aggregation.c"
	}
	{
		GeeCollection* _tmp32_;
		GeeIterator* _tmp33_ = NULL;
		GeeIterator* _i_it;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp32_ = added;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp33_ = gee_iterable_iterator ((GeeIterable*) _tmp32_);
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp33_;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 1210 "aggregation.c"
			GeeIterator* _tmp34_;
			gboolean _tmp35_ = FALSE;
			GeeIterator* _tmp36_;
			gpointer _tmp37_ = NULL;
			FolksIndividual* i;
			gboolean _tmp38_ = FALSE;
			FolksIndividual* _tmp39_;
			gboolean _tmp41_;
			FolksIndividual* _tmp42_;
			FolksIndividual* _tmp43_;
			GeeSet* _tmp44_;
			GeeSet* _tmp45_;
			GeeSet* _tmp46_;
			GeeSet* personas;
			gboolean _tmp47_ = FALSE;
			FolksIndividual* _tmp48_;
			gboolean _tmp49_;
			gboolean _tmp50_;
			gboolean _tmp54_;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp34_ = _i_it;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp35_ = gee_iterator_next (_tmp34_);
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp35_) {
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 1238 "aggregation.c"
			}
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp36_ = _i_it;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp37_ = gee_iterator_get (_tmp36_);
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp37_;
#line 221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp39_ = i;
#line 221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp39_ != NULL) {
#line 221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp38_ = TRUE;
#line 1252 "aggregation.c"
			} else {
				gboolean _tmp40_;
#line 221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp40_ = detailed;
#line 221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp38_ = _tmp40_ == TRUE;
#line 1259 "aggregation.c"
			}
#line 221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp41_ = _tmp38_;
#line 221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp41_, "i != null || detailed == true");
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp42_ = i;
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp42_ == NULL) {
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 1273 "aggregation.c"
			}
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp43_ = i;
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp44_ = folks_individual_get_personas (_tmp43_);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp45_ = _tmp44_;
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp46_ = _g_object_ref0 (_tmp45_);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			personas = _tmp46_;
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp48_ = i;
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp49_ = folks_individual_get_is_user (_tmp48_);
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp50_ = _tmp49_;
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp50_) {
#line 1293 "aggregation.c"
				GeeSet* _tmp51_;
				gint _tmp52_;
				gint _tmp53_;
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp51_ = personas;
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp52_ = gee_collection_get_size ((GeeCollection*) _tmp51_);
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp53_ = _tmp52_;
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp47_ = _tmp53_ == 2;
#line 1305 "aggregation.c"
			} else {
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp47_ = FALSE;
#line 1309 "aggregation.c"
			}
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp54_ = _tmp47_;
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp54_) {
#line 1315 "aggregation.c"
				GeeSet* _tmp55_;
				FolksIndividual* _tmp56_;
				const gchar* _tmp57_;
				const gchar* _tmp58_;
				gboolean _tmp59_ = FALSE;
				gchar* iid;
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp55_ = expected_individuals;
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp56_ = i;
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp57_ = folks_individual_get_id (_tmp56_);
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp58_ = _tmp57_;
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp59_ = gee_collection_remove ((GeeCollection*) _tmp55_, _tmp58_);
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_vala_assert (_tmp59_, "expected_individuals.remove (i.id)");
#line 234 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				iid = NULL;
#line 1336 "aggregation.c"
				{
					GeeSet* _tmp60_;
					GeeIterator* _tmp61_ = NULL;
					GeeIterator* _persona_it;
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp60_ = personas;
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp61_ = gee_iterable_iterator ((GeeIterable*) _tmp60_);
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_persona_it = _tmp61_;
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					while (TRUE) {
#line 1349 "aggregation.c"
						GeeIterator* _tmp62_;
						gboolean _tmp63_ = FALSE;
						GeeIterator* _tmp64_;
						gpointer _tmp65_ = NULL;
						FolksPersona* persona;
						const gchar* _tmp66_;
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp62_ = _persona_it;
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp63_ = gee_iterator_next (_tmp62_);
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						if (!_tmp63_) {
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							break;
#line 1364 "aggregation.c"
						}
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp64_ = _persona_it;
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp65_ = gee_iterator_get (_tmp64_);
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						persona = (FolksPersona*) _tmp65_;
#line 237 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp66_ = iid;
#line 237 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						if (_tmp66_ != NULL) {
#line 1376 "aggregation.c"
							FolksPersona* _tmp67_;
							const gchar* _tmp68_;
							const gchar* _tmp69_;
							const gchar* _tmp70_;
#line 239 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp67_ = persona;
#line 239 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp68_ = folks_persona_get_iid (_tmp67_);
#line 239 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp69_ = _tmp68_;
#line 239 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp70_ = iid;
#line 239 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_vala_assert (g_strcmp0 (_tmp69_, _tmp70_) == 0, "persona.iid == iid");
#line 1391 "aggregation.c"
						} else {
							FolksPersona* _tmp71_;
							const gchar* _tmp72_;
							const gchar* _tmp73_;
							gchar* _tmp74_;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp71_ = persona;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp72_ = folks_persona_get_iid (_tmp71_);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp73_ = _tmp72_;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp74_ = g_strdup (_tmp73_);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_g_free0 (iid);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							iid = _tmp74_;
#line 1409 "aggregation.c"
						}
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_g_object_unref0 (persona);
#line 1413 "aggregation.c"
					}
#line 235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (_persona_it);
#line 1417 "aggregation.c"
				}
#line 230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_free0 (iid);
#line 1421 "aggregation.c"
			}
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (personas);
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 1427 "aggregation.c"
		}
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 1431 "aggregation.c"
	}
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data2_;
#line 1441 "aggregation.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 1450 "aggregation.c"
		AggregationTests * self;
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data2_->self;
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data2_->aggregator);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data2_->main_loop);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block2Data, _data2_);
#line 1462 "aggregation.c"
	}
}


static void __lambda7_ (Block2Data* _data2_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 281 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 281 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 281 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 282 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 282 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 282 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 284 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_linkable_properties_individuals_changed (self, TRUE, (guint) 5, added, removed, &_data2_->individual1_detailed, &_data2_->individual2_detailed);
#line 279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 1497 "aggregation.c"
}


static void ___lambda7__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda7_ (self, changes);
#line 1504 "aggregation.c"
}


static void __lambda8_ (Block2Data* _data2_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
#line 287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 289 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 289 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 289 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_linkable_properties_individuals_changed (self, FALSE, (guint) 5, (GeeCollection*) _tmp0_, _tmp1_, &_data2_->individual1, &_data2_->individual2);
#line 1524 "aggregation.c"
}


static void ___lambda8__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda8_ (self, added, removed, message, actor, reason);
#line 1531 "aggregation.c"
}


static gboolean __lambda9_ (Block2Data* _data2_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 296 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 298 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data2_->main_loop;
#line 298 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 299 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 299 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 1549 "aggregation.c"
}


static gboolean ___lambda9__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda9_ (self);
#line 296 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 1558 "aggregation.c"
}


static void __lambda11_ (Block2Data* _data2_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 304 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 304 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 1569 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 308 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data2_->aggregator;
#line 308 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 308 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 308 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 1581 "aggregation.c"
			goto __catch1_g_error;
		}
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 306 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 306 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 312 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 312 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:312: Failed to prepare aggregator: %s", _tmp2_);
#line 314 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 306 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 1602 "aggregation.c"
	}
	__finally1:
#line 306 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 306 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 306 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 306 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 1613 "aggregation.c"
	}
}


static void ___lambda11__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 304 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda11_ (self, source_object, res);
#line 304 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block2_data_unref (self);
#line 1623 "aggregation.c"
}


static gboolean __lambda10_ (Block2Data* _data2_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 302 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 304 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data2_->aggregator;
#line 304 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda11__gasync_ready_callback, block2_data_ref (_data2_));
#line 318 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 318 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 1641 "aggregation.c"
}


static gboolean ___lambda10__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda10_ (self);
#line 302 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 1650 "aggregation.c"
}


void aggregation_tests_test_linkable_properties_same_store (AggregationTests* self) {
	Block2Data* _data2_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestsBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account_handle;
	FolksIndividualAggregator* _tmp4_;
	FolksIndividualAggregator* _tmp5_;
	FolksIndividualAggregator* _tmp6_;
	gint _tmp7_;
	GMainLoop* _tmp8_;
	FolksIndividual* _tmp9_;
	FolksIndividual* _tmp10_;
	FolksIndividual* _tmp11_;
	FolksIndividual* _tmp12_;
	GeeHashSet* _tmp13_;
	GeeHashSet* individual1_expected;
	GeeHashSet* _tmp14_;
	GeeHashSet* _tmp15_;
	GeeHashSet* _tmp16_;
	GeeHashSet* _tmp17_;
	GeeHashSet* _tmp18_;
	GeeHashSet* _tmp19_;
	GeeHashSet* individual2_expected;
	GeeHashSet* _tmp20_;
	GeeHashSet* _tmp21_;
	GeeHashSet* _tmp22_;
	GeeHashSet* _tmp23_;
	GeeHashSet* _tmp24_;
	GeeHashSet* set_in_use;
	gboolean detailed_swapped;
	GeeHashSet* _tmp87_;
	gint _tmp88_;
	gint _tmp89_;
	GeeHashSet* _tmp90_;
	GeeHashSet* _tmp91_;
	GeeHashSet* _tmp124_;
	gint _tmp125_;
	gint _tmp126_;
	TpTestsBackend* _tmp127_;
	void* _tmp128_;
	KfTestBackend* _tmp129_;
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->_ref_count_ = 1;
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->self = g_object_ref (self);
#line 258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->main_loop = _tmp0_;
#line 260 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 260 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "protocol=travis@example.com;olivier@example.com;" "guillaume@example.com;sjoerd@example.com\n" "[1]\n" "protocol=christian@example.com;wim@example.com;" "helen@example.com;geraldine@example.com");
#line 267 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 267 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_tests_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 267 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account_handle = _tmp3_;
#line 272 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->individual1 = NULL;
#line 273 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->individual1_detailed = NULL;
#line 274 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->individual2 = NULL;
#line 275 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->individual2_detailed = NULL;
#line 278 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = folks_individual_aggregator_new ();
#line 278 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->aggregator = _tmp4_;
#line 279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = _data2_->aggregator;
#line 279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp5_, "individuals-changed-detailed", (GCallback) ___lambda7__folks_individual_aggregator_individuals_changed_detailed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = _data2_->aggregator;
#line 287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp6_, "individuals-changed", (GCallback) ___lambda8__folks_individual_aggregator_individuals_changed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 296 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_test_timeout;
#line 296 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp7_, ___lambda9__gsource_func, block2_data_ref (_data2_), block2_data_unref);
#line 302 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda10__gsource_func, block2_data_ref (_data2_), block2_data_unref);
#line 321 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data2_->main_loop;
#line 321 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp8_);
#line 324 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data2_->individual1;
#line 324 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp9_ != NULL, "individual1 != null");
#line 325 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = _data2_->individual1_detailed;
#line 325 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp10_ != NULL, "individual1_detailed != null");
#line 326 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp11_ = _data2_->individual2;
#line 326 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp11_ != NULL, "individual2 != null");
#line 327 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data2_->individual2_detailed;
#line 327 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp12_ != NULL, "individual2_detailed != null");
#line 329 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 329 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	individual1_expected = _tmp13_;
#line 330 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp14_ = individual1_expected;
#line 330 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp14_, "0");
#line 331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15_ = individual1_expected;
#line 331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp15_, "travis@example.com");
#line 332 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp16_ = individual1_expected;
#line 332 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp16_, "olivier@example.com");
#line 333 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp17_ = individual1_expected;
#line 333 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp17_, "guillaume@example.com");
#line 334 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp18_ = individual1_expected;
#line 334 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp18_, "sjoerd@example.com");
#line 336 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp19_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 336 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	individual2_expected = _tmp19_;
#line 337 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp20_ = individual2_expected;
#line 337 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp20_, "1");
#line 338 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp21_ = individual2_expected;
#line 338 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp21_, "christian@example.com");
#line 339 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp22_ = individual2_expected;
#line 339 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp22_, "wim@example.com");
#line 340 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp23_ = individual2_expected;
#line 340 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp23_, "helen@example.com");
#line 341 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp24_ = individual2_expected;
#line 341 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp24_, "geraldine@example.com");
#line 343 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	set_in_use = NULL;
#line 344 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	detailed_swapped = FALSE;
#line 1817 "aggregation.c"
	{
		FolksIndividual* _tmp25_;
		GeeSet* _tmp26_;
		GeeSet* _tmp27_;
		GeeIterator* _tmp28_ = NULL;
		GeeIterator* _p_it;
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp25_ = _data2_->individual1;
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp26_ = folks_individual_get_personas (_tmp25_);
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp27_ = _tmp26_;
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp28_ = gee_iterable_iterator ((GeeIterable*) _tmp27_);
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp28_;
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 1836 "aggregation.c"
			GeeIterator* _tmp29_;
			gboolean _tmp30_ = FALSE;
			GeeIterator* _tmp31_;
			gpointer _tmp32_ = NULL;
			FolksPersona* p;
			gboolean _tmp33_ = FALSE;
			GeeHashSet* _tmp34_;
			gboolean _tmp40_;
			GeeHashSet* _tmp46_;
			FolksPersona* _tmp47_;
			const gchar* _tmp48_;
			const gchar* _tmp49_;
			gboolean _tmp50_ = FALSE;
			gboolean found_detailed;
			gboolean _tmp65_ = FALSE;
			gboolean _tmp66_;
			gboolean _tmp68_;
			gboolean _tmp86_;
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp29_ = _p_it;
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp30_ = gee_iterator_next (_tmp29_);
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp30_) {
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 1863 "aggregation.c"
			}
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp31_ = _p_it;
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp32_ = gee_iterator_get (_tmp31_);
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp32_;
#line 348 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp34_ = set_in_use;
#line 348 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp34_ == NULL) {
#line 1875 "aggregation.c"
				GeeHashSet* _tmp35_;
				FolksPersona* _tmp36_;
				const gchar* _tmp37_;
				const gchar* _tmp38_;
				gboolean _tmp39_ = FALSE;
#line 349 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp35_ = individual1_expected;
#line 349 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp36_ = p;
#line 349 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp37_ = folks_persona_get_display_id (_tmp36_);
#line 349 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp38_ = _tmp37_;
#line 349 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp39_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp35_, _tmp38_);
#line 349 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp33_ = _tmp39_;
#line 1893 "aggregation.c"
			} else {
#line 348 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp33_ = FALSE;
#line 1897 "aggregation.c"
			}
#line 348 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp40_ = _tmp33_;
#line 348 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp40_) {
#line 1903 "aggregation.c"
				GeeHashSet* _tmp41_;
				GeeHashSet* _tmp42_;
#line 351 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp41_ = individual1_expected;
#line 351 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp42_ = _g_object_ref0 (_tmp41_);
#line 351 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (set_in_use);
#line 351 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				set_in_use = _tmp42_;
#line 1914 "aggregation.c"
			} else {
				GeeHashSet* _tmp43_;
#line 353 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp43_ = set_in_use;
#line 353 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				if (_tmp43_ == NULL) {
#line 1921 "aggregation.c"
					GeeHashSet* _tmp44_;
					GeeHashSet* _tmp45_;
#line 355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp44_ = individual2_expected;
#line 355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp45_ = _g_object_ref0 (_tmp44_);
#line 355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (set_in_use);
#line 355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					set_in_use = _tmp45_;
#line 1932 "aggregation.c"
				}
			}
#line 358 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp46_ = set_in_use;
#line 358 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp47_ = p;
#line 358 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp48_ = folks_persona_get_display_id (_tmp47_);
#line 358 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp49_ = _tmp48_;
#line 358 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp50_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp46_, _tmp49_);
#line 358 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp50_, "set_in_use.remove (p.display_id)");
#line 360 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			found_detailed = FALSE;
#line 1949 "aggregation.c"
			{
				FolksIndividual* _tmp51_;
				GeeSet* _tmp52_;
				GeeSet* _tmp53_;
				GeeIterator* _tmp54_ = NULL;
				GeeIterator* _pd_it;
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp51_ = _data2_->individual1_detailed;
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp52_ = folks_individual_get_personas (_tmp51_);
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp53_ = _tmp52_;
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp54_ = gee_iterable_iterator ((GeeIterable*) _tmp53_);
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_pd_it = _tmp54_;
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 1968 "aggregation.c"
					GeeIterator* _tmp55_;
					gboolean _tmp56_ = FALSE;
					GeeIterator* _tmp57_;
					gpointer _tmp58_ = NULL;
					FolksPersona* pd;
					FolksPersona* _tmp59_;
					const gchar* _tmp60_;
					const gchar* _tmp61_;
					FolksPersona* _tmp62_;
					const gchar* _tmp63_;
					const gchar* _tmp64_;
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp55_ = _pd_it;
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp56_ = gee_iterator_next (_tmp55_);
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (!_tmp56_) {
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						break;
#line 1988 "aggregation.c"
					}
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp57_ = _pd_it;
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp58_ = gee_iterator_get (_tmp57_);
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					pd = (FolksPersona*) _tmp58_;
#line 363 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp59_ = pd;
#line 363 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp60_ = folks_persona_get_uid (_tmp59_);
#line 363 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp61_ = _tmp60_;
#line 363 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp62_ = p;
#line 363 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp63_ = folks_persona_get_uid (_tmp62_);
#line 363 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp64_ = _tmp63_;
#line 363 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (g_strcmp0 (_tmp61_, _tmp64_) == 0) {
#line 365 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						found_detailed = TRUE;
#line 2012 "aggregation.c"
					}
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (pd);
#line 2016 "aggregation.c"
				}
#line 361 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_pd_it);
#line 2020 "aggregation.c"
			}
#line 369 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp66_ = found_detailed;
#line 369 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp66_) {
#line 2026 "aggregation.c"
				gboolean _tmp67_;
#line 369 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp67_ = detailed_swapped;
#line 369 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp65_ = !_tmp67_;
#line 2032 "aggregation.c"
			} else {
#line 369 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp65_ = FALSE;
#line 2036 "aggregation.c"
			}
#line 369 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp68_ = _tmp65_;
#line 369 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp68_) {
#line 2042 "aggregation.c"
				FolksIndividual* _tmp69_;
				FolksIndividual* tmp;
				FolksIndividual* _tmp70_;
				FolksIndividual* _tmp71_;
#line 373 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp69_ = _data2_->individual1_detailed;
#line 373 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				tmp = _tmp69_;
#line 374 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp70_ = _data2_->individual2_detailed;
#line 374 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_data2_->individual1_detailed = _tmp70_;
#line 375 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp71_ = tmp;
#line 375 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_data2_->individual2_detailed = _tmp71_;
#line 376 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				detailed_swapped = TRUE;
#line 2061 "aggregation.c"
				{
					FolksIndividual* _tmp72_;
					GeeSet* _tmp73_;
					GeeSet* _tmp74_;
					GeeIterator* _tmp75_ = NULL;
					GeeIterator* _pd_it;
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp72_ = _data2_->individual1_detailed;
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp73_ = folks_individual_get_personas (_tmp72_);
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp74_ = _tmp73_;
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp75_ = gee_iterable_iterator ((GeeIterable*) _tmp74_);
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_pd_it = _tmp75_;
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					while (TRUE) {
#line 2080 "aggregation.c"
						GeeIterator* _tmp76_;
						gboolean _tmp77_ = FALSE;
						GeeIterator* _tmp78_;
						gpointer _tmp79_ = NULL;
						FolksPersona* pd;
						FolksPersona* _tmp80_;
						const gchar* _tmp81_;
						const gchar* _tmp82_;
						FolksPersona* _tmp83_;
						const gchar* _tmp84_;
						const gchar* _tmp85_;
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp76_ = _pd_it;
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp77_ = gee_iterator_next (_tmp76_);
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						if (!_tmp77_) {
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							break;
#line 2100 "aggregation.c"
						}
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp78_ = _pd_it;
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp79_ = gee_iterator_get (_tmp78_);
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						pd = (FolksPersona*) _tmp79_;
#line 380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp80_ = pd;
#line 380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp81_ = folks_persona_get_uid (_tmp80_);
#line 380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp82_ = _tmp81_;
#line 380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp83_ = p;
#line 380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp84_ = folks_persona_get_uid (_tmp83_);
#line 380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp85_ = _tmp84_;
#line 380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						if (g_strcmp0 (_tmp82_, _tmp85_) == 0) {
#line 382 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							found_detailed = TRUE;
#line 2124 "aggregation.c"
						}
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_g_object_unref0 (pd);
#line 2128 "aggregation.c"
					}
#line 378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (_pd_it);
#line 2132 "aggregation.c"
				}
			}
#line 387 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp86_ = found_detailed;
#line 387 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp86_ == TRUE, "found_detailed == true");
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 2141 "aggregation.c"
		}
#line 345 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 2145 "aggregation.c"
	}
#line 390 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp87_ = set_in_use;
#line 390 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp88_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp87_);
#line 390 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp89_ = _tmp88_;
#line 390 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp89_ == 0, "set_in_use.size == 0");
#line 392 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp90_ = set_in_use;
#line 392 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp91_ = individual1_expected;
#line 392 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_tmp90_ == _tmp91_) {
#line 2161 "aggregation.c"
		GeeHashSet* _tmp92_;
		GeeHashSet* _tmp93_;
#line 394 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp92_ = individual2_expected;
#line 394 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp93_ = _g_object_ref0 (_tmp92_);
#line 394 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (set_in_use);
#line 394 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		set_in_use = _tmp93_;
#line 2172 "aggregation.c"
	} else {
		GeeHashSet* _tmp94_;
		GeeHashSet* _tmp95_;
#line 398 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp94_ = individual1_expected;
#line 398 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp95_ = _g_object_ref0 (_tmp94_);
#line 398 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (set_in_use);
#line 398 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		set_in_use = _tmp95_;
#line 2184 "aggregation.c"
	}
	{
		FolksIndividual* _tmp96_;
		GeeSet* _tmp97_;
		GeeSet* _tmp98_;
		GeeIterator* _tmp99_ = NULL;
		GeeIterator* _p_it;
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp96_ = _data2_->individual2;
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp97_ = folks_individual_get_personas (_tmp96_);
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp98_ = _tmp97_;
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp99_ = gee_iterable_iterator ((GeeIterable*) _tmp98_);
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp99_;
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2204 "aggregation.c"
			GeeIterator* _tmp100_;
			gboolean _tmp101_ = FALSE;
			GeeIterator* _tmp102_;
			gpointer _tmp103_ = NULL;
			FolksPersona* p;
			GeeHashSet* _tmp104_;
			FolksPersona* _tmp105_;
			const gchar* _tmp106_;
			const gchar* _tmp107_;
			gboolean _tmp108_ = FALSE;
			gboolean found_detailed;
			gboolean _tmp123_;
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp100_ = _p_it;
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp101_ = gee_iterator_next (_tmp100_);
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp101_) {
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 2225 "aggregation.c"
			}
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp102_ = _p_it;
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp103_ = gee_iterator_get (_tmp102_);
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp103_;
#line 403 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp104_ = set_in_use;
#line 403 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp105_ = p;
#line 403 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp106_ = folks_persona_get_display_id (_tmp105_);
#line 403 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp107_ = _tmp106_;
#line 403 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp108_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp104_, _tmp107_);
#line 403 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp108_, "set_in_use.remove (p.display_id)");
#line 405 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			found_detailed = FALSE;
#line 2247 "aggregation.c"
			{
				FolksIndividual* _tmp109_;
				GeeSet* _tmp110_;
				GeeSet* _tmp111_;
				GeeIterator* _tmp112_ = NULL;
				GeeIterator* _pd_it;
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp109_ = _data2_->individual2_detailed;
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp110_ = folks_individual_get_personas (_tmp109_);
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp111_ = _tmp110_;
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp112_ = gee_iterable_iterator ((GeeIterable*) _tmp111_);
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_pd_it = _tmp112_;
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 2266 "aggregation.c"
					GeeIterator* _tmp113_;
					gboolean _tmp114_ = FALSE;
					GeeIterator* _tmp115_;
					gpointer _tmp116_ = NULL;
					FolksPersona* pd;
					FolksPersona* _tmp117_;
					const gchar* _tmp118_;
					const gchar* _tmp119_;
					FolksPersona* _tmp120_;
					const gchar* _tmp121_;
					const gchar* _tmp122_;
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp113_ = _pd_it;
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp114_ = gee_iterator_next (_tmp113_);
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (!_tmp114_) {
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						break;
#line 2286 "aggregation.c"
					}
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp115_ = _pd_it;
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp116_ = gee_iterator_get (_tmp115_);
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					pd = (FolksPersona*) _tmp116_;
#line 408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp117_ = pd;
#line 408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp118_ = folks_persona_get_uid (_tmp117_);
#line 408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp119_ = _tmp118_;
#line 408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp120_ = p;
#line 408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp121_ = folks_persona_get_uid (_tmp120_);
#line 408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp122_ = _tmp121_;
#line 408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (g_strcmp0 (_tmp119_, _tmp122_) == 0) {
#line 410 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						found_detailed = TRUE;
#line 2310 "aggregation.c"
					}
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (pd);
#line 2314 "aggregation.c"
				}
#line 406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_pd_it);
#line 2318 "aggregation.c"
			}
#line 413 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp123_ = found_detailed;
#line 413 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp123_ == TRUE, "found_detailed == true");
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 2326 "aggregation.c"
		}
#line 401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 2330 "aggregation.c"
	}
#line 416 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp124_ = set_in_use;
#line 416 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp125_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp124_);
#line 416 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp126_ = _tmp125_;
#line 416 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp126_ == 0, "set_in_use.size == 0");
#line 419 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp127_ = self->priv->_tp_backend;
#line 419 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp128_ = account_handle;
#line 419 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp127_, _tmp128_);
#line 420 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp129_ = self->priv->_kf_backend;
#line 420 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp129_);
#line 421 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data2_->aggregator);
#line 421 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_->aggregator = NULL;
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (set_in_use);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (individual2_expected);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (individual1_expected);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block2_data_unref (_data2_);
#line 256 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data2_ = NULL;
#line 2364 "aggregation.c"
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data3_;
#line 2373 "aggregation.c"
}


static void block3_data_unref (void * _userdata_) {
	Block3Data* _data3_;
	_data3_ = (Block3Data*) _userdata_;
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 2382 "aggregation.c"
		AggregationTests * self;
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data3_->self;
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data3_->aggregator);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data3_->main_loop);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block3Data, _data3_);
#line 2394 "aggregation.c"
	}
}


static void __lambda12_ (Block3Data* _data3_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 460 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 460 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 462 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 462 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 462 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 463 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 463 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 463 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 465 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_linkable_properties_individuals_changed (self, TRUE, (guint) 9, added, removed, &_data3_->individual1_detailed, &_data3_->individual2_detailed);
#line 460 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 460 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 2429 "aggregation.c"
}


static void ___lambda12__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 460 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda12_ (self, changes);
#line 2436 "aggregation.c"
}


static void __lambda13_ (Block3Data* _data3_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
#line 468 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 468 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 468 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 470 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 470 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 470 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_linkable_properties_individuals_changed (self, FALSE, (guint) 9, (GeeCollection*) _tmp0_, _tmp1_, &_data3_->individual1, &_data3_->individual2);
#line 2456 "aggregation.c"
}


static void ___lambda13__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 468 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda13_ (self, added, removed, message, actor, reason);
#line 2463 "aggregation.c"
}


static gboolean __lambda14_ (Block3Data* _data3_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 477 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 479 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data3_->main_loop;
#line 479 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 480 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 480 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 2481 "aggregation.c"
}


static gboolean ___lambda14__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda14_ (self);
#line 477 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 2490 "aggregation.c"
}


static void __lambda16_ (Block3Data* _data3_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 485 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 485 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 2501 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 489 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data3_->aggregator;
#line 489 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 489 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 489 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 2513 "aggregation.c"
			goto __catch2_g_error;
		}
	}
	goto __finally2;
	__catch2_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 487 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 487 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 493 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 493 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:493: Failed to prepare aggregator: %s", _tmp2_);
#line 495 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 487 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 2534 "aggregation.c"
	}
	__finally2:
#line 487 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 487 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 487 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 487 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 2545 "aggregation.c"
	}
}


static void ___lambda16__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 485 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda16_ (self, source_object, res);
#line 485 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block3_data_unref (self);
#line 2555 "aggregation.c"
}


static gboolean __lambda15_ (Block3Data* _data3_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 483 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 485 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data3_->aggregator;
#line 485 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda16__gasync_ready_callback, block3_data_ref (_data3_));
#line 499 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 499 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 2573 "aggregation.c"
}


static gboolean ___lambda15__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda15_ (self);
#line 483 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 2582 "aggregation.c"
}


void aggregation_tests_test_linkable_properties_different_stores (AggregationTests* self) {
	Block3Data* _data3_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestsBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestsBackend* _tmp4_;
	void* _tmp5_ = NULL;
	void* account2_handle;
	FolksIndividualAggregator* _tmp6_;
	FolksIndividualAggregator* _tmp7_;
	FolksIndividualAggregator* _tmp8_;
	gint _tmp9_;
	GMainLoop* _tmp10_;
	FolksIndividual* _tmp11_;
	FolksIndividual* _tmp12_;
	FolksIndividual* _tmp13_;
	FolksIndividual* _tmp14_;
	GeeHashSet* _tmp15_;
	GeeHashSet* expected_personas1;
	GeeHashSet* _tmp16_;
	GeeHashSet* expected_personas1_detailed;
	GeeHashSet* _tmp17_;
	GeeHashSet* expected_personas2;
	GeeHashSet* _tmp18_;
	GeeHashSet* expected_personas2_detailed;
	GeeHashSet* _tmp56_;
	gint _tmp57_;
	gint _tmp58_;
	GeeHashSet* _tmp82_;
	gint _tmp83_;
	gint _tmp84_;
	GeeHashSet* _tmp108_;
	gint _tmp109_;
	gint _tmp110_;
	GeeHashSet* _tmp134_;
	gint _tmp135_;
	gint _tmp136_;
	TpTestsBackend* _tmp137_;
	void* _tmp138_;
	TpTestsBackend* _tmp139_;
	void* _tmp140_;
	KfTestBackend* _tmp141_;
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_ = g_slice_new0 (Block3Data);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->_ref_count_ = 1;
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->self = g_object_ref (self);
#line 433 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 433 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->main_loop = _tmp0_;
#line 435 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 435 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "protocol=travis@example.com;olivier@example.com;" "guillaume@example.com;sjoerd@example.com\n" "protocol2=christian@example.com;wim@example.com;" "helen@example.com;geraldine@example.com\n" "[1]\n" "protocol=christian@example.com;wim@example.com;" "helen@example.com;geraldine@example.com\n" "protocol2=travis@example.com;olivier@example.com;" "guillaume@example.com;sjoerd@example.com");
#line 446 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 446 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_tests_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 446 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 448 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 448 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_tests_backend_add_account (_tmp4_, "protocol2", "me@example.com", "cm", "account2");
#line 448 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 453 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->individual1 = NULL;
#line 454 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->individual1_detailed = NULL;
#line 455 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->individual2 = NULL;
#line 456 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->individual2_detailed = NULL;
#line 459 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = folks_individual_aggregator_new ();
#line 459 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->aggregator = _tmp6_;
#line 460 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data3_->aggregator;
#line 460 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp7_, "individuals-changed-detailed", (GCallback) ___lambda12__folks_individual_aggregator_individuals_changed_detailed, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
#line 468 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data3_->aggregator;
#line 468 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp8_, "individuals-changed", (GCallback) ___lambda13__folks_individual_aggregator_individuals_changed, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
#line 477 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = self->priv->_test_timeout;
#line 477 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp9_, ___lambda14__gsource_func, block3_data_ref (_data3_), block3_data_unref);
#line 483 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda15__gsource_func, block3_data_ref (_data3_), block3_data_unref);
#line 502 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = _data3_->main_loop;
#line 502 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp10_);
#line 505 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp11_ = _data3_->individual1;
#line 505 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp11_ != NULL, "individual1 != null");
#line 506 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data3_->individual1_detailed;
#line 506 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp12_ != NULL, "individual1_detailed != null");
#line 507 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = _data3_->individual2;
#line 507 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp13_ != NULL, "individual2 != null");
#line 508 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp14_ = _data3_->individual2_detailed;
#line 508 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp14_ != NULL, "individual2_detailed != null");
#line 514 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 514 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	expected_personas1 = _tmp15_;
#line 515 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp16_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 515 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	expected_personas1_detailed = _tmp16_;
#line 516 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp17_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 516 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	expected_personas2 = _tmp17_;
#line 517 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp18_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 517 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	expected_personas2_detailed = _tmp18_;
#line 2720 "aggregation.c"
	{
		GeeHashSet* _tmp19_;
		GeeIterator* _tmp20_ = NULL;
		GeeIterator* _id_it;
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp19_ = self->priv->_default_personas;
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp20_ = gee_abstract_collection_iterator ((GeeAbstractCollection*) _tmp19_);
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_id_it = _tmp20_;
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2733 "aggregation.c"
			GeeIterator* _tmp21_;
			gboolean _tmp22_ = FALSE;
			GeeIterator* _tmp23_;
			gpointer _tmp24_ = NULL;
			gchar* id;
			GeeHashSet* _tmp25_;
			const gchar* _tmp26_;
			GeeHashSet* _tmp27_;
			const gchar* _tmp28_;
			GeeHashSet* _tmp29_;
			const gchar* _tmp30_;
			GeeHashSet* _tmp31_;
			const gchar* _tmp32_;
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp21_ = _id_it;
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp22_ = gee_iterator_next (_tmp21_);
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp22_) {
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 2755 "aggregation.c"
			}
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp23_ = _id_it;
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp24_ = gee_iterator_get (_tmp23_);
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			id = (gchar*) _tmp24_;
#line 520 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp25_ = expected_personas1;
#line 520 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp26_ = id;
#line 520 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp25_, _tmp26_);
#line 521 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp27_ = expected_personas1_detailed;
#line 521 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp28_ = id;
#line 521 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp27_, _tmp28_);
#line 522 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp29_ = expected_personas2;
#line 522 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp30_ = id;
#line 522 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp29_, _tmp30_);
#line 523 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp31_ = expected_personas2_detailed;
#line 523 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp32_ = id;
#line 523 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp31_, _tmp32_);
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_free0 (id);
#line 2789 "aggregation.c"
		}
#line 518 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_id_it);
#line 2793 "aggregation.c"
	}
	{
		FolksIndividual* _tmp33_;
		GeeSet* _tmp34_;
		GeeSet* _tmp35_;
		GeeIterator* _tmp36_ = NULL;
		GeeIterator* _p_it;
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp33_ = _data3_->individual1;
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp34_ = folks_individual_get_personas (_tmp33_);
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp35_ = _tmp34_;
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp36_ = gee_iterable_iterator ((GeeIterable*) _tmp35_);
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp36_;
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2813 "aggregation.c"
			GeeIterator* _tmp37_;
			gboolean _tmp38_ = FALSE;
			GeeIterator* _tmp39_;
			gpointer _tmp40_ = NULL;
			FolksPersona* p;
			gboolean _tmp41_ = FALSE;
			gboolean _tmp42_ = FALSE;
			GeeHashSet* _tmp43_;
			FolksPersona* _tmp44_;
			const gchar* _tmp45_;
			const gchar* _tmp46_;
			gboolean _tmp47_ = FALSE;
			gboolean _tmp51_;
			gboolean _tmp55_;
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp37_ = _p_it;
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp38_ = gee_iterator_next (_tmp37_);
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp38_) {
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 2836 "aggregation.c"
			}
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp39_ = _p_it;
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp40_ = gee_iterator_get (_tmp39_);
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp40_;
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp43_ = expected_personas1;
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp44_ = p;
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp45_ = folks_persona_get_display_id (_tmp44_);
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp46_ = _tmp45_;
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp47_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp43_, _tmp46_);
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp47_) {
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp42_ = TRUE;
#line 2858 "aggregation.c"
			} else {
				FolksPersona* _tmp48_;
				const gchar* _tmp49_;
				const gchar* _tmp50_;
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp48_ = p;
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp49_ = folks_persona_get_display_id (_tmp48_);
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp50_ = _tmp49_;
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp42_ = g_strcmp0 (_tmp50_, "0") == 0;
#line 2871 "aggregation.c"
			}
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp51_ = _tmp42_;
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp51_) {
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp41_ = TRUE;
#line 2879 "aggregation.c"
			} else {
				FolksPersona* _tmp52_;
				const gchar* _tmp53_;
				const gchar* _tmp54_;
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp52_ = p;
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp53_ = folks_persona_get_display_id (_tmp52_);
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp54_ = _tmp53_;
#line 529 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp41_ = g_strcmp0 (_tmp54_, "1") == 0;
#line 2892 "aggregation.c"
			}
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp55_ = _tmp41_;
#line 528 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp55_, "expected_personas1.remove (p.display_id) ||               p.display_id == \"0\" || p.display_id == \"1\"");
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 2900 "aggregation.c"
		}
#line 526 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 2904 "aggregation.c"
	}
#line 532 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp56_ = expected_personas1;
#line 532 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp57_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp56_);
#line 532 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp58_ = _tmp57_;
#line 532 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp58_ == 0, "expected_personas1.size == 0");
#line 2914 "aggregation.c"
	{
		FolksIndividual* _tmp59_;
		GeeSet* _tmp60_;
		GeeSet* _tmp61_;
		GeeIterator* _tmp62_ = NULL;
		GeeIterator* _p_it;
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp59_ = _data3_->individual1_detailed;
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp60_ = folks_individual_get_personas (_tmp59_);
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp61_ = _tmp60_;
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp62_ = gee_iterable_iterator ((GeeIterable*) _tmp61_);
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp62_;
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2933 "aggregation.c"
			GeeIterator* _tmp63_;
			gboolean _tmp64_ = FALSE;
			GeeIterator* _tmp65_;
			gpointer _tmp66_ = NULL;
			FolksPersona* p;
			gboolean _tmp67_ = FALSE;
			gboolean _tmp68_ = FALSE;
			GeeHashSet* _tmp69_;
			FolksPersona* _tmp70_;
			const gchar* _tmp71_;
			const gchar* _tmp72_;
			gboolean _tmp73_ = FALSE;
			gboolean _tmp77_;
			gboolean _tmp81_;
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp63_ = _p_it;
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp64_ = gee_iterator_next (_tmp63_);
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp64_) {
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 2956 "aggregation.c"
			}
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp65_ = _p_it;
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp66_ = gee_iterator_get (_tmp65_);
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp66_;
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp69_ = expected_personas1_detailed;
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp70_ = p;
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp71_ = folks_persona_get_display_id (_tmp70_);
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp72_ = _tmp71_;
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp73_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp69_, _tmp72_);
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp73_) {
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp68_ = TRUE;
#line 2978 "aggregation.c"
			} else {
				FolksPersona* _tmp74_;
				const gchar* _tmp75_;
				const gchar* _tmp76_;
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp74_ = p;
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp75_ = folks_persona_get_display_id (_tmp74_);
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp76_ = _tmp75_;
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp68_ = g_strcmp0 (_tmp76_, "0") == 0;
#line 2991 "aggregation.c"
			}
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp77_ = _tmp68_;
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp77_) {
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp67_ = TRUE;
#line 2999 "aggregation.c"
			} else {
				FolksPersona* _tmp78_;
				const gchar* _tmp79_;
				const gchar* _tmp80_;
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp78_ = p;
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp79_ = folks_persona_get_display_id (_tmp78_);
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp80_ = _tmp79_;
#line 537 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp67_ = g_strcmp0 (_tmp80_, "1") == 0;
#line 3012 "aggregation.c"
			}
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp81_ = _tmp67_;
#line 536 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp81_, "expected_personas1_detailed.remove (p.display_id) ||               p.display_id == \"0\" || p.display_id == \"1\"");
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 3020 "aggregation.c"
		}
#line 534 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 3024 "aggregation.c"
	}
#line 540 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp82_ = expected_personas1_detailed;
#line 540 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp83_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp82_);
#line 540 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp84_ = _tmp83_;
#line 540 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp84_ == 0, "expected_personas1_detailed.size == 0");
#line 3034 "aggregation.c"
	{
		FolksIndividual* _tmp85_;
		GeeSet* _tmp86_;
		GeeSet* _tmp87_;
		GeeIterator* _tmp88_ = NULL;
		GeeIterator* _p_it;
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp85_ = _data3_->individual2;
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp86_ = folks_individual_get_personas (_tmp85_);
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp87_ = _tmp86_;
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp88_ = gee_iterable_iterator ((GeeIterable*) _tmp87_);
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp88_;
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3053 "aggregation.c"
			GeeIterator* _tmp89_;
			gboolean _tmp90_ = FALSE;
			GeeIterator* _tmp91_;
			gpointer _tmp92_ = NULL;
			FolksPersona* p;
			gboolean _tmp93_ = FALSE;
			gboolean _tmp94_ = FALSE;
			GeeHashSet* _tmp95_;
			FolksPersona* _tmp96_;
			const gchar* _tmp97_;
			const gchar* _tmp98_;
			gboolean _tmp99_ = FALSE;
			gboolean _tmp103_;
			gboolean _tmp107_;
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp89_ = _p_it;
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp90_ = gee_iterator_next (_tmp89_);
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp90_) {
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 3076 "aggregation.c"
			}
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp91_ = _p_it;
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp92_ = gee_iterator_get (_tmp91_);
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp92_;
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp95_ = expected_personas2;
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp96_ = p;
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp97_ = folks_persona_get_display_id (_tmp96_);
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp98_ = _tmp97_;
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp99_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp95_, _tmp98_);
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp99_) {
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp94_ = TRUE;
#line 3098 "aggregation.c"
			} else {
				FolksPersona* _tmp100_;
				const gchar* _tmp101_;
				const gchar* _tmp102_;
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp100_ = p;
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp101_ = folks_persona_get_display_id (_tmp100_);
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp102_ = _tmp101_;
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp94_ = g_strcmp0 (_tmp102_, "0") == 0;
#line 3111 "aggregation.c"
			}
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp103_ = _tmp94_;
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp103_) {
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp93_ = TRUE;
#line 3119 "aggregation.c"
			} else {
				FolksPersona* _tmp104_;
				const gchar* _tmp105_;
				const gchar* _tmp106_;
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp104_ = p;
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp105_ = folks_persona_get_display_id (_tmp104_);
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp106_ = _tmp105_;
#line 545 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp93_ = g_strcmp0 (_tmp106_, "1") == 0;
#line 3132 "aggregation.c"
			}
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp107_ = _tmp93_;
#line 544 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp107_, "expected_personas2.remove (p.display_id) ||               p.display_id == \"0\" || p.display_id == \"1\"");
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 3140 "aggregation.c"
		}
#line 542 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 3144 "aggregation.c"
	}
#line 548 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp108_ = expected_personas2;
#line 548 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp109_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp108_);
#line 548 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp110_ = _tmp109_;
#line 548 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp110_ == 0, "expected_personas2.size == 0");
#line 3154 "aggregation.c"
	{
		FolksIndividual* _tmp111_;
		GeeSet* _tmp112_;
		GeeSet* _tmp113_;
		GeeIterator* _tmp114_ = NULL;
		GeeIterator* _p_it;
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp111_ = _data3_->individual2_detailed;
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp112_ = folks_individual_get_personas (_tmp111_);
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp113_ = _tmp112_;
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp114_ = gee_iterable_iterator ((GeeIterable*) _tmp113_);
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp114_;
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3173 "aggregation.c"
			GeeIterator* _tmp115_;
			gboolean _tmp116_ = FALSE;
			GeeIterator* _tmp117_;
			gpointer _tmp118_ = NULL;
			FolksPersona* p;
			gboolean _tmp119_ = FALSE;
			gboolean _tmp120_ = FALSE;
			GeeHashSet* _tmp121_;
			FolksPersona* _tmp122_;
			const gchar* _tmp123_;
			const gchar* _tmp124_;
			gboolean _tmp125_ = FALSE;
			gboolean _tmp129_;
			gboolean _tmp133_;
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp115_ = _p_it;
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp116_ = gee_iterator_next (_tmp115_);
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp116_) {
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 3196 "aggregation.c"
			}
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp117_ = _p_it;
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp118_ = gee_iterator_get (_tmp117_);
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp118_;
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp121_ = expected_personas2_detailed;
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp122_ = p;
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp123_ = folks_persona_get_display_id (_tmp122_);
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp124_ = _tmp123_;
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp125_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp121_, _tmp124_);
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp125_) {
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp120_ = TRUE;
#line 3218 "aggregation.c"
			} else {
				FolksPersona* _tmp126_;
				const gchar* _tmp127_;
				const gchar* _tmp128_;
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp126_ = p;
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp127_ = folks_persona_get_display_id (_tmp126_);
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp128_ = _tmp127_;
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp120_ = g_strcmp0 (_tmp128_, "0") == 0;
#line 3231 "aggregation.c"
			}
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp129_ = _tmp120_;
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp129_) {
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp119_ = TRUE;
#line 3239 "aggregation.c"
			} else {
				FolksPersona* _tmp130_;
				const gchar* _tmp131_;
				const gchar* _tmp132_;
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp130_ = p;
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp131_ = folks_persona_get_display_id (_tmp130_);
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp132_ = _tmp131_;
#line 553 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp119_ = g_strcmp0 (_tmp132_, "1") == 0;
#line 3252 "aggregation.c"
			}
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp133_ = _tmp119_;
#line 552 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp133_, "expected_personas2_detailed.remove (p.display_id) ||               p.display_id == \"0\" || p.display_id == \"1\"");
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 3260 "aggregation.c"
		}
#line 550 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 3264 "aggregation.c"
	}
#line 556 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp134_ = expected_personas2_detailed;
#line 556 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp135_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp134_);
#line 556 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp136_ = _tmp135_;
#line 556 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp136_ == 0, "expected_personas2_detailed.size == 0");
#line 559 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp137_ = self->priv->_tp_backend;
#line 559 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp138_ = account2_handle;
#line 559 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp137_, _tmp138_);
#line 560 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp139_ = self->priv->_tp_backend;
#line 560 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp140_ = account1_handle;
#line 560 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp139_, _tmp140_);
#line 561 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp141_ = self->priv->_kf_backend;
#line 561 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp141_);
#line 562 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data3_->aggregator);
#line 562 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_->aggregator = NULL;
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas2_detailed);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas2);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas1_detailed);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas1);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block3_data_unref (_data3_);
#line 431 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data3_ = NULL;
#line 3306 "aggregation.c"
}


static void _aggregation_tests_test_linkable_properties_individuals_changed (AggregationTests* self, gboolean detailed, guint num_personas, GeeCollection* added, GeeSet* removed, FolksIndividual** individual1, FolksIndividual** individual2) {
#line 565 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 565 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 565 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 3317 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3330 "aggregation.c"
			GeeIterator* _tmp2_;
			gboolean _tmp3_ = FALSE;
			GeeIterator* _tmp4_;
			gpointer _tmp5_ = NULL;
			FolksIndividual* i;
			gboolean _tmp6_ = FALSE;
			FolksIndividual* _tmp7_;
			gboolean _tmp9_;
			FolksIndividual* _tmp10_;
			gboolean _tmp11_ = FALSE;
			FolksIndividual* _tmp12_;
			gboolean _tmp13_;
			gboolean _tmp14_;
			gboolean _tmp21_;
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 3353 "aggregation.c"
			}
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 572 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 572 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 572 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 3367 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 572 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 572 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 3374 "aggregation.c"
			}
#line 572 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 572 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp9_, "i != null || detailed == true");
#line 573 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 573 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 575 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 575 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 3388 "aggregation.c"
			}
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = i;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp13_ = folks_individual_get_is_user (_tmp12_);
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp14_ = _tmp13_;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp14_) {
#line 3398 "aggregation.c"
				FolksIndividual* _tmp15_;
				GeeSet* _tmp16_;
				GeeSet* _tmp17_;
				gint _tmp18_;
				gint _tmp19_;
				guint _tmp20_;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp16_ = folks_individual_get_personas (_tmp15_);
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp17_ = _tmp16_;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp18_ = gee_collection_get_size ((GeeCollection*) _tmp17_);
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp19_ = _tmp18_;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp20_ = num_personas;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp11_ = ((guint) _tmp19_) == _tmp20_;
#line 3419 "aggregation.c"
			} else {
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp11_ = FALSE;
#line 3423 "aggregation.c"
			}
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp21_ = _tmp11_;
#line 578 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp21_) {
#line 3429 "aggregation.c"
				FolksIndividual* _tmp22_;
				FolksIndividual* _tmp23_;
#line 580 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp22_ = i;
#line 580 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp23_ = *individual1;
#line 580 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				if (_tmp22_ == _tmp23_) {
#line 582 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					*individual1 = NULL;
#line 3440 "aggregation.c"
				} else {
					FolksIndividual* _tmp24_;
					FolksIndividual* _tmp25_;
#line 584 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp24_ = i;
#line 584 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp25_ = *individual2;
#line 584 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (_tmp24_ == _tmp25_) {
#line 586 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						*individual2 = NULL;
#line 3452 "aggregation.c"
					} else {
						guint _tmp26_;
						FolksIndividual* _tmp27_;
						const gchar* _tmp28_;
						const gchar* _tmp29_;
#line 590 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp26_ = num_personas;
#line 590 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp27_ = i;
#line 590 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp28_ = folks_individual_get_id (_tmp27_);
#line 590 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp29_ = _tmp28_;
#line 590 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						g_critical ("aggregation.vala:590: Unknown %u-persona individual: %s", _tmp26_, _tmp29_);
#line 592 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						g_assert_not_reached ();
#line 3470 "aggregation.c"
					}
				}
			}
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 3476 "aggregation.c"
		}
#line 570 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 3480 "aggregation.c"
	}
	{
		GeeCollection* _tmp30_;
		GeeIterator* _tmp31_ = NULL;
		GeeIterator* _i_it;
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp30_ = added;
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp31_ = gee_iterable_iterator ((GeeIterable*) _tmp30_);
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp31_;
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3494 "aggregation.c"
			GeeIterator* _tmp32_;
			gboolean _tmp33_ = FALSE;
			GeeIterator* _tmp34_;
			gpointer _tmp35_ = NULL;
			FolksIndividual* i;
			gboolean _tmp36_ = FALSE;
			FolksIndividual* _tmp37_;
			gboolean _tmp39_;
			FolksIndividual* _tmp40_;
			gboolean _tmp41_ = FALSE;
			FolksIndividual* _tmp42_;
			gboolean _tmp43_;
			gboolean _tmp44_;
			gboolean _tmp51_;
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp32_ = _i_it;
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp33_ = gee_iterator_next (_tmp32_);
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp33_) {
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 3517 "aggregation.c"
			}
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp34_ = _i_it;
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp35_ = gee_iterator_get (_tmp34_);
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp35_;
#line 599 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp37_ = i;
#line 599 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp37_ != NULL) {
#line 599 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp36_ = TRUE;
#line 3531 "aggregation.c"
			} else {
				gboolean _tmp38_;
#line 599 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp38_ = detailed;
#line 599 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp36_ = _tmp38_ == TRUE;
#line 3538 "aggregation.c"
			}
#line 599 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp39_ = _tmp36_;
#line 599 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp39_, "i != null || detailed == true");
#line 600 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp40_ = i;
#line 600 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp40_ == NULL) {
#line 602 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 602 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 3552 "aggregation.c"
			}
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp42_ = i;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp43_ = folks_individual_get_is_user (_tmp42_);
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp44_ = _tmp43_;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp44_) {
#line 3562 "aggregation.c"
				FolksIndividual* _tmp45_;
				GeeSet* _tmp46_;
				GeeSet* _tmp47_;
				gint _tmp48_;
				gint _tmp49_;
				guint _tmp50_;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp45_ = i;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp46_ = folks_individual_get_personas (_tmp45_);
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp47_ = _tmp46_;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp48_ = gee_collection_get_size ((GeeCollection*) _tmp47_);
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp49_ = _tmp48_;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp50_ = num_personas;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp41_ = ((guint) _tmp49_) == _tmp50_;
#line 3583 "aggregation.c"
			} else {
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp41_ = FALSE;
#line 3587 "aggregation.c"
			}
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp51_ = _tmp41_;
#line 605 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp51_) {
#line 3593 "aggregation.c"
				gboolean _tmp52_ = FALSE;
				FolksIndividual* _tmp53_;
				gboolean _tmp56_;
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp53_ = *individual1;
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				if (_tmp53_ == NULL) {
#line 3601 "aggregation.c"
					FolksIndividual* _tmp54_;
					FolksIndividual* _tmp55_;
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp54_ = *individual2;
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp55_ = i;
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp52_ = _tmp54_ != _tmp55_;
#line 3610 "aggregation.c"
				} else {
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp52_ = FALSE;
#line 3614 "aggregation.c"
				}
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp56_ = _tmp52_;
#line 607 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				if (_tmp56_) {
#line 3620 "aggregation.c"
					FolksIndividual* _tmp57_;
#line 609 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp57_ = i;
#line 609 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					*individual1 = _tmp57_;
#line 3626 "aggregation.c"
				} else {
					gboolean _tmp58_ = FALSE;
					FolksIndividual* _tmp59_;
					gboolean _tmp62_;
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp59_ = *individual2;
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (_tmp59_ == NULL) {
#line 3635 "aggregation.c"
						FolksIndividual* _tmp60_;
						FolksIndividual* _tmp61_;
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp60_ = *individual1;
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp61_ = i;
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp58_ = _tmp60_ != _tmp61_;
#line 3644 "aggregation.c"
					} else {
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp58_ = FALSE;
#line 3648 "aggregation.c"
					}
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp62_ = _tmp58_;
#line 611 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (_tmp62_) {
#line 3654 "aggregation.c"
						FolksIndividual* _tmp63_;
#line 613 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp63_ = i;
#line 613 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						*individual2 = _tmp63_;
#line 3660 "aggregation.c"
					} else {
						gboolean _tmp64_ = FALSE;
						FolksIndividual* _tmp65_;
						FolksIndividual* _tmp66_;
						gboolean _tmp69_;
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp65_ = *individual1;
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp66_ = i;
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						if (_tmp65_ != _tmp66_) {
#line 3672 "aggregation.c"
							FolksIndividual* _tmp67_;
							FolksIndividual* _tmp68_;
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp67_ = *individual2;
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp68_ = i;
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp64_ = _tmp67_ != _tmp68_;
#line 3681 "aggregation.c"
						} else {
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp64_ = FALSE;
#line 3685 "aggregation.c"
						}
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp69_ = _tmp64_;
#line 615 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						if (_tmp69_) {
#line 3691 "aggregation.c"
							guint _tmp70_;
							FolksIndividual* _tmp71_;
							const gchar* _tmp72_;
							const gchar* _tmp73_;
#line 617 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp70_ = num_personas;
#line 617 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp71_ = i;
#line 617 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp72_ = folks_individual_get_id (_tmp71_);
#line 617 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							_tmp73_ = _tmp72_;
#line 617 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							g_critical ("aggregation.vala:617: Unknown %u-persona individual: %s", _tmp70_, _tmp73_);
#line 619 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							g_assert_not_reached ();
#line 3708 "aggregation.c"
						}
					}
				}
			}
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 3715 "aggregation.c"
		}
#line 597 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 3719 "aggregation.c"
	}
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data4_;
#line 3729 "aggregation.c"
}


static void block4_data_unref (void * _userdata_) {
	Block4Data* _data4_;
	_data4_ = (Block4Data*) _userdata_;
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 3738 "aggregation.c"
		AggregationTests * self;
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data4_->self;
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data4_->aggregator);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data4_->user_individual_detailed);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data4_->user_individual);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data4_->main_loop);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block4Data, _data4_);
#line 3754 "aggregation.c"
	}
}


static void __lambda17_ (Block4Data* _data4_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 644 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 644 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 646 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 646 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 646 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 647 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 647 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 647 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 649 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_user_individuals_changed (self, TRUE, added, removed, &_data4_->user_individual_detailed);
#line 644 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 644 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 3789 "aggregation.c"
}


static void ___lambda17__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 643 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda17_ (self, changes);
#line 3796 "aggregation.c"
}


static void __lambda18_ (Block4Data* _data4_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
#line 653 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 653 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 653 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 655 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 655 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 655 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_user_individuals_changed (self, FALSE, (GeeCollection*) _tmp0_, _tmp1_, &_data4_->user_individual);
#line 3816 "aggregation.c"
}


static void ___lambda18__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 652 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda18_ (self, added, removed, message, actor, reason);
#line 3823 "aggregation.c"
}


static gboolean __lambda19_ (Block4Data* _data4_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 662 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 664 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data4_->main_loop;
#line 664 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 665 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 665 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 3841 "aggregation.c"
}


static gboolean ___lambda19__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda19_ (self);
#line 662 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 3850 "aggregation.c"
}


static void __lambda21_ (Block4Data* _data4_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 670 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 670 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 3861 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 674 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data4_->aggregator;
#line 674 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 674 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 674 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 3873 "aggregation.c"
			goto __catch3_g_error;
		}
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 672 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 672 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 678 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 678 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:678: Failed to prepare aggregator: %s", _tmp2_);
#line 680 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 672 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 3894 "aggregation.c"
	}
	__finally3:
#line 672 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 672 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 672 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 672 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 3905 "aggregation.c"
	}
}


static void ___lambda21__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 670 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda21_ (self, source_object, res);
#line 670 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block4_data_unref (self);
#line 3915 "aggregation.c"
}


static gboolean __lambda20_ (Block4Data* _data4_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 668 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 670 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data4_->aggregator;
#line 670 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda21__gasync_ready_callback, block4_data_ref (_data4_));
#line 684 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 684 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 3933 "aggregation.c"
}


static gboolean ___lambda20__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda20_ (self);
#line 668 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 3942 "aggregation.c"
}


void aggregation_tests_test_user (AggregationTests* self) {
	Block4Data* _data4_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestsBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestsBackend* _tmp4_;
	void* _tmp5_ = NULL;
	void* account2_handle;
	FolksIndividualAggregator* _tmp6_;
	FolksIndividualAggregator* _tmp7_;
	gulong _tmp8_ = 0UL;
	gulong individuals_changed_detailed_id;
	FolksIndividualAggregator* _tmp9_;
	gulong _tmp10_ = 0UL;
	gulong individuals_changed_id;
	gint _tmp11_;
	GMainLoop* _tmp12_;
	FolksIndividualAggregator* _tmp13_;
	FolksIndividual* _tmp14_;
	FolksIndividual* _tmp15_;
	FolksIndividual* _tmp16_;
	FolksIndividualAggregator* _tmp17_;
	FolksIndividual* _tmp18_;
	FolksIndividual* _tmp19_;
	FolksIndividual* _tmp20_;
	FolksIndividual* _tmp21_;
	GeeSet* _tmp22_;
	GeeSet* _tmp23_;
	gint _tmp24_;
	gint _tmp25_;
	FolksIndividual* _tmp26_;
	GeeSet* _tmp27_;
	GeeSet* _tmp28_;
	gint _tmp29_;
	gint _tmp30_;
	GeeHashSet* _tmp31_;
	GeeHashSet* display_ids;
	gboolean _tmp44_ = FALSE;
	GeeHashSet* _tmp45_;
	gboolean _tmp46_ = FALSE;
	gboolean _tmp49_;
	GeeHashSet* _tmp50_;
	GeeHashSet* display_ids_detailed;
	gboolean _tmp63_ = FALSE;
	GeeHashSet* _tmp64_;
	gboolean _tmp65_ = FALSE;
	gboolean _tmp68_;
	FolksIndividualAggregator* _tmp69_;
	gulong _tmp70_;
	FolksIndividualAggregator* _tmp71_;
	gulong _tmp72_;
	TpTestsBackend* _tmp73_;
	void* _tmp74_;
	TpTestsBackend* _tmp75_;
	void* _tmp76_;
	KfTestBackend* _tmp77_;
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_ = g_slice_new0 (Block4Data);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_->_ref_count_ = 1;
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_->self = g_object_ref (self);
#line 629 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 629 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_->main_loop = _tmp0_;
#line 631 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 631 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 633 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 633 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_tests_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 633 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 635 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 635 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_tests_backend_add_account (_tmp4_, "protocol", "me2@example.com", "cm", "account2");
#line 635 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 638 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_->user_individual = NULL;
#line 639 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_->user_individual_detailed = NULL;
#line 642 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = folks_individual_aggregator_new ();
#line 642 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_->aggregator = _tmp6_;
#line 643 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data4_->aggregator;
#line 643 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = g_signal_connect_data (_tmp7_, "individuals-changed-detailed", (GCallback) ___lambda17__folks_individual_aggregator_individuals_changed_detailed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
#line 643 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	individuals_changed_detailed_id = _tmp8_;
#line 652 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data4_->aggregator;
#line 652 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = g_signal_connect_data (_tmp9_, "individuals-changed", (GCallback) ___lambda18__folks_individual_aggregator_individuals_changed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
#line 652 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	individuals_changed_id = _tmp10_;
#line 662 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp11_ = self->priv->_test_timeout;
#line 662 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp11_, ___lambda19__gsource_func, block4_data_ref (_data4_), block4_data_unref);
#line 668 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda20__gsource_func, block4_data_ref (_data4_), block4_data_unref);
#line 687 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data4_->main_loop;
#line 687 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp12_);
#line 691 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = _data4_->aggregator;
#line 691 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp14_ = folks_individual_aggregator_get_user (_tmp13_);
#line 691 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15_ = _tmp14_;
#line 691 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp16_ = _data4_->user_individual;
#line 691 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp15_ == _tmp16_, "aggregator.user == user_individual");
#line 692 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp17_ = _data4_->aggregator;
#line 692 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp18_ = folks_individual_aggregator_get_user (_tmp17_);
#line 692 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp19_ = _tmp18_;
#line 692 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp20_ = _data4_->user_individual_detailed;
#line 692 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp19_ == _tmp20_, "aggregator.user == user_individual_detailed");
#line 695 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp21_ = _data4_->user_individual;
#line 695 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp22_ = folks_individual_get_personas (_tmp21_);
#line 695 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp23_ = _tmp22_;
#line 695 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp24_ = gee_collection_get_size ((GeeCollection*) _tmp23_);
#line 695 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp25_ = _tmp24_;
#line 695 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp25_ == 2, "user_individual.personas.size == 2");
#line 696 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp26_ = _data4_->user_individual_detailed;
#line 696 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp27_ = folks_individual_get_personas (_tmp26_);
#line 696 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp28_ = _tmp27_;
#line 696 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp29_ = gee_collection_get_size ((GeeCollection*) _tmp28_);
#line 696 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp30_ = _tmp29_;
#line 696 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp30_ == 2, "user_individual_detailed.personas.size == 2");
#line 698 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp31_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 698 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	display_ids = _tmp31_;
#line 4110 "aggregation.c"
	{
		FolksIndividual* _tmp32_;
		GeeSet* _tmp33_;
		GeeSet* _tmp34_;
		GeeIterator* _tmp35_ = NULL;
		GeeIterator* _persona_it;
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp32_ = _data4_->user_individual;
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp33_ = folks_individual_get_personas (_tmp32_);
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp34_ = _tmp33_;
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp35_ = gee_iterable_iterator ((GeeIterable*) _tmp34_);
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_persona_it = _tmp35_;
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4129 "aggregation.c"
			GeeIterator* _tmp36_;
			gboolean _tmp37_ = FALSE;
			GeeIterator* _tmp38_;
			gpointer _tmp39_ = NULL;
			FolksPersona* persona;
			GeeHashSet* _tmp40_;
			FolksPersona* _tmp41_;
			const gchar* _tmp42_;
			const gchar* _tmp43_;
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp36_ = _persona_it;
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp37_ = gee_iterator_next (_tmp36_);
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp37_) {
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 4147 "aggregation.c"
			}
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp38_ = _persona_it;
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp39_ = gee_iterator_get (_tmp38_);
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			persona = (FolksPersona*) _tmp39_;
#line 701 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp40_ = display_ids;
#line 701 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp41_ = persona;
#line 701 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp42_ = folks_persona_get_display_id (_tmp41_);
#line 701 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp43_ = _tmp42_;
#line 701 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp40_, _tmp43_);
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 4167 "aggregation.c"
		}
#line 699 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_persona_it);
#line 4171 "aggregation.c"
	}
#line 704 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp45_ = display_ids;
#line 704 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp46_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp45_, "me@example.com");
#line 704 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_tmp46_) {
#line 4179 "aggregation.c"
		GeeHashSet* _tmp47_;
		gboolean _tmp48_ = FALSE;
#line 705 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp47_ = display_ids;
#line 705 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp48_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp47_, "me2@example.com");
#line 705 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp44_ = _tmp48_;
#line 4188 "aggregation.c"
	} else {
#line 704 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp44_ = FALSE;
#line 4192 "aggregation.c"
	}
#line 704 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp49_ = _tmp44_;
#line 704 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp49_, "display_ids.contains (\"me@example.com\") &&           display_ids.contains (\"me2@example.com\")");
#line 707 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp50_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 707 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	display_ids_detailed = _tmp50_;
#line 4202 "aggregation.c"
	{
		FolksIndividual* _tmp51_;
		GeeSet* _tmp52_;
		GeeSet* _tmp53_;
		GeeIterator* _tmp54_ = NULL;
		GeeIterator* _persona_it;
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp51_ = _data4_->user_individual_detailed;
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp52_ = folks_individual_get_personas (_tmp51_);
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp53_ = _tmp52_;
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp54_ = gee_iterable_iterator ((GeeIterable*) _tmp53_);
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_persona_it = _tmp54_;
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4221 "aggregation.c"
			GeeIterator* _tmp55_;
			gboolean _tmp56_ = FALSE;
			GeeIterator* _tmp57_;
			gpointer _tmp58_ = NULL;
			FolksPersona* persona;
			GeeHashSet* _tmp59_;
			FolksPersona* _tmp60_;
			const gchar* _tmp61_;
			const gchar* _tmp62_;
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp55_ = _persona_it;
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp56_ = gee_iterator_next (_tmp55_);
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp56_) {
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 4239 "aggregation.c"
			}
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp57_ = _persona_it;
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp58_ = gee_iterator_get (_tmp57_);
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			persona = (FolksPersona*) _tmp58_;
#line 710 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp59_ = display_ids_detailed;
#line 710 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp60_ = persona;
#line 710 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp61_ = folks_persona_get_display_id (_tmp60_);
#line 710 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp62_ = _tmp61_;
#line 710 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp59_, _tmp62_);
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 4259 "aggregation.c"
		}
#line 708 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_persona_it);
#line 4263 "aggregation.c"
	}
#line 713 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp64_ = display_ids_detailed;
#line 713 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp65_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp64_, "me@example.com");
#line 713 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_tmp65_) {
#line 4271 "aggregation.c"
		GeeHashSet* _tmp66_;
		gboolean _tmp67_ = FALSE;
#line 714 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp66_ = display_ids_detailed;
#line 714 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp67_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp66_, "me2@example.com");
#line 714 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp63_ = _tmp67_;
#line 4280 "aggregation.c"
	} else {
#line 713 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp63_ = FALSE;
#line 4284 "aggregation.c"
	}
#line 713 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp68_ = _tmp63_;
#line 713 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp68_, "display_ids_detailed.contains (\"me@example.com\") &&           display_ids_detailed.contains (\"me2@example.com\")");
#line 716 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp69_ = _data4_->aggregator;
#line 716 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp70_ = individuals_changed_id;
#line 716 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_handler_disconnect ((GObject*) _tmp69_, _tmp70_);
#line 717 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp71_ = _data4_->aggregator;
#line 717 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp72_ = individuals_changed_detailed_id;
#line 717 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_handler_disconnect ((GObject*) _tmp71_, _tmp72_);
#line 720 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp73_ = self->priv->_tp_backend;
#line 720 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp74_ = account2_handle;
#line 720 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp73_, _tmp74_);
#line 721 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp75_ = self->priv->_tp_backend;
#line 721 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp76_ = account1_handle;
#line 721 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp75_, _tmp76_);
#line 722 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp77_ = self->priv->_kf_backend;
#line 722 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp77_);
#line 723 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data4_->aggregator);
#line 723 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_->aggregator = NULL;
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (display_ids_detailed);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (display_ids);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block4_data_unref (_data4_);
#line 627 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data4_ = NULL;
#line 4330 "aggregation.c"
}


static void _aggregation_tests_test_user_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed, FolksIndividual** user_individual) {
#line 726 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 726 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 726 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 4341 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4354 "aggregation.c"
			GeeIterator* _tmp2_;
			gboolean _tmp3_ = FALSE;
			GeeIterator* _tmp4_;
			gpointer _tmp5_ = NULL;
			FolksIndividual* i;
			gboolean _tmp6_ = FALSE;
			FolksIndividual* _tmp7_;
			gboolean _tmp9_;
			FolksIndividual* _tmp10_;
			FolksIndividual* _tmp11_;
			gboolean _tmp12_;
			gboolean _tmp13_;
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 4375 "aggregation.c"
			}
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 733 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 733 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 733 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 4389 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 733 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 733 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 4396 "aggregation.c"
			}
#line 733 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 733 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp9_, "i != null || detailed == true");
#line 734 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 734 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 736 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 736 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 4410 "aggregation.c"
			}
#line 739 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = i;
#line 739 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = folks_individual_get_is_user (_tmp11_);
#line 739 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp13_ = _tmp12_;
#line 739 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp13_) {
#line 4420 "aggregation.c"
				FolksIndividual* _tmp14_;
				FolksIndividual* _tmp15_;
#line 741 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp14_ = *user_individual;
#line 741 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 741 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_vala_assert (_tmp14_ == _tmp15_, "user_individual == i");
#line 742 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (*user_individual);
#line 742 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				*user_individual = NULL;
#line 4433 "aggregation.c"
			}
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 4437 "aggregation.c"
		}
#line 731 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 4441 "aggregation.c"
	}
	{
		GeeCollection* _tmp16_;
		GeeIterator* _tmp17_ = NULL;
		GeeIterator* _i_it;
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp16_ = added;
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp17_ = gee_iterable_iterator ((GeeIterable*) _tmp16_);
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp17_;
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4455 "aggregation.c"
			GeeIterator* _tmp18_;
			gboolean _tmp19_ = FALSE;
			GeeIterator* _tmp20_;
			gpointer _tmp21_ = NULL;
			FolksIndividual* i;
			gboolean _tmp22_ = FALSE;
			FolksIndividual* _tmp23_;
			gboolean _tmp25_;
			FolksIndividual* _tmp26_;
			FolksIndividual* _tmp27_;
			gboolean _tmp28_;
			gboolean _tmp29_;
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp18_ = _i_it;
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp19_ = gee_iterator_next (_tmp18_);
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp19_) {
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 4476 "aggregation.c"
			}
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp20_ = _i_it;
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp21_ = gee_iterator_get (_tmp20_);
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp21_;
#line 748 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp23_ = i;
#line 748 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp23_ != NULL) {
#line 748 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp22_ = TRUE;
#line 4490 "aggregation.c"
			} else {
				gboolean _tmp24_;
#line 748 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp24_ = detailed;
#line 748 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp22_ = _tmp24_ == TRUE;
#line 4497 "aggregation.c"
			}
#line 748 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp25_ = _tmp22_;
#line 748 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp25_, "i != null || detailed == true");
#line 749 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp26_ = i;
#line 749 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp26_ == NULL) {
#line 751 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 751 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 4511 "aggregation.c"
			}
#line 754 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp27_ = i;
#line 754 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp28_ = folks_individual_get_is_user (_tmp27_);
#line 754 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp29_ = _tmp28_;
#line 754 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp29_) {
#line 4521 "aggregation.c"
				FolksIndividual* _tmp30_;
				FolksIndividual* _tmp31_;
				FolksIndividual* _tmp32_;
#line 756 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp30_ = *user_individual;
#line 756 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_vala_assert (_tmp30_ == NULL, "user_individual == null");
#line 757 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp31_ = i;
#line 757 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp32_ = _g_object_ref0 (_tmp31_);
#line 757 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (*user_individual);
#line 757 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				*user_individual = _tmp32_;
#line 4537 "aggregation.c"
			}
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 4541 "aggregation.c"
		}
#line 746 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 4545 "aggregation.c"
	}
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data5_;
#line 4555 "aggregation.c"
}


static void block5_data_unref (void * _userdata_) {
	Block5Data* _data5_;
	_data5_ = (Block5Data*) _userdata_;
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 4564 "aggregation.c"
		AggregationTests * self;
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data5_->self;
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data5_->aggregator);
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data5_->main_loop);
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block5Data, _data5_);
#line 4576 "aggregation.c"
	}
}


static void __lambda22_ (AggregationTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 779 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 781 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 781 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 781 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 782 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 782 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 782 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 784 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_untrusted_store_individuals_changed (self, TRUE, added, removed);
#line 779 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 779 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 4608 "aggregation.c"
}


static void ___lambda22__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 778 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda22_ (self, changes);
#line 4615 "aggregation.c"
}


static void __lambda23_ (AggregationTests* self, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
#line 787 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 787 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 789 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 789 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 789 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_untrusted_store_individuals_changed (self, FALSE, (GeeCollection*) _tmp0_, _tmp1_);
#line 4632 "aggregation.c"
}


static void ___lambda23__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 786 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda23_ (self, added, removed, message, actor, reason);
#line 4639 "aggregation.c"
}


static gboolean __lambda24_ (Block5Data* _data5_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 796 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data5_->self;
#line 798 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data5_->main_loop);
#line 799 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 799 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 4654 "aggregation.c"
}


static gboolean ___lambda24__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda24_ (self);
#line 796 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 4663 "aggregation.c"
}


static void __lambda26_ (Block5Data* _data5_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 804 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data5_->self;
#line 804 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 4674 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 808 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data5_->aggregator;
#line 808 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 808 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 808 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 4686 "aggregation.c"
			goto __catch4_g_error;
		}
	}
	goto __finally4;
	__catch4_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 806 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 806 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 812 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 812 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:812: Failed to prepare aggregator: %s", _tmp2_);
#line 814 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 806 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 4707 "aggregation.c"
	}
	__finally4:
#line 806 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 806 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 806 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 806 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 4718 "aggregation.c"
	}
}


static void ___lambda26__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 804 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda26_ (self, source_object, res);
#line 804 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block5_data_unref (self);
#line 4728 "aggregation.c"
}


static gboolean __lambda25_ (Block5Data* _data5_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 802 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data5_->self;
#line 804 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data5_->aggregator;
#line 804 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda26__gasync_ready_callback, block5_data_ref (_data5_));
#line 818 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 818 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 4746 "aggregation.c"
}


static gboolean ___lambda25__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda25_ (self);
#line 802 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 4755 "aggregation.c"
}


void aggregation_tests_test_untrusted_store (AggregationTests* self) {
	Block5Data* _data5_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestsBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestsBackend* _tmp4_;
	void* _tmp5_ = NULL;
	void* account2_handle;
	FolksIndividualAggregator* _tmp6_;
	FolksIndividualAggregator* _tmp7_;
	gulong _tmp8_ = 0UL;
	gulong individuals_changed_detailed_id;
	FolksIndividualAggregator* _tmp9_;
	gulong _tmp10_ = 0UL;
	gulong individuals_changed_id;
	gint _tmp11_;
	FolksIndividualAggregator* _tmp12_;
	FolksIndividualAggregator* _tmp13_;
	TpTestsBackend* _tmp14_;
	TpTestsBackend* _tmp15_;
	KfTestBackend* _tmp16_;
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data5_ = g_slice_new0 (Block5Data);
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data5_->_ref_count_ = 1;
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data5_->self = g_object_ref (self);
#line 767 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 767 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data5_->main_loop = _tmp0_;
#line 769 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 769 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 771 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 771 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_tests_backend_add_account (_tmp2_, "irc", "me@example.com", "cm", "account");
#line 771 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 773 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 773 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_tests_backend_add_account (_tmp4_, "irc", "me2@example.com", "cm", "account2");
#line 773 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 777 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = folks_individual_aggregator_new ();
#line 777 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data5_->aggregator = _tmp6_;
#line 778 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data5_->aggregator;
#line 778 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = g_signal_connect_object (_tmp7_, "individuals-changed-detailed", (GCallback) ___lambda22__folks_individual_aggregator_individuals_changed_detailed, self, 0);
#line 778 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	individuals_changed_detailed_id = _tmp8_;
#line 786 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data5_->aggregator;
#line 786 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = g_signal_connect_object (_tmp9_, "individuals-changed", (GCallback) ___lambda23__folks_individual_aggregator_individuals_changed, self, 0);
#line 786 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	individuals_changed_id = _tmp10_;
#line 796 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp11_ = self->priv->_test_timeout;
#line 796 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp11_, ___lambda24__gsource_func, block5_data_ref (_data5_), block5_data_unref);
#line 802 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda25__gsource_func, block5_data_ref (_data5_), block5_data_unref);
#line 821 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data5_->main_loop);
#line 823 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data5_->aggregator;
#line 823 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_handler_disconnect ((GObject*) _tmp12_, individuals_changed_id);
#line 824 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = _data5_->aggregator;
#line 824 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_handler_disconnect ((GObject*) _tmp13_, individuals_changed_detailed_id);
#line 827 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp14_ = self->priv->_tp_backend;
#line 827 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp14_, account2_handle);
#line 828 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15_ = self->priv->_tp_backend;
#line 828 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp15_, account1_handle);
#line 829 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp16_ = self->priv->_kf_backend;
#line 829 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp16_);
#line 830 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data5_->aggregator);
#line 830 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data5_->aggregator = NULL;
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block5_data_unref (_data5_);
#line 765 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data5_ = NULL;
#line 4862 "aggregation.c"
}


static void _aggregation_tests_test_untrusted_store_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed) {
#line 833 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 833 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 833 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 4873 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4886 "aggregation.c"
			GeeIterator* _tmp2_;
			gboolean _tmp3_ = FALSE;
			GeeIterator* _tmp4_;
			gpointer _tmp5_ = NULL;
			FolksIndividual* i;
			gboolean _tmp6_ = FALSE;
			FolksIndividual* _tmp7_;
			gboolean _tmp9_;
			FolksIndividual* _tmp10_;
			gboolean _tmp11_ = FALSE;
			FolksIndividual* _tmp12_;
			gboolean _tmp13_;
			gboolean _tmp14_;
			gboolean _tmp20_;
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 4909 "aggregation.c"
			}
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 840 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 840 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 840 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 4923 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 840 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 840 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 4930 "aggregation.c"
			}
#line 840 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 840 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp9_, "i != null || detailed == true");
#line 841 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 841 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 843 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 843 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 4944 "aggregation.c"
			}
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = i;
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp13_ = folks_individual_get_is_user (_tmp12_);
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp14_ = _tmp13_;
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp14_) {
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp11_ = TRUE;
#line 4956 "aggregation.c"
			} else {
				FolksIndividual* _tmp15_;
				GeeSet* _tmp16_;
				GeeSet* _tmp17_;
				gint _tmp18_;
				gint _tmp19_;
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp16_ = folks_individual_get_personas (_tmp15_);
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp17_ = _tmp16_;
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp18_ = gee_collection_get_size ((GeeCollection*) _tmp17_);
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp19_ = _tmp18_;
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp11_ = _tmp19_ == 1;
#line 4975 "aggregation.c"
			}
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp20_ = _tmp11_;
#line 846 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp20_, "i.is_user || i.personas.size == 1");
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 4983 "aggregation.c"
		}
#line 838 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 4987 "aggregation.c"
	}
	{
		GeeCollection* _tmp21_;
		GeeIterator* _tmp22_ = NULL;
		GeeIterator* _i_it;
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp21_ = added;
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp22_ = gee_iterable_iterator ((GeeIterable*) _tmp21_);
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp22_;
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 5001 "aggregation.c"
			GeeIterator* _tmp23_;
			gboolean _tmp24_ = FALSE;
			GeeIterator* _tmp25_;
			gpointer _tmp26_ = NULL;
			FolksIndividual* i;
			gboolean _tmp27_ = FALSE;
			FolksIndividual* _tmp28_;
			gboolean _tmp30_;
			FolksIndividual* _tmp31_;
			gboolean _tmp32_ = FALSE;
			FolksIndividual* _tmp33_;
			gboolean _tmp34_;
			gboolean _tmp35_;
			gboolean _tmp41_;
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp23_ = _i_it;
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp24_ = gee_iterator_next (_tmp23_);
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp24_) {
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 5024 "aggregation.c"
			}
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp25_ = _i_it;
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp26_ = gee_iterator_get (_tmp25_);
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp26_;
#line 851 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp28_ = i;
#line 851 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp28_ != NULL) {
#line 851 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp27_ = TRUE;
#line 5038 "aggregation.c"
			} else {
				gboolean _tmp29_;
#line 851 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp29_ = detailed;
#line 851 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp27_ = _tmp29_ == TRUE;
#line 5045 "aggregation.c"
			}
#line 851 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp30_ = _tmp27_;
#line 851 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp30_, "i != null || detailed == true");
#line 852 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp31_ = i;
#line 852 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp31_ == NULL) {
#line 854 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 854 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 5059 "aggregation.c"
			}
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp33_ = i;
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp34_ = folks_individual_get_is_user (_tmp33_);
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp35_ = _tmp34_;
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp35_) {
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp32_ = TRUE;
#line 5071 "aggregation.c"
			} else {
				FolksIndividual* _tmp36_;
				GeeSet* _tmp37_;
				GeeSet* _tmp38_;
				gint _tmp39_;
				gint _tmp40_;
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp36_ = i;
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp37_ = folks_individual_get_personas (_tmp36_);
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp38_ = _tmp37_;
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp39_ = gee_collection_get_size ((GeeCollection*) _tmp38_);
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp40_ = _tmp39_;
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp32_ = _tmp40_ == 1;
#line 5090 "aggregation.c"
			}
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp41_ = _tmp32_;
#line 857 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp41_, "i.is_user || i.personas.size == 1");
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 5098 "aggregation.c"
		}
#line 849 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 5102 "aggregation.c"
	}
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data6_;
#line 5112 "aggregation.c"
}


static void block6_data_unref (void * _userdata_) {
	Block6Data* _data6_;
	_data6_ = (Block6Data*) _userdata_;
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 5121 "aggregation.c"
		AggregationTests * self;
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data6_->self;
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data6_->aggregator);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data6_->individuals_map);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data6_->main_loop);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block6Data, _data6_);
#line 5135 "aggregation.c"
	}
}


static void ____lambda28_ (Block6Data* _data6_, GObject* obj) {
	AggregationTests * self;
	GObject* _tmp0_;
	FolksIndividual* ind;
	FolksIndividual* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	FolksIndividual* _tmp4_;
	gchar* _tmp5_ = NULL;
	gchar* weak_key;
	GeeHashMap* _tmp6_;
	const gchar* _tmp7_;
	gboolean _tmp8_ = FALSE;
	GeeHashMap* _tmp9_;
	const gchar* _tmp10_;
	gpointer _tmp11_ = NULL;
	AggregationTestsIndividualState state;
	gboolean _tmp12_ = FALSE;
	AggregationTestsIndividualState _tmp13_;
	gboolean _tmp18_;
	GeeHashMap* _tmp19_;
	const gchar* _tmp20_;
#line 932 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 932 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (obj != NULL);
#line 934 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = obj;
#line 934 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	ind = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, FOLKS_TYPE_INDIVIDUAL, FolksIndividual);
#line 935 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = ind;
#line 935 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = folks_individual_get_id (_tmp1_);
#line 935 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = _tmp2_;
#line 935 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = ind;
#line 935 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = g_strdup_printf ("%s:%p", _tmp3_, _tmp4_);
#line 935 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	weak_key = _tmp5_;
#line 937 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = _data6_->individuals_map;
#line 937 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = weak_key;
#line 937 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp6_, _tmp7_);
#line 937 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp8_ == TRUE, "individuals_map.has_key (weak_key) == true");
#line 938 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data6_->individuals_map;
#line 938 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = weak_key;
#line 938 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp11_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp9_, _tmp10_);
#line 938 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	state = (AggregationTestsIndividualState) ((gintptr) _tmp11_);
#line 939 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = state;
#line 939 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_tmp13_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_REMOVED) {
#line 939 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp12_ = TRUE;
#line 5204 "aggregation.c"
	} else {
		gboolean _tmp14_ = FALSE;
		gboolean _tmp15_;
		gboolean _tmp17_;
#line 940 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp15_ = _data6_->aggregator_is_finalising;
#line 940 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_tmp15_ == TRUE) {
#line 5213 "aggregation.c"
			AggregationTestsIndividualState _tmp16_;
#line 941 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp16_ = state;
#line 941 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp14_ = _tmp16_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED;
#line 5219 "aggregation.c"
		} else {
#line 940 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp14_ = FALSE;
#line 5223 "aggregation.c"
		}
#line 940 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp17_ = _tmp14_;
#line 940 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp12_ = _tmp17_;
#line 5229 "aggregation.c"
	}
#line 939 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp18_ = _tmp12_;
#line 939 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp18_, "state == IndividualState.REMOVED ||                       (aggregator_is_finalising == true &&                           state == IndividualState.ADDED)");
#line 943 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp19_ = _data6_->individuals_map;
#line 943 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp20_ = weak_key;
#line 943 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	gee_abstract_map_set ((GeeAbstractMap*) _tmp19_, _tmp20_, (gpointer) ((gintptr) AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED));
#line 932 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_free0 (weak_key);
#line 5243 "aggregation.c"
}


static void _____lambda28__gweak_notify (gpointer self, GObject* object) {
#line 932 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	____lambda28_ (self, object);
#line 5250 "aggregation.c"
}


static void __lambda27_ (Block6Data* _data6_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
#line 907 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 907 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 907 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 5262 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 5275 "aggregation.c"
			GeeIterator* _tmp2_;
			gboolean _tmp3_ = FALSE;
			GeeIterator* _tmp4_;
			gpointer _tmp5_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp6_;
			const gchar* _tmp7_;
			const gchar* _tmp8_;
			FolksIndividual* _tmp9_;
			gchar* _tmp10_ = NULL;
			gchar* key;
			GeeHashMap* _tmp11_;
			const gchar* _tmp12_;
			gboolean _tmp13_ = FALSE;
			GeeHashMap* _tmp14_;
			const gchar* _tmp15_;
			gpointer _tmp16_ = NULL;
			GeeHashMap* _tmp17_;
			const gchar* _tmp18_;
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 5303 "aggregation.c"
			}
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 911 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp6_ = i;
#line 911 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp7_ = folks_individual_get_id (_tmp6_);
#line 911 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp8_ = _tmp7_;
#line 911 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = i;
#line 911 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = g_strdup_printf ("%s:%p", _tmp8_, _tmp9_);
#line 911 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			key = _tmp10_;
#line 913 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = _data6_->individuals_map;
#line 913 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = key;
#line 913 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp13_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp11_, _tmp12_);
#line 913 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp13_ == TRUE, "individuals_map.has_key (key) == true");
#line 914 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp14_ = _data6_->individuals_map;
#line 914 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp15_ = key;
#line 914 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp16_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp14_, _tmp15_);
#line 914 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (((AggregationTestsIndividualState) ((gintptr) _tmp16_)) == AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED, "individuals_map.get (key) == IndividualState.ADDED");
#line 916 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp17_ = _data6_->individuals_map;
#line 916 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp18_ = key;
#line 916 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_map_set ((GeeAbstractMap*) _tmp17_, _tmp18_, (gpointer) ((gintptr) AGGREGATION_TESTS_INDIVIDUAL_STATE_REMOVED));
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_free0 (key);
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 5349 "aggregation.c"
		}
#line 909 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 5353 "aggregation.c"
	}
	{
		GeeSet* _tmp19_;
		GeeIterator* _tmp20_ = NULL;
		GeeIterator* _i_it;
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp19_ = added;
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp20_ = gee_iterable_iterator ((GeeIterable*) _tmp19_);
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp20_;
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 5367 "aggregation.c"
			GeeIterator* _tmp21_;
			gboolean _tmp22_ = FALSE;
			GeeIterator* _tmp23_;
			gpointer _tmp24_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp25_;
			const gchar* _tmp26_;
			const gchar* _tmp27_;
			FolksIndividual* _tmp28_;
			gchar* _tmp29_ = NULL;
			gchar* key;
			GeeHashMap* _tmp30_;
			const gchar* _tmp31_;
			gboolean _tmp32_ = FALSE;
			GeeHashMap* _tmp33_;
			const gchar* _tmp34_;
			FolksIndividual* _tmp35_;
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp21_ = _i_it;
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp22_ = gee_iterator_next (_tmp21_);
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp22_) {
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 5393 "aggregation.c"
			}
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp23_ = _i_it;
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp24_ = gee_iterator_get (_tmp23_);
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp24_;
#line 921 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp25_ = i;
#line 921 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp26_ = folks_individual_get_id (_tmp25_);
#line 921 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp27_ = _tmp26_;
#line 921 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp28_ = i;
#line 921 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp29_ = g_strdup_printf ("%s:%p", _tmp27_, _tmp28_);
#line 921 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			key = _tmp29_;
#line 923 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp30_ = _data6_->individuals_map;
#line 923 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp31_ = key;
#line 923 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp32_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp30_, _tmp31_);
#line 923 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp32_ == FALSE, "individuals_map.has_key (key) == false");
#line 925 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp33_ = _data6_->individuals_map;
#line 925 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp34_ = key;
#line 925 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			gee_abstract_map_set ((GeeAbstractMap*) _tmp33_, _tmp34_, (gpointer) ((gintptr) AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED));
#line 932 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp35_ = i;
#line 932 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			g_object_weak_ref ((GObject*) _tmp35_, _____lambda28__gweak_notify, _data6_);
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_free0 (key);
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 5435 "aggregation.c"
		}
#line 919 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 5439 "aggregation.c"
	}
}


static void ___lambda27__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 907 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda27_ (self, added, removed, message, actor, reason);
#line 5447 "aggregation.c"
}


static gboolean __lambda29_ (Block6Data* _data6_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 950 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 952 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data6_->main_loop;
#line 952 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 953 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 953 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 5465 "aggregation.c"
}


static gboolean ___lambda29__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda29_ (self);
#line 950 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 5474 "aggregation.c"
}


static void __lambda31_ (Block6Data* _data6_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 958 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 958 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 5485 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 962 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data6_->aggregator;
#line 962 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 962 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 962 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 5497 "aggregation.c"
			goto __catch5_g_error;
		}
	}
	goto __finally5;
	__catch5_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 960 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 960 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 966 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 966 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:966: Failed to prepare aggregator: %s", _tmp2_);
#line 968 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 960 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 5518 "aggregation.c"
	}
	__finally5:
#line 960 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 960 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 960 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 960 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 5529 "aggregation.c"
	}
}


static void ___lambda31__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 958 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda31_ (self, source_object, res);
#line 958 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block6_data_unref (self);
#line 5539 "aggregation.c"
}


static gboolean __lambda30_ (Block6Data* _data6_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 956 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 958 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data6_->aggregator;
#line 958 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda31__gasync_ready_callback, block6_data_ref (_data6_));
#line 972 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 972 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 5557 "aggregation.c"
}


static gboolean ___lambda30__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda30_ (self);
#line 956 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 5566 "aggregation.c"
}


static gboolean __lambda32_ (Block6Data* _data6_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 995 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 997 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data6_->main_loop;
#line 997 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 998 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 998 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 5584 "aggregation.c"
}


static gboolean ___lambda32__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda32_ (self);
#line 995 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 5593 "aggregation.c"
}


void aggregation_tests_test_linked_individual_refcounting (AggregationTests* self) {
	Block6Data* _data6_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestsBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account_handle;
	GeeHashMap* _tmp4_;
	FolksIndividualAggregator* _tmp5_;
	FolksIndividualAggregator* _tmp6_;
	gint _tmp7_;
	GMainLoop* _tmp8_;
	GeeHashMap* _tmp9_;
	GeeMapIterator* _tmp10_ = NULL;
	GeeMapIterator* iter;
	TpTestsBackend* _tmp19_;
	void* _tmp20_;
	KfTestBackend* _tmp21_;
	gint _tmp22_;
	GMainLoop* _tmp23_;
	GeeHashMap* _tmp24_;
	GeeMapIterator* _tmp25_ = NULL;
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_ = g_slice_new0 (Block6Data);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->_ref_count_ = 1;
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->self = g_object_ref (self);
#line 877 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 877 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->main_loop = _tmp0_;
#line 879 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 879 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "protocol=travis@example.com;olivier@example.com;" "guillaume@example.com;sjoerd@example.com\n" "[1]\n" "protocol=christian@example.com;wim@example.com;" "helen@example.com;geraldine@example.com");
#line 886 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 886 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_tests_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 886 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account_handle = _tmp3_;
#line 901 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, AGGREGATION_TESTS_TYPE_INDIVIDUAL_STATE, NULL, NULL, NULL, NULL, NULL);
#line 901 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->individuals_map = _tmp4_;
#line 904 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = folks_individual_aggregator_new ();
#line 904 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->aggregator = _tmp5_;
#line 905 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->aggregator_is_finalising = FALSE;
#line 907 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = _data6_->aggregator;
#line 907 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp6_, "individuals-changed", (GCallback) ___lambda27__folks_individual_aggregator_individuals_changed, block6_data_ref (_data6_), (GClosureNotify) block6_data_unref, 0);
#line 950 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_test_timeout;
#line 950 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp7_, ___lambda29__gsource_func, block6_data_ref (_data6_), block6_data_unref);
#line 956 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda30__gsource_func, block6_data_ref (_data6_), block6_data_unref);
#line 975 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data6_->main_loop;
#line 975 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp8_);
#line 979 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data6_->individuals_map;
#line 979 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp10_ = gee_abstract_map_map_iterator ((GeeAbstractMap*) _tmp9_);
#line 979 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	iter = _tmp10_;
#line 980 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	while (TRUE) {
#line 5673 "aggregation.c"
		GeeMapIterator* _tmp11_;
		gboolean _tmp12_ = FALSE;
		GeeMapIterator* _tmp13_;
		gpointer _tmp14_ = NULL;
		AggregationTestsIndividualState state;
		gboolean _tmp15_ = FALSE;
		AggregationTestsIndividualState _tmp16_;
		gboolean _tmp18_;
#line 980 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp11_ = iter;
#line 980 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp12_ = gee_map_iterator_next (_tmp11_);
#line 980 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (!(_tmp12_ == TRUE)) {
#line 980 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			break;
#line 5690 "aggregation.c"
		}
#line 982 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp13_ = iter;
#line 982 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp14_ = gee_map_iterator_get_value (_tmp13_);
#line 982 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		state = (AggregationTestsIndividualState) ((gintptr) _tmp14_);
#line 983 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp16_ = state;
#line 983 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_tmp16_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED) {
#line 983 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp15_ = TRUE;
#line 5704 "aggregation.c"
		} else {
			AggregationTestsIndividualState _tmp17_;
#line 984 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp17_ = state;
#line 984 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp15_ = _tmp17_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED;
#line 5711 "aggregation.c"
		}
#line 983 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp18_ = _tmp15_;
#line 983 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_vala_assert (_tmp18_, "state == IndividualState.ADDED ||                   state == IndividualState.FINALISED");
#line 5717 "aggregation.c"
	}
#line 988 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp19_ = self->priv->_tp_backend;
#line 988 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp20_ = account_handle;
#line 988 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp19_, _tmp20_);
#line 989 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp21_ = self->priv->_kf_backend;
#line 989 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp21_);
#line 990 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->aggregator_is_finalising = TRUE;
#line 991 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data6_->aggregator);
#line 991 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_->aggregator = NULL;
#line 995 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp22_ = self->priv->_test_timeout;
#line 995 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp22_, ___lambda32__gsource_func, block6_data_ref (_data6_), block6_data_unref);
#line 1001 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp23_ = _data6_->main_loop;
#line 1001 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp23_);
#line 1005 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp24_ = _data6_->individuals_map;
#line 1005 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp25_ = gee_abstract_map_map_iterator ((GeeAbstractMap*) _tmp24_);
#line 1005 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (iter);
#line 1005 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	iter = _tmp25_;
#line 1006 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	while (TRUE) {
#line 5753 "aggregation.c"
		GeeMapIterator* _tmp26_;
		gboolean _tmp27_ = FALSE;
		GeeMapIterator* _tmp28_;
		gpointer _tmp29_ = NULL;
#line 1006 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp26_ = iter;
#line 1006 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp27_ = gee_map_iterator_next (_tmp26_);
#line 1006 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (!(_tmp27_ == TRUE)) {
#line 1006 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			break;
#line 5766 "aggregation.c"
		}
#line 1008 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp28_ = iter;
#line 1008 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp29_ = gee_map_iterator_get_value (_tmp28_);
#line 1008 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_vala_assert (((AggregationTestsIndividualState) ((gintptr) _tmp29_)) == AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED, "iter.get_value () == IndividualState.FINALISED");
#line 5774 "aggregation.c"
	}
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (iter);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block6_data_unref (_data6_);
#line 875 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data6_ = NULL;
#line 5782 "aggregation.c"
}


static Block7Data* block7_data_ref (Block7Data* _data7_) {
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data7_->_ref_count_);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data7_;
#line 5791 "aggregation.c"
}


static void block7_data_unref (void * _userdata_) {
	Block7Data* _data7_;
	_data7_ = (Block7Data*) _userdata_;
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
#line 5800 "aggregation.c"
		AggregationTests * self;
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data7_->self;
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->writeable_persona);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->aggregator);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->individual);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data7_->main_loop);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block7Data, _data7_);
#line 5816 "aggregation.c"
	}
}


static void __lambda33_ (Block7Data* _data7_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
#line 1029 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1029 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1031 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1031 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_size (_tmp0_);
#line 1031 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = _tmp1_;
#line 1031 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp2_ == 1, "changes.size == 1");
#line 5838 "aggregation.c"
	{
		GeeMultiMap* _tmp3_;
		GeeSet* _tmp4_ = NULL;
		GeeSet* _tmp5_;
		GeeIterator* _tmp6_ = NULL;
		GeeIterator* _tmp7_;
		GeeIterator* _removed_it;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp3_ = changes;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp4_ = gee_multi_map_get_keys (_tmp3_);
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp5_ = _tmp4_;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp6_ = gee_iterable_iterator ((GeeIterable*) _tmp5_);
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp7_ = _tmp6_;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_tmp5_);
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_removed_it = _tmp7_;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 5862 "aggregation.c"
			GeeIterator* _tmp8_;
			gboolean _tmp9_ = FALSE;
			GeeIterator* _tmp10_;
			gpointer _tmp11_ = NULL;
			FolksIndividual* removed;
			FolksIndividual* _tmp12_;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp8_ = _removed_it;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_next (_tmp8_);
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp9_) {
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 5877 "aggregation.c"
			}
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = _removed_it;
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = gee_iterator_get (_tmp10_);
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			removed = (FolksIndividual*) _tmp11_;
#line 1035 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = removed;
#line 1035 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp12_ == NULL, "removed == null");
#line 5889 "aggregation.c"
			{
				GeeMultiMap* _tmp13_;
				FolksIndividual* _tmp14_;
				GeeCollection* _tmp15_ = NULL;
				GeeCollection* _tmp16_;
				GeeIterator* _tmp17_ = NULL;
				GeeIterator* _tmp18_;
				GeeIterator* _i_it;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp13_ = changes;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp14_ = removed;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp15_ = gee_multi_map_get (_tmp13_, _tmp14_);
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp16_ = _tmp15_;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp17_ = gee_iterable_iterator ((GeeIterable*) _tmp16_);
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp18_ = _tmp17_;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_tmp16_);
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_i_it = _tmp18_;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 5916 "aggregation.c"
					GeeIterator* _tmp19_;
					gboolean _tmp20_ = FALSE;
					GeeIterator* _tmp21_;
					gpointer _tmp22_ = NULL;
					FolksIndividual* i;
					FolksIndividual* _tmp23_;
					FolksIndividual* _tmp24_;
					FolksIndividual* _tmp25_;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp19_ = _i_it;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp20_ = gee_iterator_next (_tmp19_);
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (!_tmp20_) {
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						break;
#line 5933 "aggregation.c"
					}
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp21_ = _i_it;
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp22_ = gee_iterator_get (_tmp21_);
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					i = (FolksIndividual*) _tmp22_;
#line 1039 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp23_ = i;
#line 1039 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_vala_assert (_tmp23_ != NULL, "i != null");
#line 1040 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_vala_assert (_data7_->individual == NULL, "individual == null");
#line 1042 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp24_ = i;
#line 1042 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp25_ = _g_object_ref0 (_tmp24_);
#line 1042 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (_data7_->individual);
#line 1042 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_data7_->individual = _tmp25_;
#line 1043 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					g_main_loop_quit (_data7_->main_loop);
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (i);
#line 5959 "aggregation.c"
				}
#line 1037 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 5963 "aggregation.c"
			}
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (removed);
#line 5967 "aggregation.c"
		}
#line 1033 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_removed_it);
#line 5971 "aggregation.c"
	}
}


static void ___lambda33__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 1029 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda33_ (self, changes);
#line 5979 "aggregation.c"
}


static gboolean __lambda34_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1049 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1051 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data7_->main_loop);
#line 1052 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1052 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 5994 "aggregation.c"
}


static gboolean ___lambda34__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda34_ (self);
#line 1049 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6003 "aggregation.c"
}


static void __lambda36_ (Block7Data* _data7_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1057 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1057 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 6014 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 1061 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data7_->aggregator;
#line 1061 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 1061 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1061 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 6026 "aggregation.c"
			goto __catch6_g_error;
		}
	}
	goto __finally6;
	__catch6_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 1059 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1059 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1065 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 1065 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1065: Failed to prepare aggregator: %s", _tmp2_);
#line 1067 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1059 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 6047 "aggregation.c"
	}
	__finally6:
#line 1059 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1059 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1059 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1059 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 6058 "aggregation.c"
	}
}


static void ___lambda36__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1057 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda36_ (self, source_object, res);
#line 1057 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block7_data_unref (self);
#line 6068 "aggregation.c"
}


static gboolean __lambda35_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1055 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1057 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data7_->aggregator;
#line 1057 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda36__gasync_ready_callback, block7_data_ref (_data7_));
#line 1071 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1071 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6086 "aggregation.c"
}


static gboolean ___lambda35__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda35_ (self);
#line 1055 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6095 "aggregation.c"
}


static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle) {
	int i;
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	for (i = 0; i < stack_length; i++) {
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			return TRUE;
#line 6107 "aggregation.c"
		}
	}
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return FALSE;
#line 6112 "aggregation.c"
}


static gboolean __lambda37_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1093 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1095 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data7_->main_loop);
#line 1096 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1096 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6127 "aggregation.c"
}


static gboolean ___lambda37__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda37_ (self);
#line 1093 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6136 "aggregation.c"
}


static void __lambda39_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1102 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1102 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (res != NULL);
#line 6147 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
		FolksPersona* _tmp2_ = NULL;
		FolksPersona* _tmp3_;
#line 1107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data7_->aggregator;
#line 1107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = res;
#line 1107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = folks_individual_aggregator_ensure_individual_property_writeable_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp3_ = _tmp2_;
#line 1107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 6163 "aggregation.c"
			goto __catch7_g_error;
		}
#line 1106 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->writeable_persona);
#line 1106 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_data7_->writeable_persona = _tmp3_;
#line 1109 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_main_loop_quit (_data7_->main_loop);
#line 6172 "aggregation.c"
	}
	goto __finally7;
	__catch7_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp4_;
#line 1104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp4_ = e1->message;
#line 1113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1113: Failed to ensure property writeable: %s", _tmp4_);
#line 1115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 6191 "aggregation.c"
	}
	__finally7:
#line 1104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 6202 "aggregation.c"
	}
}


static void ___lambda39__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda39_ (self, source_object, res);
#line 1101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block7_data_unref (self);
#line 6212 "aggregation.c"
}


static gboolean __lambda38_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1099 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data7_->aggregator;
#line 1101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_ensure_individual_property_writeable (_tmp0_, _data7_->individual, "alias", ___lambda39__gasync_ready_callback, block7_data_ref (_data7_));
#line 1119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6230 "aggregation.c"
}


static gboolean ___lambda38__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda38_ (self);
#line 1099 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6239 "aggregation.c"
}


void aggregation_tests_test_ensure_individual_property_writeable_trivial (AggregationTests* self) {
	Block7Data* _data7_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	FolksIndividualAggregator* _tmp2_;
	FolksIndividualAggregator* _tmp3_;
	gint _tmp4_;
	FolksPersona* persona;
	FolksPersona* _tmp12_;
	FolksPersona* _tmp13_;
	gchar** _tmp14_;
	gint _tmp14__length1;
	gchar** _tmp15_;
	gint _tmp15__length1;
	gint _tmp16_;
	FolksPersona* _tmp17_;
	KfTestBackend* _tmp18_;
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_ = g_slice_new0 (Block7Data);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_->_ref_count_ = 1;
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_->self = g_object_ref (self);
#line 1020 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 1020 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_->main_loop = _tmp0_;
#line 1022 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 1022 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "protocol=travis@example.com\n");
#line 1025 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_->individual = NULL;
#line 1028 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = folks_individual_aggregator_new ();
#line 1028 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_->aggregator = _tmp2_;
#line 1029 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = _data7_->aggregator;
#line 1029 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp3_, "individuals-changed-detailed", (GCallback) ___lambda33__folks_individual_aggregator_individuals_changed_detailed, block7_data_ref (_data7_), (GClosureNotify) block7_data_unref, 0);
#line 1049 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_test_timeout;
#line 1049 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp4_, ___lambda34__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1055 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda35__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1074 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data7_->main_loop);
#line 1077 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_data7_->individual != NULL, "individual != null");
#line 1079 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 6298 "aggregation.c"
	{
		GeeSet* _tmp5_;
		GeeSet* _tmp6_;
		GeeIterator* _tmp7_ = NULL;
		GeeIterator* _p_it;
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp5_ = folks_individual_get_personas (_data7_->individual);
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp6_ = _tmp5_;
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp7_ = gee_iterable_iterator ((GeeIterable*) _tmp6_);
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp7_;
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6314 "aggregation.c"
			gboolean _tmp8_ = FALSE;
			gpointer _tmp9_ = NULL;
			FolksPersona* p;
			FolksPersona* _tmp10_;
			FolksPersona* _tmp11_;
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp8_ = gee_iterator_next (_p_it);
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp8_) {
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 6326 "aggregation.c"
			}
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_p_it);
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp9_;
#line 1082 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = p;
#line 1082 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = _g_object_ref0 (_tmp10_);
#line 1082 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 1082 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			persona = _tmp11_;
#line 1083 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 1083 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			break;
#line 6344 "aggregation.c"
		}
#line 1080 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 6348 "aggregation.c"
	}
#line 1087 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = persona;
#line 1087 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp12_ != NULL, "persona != null");
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = persona;
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp14_ = folks_persona_get_writeable_properties (_tmp13_, &_tmp14__length1);
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15_ = _tmp14_;
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15__length1 = _tmp14__length1;
#line 1088 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_vala_string_array_contains (_tmp15_, _tmp15__length1, "alias"), "\"alias\" in persona.writeable_properties");
#line 1090 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_->writeable_persona = NULL;
#line 1093 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp16_ = self->priv->_test_timeout;
#line 1093 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp16_, ___lambda37__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1099 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda38__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data7_->main_loop);
#line 1124 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_data7_->writeable_persona != NULL, "writeable_persona != null");
#line 1125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp17_ = persona;
#line 1125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_data7_->writeable_persona == _tmp17_, "writeable_persona == persona");
#line 1128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp18_ = self->priv->_kf_backend;
#line 1128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp18_);
#line 1129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data7_->aggregator);
#line 1129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_->aggregator = NULL;
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block7_data_unref (_data7_);
#line 1018 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data7_ = NULL;
#line 6394 "aggregation.c"
}


static Block8Data* block8_data_ref (Block8Data* _data8_) {
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data8_->_ref_count_);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data8_;
#line 6403 "aggregation.c"
}


static void block8_data_unref (void * _userdata_) {
	Block8Data* _data8_;
	_data8_ = (Block8Data*) _userdata_;
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
#line 6412 "aggregation.c"
		AggregationTests * self;
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data8_->self;
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->writeable_persona);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->aggregator);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->individual);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data8_->main_loop);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block8Data, _data8_);
#line 6428 "aggregation.c"
	}
}


static void __lambda40_ (Block8Data* _data8_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	GeeSet* _tmp17_;
	gint _tmp18_;
	gint _tmp19_;
#line 1155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 1157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	added = _tmp1_;
#line 1158 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 1158 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 1158 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	removed = _tmp3_;
#line 6460 "aggregation.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp4_ = added;
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp5_;
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6473 "aggregation.c"
			GeeIterator* _tmp6_;
			gboolean _tmp7_ = FALSE;
			GeeIterator* _tmp8_;
			gpointer _tmp9_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp10_;
			FolksIndividual* _tmp11_;
			const gchar* _tmp12_;
			const gchar* _tmp13_;
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp6_ = _i_it;
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp7_) {
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 6491 "aggregation.c"
			}
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp8_ = _i_it;
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp9_;
#line 1162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 1162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp10_ != NULL, "i != null");
#line 1165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = i;
#line 1165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = folks_individual_get_id (_tmp11_);
#line 1165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp13_ = _tmp12_;
#line 1165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (g_strcmp0 (_tmp13_, "0e46c5e74f61908f49550d241f2a1651892a1695") == 0) {
#line 6511 "aggregation.c"
				FolksIndividual* _tmp14_;
				FolksIndividual* _tmp15_;
				FolksIndividual* _tmp16_;
#line 1167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp14_ = _data8_->individual;
#line 1167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_vala_assert (_tmp14_ == NULL, "individual == null");
#line 1168 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 1168 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp16_ = _g_object_ref0 (_tmp15_);
#line 1168 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_data8_->individual);
#line 1168 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_data8_->individual = _tmp16_;
#line 1169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 1169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (removed);
#line 1169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (added);
#line 1169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				return;
#line 6537 "aggregation.c"
			}
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 6541 "aggregation.c"
		}
#line 1160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 6545 "aggregation.c"
	}
#line 1173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp17_ = removed;
#line 1173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp18_ = gee_collection_get_size ((GeeCollection*) _tmp17_);
#line 1173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp19_ = _tmp18_;
#line 1173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp19_ == 1, "removed.size == 1");
#line 6555 "aggregation.c"
	{
		GeeSet* _tmp20_;
		GeeIterator* _tmp21_ = NULL;
		GeeIterator* _i_it;
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp20_ = removed;
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp21_ = gee_iterable_iterator ((GeeIterable*) _tmp20_);
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp21_;
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6568 "aggregation.c"
			GeeIterator* _tmp22_;
			gboolean _tmp23_ = FALSE;
			GeeIterator* _tmp24_;
			gpointer _tmp25_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp26_;
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp22_ = _i_it;
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp23_ = gee_iterator_next (_tmp22_);
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp23_) {
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 6583 "aggregation.c"
			}
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp24_ = _i_it;
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp25_ = gee_iterator_get (_tmp24_);
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp25_;
#line 1177 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp26_ = i;
#line 1177 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp26_ == NULL, "i == null");
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 6597 "aggregation.c"
		}
#line 1175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 6601 "aggregation.c"
	}
#line 1155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 1155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 6607 "aggregation.c"
}


static void ___lambda40__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 1154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda40_ (self, changes);
#line 6614 "aggregation.c"
}


static gboolean __lambda41_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data8_->main_loop);
#line 1185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6629 "aggregation.c"
}


static gboolean ___lambda41__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda41_ (self);
#line 1182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6638 "aggregation.c"
}


static void __lambda43_ (Block8Data* _data8_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 6649 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 1194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data8_->aggregator;
#line 1194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 1194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 6661 "aggregation.c"
			goto __catch8_g_error;
		}
	}
	goto __finally8;
	__catch8_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 1192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1198 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 1198 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1198: Failed to prepare aggregator: %s", _tmp2_);
#line 1200 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 6682 "aggregation.c"
	}
	__finally8:
#line 1192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 6693 "aggregation.c"
	}
}


static void ___lambda43__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda43_ (self, source_object, res);
#line 1190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block8_data_unref (self);
#line 6703 "aggregation.c"
}


static gboolean __lambda42_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data8_->aggregator;
#line 1190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda43__gasync_ready_callback, block8_data_ref (_data8_));
#line 1204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6721 "aggregation.c"
}


static gboolean ___lambda42__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda42_ (self);
#line 1188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 6730 "aggregation.c"
}


static void __lambda44_ (Block8Data* _data8_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
#line 1228 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1228 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 1230 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	added = _tmp1_;
#line 1231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 1231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 1231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	removed = _tmp3_;
#line 6758 "aggregation.c"
	{
		GeeSet* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp4_ = removed;
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp5_;
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6771 "aggregation.c"
			GeeIterator* _tmp6_;
			gboolean _tmp7_ = FALSE;
			GeeIterator* _tmp8_;
			gpointer _tmp9_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp10_;
			FolksIndividual* _tmp11_;
			FolksIndividual* _tmp12_;
			FolksIndividual* _tmp13_;
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp6_ = _i_it;
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp7_) {
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 6789 "aggregation.c"
			}
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp8_ = _i_it;
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp9_;
#line 1235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 1235 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 1237 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1237 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 6805 "aggregation.c"
			}
#line 1240 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = _data8_->individual;
#line 1240 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp11_ != NULL, "individual != null");
#line 1241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = i;
#line 1241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp13_ = _data8_->individual;
#line 1241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp12_ == _tmp13_, "i == individual");
#line 1242 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (_data8_->individual);
#line 1242 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_data8_->individual = NULL;
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 6823 "aggregation.c"
		}
#line 1233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 6827 "aggregation.c"
	}
	{
		GeeCollection* _tmp14_;
		GeeIterator* _tmp15_ = NULL;
		GeeIterator* _i_it;
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp14_ = added;
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp15_ = gee_iterable_iterator ((GeeIterable*) _tmp14_);
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_i_it = _tmp15_;
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6841 "aggregation.c"
			GeeIterator* _tmp16_;
			gboolean _tmp17_ = FALSE;
			GeeIterator* _tmp18_;
			gpointer _tmp19_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp20_;
			gboolean got_tpf;
			gboolean got_kf;
			gboolean _tmp37_ = FALSE;
			gboolean _tmp38_;
			gboolean _tmp40_;
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp16_ = _i_it;
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp17_ = gee_iterator_next (_tmp16_);
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp17_) {
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 6861 "aggregation.c"
			}
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp18_ = _i_it;
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp19_ = gee_iterator_get (_tmp18_);
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp19_;
#line 1247 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp20_ = i;
#line 1247 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp20_ == NULL) {
#line 1249 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1249 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				continue;
#line 6877 "aggregation.c"
			}
#line 1252 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			got_tpf = FALSE;
#line 1253 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			got_kf = FALSE;
#line 6883 "aggregation.c"
			{
				FolksIndividual* _tmp21_;
				GeeSet* _tmp22_;
				GeeSet* _tmp23_;
				GeeIterator* _tmp24_ = NULL;
				GeeIterator* _p_it;
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp21_ = i;
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp22_ = folks_individual_get_personas (_tmp21_);
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp23_ = _tmp22_;
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp24_ = gee_iterable_iterator ((GeeIterable*) _tmp23_);
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_p_it = _tmp24_;
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 6902 "aggregation.c"
					GeeIterator* _tmp25_;
					gboolean _tmp26_ = FALSE;
					GeeIterator* _tmp27_;
					gpointer _tmp28_ = NULL;
					FolksPersona* p;
					FolksPersona* _tmp29_;
					const gchar* _tmp30_;
					const gchar* _tmp31_;
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp25_ = _p_it;
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp26_ = gee_iterator_next (_tmp25_);
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (!_tmp26_) {
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						break;
#line 6919 "aggregation.c"
					}
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp27_ = _p_it;
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp28_ = gee_iterator_get (_tmp27_);
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					p = (FolksPersona*) _tmp28_;
#line 1260 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp29_ = p;
#line 1260 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp30_ = folks_persona_get_uid (_tmp29_);
#line 1260 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp31_ = _tmp30_;
#line 1260 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (g_strcmp0 (_tmp31_, "telepathy:/org/freedesktop/Telepathy/Account/cm/protocol/account:olivi" \
"er@example.com") == 0) {
#line 1262 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						got_tpf = TRUE;
#line 6937 "aggregation.c"
					} else {
						FolksPersona* _tmp32_;
						FolksPersonaStore* _tmp33_;
						FolksPersonaStore* _tmp34_;
						const gchar* _tmp35_;
						const gchar* _tmp36_;
#line 1264 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp32_ = p;
#line 1264 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp33_ = folks_persona_get_store (_tmp32_);
#line 1264 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp34_ = _tmp33_;
#line 1264 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp35_ = folks_persona_store_get_type_id (_tmp34_);
#line 1264 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						_tmp36_ = _tmp35_;
#line 1264 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						if (g_strcmp0 (_tmp36_, "key-file") == 0) {
#line 1266 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
							got_kf = TRUE;
#line 6958 "aggregation.c"
						}
					}
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (p);
#line 6963 "aggregation.c"
				}
#line 1258 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_p_it);
#line 6967 "aggregation.c"
			}
#line 1270 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp38_ = got_tpf;
#line 1270 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp38_ == TRUE) {
#line 6973 "aggregation.c"
				gboolean _tmp39_;
#line 1270 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp39_ = got_kf;
#line 1270 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp37_ = _tmp39_ == TRUE;
#line 6979 "aggregation.c"
			} else {
#line 1270 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp37_ = FALSE;
#line 6983 "aggregation.c"
			}
#line 1270 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp40_ = _tmp37_;
#line 1270 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (_tmp40_) {
#line 6989 "aggregation.c"
				FolksIndividual* _tmp41_;
				FolksIndividual* _tmp42_;
#line 1272 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp41_ = i;
#line 1272 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp42_ = _g_object_ref0 (_tmp41_);
#line 1272 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_data8_->individual);
#line 1272 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_data8_->individual = _tmp42_;
#line 1273 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1273 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 1273 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (removed);
#line 1273 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (added);
#line 1273 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				return;
#line 7010 "aggregation.c"
			}
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 7014 "aggregation.c"
		}
#line 1245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 7018 "aggregation.c"
	}
#line 1228 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 1228 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 7024 "aggregation.c"
}


static void ___lambda44__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 1228 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda44_ (self, changes);
#line 7031 "aggregation.c"
}


static gboolean __lambda45_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1281 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data8_->main_loop);
#line 1282 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1282 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7046 "aggregation.c"
}


static gboolean ___lambda45__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda45_ (self);
#line 1279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7055 "aggregation.c"
}


static void __lambda47_ (Block8Data* _data8_, GObject* obj, GAsyncResult* res) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1288 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1288 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (res != NULL);
#line 7066 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
		FolksPersona* _tmp2_ = NULL;
		FolksPersona* _tmp3_;
#line 1293 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data8_->aggregator;
#line 1293 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = res;
#line 1293 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = folks_individual_aggregator_ensure_individual_property_writeable_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1293 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp3_ = _tmp2_;
#line 1293 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 7082 "aggregation.c"
			goto __catch9_g_error;
		}
#line 1292 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->writeable_persona);
#line 1292 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_data8_->writeable_persona = _tmp3_;
#line 1295 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_main_loop_quit (_data8_->main_loop);
#line 7091 "aggregation.c"
	}
	goto __finally9;
	__catch9_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp4_;
#line 1290 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1290 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1299 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp4_ = e1->message;
#line 1299 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1299: Failed to ensure property writeable: %s", _tmp4_);
#line 1301 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1290 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 7110 "aggregation.c"
	}
	__finally9:
#line 1290 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1290 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1290 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1290 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 7121 "aggregation.c"
	}
}


static void ___lambda47__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda47_ (self, source_object, res);
#line 1287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block8_data_unref (self);
#line 7131 "aggregation.c"
}


static gboolean __lambda46_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
	FolksIndividual* _tmp1_;
#line 1285 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data8_->aggregator;
#line 1287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = _data8_->individual;
#line 1287 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_ensure_individual_property_writeable (_tmp0_, _tmp1_, "im-addresses", ___lambda47__gasync_ready_callback, block8_data_ref (_data8_));
#line 1305 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1305 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7152 "aggregation.c"
}


static gboolean ___lambda46__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda46_ (self);
#line 1285 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7161 "aggregation.c"
}


void aggregation_tests_test_ensure_individual_property_writeable_add_persona (AggregationTests* self) {
	Block8Data* _data8_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestsBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account_handle;
	FolksIndividualAggregator* _tmp4_;
	FolksIndividualAggregator* _tmp5_;
	gulong _tmp6_ = 0UL;
	gulong individuals_changed_id;
	gint _tmp7_;
	guint _tmp8_ = 0U;
	guint timeout_id;
	FolksIndividual* _tmp9_;
	FolksPersona* persona;
	FolksPersona* _tmp18_;
	FolksPersona* _tmp19_;
	gchar** _tmp20_;
	gint _tmp20__length1;
	gchar** _tmp21_;
	gint _tmp21__length1;
	FolksIndividualAggregator* _tmp22_;
	FolksIndividualAggregator* _tmp23_;
	gint _tmp24_;
	FolksPersona* _tmp25_;
	FolksPersona* _tmp26_;
	FolksPersona* _tmp27_;
	TpTestsBackend* _tmp28_;
	KfTestBackend* _tmp29_;
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_ = g_slice_new0 (Block8Data);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->_ref_count_ = 1;
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->self = g_object_ref (self);
#line 1144 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 1144 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->main_loop = _tmp0_;
#line 1146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 1146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 1147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 1147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_tests_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 1147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	account_handle = _tmp3_;
#line 1150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->individual = NULL;
#line 1153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = folks_individual_aggregator_new ();
#line 1153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->aggregator = _tmp4_;
#line 1154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp5_ = _data8_->aggregator;
#line 1154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp6_ = g_signal_connect_data (_tmp5_, "individuals-changed-detailed", (GCallback) ___lambda40__folks_individual_aggregator_individuals_changed_detailed, block8_data_ref (_data8_), (GClosureNotify) block8_data_unref, 0);
#line 1154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	individuals_changed_id = _tmp6_;
#line 1182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_test_timeout;
#line 1182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp8_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp7_, ___lambda41__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	timeout_id = _tmp8_;
#line 1188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda42__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1207 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data8_->main_loop);
#line 1210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data8_->individual;
#line 1210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp9_ != NULL, "individual != null");
#line 1212 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 7245 "aggregation.c"
	{
		FolksIndividual* _tmp10_;
		GeeSet* _tmp11_;
		GeeSet* _tmp12_;
		GeeIterator* _tmp13_ = NULL;
		GeeIterator* _p_it;
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp10_ = _data8_->individual;
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp11_ = folks_individual_get_personas (_tmp10_);
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp12_ = _tmp11_;
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp13_ = gee_iterable_iterator ((GeeIterable*) _tmp12_);
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp13_;
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 7264 "aggregation.c"
			gboolean _tmp14_ = FALSE;
			gpointer _tmp15_ = NULL;
			FolksPersona* p;
			FolksPersona* _tmp16_;
			FolksPersona* _tmp17_;
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp14_ = gee_iterator_next (_p_it);
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp14_) {
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 7276 "aggregation.c"
			}
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp15_ = gee_iterator_get (_p_it);
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp15_;
#line 1215 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp16_ = p;
#line 1215 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp17_ = _g_object_ref0 (_tmp16_);
#line 1215 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 1215 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			persona = _tmp17_;
#line 1216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 1216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			break;
#line 7294 "aggregation.c"
		}
#line 1213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 7298 "aggregation.c"
	}
#line 1220 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp18_ = persona;
#line 1220 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp18_ != NULL, "persona != null");
#line 1221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp19_ = persona;
#line 1221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp20_ = folks_persona_get_writeable_properties (_tmp19_, &_tmp20__length1);
#line 1221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp21_ = _tmp20_;
#line 1221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp21__length1 = _tmp20__length1;
#line 1221 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (!_vala_string_array_contains (_tmp21_, _tmp21__length1, "im-addresses"), "!(\"im-addresses\" in persona.writeable_properties)");
#line 1223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->writeable_persona = NULL;
#line 1226 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp22_ = _data8_->aggregator;
#line 1226 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_handler_disconnect ((GObject*) _tmp22_, individuals_changed_id);
#line 1227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_source_remove (timeout_id);
#line 1228 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp23_ = _data8_->aggregator;
#line 1228 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp23_, "individuals-changed-detailed", (GCallback) ___lambda44__folks_individual_aggregator_individuals_changed_detailed, block8_data_ref (_data8_), (GClosureNotify) block8_data_unref, 0);
#line 1279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp24_ = self->priv->_test_timeout;
#line 1279 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp24_, ___lambda45__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1285 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda46__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1308 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data8_->main_loop);
#line 1310 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp25_ = _data8_->writeable_persona;
#line 1310 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp25_ != NULL, "writeable_persona != null");
#line 1311 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp26_ = _data8_->writeable_persona;
#line 1311 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp27_ = persona;
#line 1311 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp26_ != _tmp27_, "writeable_persona != persona");
#line 1314 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp28_ = self->priv->_tp_backend;
#line 1314 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	tp_tests_backend_remove_account (_tmp28_, account_handle);
#line 1315 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp29_ = self->priv->_kf_backend;
#line 1315 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp29_);
#line 1316 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data8_->individual);
#line 1316 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->individual = NULL;
#line 1317 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 1317 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 1318 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data8_->writeable_persona);
#line 1318 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->writeable_persona = NULL;
#line 1319 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data8_->aggregator);
#line 1319 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_->aggregator = NULL;
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block8_data_unref (_data8_);
#line 1142 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data8_ = NULL;
#line 7374 "aggregation.c"
}


static Block9Data* block9_data_ref (Block9Data* _data9_) {
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data9_->_ref_count_);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _data9_;
#line 7383 "aggregation.c"
}


static void block9_data_unref (void * _userdata_) {
	Block9Data* _data9_;
	_data9_ = (Block9Data*) _userdata_;
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
#line 7392 "aggregation.c"
		AggregationTests * self;
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		self = _data9_->self;
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->writeable_persona);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->aggregator);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->individual);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data9_->main_loop);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (self);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_slice_free (Block9Data, _data9_);
#line 7408 "aggregation.c"
	}
}


static void __lambda48_ (Block9Data* _data9_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
#line 1342 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1342 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1344 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1344 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_size (_tmp0_);
#line 1344 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = _tmp1_;
#line 1344 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp2_ == 1, "changes.size == 1");
#line 7430 "aggregation.c"
	{
		GeeMultiMap* _tmp3_;
		GeeSet* _tmp4_ = NULL;
		GeeSet* _tmp5_;
		GeeIterator* _tmp6_ = NULL;
		GeeIterator* _tmp7_;
		GeeIterator* _removed_it;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp3_ = changes;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp4_ = gee_multi_map_get_keys (_tmp3_);
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp5_ = _tmp4_;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp6_ = gee_iterable_iterator ((GeeIterable*) _tmp5_);
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp7_ = _tmp6_;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_tmp5_);
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_removed_it = _tmp7_;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 7454 "aggregation.c"
			GeeIterator* _tmp8_;
			gboolean _tmp9_ = FALSE;
			GeeIterator* _tmp10_;
			gpointer _tmp11_ = NULL;
			FolksIndividual* removed;
			FolksIndividual* _tmp12_;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp8_ = _removed_it;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_next (_tmp8_);
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp9_) {
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 7469 "aggregation.c"
			}
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = _removed_it;
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = gee_iterator_get (_tmp10_);
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			removed = (FolksIndividual*) _tmp11_;
#line 1348 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp12_ = removed;
#line 1348 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_vala_assert (_tmp12_ == NULL, "removed == null");
#line 7481 "aggregation.c"
			{
				GeeMultiMap* _tmp13_;
				FolksIndividual* _tmp14_;
				GeeCollection* _tmp15_ = NULL;
				GeeCollection* _tmp16_;
				GeeIterator* _tmp17_ = NULL;
				GeeIterator* _tmp18_;
				GeeIterator* _i_it;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp13_ = changes;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp14_ = removed;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp15_ = gee_multi_map_get (_tmp13_, _tmp14_);
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp16_ = _tmp15_;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp17_ = gee_iterable_iterator ((GeeIterable*) _tmp16_);
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_tmp18_ = _tmp17_;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_tmp16_);
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_i_it = _tmp18_;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 7508 "aggregation.c"
					GeeIterator* _tmp19_;
					gboolean _tmp20_ = FALSE;
					GeeIterator* _tmp21_;
					gpointer _tmp22_ = NULL;
					FolksIndividual* i;
					FolksIndividual* _tmp23_;
					FolksIndividual* _tmp24_;
					FolksIndividual* _tmp25_;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp19_ = _i_it;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp20_ = gee_iterator_next (_tmp19_);
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					if (!_tmp20_) {
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
						break;
#line 7525 "aggregation.c"
					}
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp21_ = _i_it;
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp22_ = gee_iterator_get (_tmp21_);
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					i = (FolksIndividual*) _tmp22_;
#line 1352 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp23_ = i;
#line 1352 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_vala_assert (_tmp23_ != NULL, "i != null");
#line 1353 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_vala_assert (_data9_->individual == NULL, "individual == null");
#line 1355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp24_ = i;
#line 1355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_tmp25_ = _g_object_ref0 (_tmp24_);
#line 1355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (_data9_->individual);
#line 1355 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_data9_->individual = _tmp25_;
#line 1356 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					g_main_loop_quit (_data9_->main_loop);
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (i);
#line 7551 "aggregation.c"
				}
#line 1350 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 7555 "aggregation.c"
			}
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (removed);
#line 7559 "aggregation.c"
		}
#line 1346 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_removed_it);
#line 7563 "aggregation.c"
	}
}


static void ___lambda48__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 1342 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda48_ (self, changes);
#line 7571 "aggregation.c"
}


static gboolean __lambda49_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1362 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1364 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data9_->main_loop);
#line 1365 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1365 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7586 "aggregation.c"
}


static gboolean ___lambda49__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda49_ (self);
#line 1362 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7595 "aggregation.c"
}


static void __lambda51_ (Block9Data* _data9_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1370 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1370 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 7606 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 1374 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data9_->aggregator;
#line 1374 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 1374 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1374 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 7618 "aggregation.c"
			goto __catch10_g_error;
		}
	}
	goto __finally10;
	__catch10_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 1372 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1372 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 1378 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1378: Failed to prepare aggregator: %s", _tmp2_);
#line 1380 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1372 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 7639 "aggregation.c"
	}
	__finally10:
#line 1372 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1372 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1372 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1372 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 7650 "aggregation.c"
	}
}


static void ___lambda51__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1370 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda51_ (self, source_object, res);
#line 1370 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block9_data_unref (self);
#line 7660 "aggregation.c"
}


static gboolean __lambda50_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1368 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1370 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data9_->aggregator;
#line 1370 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda51__gasync_ready_callback, block9_data_ref (_data9_));
#line 1384 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1384 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7678 "aggregation.c"
}


static gboolean ___lambda50__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda50_ (self);
#line 1368 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7687 "aggregation.c"
}


static gboolean __lambda52_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1408 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data9_->main_loop);
#line 1409 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1409 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7702 "aggregation.c"
}


static gboolean ___lambda52__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda52_ (self);
#line 1406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7711 "aggregation.c"
}


static void __lambda54_ (Block9Data* _data9_, GObject* obj, GAsyncResult* res) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1415 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1415 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (res != NULL);
#line 7722 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
		FolksPersona* _tmp2_ = NULL;
		FolksPersona* _tmp3_;
#line 1420 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data9_->aggregator;
#line 1420 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp1_ = res;
#line 1420 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp2_ = folks_individual_aggregator_ensure_individual_property_writeable_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1420 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp3_ = _tmp2_;
#line 1420 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 7738 "aggregation.c"
			goto __catch11_g_error;
		}
#line 1419 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->writeable_persona);
#line 1419 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_data9_->writeable_persona = _tmp3_;
#line 1421 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 7747 "aggregation.c"
	}
	goto __finally11;
	__catch11_g_error:
	{
		GError* e1 = NULL;
#line 1417 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1417 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1426 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		if (!g_error_matches (e1, FOLKS_INDIVIDUAL_AGGREGATOR_ERROR, FOLKS_INDIVIDUAL_AGGREGATOR_ERROR_PROPERTY_NOT_WRITEABLE)) {
#line 7759 "aggregation.c"
			const gchar* _tmp4_;
#line 1428 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp4_ = e1->message;
#line 1428 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			g_critical ("aggregation.vala:1428: Wrong error received: %s", _tmp4_);
#line 1429 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			g_assert_not_reached ();
#line 7767 "aggregation.c"
		}
#line 1432 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_main_loop_quit (_data9_->main_loop);
#line 1417 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 7773 "aggregation.c"
	}
	__finally11:
#line 1417 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1417 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1417 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1417 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		return;
#line 7784 "aggregation.c"
	}
}


static void ___lambda54__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1414 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	__lambda54_ (self, source_object, res);
#line 1414 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block9_data_unref (self);
#line 7794 "aggregation.c"
}


static gboolean __lambda53_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1412 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1414 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data9_->aggregator;
#line 1414 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_ensure_individual_property_writeable (_tmp0_, _data9_->individual, "is-favourite", ___lambda54__gasync_ready_callback, block9_data_ref (_data9_));
#line 1436 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1436 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7812 "aggregation.c"
}


static gboolean ___lambda53__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda53_ (self);
#line 1412 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 7821 "aggregation.c"
}


void aggregation_tests_test_ensure_individual_property_writeable_failure (AggregationTests* self) {
	Block9Data* _data9_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	FolksIndividualAggregator* _tmp2_;
	FolksIndividualAggregator* _tmp3_;
	gint _tmp4_;
	FolksPersona* persona;
	FolksPersona* _tmp12_;
	FolksPersona* _tmp13_;
	gchar** _tmp14_;
	gint _tmp14__length1;
	gchar** _tmp15_;
	gint _tmp15__length1;
	gint _tmp16_;
	KfTestBackend* _tmp17_;
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_ = g_slice_new0 (Block9Data);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_->_ref_count_ = 1;
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_->self = g_object_ref (self);
#line 1333 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 1333 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_->main_loop = _tmp0_;
#line 1335 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 1335 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "protocol=travis@example.com\n");
#line 1338 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_->individual = NULL;
#line 1341 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = folks_individual_aggregator_new ();
#line 1341 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_->aggregator = _tmp2_;
#line 1342 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = _data9_->aggregator;
#line 1342 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp3_, "individuals-changed-detailed", (GCallback) ___lambda48__folks_individual_aggregator_individuals_changed_detailed, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
#line 1362 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_test_timeout;
#line 1362 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp4_, ___lambda49__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1368 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda50__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1387 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data9_->main_loop);
#line 1390 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_data9_->individual != NULL, "individual != null");
#line 1392 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 7879 "aggregation.c"
	{
		GeeSet* _tmp5_;
		GeeSet* _tmp6_;
		GeeIterator* _tmp7_ = NULL;
		GeeIterator* _p_it;
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp5_ = folks_individual_get_personas (_data9_->individual);
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp6_ = _tmp5_;
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_tmp7_ = gee_iterable_iterator ((GeeIterable*) _tmp6_);
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_p_it = _tmp7_;
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 7895 "aggregation.c"
			gboolean _tmp8_ = FALSE;
			gpointer _tmp9_ = NULL;
			FolksPersona* p;
			FolksPersona* _tmp10_;
			FolksPersona* _tmp11_;
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp8_ = gee_iterator_next (_p_it);
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			if (!_tmp8_) {
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
				break;
#line 7907 "aggregation.c"
			}
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_p_it);
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp9_;
#line 1395 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp10_ = p;
#line 1395 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_tmp11_ = _g_object_ref0 (_tmp10_);
#line 1395 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 1395 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			persona = _tmp11_;
#line 1396 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 1396 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
			break;
#line 7925 "aggregation.c"
		}
#line 1393 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 7929 "aggregation.c"
	}
#line 1400 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp12_ = persona;
#line 1400 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_tmp12_ != NULL, "persona != null");
#line 1401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp13_ = persona;
#line 1401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp14_ = folks_persona_get_writeable_properties (_tmp13_, &_tmp14__length1);
#line 1401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15_ = _tmp14_;
#line 1401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp15__length1 = _tmp14__length1;
#line 1401 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (!_vala_string_array_contains (_tmp15_, _tmp15__length1, "is-favourite"), "!(\"is-favourite\" in persona.writeable_properties)");
#line 1403 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_->writeable_persona = NULL;
#line 1406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp16_ = self->priv->_test_timeout;
#line 1406 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp16_, ___lambda52__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1412 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda53__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1439 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data9_->main_loop);
#line 1441 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_vala_assert (_data9_->writeable_persona == NULL, "writeable_persona == null");
#line 1444 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp17_ = self->priv->_kf_backend;
#line 1444 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp17_);
#line 1445 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data9_->aggregator);
#line 1445 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_->aggregator = NULL;
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	block9_data_unref (_data9_);
#line 1331 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_data9_ = NULL;
#line 7971 "aggregation.c"
}


static void aggregation_tests_class_init (AggregationTestsClass * klass) {
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	aggregation_tests_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_type_class_add_private (klass, sizeof (AggregationTestsPrivate));
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = aggregation_tests_real_set_up;
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = aggregation_tests_real_tear_down;
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	G_OBJECT_CLASS (klass)->finalize = aggregation_tests_finalize;
#line 7986 "aggregation.c"
}


static void aggregation_tests_instance_init (AggregationTests * self) {
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self->priv = AGGREGATION_TESTS_GET_PRIVATE (self);
#line 29 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self->priv->_test_timeout = 3;
#line 7995 "aggregation.c"
}


static void aggregation_tests_finalize (GObject* obj) {
	AggregationTests * self;
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_AGGREGATION_TESTS, AggregationTests);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_kf_test_backend_unref0 (self->priv->_kf_backend);
#line 27 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_tp_backend);
#line 28 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_default_personas);
#line 24 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	G_OBJECT_CLASS (aggregation_tests_parent_class)->finalize (obj);
#line 8011 "aggregation.c"
}


GType aggregation_tests_get_type (void) {
	static volatile gsize aggregation_tests_type_id__volatile = 0;
	if (g_once_init_enter (&aggregation_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AggregationTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) aggregation_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AggregationTests), 0, (GInstanceInitFunc) aggregation_tests_instance_init, NULL };
		GType aggregation_tests_type_id;
		aggregation_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "AggregationTests", &g_define_type_info, 0);
		g_once_init_leave (&aggregation_tests_type_id__volatile, aggregation_tests_type_id);
	}
	return aggregation_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	AggregationTests* _tmp1_;
	AggregationTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 1451 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_test_init (&args_length1, &args, NULL);
#line 1453 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_test_get_root ();
#line 1453 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	root = _tmp0_;
#line 1454 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp1_ = aggregation_tests_new ();
#line 1454 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp2_ = _tmp1_;
#line 1454 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 1454 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 1454 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_tmp2_);
#line 1456 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_test_run ();
#line 1458 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	result = 0;
#line 1458 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return result;
#line 8056 "aggregation.c"
}


int main (int argc, char ** argv) {
#line 1449 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	g_type_init ();
#line 1449 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/folks/aggregation.vala"
	return _vala_main (argv, argc);
#line 8065 "aggregation.c"
}



