/* aggregation.c generated by valac 0.13.4, 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;

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

struct _AggregationTestsClass {
	FolksTestCaseClass parent_class;
};

struct _AggregationTestsPrivate {
	KfTestBackend* _kf_backend;
	TpTestBackend* _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 (Block1Data* _data1_);
static void __lambda0_ (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 ___lambda0__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda1_ (Block1Data* _data1_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda1__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda2_ (Block1Data* _data1_);
static gboolean ___lambda2__gsource_func (gpointer self);
static gboolean __lambda3_ (Block1Data* _data1_);
static void __lambda4_ (Block1Data* _data1_, GObject* s, GAsyncResult* r);
static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda3__gsource_func (gpointer self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (Block2Data* _data2_);
static void __lambda5_ (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 ___lambda5__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda6_ (Block2Data* _data2_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda6__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda7_ (Block2Data* _data2_);
static gboolean ___lambda7__gsource_func (gpointer self);
static gboolean __lambda8_ (Block2Data* _data2_);
static void __lambda9_ (Block2Data* _data2_, GObject* s, GAsyncResult* r);
static void ___lambda9__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda8__gsource_func (gpointer self);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (Block3Data* _data3_);
static void __lambda10_ (Block3Data* _data3_, GeeMultiMap* changes);
static void ___lambda10__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda11_ (Block3Data* _data3_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda11__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda12_ (Block3Data* _data3_);
static gboolean ___lambda12__gsource_func (gpointer self);
static gboolean __lambda13_ (Block3Data* _data3_);
static void __lambda14_ (Block3Data* _data3_, GObject* s, GAsyncResult* r);
static void ___lambda14__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda13__gsource_func (gpointer self);
static Block4Data* block4_data_ref (Block4Data* _data4_);
static void block4_data_unref (Block4Data* _data4_);
static void __lambda15_ (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 ___lambda15__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda16_ (Block4Data* _data4_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda16__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda17_ (Block4Data* _data4_);
static gboolean ___lambda17__gsource_func (gpointer self);
static gboolean __lambda18_ (Block4Data* _data4_);
static void __lambda19_ (Block4Data* _data4_, GObject* s, GAsyncResult* r);
static void ___lambda19__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda18__gsource_func (gpointer self);
static Block5Data* block5_data_ref (Block5Data* _data5_);
static void block5_data_unref (Block5Data* _data5_);
static void __lambda20_ (AggregationTests* self, GeeMultiMap* changes);
static void _aggregation_tests_test_untrusted_store_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed);
static void ___lambda20__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void __lambda21_ (AggregationTests* self, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ___lambda21__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda22_ (Block5Data* _data5_);
static gboolean ___lambda22__gsource_func (gpointer self);
static gboolean __lambda23_ (Block5Data* _data5_);
static void __lambda24_ (Block5Data* _data5_, GObject* s, GAsyncResult* r);
static void ___lambda24__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda23__gsource_func (gpointer self);
static Block6Data* block6_data_ref (Block6Data* _data6_);
static void block6_data_unref (Block6Data* _data6_);
static void __lambda25_ (Block6Data* _data6_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r);
static void ____lambda26_ (Block6Data* _data6_, GObject* obj);
static void _____lambda26__gweak_notify (gpointer self, GObject* object);
static void ___lambda25__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self);
static gboolean __lambda27_ (Block6Data* _data6_);
static gboolean ___lambda27__gsource_func (gpointer self);
static gboolean __lambda28_ (Block6Data* _data6_);
static void __lambda29_ (Block6Data* _data6_, GObject* s, GAsyncResult* r);
static void ___lambda29__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda28__gsource_func (gpointer self);
static gboolean __lambda30_ (Block6Data* _data6_);
static gboolean ___lambda30__gsource_func (gpointer self);
static Block7Data* block7_data_ref (Block7Data* _data7_);
static void block7_data_unref (Block7Data* _data7_);
static void __lambda31_ (Block7Data* _data7_, GeeMultiMap* changes);
static void ___lambda31__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda32_ (Block7Data* _data7_);
static gboolean ___lambda32__gsource_func (gpointer self);
static gboolean __lambda33_ (Block7Data* _data7_);
static void __lambda34_ (Block7Data* _data7_, GObject* s, GAsyncResult* r);
static void ___lambda34__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda33__gsource_func (gpointer self);
static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle);
static gboolean __lambda35_ (Block7Data* _data7_);
static gboolean ___lambda35__gsource_func (gpointer self);
static gboolean __lambda36_ (Block7Data* _data7_);
static void __lambda37_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res);
static void ___lambda37__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda36__gsource_func (gpointer self);
static Block8Data* block8_data_ref (Block8Data* _data8_);
static void block8_data_unref (Block8Data* _data8_);
static void __lambda38_ (Block8Data* _data8_, GeeMultiMap* changes);
static void ___lambda38__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda39_ (Block8Data* _data8_);
static gboolean ___lambda39__gsource_func (gpointer self);
static gboolean __lambda40_ (Block8Data* _data8_);
static void __lambda41_ (Block8Data* _data8_, GObject* s, GAsyncResult* r);
static void ___lambda41__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda40__gsource_func (gpointer self);
static void __lambda42_ (Block8Data* _data8_, GeeMultiMap* changes);
static void ___lambda42__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda43_ (Block8Data* _data8_);
static gboolean ___lambda43__gsource_func (gpointer self);
static gboolean __lambda44_ (Block8Data* _data8_);
static void __lambda45_ (Block8Data* _data8_, GObject* obj, GAsyncResult* res);
static void ___lambda45__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda44__gsource_func (gpointer self);
static Block9Data* block9_data_ref (Block9Data* _data9_);
static void block9_data_unref (Block9Data* _data9_);
static void __lambda46_ (Block9Data* _data9_, GeeMultiMap* changes);
static void ___lambda46__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda47_ (Block9Data* _data9_);
static gboolean ___lambda47__gsource_func (gpointer self);
static gboolean __lambda48_ (Block9Data* _data9_);
static void __lambda49_ (Block9Data* _data9_, GObject* s, GAsyncResult* r);
static void ___lambda49__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda48__gsource_func (gpointer self);
static gboolean __lambda50_ (Block9Data* _data9_);
static gboolean ___lambda50__gsource_func (gpointer self);
static gboolean __lambda51_ (Block9Data* _data9_);
static void __lambda52_ (Block9Data* _data9_, GObject* obj, GAsyncResult* res);
static void ___lambda52__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean ___lambda51__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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_iid (self);
#line 348 "aggregation.c"
}


static void _aggregation_tests_test_linkable_properties_same_store_folks_test_case_test_method (gpointer self) {
#line 52 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_linkable_properties_same_store (self);
#line 355 "aggregation.c"
}


static void _aggregation_tests_test_linkable_properties_different_stores_folks_test_case_test_method (gpointer self) {
#line 54 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_linkable_properties_different_stores (self);
#line 362 "aggregation.c"
}


static void _aggregation_tests_test_user_folks_test_case_test_method (gpointer self) {
#line 56 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_user (self);
#line 369 "aggregation.c"
}


static void _aggregation_tests_test_untrusted_store_folks_test_case_test_method (gpointer self) {
#line 57 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_untrusted_store (self);
#line 376 "aggregation.c"
}


static void _aggregation_tests_test_linked_individual_refcounting_folks_test_case_test_method (gpointer self) {
#line 58 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_linked_individual_refcounting (self);
#line 383 "aggregation.c"
}


static void _aggregation_tests_test_ensure_individual_property_writeable_trivial_folks_test_case_test_method (gpointer self) {
#line 59 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_ensure_individual_property_writeable_trivial (self);
#line 390 "aggregation.c"
}


static void _aggregation_tests_test_ensure_individual_property_writeable_add_persona_folks_test_case_test_method (gpointer self) {
#line 61 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_ensure_individual_property_writeable_add_persona (self);
#line 397 "aggregation.c"
}


static void _aggregation_tests_test_ensure_individual_property_writeable_failure_folks_test_case_test_method (gpointer self) {
#line 63 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	aggregation_tests_test_ensure_individual_property_writeable_failure (self);
#line 404 "aggregation.c"
}


AggregationTests* aggregation_tests_construct (GType object_type) {
	AggregationTests * self = NULL;
	KfTestBackend* _tmp0_;
	TpTestBackend* _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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = (AggregationTests*) folks_test_case_construct (object_type, "Aggregation");
#line 35 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = kf_test_backend_new ();
#line 35 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_kf_test_backend_unref0 (self->priv->_kf_backend);
#line 35 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self->priv->_kf_backend = _tmp0_;
#line 36 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = tp_test_backend_new ();
#line 36 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_tp_backend);
#line 36 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self->priv->_tp_backend = _tmp1_;
#line 39 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = g_str_hash;
#line 39 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = g_str_equal;
#line 39 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp2_, _tmp3_);
#line 39 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_default_personas);
#line 39 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self->priv->_default_personas = _tmp4_;
#line 41 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = self->priv->_default_personas;
#line 41 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp5_, "travis@example.com");
#line 42 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = self->priv->_default_personas;
#line 42 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp6_, "olivier@example.com");
#line 43 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_default_personas;
#line 43 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp7_, "guillaume@example.com");
#line 44 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = self->priv->_default_personas;
#line 44 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp8_, "sjoerd@example.com");
#line 45 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = self->priv->_default_personas;
#line 45 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp9_, "christian@example.com");
#line 46 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = self->priv->_default_personas;
#line 46 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp10_, "wim@example.com");
#line 47 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp11_ = self->priv->_default_personas;
#line 47 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp11_, "helen@example.com");
#line 48 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = self->priv->_default_personas;
#line 48 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp12_, "geraldine@example.com");
#line 51 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = g_getenv ("FOLKS_TEST_VALGRIND");
#line 66 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_tmp13_ != NULL) {
#line 67 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		self->priv->_test_timeout = 10;
#line 504 "aggregation.c"
	}
#line 31 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return self;
#line 508 "aggregation.c"
}


AggregationTests* aggregation_tests_new (void) {
#line 31 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return aggregation_tests_construct (TYPE_AGGREGATION_TESTS);
#line 515 "aggregation.c"
}


static void aggregation_tests_real_set_up (FolksTestCase* base) {
	AggregationTests * self;
	TpTestBackend* _tmp0_;
#line 70 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = (AggregationTests*) base;
#line 72 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = self->priv->_tp_backend;
#line 72 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_set_up (_tmp0_);
#line 528 "aggregation.c"
}


static void aggregation_tests_real_tear_down (FolksTestCase* base) {
	AggregationTests * self;
	TpTestBackend* _tmp0_;
#line 75 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = (AggregationTests*) base;
#line 77 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = self->priv->_tp_backend;
#line 77 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_tear_down (_tmp0_);
#line 541 "aggregation.c"
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data1_;
#line 550 "aggregation.c"
}


static void block1_data_unref (Block1Data* _data1_) {
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->self);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->aggregator);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->expected_individuals_detailed);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->expected_individuals);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data1_->default_individuals);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data1_->main_loop);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block1Data, _data1_);
#line 571 "aggregation.c"
	}
}


static void __lambda0_ (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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 140 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 142 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 142 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 142 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 143 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 143 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 143 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = _data1_->default_individuals;
#line 145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = _data1_->expected_individuals_detailed;
#line 145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_iid_individuals_changed (self, TRUE, added, removed, (GeeSet*) _tmp4_, (GeeSet*) _tmp5_);
#line 140 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 140 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 612 "aggregation.c"
}


static void ___lambda0__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 140 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda0_ (self, changes);
#line 619 "aggregation.c"
}


static void __lambda1_ (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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 148 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 148 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 150 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 150 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 150 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = _data1_->default_individuals;
#line 150 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = _data1_->expected_individuals;
#line 150 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_iid_individuals_changed (self, FALSE, (GeeCollection*) _tmp0_, _tmp1_, (GeeSet*) _tmp2_, (GeeSet*) _tmp3_);
#line 645 "aggregation.c"
}


static void ___lambda1__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 148 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda1_ (self, added, removed, message, actor, reason);
#line 652 "aggregation.c"
}


static gboolean __lambda2_ (Block1Data* _data1_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 157 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 159 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data1_->main_loop;
#line 159 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 670 "aggregation.c"
}


static gboolean ___lambda2__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda2_ (self);
#line 157 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 679 "aggregation.c"
}


static void __lambda4_ (Block1Data* _data1_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 165 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 165 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 690 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 169 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data1_->aggregator;
#line 169 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 169 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 169 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 702 "aggregation.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 167 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 167 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 173 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 173 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:173: Failed to prepare aggregator: %s", _tmp2_);
#line 175 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 167 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 723 "aggregation.c"
	}
	__finally0:
#line 167 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 167 "/debian/rgs/devel/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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 167 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 734 "aggregation.c"
	}
}


static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 165 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda4_ (self, source_object, res);
#line 165 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block1_data_unref (self);
#line 744 "aggregation.c"
}


static gboolean __lambda3_ (Block1Data* _data1_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 163 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data1_->self;
#line 165 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data1_->aggregator;
#line 165 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda4__gasync_ready_callback, block1_data_ref (_data1_));
#line 179 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 179 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 762 "aggregation.c"
}


static gboolean ___lambda3__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda3_ (self);
#line 163 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 771 "aggregation.c"
}


void aggregation_tests_test_iid (AggregationTests* self) {
	Block1Data* _data1_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestBackend* _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_;
	TpTestBackend* _tmp38_;
	void* _tmp39_;
	TpTestBackend* _tmp40_;
	void* _tmp41_;
	KfTestBackend* _tmp42_;
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_ = g_slice_new0 (Block1Data);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->_ref_count_ = 1;
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->self = g_object_ref (self);
#line 89 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 89 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->main_loop = _tmp0_;
#line 91 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 91 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 93 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 93 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_test_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 93 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 95 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 95 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_test_backend_add_account (_tmp4_, "protocol", "me2@example.com", "cm", "account2");
#line 95 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 107 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 107 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->default_individuals = _tmp6_;
#line 110 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data1_->default_individuals;
#line 110 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp7_, "6380b17dc511b21a1defd4811f1add97b278f92c");
#line 112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data1_->default_individuals;
#line 112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp8_, "6b08188cb2ef8cbaca140b277780069b5af8add6");
#line 114 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data1_->default_individuals;
#line 114 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp9_, "60c91326018f6a60604f8d260fc24a60a5b8512c");
#line 116 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = _data1_->default_individuals;
#line 116 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp10_, "0e46c5e74f61908f49550d241f2a1651892a1695");
#line 118 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp11_ = _data1_->default_individuals;
#line 118 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp11_, "07b913b8977c04d2f2011e26a46ea3e3dcfe3e3d");
#line 120 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data1_->default_individuals;
#line 120 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp12_, "f948d4d2af79085ab860f0ef67bf0c201c4602d4");
#line 122 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = _data1_->default_individuals;
#line 122 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp13_, "f34529a442577b840a75271b464e90666c38c464");
#line 124 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp14_ = _data1_->default_individuals;
#line 124 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp14_, "467d13f955e62bf30ebf9620fa052aaee2160260");
#line 130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->expected_individuals = _tmp15_;
#line 131 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp16_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 131 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->expected_individuals_detailed = _tmp16_;
#line 884 "aggregation.c"
	{
		GeeHashSet* _tmp17_;
		GeeIterator* _tmp18_ = NULL;
		GeeIterator* _id_it;
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp17_ = _data1_->default_individuals;
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp18_ = gee_abstract_collection_iterator ((GeeAbstractCollection*) _tmp17_);
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_id_it = _tmp18_;
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 897 "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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp19_ = _id_it;
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp20_ = gee_iterator_next (_tmp19_);
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp20_) {
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 915 "aggregation.c"
			}
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp21_ = _id_it;
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp22_ = gee_iterator_get (_tmp21_);
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			id = (gchar*) _tmp22_;
#line 134 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp23_ = _data1_->expected_individuals;
#line 134 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp24_ = id;
#line 134 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp23_, _tmp24_);
#line 135 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp25_ = _data1_->expected_individuals_detailed;
#line 135 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp26_ = id;
#line 135 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp25_, _tmp26_);
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_free0 (id);
#line 937 "aggregation.c"
		}
#line 132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_id_it);
#line 941 "aggregation.c"
	}
#line 139 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp27_ = folks_individual_aggregator_new ();
#line 139 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->aggregator = _tmp27_;
#line 140 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp28_ = _data1_->aggregator;
#line 140 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp28_, "individuals-changed-detailed", (GCallback) ___lambda0__folks_individual_aggregator_individuals_changed_detailed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 148 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp29_ = _data1_->aggregator;
#line 148 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp29_, "individuals-changed", (GCallback) ___lambda1__folks_individual_aggregator_individuals_changed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 157 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp30_ = self->priv->_test_timeout;
#line 157 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp30_, ___lambda2__gsource_func, block1_data_ref (_data1_), block1_data_unref);
#line 163 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda3__gsource_func, block1_data_ref (_data1_), block1_data_unref);
#line 182 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp31_ = _data1_->main_loop;
#line 182 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp31_);
#line 185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp32_ = _data1_->expected_individuals;
#line 185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp33_ = gee_collection_get_size ((GeeCollection*) _tmp32_);
#line 185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp34_ = _tmp33_;
#line 185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp34_ == 0);
#line 186 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp35_ = _data1_->expected_individuals_detailed;
#line 186 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp36_ = gee_collection_get_size ((GeeCollection*) _tmp35_);
#line 186 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp37_ = _tmp36_;
#line 186 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp37_ == 0);
#line 189 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp38_ = self->priv->_tp_backend;
#line 189 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp39_ = account2_handle;
#line 189 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp38_, _tmp39_);
#line 190 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp40_ = self->priv->_tp_backend;
#line 190 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp41_ = account1_handle;
#line 190 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp40_, _tmp41_);
#line 191 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp42_ = self->priv->_kf_backend;
#line 191 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp42_);
#line 192 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data1_->aggregator);
#line 192 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_->aggregator = NULL;
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block1_data_unref (_data1_);
#line 87 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data1_ = NULL;
#line 1005 "aggregation.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 227 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return self ? g_object_ref (self) : NULL;
#line 1012 "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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 195 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 195 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 195 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (default_individuals != NULL);
#line 195 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (expected_individuals != NULL);
#line 1027 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 1040 "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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 1065 "aggregation.c"
			}
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 1079 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 1086 "aggregation.c"
			}
#line 203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp9_);
#line 204 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 204 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 206 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 206 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 1100 "aggregation.c"
			}
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp13_ = i;
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp14_ = folks_individual_get_is_user (_tmp13_);
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp15_ = _tmp14_;
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp15_) {
#line 1110 "aggregation.c"
				FolksIndividual* _tmp16_;
				GeeSet* _tmp17_;
				GeeSet* _tmp18_;
				gint _tmp19_;
				gint _tmp20_;
#line 210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp16_ = i;
#line 210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp17_ = folks_individual_get_personas (_tmp16_);
#line 210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp18_ = _tmp17_;
#line 210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp19_ = gee_collection_get_size ((GeeCollection*) _tmp18_);
#line 210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp20_ = _tmp19_;
#line 210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp12_ = _tmp20_ == 2;
#line 1128 "aggregation.c"
			} else {
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp12_ = FALSE;
#line 1132 "aggregation.c"
			}
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp21_ = _tmp12_;
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp21_) {
#line 1138 "aggregation.c"
				GeeSet* _tmp22_;
				FolksIndividual* _tmp23_;
				const gchar* _tmp24_;
				const gchar* _tmp25_;
				gboolean _tmp26_ = FALSE;
#line 211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp22_ = default_individuals;
#line 211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp23_ = i;
#line 211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp24_ = folks_individual_get_id (_tmp23_);
#line 211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp25_ = _tmp24_;
#line 211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp26_ = gee_collection_contains ((GeeCollection*) _tmp22_, _tmp25_);
#line 211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp11_ = _tmp26_;
#line 1156 "aggregation.c"
			} else {
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp11_ = FALSE;
#line 1160 "aggregation.c"
			}
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp27_ = _tmp11_;
#line 209 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp27_) {
#line 1166 "aggregation.c"
				GeeSet* _tmp28_;
				FolksIndividual* _tmp29_;
				const gchar* _tmp30_;
				const gchar* _tmp31_;
#line 213 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp28_ = expected_individuals;
#line 213 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp29_ = i;
#line 213 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp30_ = folks_individual_get_id (_tmp29_);
#line 213 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp31_ = _tmp30_;
#line 213 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				gee_collection_add ((GeeCollection*) _tmp28_, _tmp31_);
#line 1181 "aggregation.c"
			}
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 1185 "aggregation.c"
		}
#line 201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 1189 "aggregation.c"
	}
	{
		GeeCollection* _tmp32_;
		GeeIterator* _tmp33_ = NULL;
		GeeIterator* _i_it;
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp32_ = added;
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp33_ = gee_iterable_iterator ((GeeIterable*) _tmp32_);
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp33_;
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 1203 "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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp34_ = _i_it;
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp35_ = gee_iterator_next (_tmp34_);
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp35_) {
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 1231 "aggregation.c"
			}
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp36_ = _i_it;
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp37_ = gee_iterator_get (_tmp36_);
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp37_;
#line 221 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp39_ = i;
#line 221 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp39_ != NULL) {
#line 221 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp38_ = TRUE;
#line 1245 "aggregation.c"
			} else {
				gboolean _tmp40_;
#line 221 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp40_ = detailed;
#line 221 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp38_ = _tmp40_ == TRUE;
#line 1252 "aggregation.c"
			}
#line 221 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp41_ = _tmp38_;
#line 221 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp41_);
#line 222 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp42_ = i;
#line 222 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp42_ == NULL) {
#line 224 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 224 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 1266 "aggregation.c"
			}
#line 227 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp43_ = i;
#line 227 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp44_ = folks_individual_get_personas (_tmp43_);
#line 227 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp45_ = _tmp44_;
#line 227 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp46_ = _g_object_ref0 (_tmp45_);
#line 227 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			personas = _tmp46_;
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp48_ = i;
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp49_ = folks_individual_get_is_user (_tmp48_);
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp50_ = _tmp49_;
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp50_) {
#line 1286 "aggregation.c"
				GeeSet* _tmp51_;
				gint _tmp52_;
				gint _tmp53_;
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp51_ = personas;
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp52_ = gee_collection_get_size ((GeeCollection*) _tmp51_);
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp53_ = _tmp52_;
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp47_ = _tmp53_ == 2;
#line 1298 "aggregation.c"
			} else {
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp47_ = FALSE;
#line 1302 "aggregation.c"
			}
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp54_ = _tmp47_;
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp54_) {
#line 1308 "aggregation.c"
				GeeSet* _tmp55_;
				FolksIndividual* _tmp56_;
				const gchar* _tmp57_;
				const gchar* _tmp58_;
				gboolean _tmp59_ = FALSE;
				gchar* iid;
#line 232 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp55_ = expected_individuals;
#line 232 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp56_ = i;
#line 232 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp57_ = folks_individual_get_id (_tmp56_);
#line 232 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp58_ = _tmp57_;
#line 232 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp59_ = gee_collection_remove ((GeeCollection*) _tmp55_, _tmp58_);
#line 232 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				g_assert (_tmp59_);
#line 234 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				iid = NULL;
#line 1329 "aggregation.c"
				{
					GeeSet* _tmp60_;
					GeeIterator* _tmp61_ = NULL;
					GeeIterator* _persona_it;
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp60_ = personas;
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp61_ = gee_iterable_iterator ((GeeIterable*) _tmp60_);
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_persona_it = _tmp61_;
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					while (TRUE) {
#line 1342 "aggregation.c"
						GeeIterator* _tmp62_;
						gboolean _tmp63_ = FALSE;
						GeeIterator* _tmp64_;
						gpointer _tmp65_ = NULL;
						FolksPersona* persona;
						const gchar* _tmp66_;
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp62_ = _persona_it;
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp63_ = gee_iterator_next (_tmp62_);
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						if (!_tmp63_) {
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							break;
#line 1357 "aggregation.c"
						}
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp64_ = _persona_it;
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp65_ = gee_iterator_get (_tmp64_);
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						persona = (FolksPersona*) _tmp65_;
#line 237 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp66_ = iid;
#line 237 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						if (_tmp66_ != NULL) {
#line 1369 "aggregation.c"
							FolksPersona* _tmp67_;
							const gchar* _tmp68_;
							const gchar* _tmp69_;
							const gchar* _tmp70_;
#line 239 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp67_ = persona;
#line 239 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp68_ = folks_persona_get_iid (_tmp67_);
#line 239 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp69_ = _tmp68_;
#line 239 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp70_ = iid;
#line 239 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							g_assert (g_strcmp0 (_tmp69_, _tmp70_) == 0);
#line 1384 "aggregation.c"
						} else {
							FolksPersona* _tmp71_;
							const gchar* _tmp72_;
							const gchar* _tmp73_;
							gchar* _tmp74_;
#line 243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp71_ = persona;
#line 243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp72_ = folks_persona_get_iid (_tmp71_);
#line 243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp73_ = _tmp72_;
#line 243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp74_ = g_strdup (_tmp73_);
#line 243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_g_free0 (iid);
#line 243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							iid = _tmp74_;
#line 1402 "aggregation.c"
						}
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_g_object_unref0 (persona);
#line 1406 "aggregation.c"
					}
#line 235 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (_persona_it);
#line 1410 "aggregation.c"
				}
#line 230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_free0 (iid);
#line 1414 "aggregation.c"
			}
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (personas);
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 1420 "aggregation.c"
		}
#line 219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 1424 "aggregation.c"
	}
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data2_;
#line 1434 "aggregation.c"
}


static void block2_data_unref (Block2Data* _data2_) {
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data2_->self);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data2_->aggregator);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data2_->main_loop);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block2Data, _data2_);
#line 1449 "aggregation.c"
	}
}


static void __lambda5_ (Block2Data* _data2_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 279 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 279 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 281 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 281 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 281 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 282 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 282 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 282 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 284 "/debian/rgs/devel/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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 279 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 1484 "aggregation.c"
}


static void ___lambda5__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 279 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda5_ (self, changes);
#line 1491 "aggregation.c"
}


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


static void ___lambda6__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 287 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda6_ (self, added, removed, message, actor, reason);
#line 1518 "aggregation.c"
}


static gboolean __lambda7_ (Block2Data* _data2_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 296 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 298 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data2_->main_loop;
#line 298 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 299 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 299 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 1536 "aggregation.c"
}


static gboolean ___lambda7__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda7_ (self);
#line 296 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 1545 "aggregation.c"
}


static void __lambda9_ (Block2Data* _data2_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 304 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 304 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 1556 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 308 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data2_->aggregator;
#line 308 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 308 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 308 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 1568 "aggregation.c"
			goto __catch1_g_error;
		}
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 306 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 306 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 312 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 312 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:312: Failed to prepare aggregator: %s", _tmp2_);
#line 314 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 306 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 1589 "aggregation.c"
	}
	__finally1:
#line 306 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 306 "/debian/rgs/devel/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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 306 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 1600 "aggregation.c"
	}
}


static void ___lambda9__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 304 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda9_ (self, source_object, res);
#line 304 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block2_data_unref (self);
#line 1610 "aggregation.c"
}


static gboolean __lambda8_ (Block2Data* _data2_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 302 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data2_->self;
#line 304 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data2_->aggregator;
#line 304 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda9__gasync_ready_callback, block2_data_ref (_data2_));
#line 318 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 318 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 1628 "aggregation.c"
}


static gboolean ___lambda8__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda8_ (self);
#line 302 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 1637 "aggregation.c"
}


void aggregation_tests_test_linkable_properties_same_store (AggregationTests* self) {
	Block2Data* _data2_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestBackend* _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;
	GeeHashSet* _tmp66_;
	gint _tmp67_;
	gint _tmp68_;
	GeeHashSet* _tmp69_;
	GeeHashSet* _tmp70_;
	GeeHashSet* _tmp103_;
	gint _tmp104_;
	gint _tmp105_;
	TpTestBackend* _tmp106_;
	void* _tmp107_;
	KfTestBackend* _tmp108_;
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->_ref_count_ = 1;
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->self = g_object_ref (self);
#line 258 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 258 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->main_loop = _tmp0_;
#line 260 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 260 "/debian/rgs/devel/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 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 267 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_test_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 267 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account_handle = _tmp3_;
#line 272 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->individual1 = NULL;
#line 273 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->individual1_detailed = NULL;
#line 274 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->individual2 = NULL;
#line 275 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->individual2_detailed = NULL;
#line 278 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = folks_individual_aggregator_new ();
#line 278 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->aggregator = _tmp4_;
#line 279 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = _data2_->aggregator;
#line 279 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp5_, "individuals-changed-detailed", (GCallback) ___lambda5__folks_individual_aggregator_individuals_changed_detailed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 287 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = _data2_->aggregator;
#line 287 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp6_, "individuals-changed", (GCallback) ___lambda6__folks_individual_aggregator_individuals_changed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 296 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_test_timeout;
#line 296 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp7_, ___lambda7__gsource_func, block2_data_ref (_data2_), block2_data_unref);
#line 302 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda8__gsource_func, block2_data_ref (_data2_), block2_data_unref);
#line 321 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data2_->main_loop;
#line 321 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp8_);
#line 324 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data2_->individual1;
#line 324 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp9_ != NULL);
#line 325 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = _data2_->individual1_detailed;
#line 325 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp10_ != NULL);
#line 326 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp11_ = _data2_->individual2;
#line 326 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp11_ != NULL);
#line 327 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data2_->individual2_detailed;
#line 327 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp12_ != NULL);
#line 329 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 329 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	individual1_expected = _tmp13_;
#line 330 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp14_ = individual1_expected;
#line 330 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp14_, "0");
#line 331 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15_ = individual1_expected;
#line 331 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp15_, "travis@example.com");
#line 332 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp16_ = individual1_expected;
#line 332 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp16_, "olivier@example.com");
#line 333 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp17_ = individual1_expected;
#line 333 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp17_, "guillaume@example.com");
#line 334 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp18_ = individual1_expected;
#line 334 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp18_, "sjoerd@example.com");
#line 336 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp19_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 336 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	individual2_expected = _tmp19_;
#line 337 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp20_ = individual2_expected;
#line 337 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp20_, "1");
#line 338 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp21_ = individual2_expected;
#line 338 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp21_, "christian@example.com");
#line 339 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp22_ = individual2_expected;
#line 339 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp22_, "wim@example.com");
#line 340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp23_ = individual2_expected;
#line 340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp23_, "helen@example.com");
#line 341 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp24_ = individual2_expected;
#line 341 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp24_, "geraldine@example.com");
#line 343 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	set_in_use = NULL;
#line 1801 "aggregation.c"
	{
		FolksIndividual* _tmp25_;
		GeeSet* _tmp26_;
		GeeSet* _tmp27_;
		GeeIterator* _tmp28_ = NULL;
		GeeIterator* _p_it;
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp25_ = _data2_->individual1;
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp26_ = folks_individual_get_personas (_tmp25_);
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp27_ = _tmp26_;
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp28_ = gee_iterable_iterator ((GeeIterable*) _tmp27_);
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp28_;
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 1820 "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_;
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp29_ = _p_it;
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp30_ = gee_iterator_next (_tmp29_);
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp30_) {
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 1844 "aggregation.c"
			}
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp31_ = _p_it;
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp32_ = gee_iterator_get (_tmp31_);
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp32_;
#line 347 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp34_ = set_in_use;
#line 347 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp34_ == NULL) {
#line 1856 "aggregation.c"
				GeeHashSet* _tmp35_;
				FolksPersona* _tmp36_;
				const gchar* _tmp37_;
				const gchar* _tmp38_;
				gboolean _tmp39_ = FALSE;
#line 348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp35_ = individual1_expected;
#line 348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp36_ = p;
#line 348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp37_ = folks_persona_get_display_id (_tmp36_);
#line 348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp38_ = _tmp37_;
#line 348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp39_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp35_, _tmp38_);
#line 348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp33_ = _tmp39_;
#line 1874 "aggregation.c"
			} else {
#line 347 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp33_ = FALSE;
#line 1878 "aggregation.c"
			}
#line 347 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp40_ = _tmp33_;
#line 347 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp40_) {
#line 1884 "aggregation.c"
				GeeHashSet* _tmp41_;
				GeeHashSet* _tmp42_;
#line 350 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp41_ = individual1_expected;
#line 350 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp42_ = _g_object_ref0 (_tmp41_);
#line 350 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (set_in_use);
#line 350 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				set_in_use = _tmp42_;
#line 1895 "aggregation.c"
			} else {
				GeeHashSet* _tmp43_;
#line 352 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp43_ = set_in_use;
#line 352 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				if (_tmp43_ == NULL) {
#line 1902 "aggregation.c"
					GeeHashSet* _tmp44_;
					GeeHashSet* _tmp45_;
#line 354 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp44_ = individual2_expected;
#line 354 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp45_ = _g_object_ref0 (_tmp44_);
#line 354 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (set_in_use);
#line 354 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					set_in_use = _tmp45_;
#line 1913 "aggregation.c"
				}
			}
#line 357 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp46_ = set_in_use;
#line 357 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp47_ = p;
#line 357 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp48_ = folks_persona_get_display_id (_tmp47_);
#line 357 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp49_ = _tmp48_;
#line 357 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp50_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp46_, _tmp49_);
#line 357 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp50_);
#line 359 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			found_detailed = FALSE;
#line 1930 "aggregation.c"
			{
				FolksIndividual* _tmp51_;
				GeeSet* _tmp52_;
				GeeSet* _tmp53_;
				GeeIterator* _tmp54_ = NULL;
				GeeIterator* _pd_it;
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp51_ = _data2_->individual1_detailed;
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp52_ = folks_individual_get_personas (_tmp51_);
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp53_ = _tmp52_;
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp54_ = gee_iterable_iterator ((GeeIterable*) _tmp53_);
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_pd_it = _tmp54_;
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 1949 "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 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp55_ = _pd_it;
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp56_ = gee_iterator_next (_tmp55_);
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (!_tmp56_) {
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						break;
#line 1969 "aggregation.c"
					}
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp57_ = _pd_it;
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp58_ = gee_iterator_get (_tmp57_);
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					pd = (FolksPersona*) _tmp58_;
#line 362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp59_ = pd;
#line 362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp60_ = folks_persona_get_uid (_tmp59_);
#line 362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp61_ = _tmp60_;
#line 362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp62_ = p;
#line 362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp63_ = folks_persona_get_uid (_tmp62_);
#line 362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp64_ = _tmp63_;
#line 362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (g_strcmp0 (_tmp61_, _tmp64_) == 0) {
#line 364 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						found_detailed = TRUE;
#line 1993 "aggregation.c"
					}
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (pd);
#line 1997 "aggregation.c"
				}
#line 360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_pd_it);
#line 2001 "aggregation.c"
			}
#line 367 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp65_ = found_detailed;
#line 367 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp65_ == TRUE);
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 2009 "aggregation.c"
		}
#line 344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 2013 "aggregation.c"
	}
#line 370 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp66_ = set_in_use;
#line 370 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp67_ = gee_collection_get_size ((GeeCollection*) _tmp66_);
#line 370 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp68_ = _tmp67_;
#line 370 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp68_ == 0);
#line 372 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp69_ = set_in_use;
#line 372 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp70_ = individual1_expected;
#line 372 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_tmp69_ == _tmp70_) {
#line 2029 "aggregation.c"
		GeeHashSet* _tmp71_;
		GeeHashSet* _tmp72_;
#line 374 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp71_ = individual2_expected;
#line 374 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp72_ = _g_object_ref0 (_tmp71_);
#line 374 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (set_in_use);
#line 374 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		set_in_use = _tmp72_;
#line 2040 "aggregation.c"
	} else {
		GeeHashSet* _tmp73_;
		GeeHashSet* _tmp74_;
#line 378 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp73_ = individual1_expected;
#line 378 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp74_ = _g_object_ref0 (_tmp73_);
#line 378 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (set_in_use);
#line 378 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		set_in_use = _tmp74_;
#line 2052 "aggregation.c"
	}
	{
		FolksIndividual* _tmp75_;
		GeeSet* _tmp76_;
		GeeSet* _tmp77_;
		GeeIterator* _tmp78_ = NULL;
		GeeIterator* _p_it;
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp75_ = _data2_->individual2;
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp76_ = folks_individual_get_personas (_tmp75_);
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp77_ = _tmp76_;
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp78_ = gee_iterable_iterator ((GeeIterable*) _tmp77_);
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp78_;
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2072 "aggregation.c"
			GeeIterator* _tmp79_;
			gboolean _tmp80_ = FALSE;
			GeeIterator* _tmp81_;
			gpointer _tmp82_ = NULL;
			FolksPersona* p;
			GeeHashSet* _tmp83_;
			FolksPersona* _tmp84_;
			const gchar* _tmp85_;
			const gchar* _tmp86_;
			gboolean _tmp87_ = FALSE;
			gboolean found_detailed;
			gboolean _tmp102_;
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp79_ = _p_it;
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp80_ = gee_iterator_next (_tmp79_);
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp80_) {
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 2093 "aggregation.c"
			}
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp81_ = _p_it;
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp82_ = gee_iterator_get (_tmp81_);
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp82_;
#line 383 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp83_ = set_in_use;
#line 383 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp84_ = p;
#line 383 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp85_ = folks_persona_get_display_id (_tmp84_);
#line 383 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp86_ = _tmp85_;
#line 383 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp87_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp83_, _tmp86_);
#line 383 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp87_);
#line 385 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			found_detailed = FALSE;
#line 2115 "aggregation.c"
			{
				FolksIndividual* _tmp88_;
				GeeSet* _tmp89_;
				GeeSet* _tmp90_;
				GeeIterator* _tmp91_ = NULL;
				GeeIterator* _pd_it;
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp88_ = _data2_->individual2_detailed;
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp89_ = folks_individual_get_personas (_tmp88_);
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp90_ = _tmp89_;
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp91_ = gee_iterable_iterator ((GeeIterable*) _tmp90_);
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_pd_it = _tmp91_;
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 2134 "aggregation.c"
					GeeIterator* _tmp92_;
					gboolean _tmp93_ = FALSE;
					GeeIterator* _tmp94_;
					gpointer _tmp95_ = NULL;
					FolksPersona* pd;
					FolksPersona* _tmp96_;
					const gchar* _tmp97_;
					const gchar* _tmp98_;
					FolksPersona* _tmp99_;
					const gchar* _tmp100_;
					const gchar* _tmp101_;
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp92_ = _pd_it;
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp93_ = gee_iterator_next (_tmp92_);
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (!_tmp93_) {
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						break;
#line 2154 "aggregation.c"
					}
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp94_ = _pd_it;
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp95_ = gee_iterator_get (_tmp94_);
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					pd = (FolksPersona*) _tmp95_;
#line 388 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp96_ = pd;
#line 388 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp97_ = folks_persona_get_uid (_tmp96_);
#line 388 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp98_ = _tmp97_;
#line 388 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp99_ = p;
#line 388 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp100_ = folks_persona_get_uid (_tmp99_);
#line 388 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp101_ = _tmp100_;
#line 388 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (g_strcmp0 (_tmp98_, _tmp101_) == 0) {
#line 390 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						found_detailed = TRUE;
#line 2178 "aggregation.c"
					}
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (pd);
#line 2182 "aggregation.c"
				}
#line 386 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_pd_it);
#line 2186 "aggregation.c"
			}
#line 393 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp102_ = found_detailed;
#line 393 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp102_ == TRUE);
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 2194 "aggregation.c"
		}
#line 381 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 2198 "aggregation.c"
	}
#line 396 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp103_ = set_in_use;
#line 396 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp104_ = gee_collection_get_size ((GeeCollection*) _tmp103_);
#line 396 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp105_ = _tmp104_;
#line 396 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp105_ == 0);
#line 399 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp106_ = self->priv->_tp_backend;
#line 399 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp107_ = account_handle;
#line 399 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp106_, _tmp107_);
#line 400 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp108_ = self->priv->_kf_backend;
#line 400 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp108_);
#line 401 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data2_->aggregator);
#line 401 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_->aggregator = NULL;
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (set_in_use);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (individual2_expected);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (individual1_expected);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block2_data_unref (_data2_);
#line 256 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data2_ = NULL;
#line 2232 "aggregation.c"
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data3_;
#line 2241 "aggregation.c"
}


static void block3_data_unref (Block3Data* _data3_) {
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data3_->self);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data3_->aggregator);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data3_->main_loop);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block3Data, _data3_);
#line 2256 "aggregation.c"
	}
}


static void __lambda10_ (Block3Data* _data3_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 440 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 440 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 442 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 442 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 442 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 443 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 443 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 443 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 445 "/debian/rgs/devel/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 440 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 440 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 2291 "aggregation.c"
}


static void ___lambda10__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 440 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda10_ (self, changes);
#line 2298 "aggregation.c"
}


static void __lambda11_ (Block3Data* _data3_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
#line 448 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 448 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 448 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 450 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 450 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 450 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_linkable_properties_individuals_changed (self, FALSE, (guint) 9, (GeeCollection*) _tmp0_, _tmp1_, &_data3_->individual1, &_data3_->individual2);
#line 2318 "aggregation.c"
}


static void ___lambda11__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 448 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda11_ (self, added, removed, message, actor, reason);
#line 2325 "aggregation.c"
}


static gboolean __lambda12_ (Block3Data* _data3_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 457 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 459 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data3_->main_loop;
#line 459 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 460 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 460 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 2343 "aggregation.c"
}


static gboolean ___lambda12__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda12_ (self);
#line 457 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 2352 "aggregation.c"
}


static void __lambda14_ (Block3Data* _data3_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 465 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 465 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 2363 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 469 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data3_->aggregator;
#line 469 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 469 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 469 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 2375 "aggregation.c"
			goto __catch2_g_error;
		}
	}
	goto __finally2;
	__catch2_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 467 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 467 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 473 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 473 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:473: Failed to prepare aggregator: %s", _tmp2_);
#line 475 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 467 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 2396 "aggregation.c"
	}
	__finally2:
#line 467 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 467 "/debian/rgs/devel/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 467 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 467 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 2407 "aggregation.c"
	}
}


static void ___lambda14__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 465 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda14_ (self, source_object, res);
#line 465 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block3_data_unref (self);
#line 2417 "aggregation.c"
}


static gboolean __lambda13_ (Block3Data* _data3_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 463 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data3_->self;
#line 465 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data3_->aggregator;
#line 465 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda14__gasync_ready_callback, block3_data_ref (_data3_));
#line 479 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 479 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 2435 "aggregation.c"
}


static gboolean ___lambda13__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda13_ (self);
#line 463 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 2444 "aggregation.c"
}


void aggregation_tests_test_linkable_properties_different_stores (AggregationTests* self) {
	Block3Data* _data3_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestBackend* _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_;
	TpTestBackend* _tmp137_;
	void* _tmp138_;
	TpTestBackend* _tmp139_;
	void* _tmp140_;
	KfTestBackend* _tmp141_;
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_ = g_slice_new0 (Block3Data);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->_ref_count_ = 1;
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->self = g_object_ref (self);
#line 413 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 413 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->main_loop = _tmp0_;
#line 415 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 415 "/debian/rgs/devel/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 426 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 426 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_test_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 426 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 428 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 428 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_test_backend_add_account (_tmp4_, "protocol2", "me@example.com", "cm", "account2");
#line 428 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 433 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->individual1 = NULL;
#line 434 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->individual1_detailed = NULL;
#line 435 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->individual2 = NULL;
#line 436 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->individual2_detailed = NULL;
#line 439 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = folks_individual_aggregator_new ();
#line 439 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->aggregator = _tmp6_;
#line 440 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data3_->aggregator;
#line 440 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp7_, "individuals-changed-detailed", (GCallback) ___lambda10__folks_individual_aggregator_individuals_changed_detailed, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
#line 448 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data3_->aggregator;
#line 448 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp8_, "individuals-changed", (GCallback) ___lambda11__folks_individual_aggregator_individuals_changed, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
#line 457 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = self->priv->_test_timeout;
#line 457 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp9_, ___lambda12__gsource_func, block3_data_ref (_data3_), block3_data_unref);
#line 463 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda13__gsource_func, block3_data_ref (_data3_), block3_data_unref);
#line 482 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = _data3_->main_loop;
#line 482 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp10_);
#line 485 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp11_ = _data3_->individual1;
#line 485 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp11_ != NULL);
#line 486 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = _data3_->individual1_detailed;
#line 486 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp12_ != NULL);
#line 487 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = _data3_->individual2;
#line 487 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp13_ != NULL);
#line 488 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp14_ = _data3_->individual2_detailed;
#line 488 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp14_ != NULL);
#line 494 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 494 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	expected_personas1 = _tmp15_;
#line 495 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp16_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 495 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	expected_personas1_detailed = _tmp16_;
#line 496 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp17_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 496 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	expected_personas2 = _tmp17_;
#line 497 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp18_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 497 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	expected_personas2_detailed = _tmp18_;
#line 2582 "aggregation.c"
	{
		GeeHashSet* _tmp19_;
		GeeIterator* _tmp20_ = NULL;
		GeeIterator* _id_it;
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp19_ = self->priv->_default_personas;
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp20_ = gee_abstract_collection_iterator ((GeeAbstractCollection*) _tmp19_);
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_id_it = _tmp20_;
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2595 "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 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp21_ = _id_it;
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp22_ = gee_iterator_next (_tmp21_);
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp22_) {
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 2617 "aggregation.c"
			}
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp23_ = _id_it;
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp24_ = gee_iterator_get (_tmp23_);
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			id = (gchar*) _tmp24_;
#line 500 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp25_ = expected_personas1;
#line 500 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp26_ = id;
#line 500 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp25_, _tmp26_);
#line 501 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp27_ = expected_personas1_detailed;
#line 501 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp28_ = id;
#line 501 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp27_, _tmp28_);
#line 502 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp29_ = expected_personas2;
#line 502 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp30_ = id;
#line 502 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp29_, _tmp30_);
#line 503 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp31_ = expected_personas2_detailed;
#line 503 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp32_ = id;
#line 503 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp31_, _tmp32_);
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_free0 (id);
#line 2651 "aggregation.c"
		}
#line 498 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_id_it);
#line 2655 "aggregation.c"
	}
	{
		FolksIndividual* _tmp33_;
		GeeSet* _tmp34_;
		GeeSet* _tmp35_;
		GeeIterator* _tmp36_ = NULL;
		GeeIterator* _p_it;
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp33_ = _data3_->individual1;
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp34_ = folks_individual_get_personas (_tmp33_);
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp35_ = _tmp34_;
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp36_ = gee_iterable_iterator ((GeeIterable*) _tmp35_);
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp36_;
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2675 "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 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp37_ = _p_it;
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp38_ = gee_iterator_next (_tmp37_);
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp38_) {
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 2698 "aggregation.c"
			}
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp39_ = _p_it;
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp40_ = gee_iterator_get (_tmp39_);
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp40_;
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp43_ = expected_personas1;
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp44_ = p;
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp45_ = folks_persona_get_display_id (_tmp44_);
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp46_ = _tmp45_;
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp47_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp43_, _tmp46_);
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp47_) {
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp42_ = TRUE;
#line 2720 "aggregation.c"
			} else {
				FolksPersona* _tmp48_;
				const gchar* _tmp49_;
				const gchar* _tmp50_;
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp48_ = p;
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp49_ = folks_persona_get_display_id (_tmp48_);
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp50_ = _tmp49_;
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp42_ = g_strcmp0 (_tmp50_, "0") == 0;
#line 2733 "aggregation.c"
			}
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp51_ = _tmp42_;
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp51_) {
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp41_ = TRUE;
#line 2741 "aggregation.c"
			} else {
				FolksPersona* _tmp52_;
				const gchar* _tmp53_;
				const gchar* _tmp54_;
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp52_ = p;
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp53_ = folks_persona_get_display_id (_tmp52_);
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp54_ = _tmp53_;
#line 509 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp41_ = g_strcmp0 (_tmp54_, "1") == 0;
#line 2754 "aggregation.c"
			}
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp55_ = _tmp41_;
#line 508 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp55_);
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 2762 "aggregation.c"
		}
#line 506 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 2766 "aggregation.c"
	}
#line 512 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp56_ = expected_personas1;
#line 512 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp57_ = gee_collection_get_size ((GeeCollection*) _tmp56_);
#line 512 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp58_ = _tmp57_;
#line 512 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp58_ == 0);
#line 2776 "aggregation.c"
	{
		FolksIndividual* _tmp59_;
		GeeSet* _tmp60_;
		GeeSet* _tmp61_;
		GeeIterator* _tmp62_ = NULL;
		GeeIterator* _p_it;
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp59_ = _data3_->individual1_detailed;
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp60_ = folks_individual_get_personas (_tmp59_);
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp61_ = _tmp60_;
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp62_ = gee_iterable_iterator ((GeeIterable*) _tmp61_);
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp62_;
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2795 "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 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp63_ = _p_it;
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp64_ = gee_iterator_next (_tmp63_);
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp64_) {
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 2818 "aggregation.c"
			}
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp65_ = _p_it;
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp66_ = gee_iterator_get (_tmp65_);
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp66_;
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp69_ = expected_personas1_detailed;
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp70_ = p;
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp71_ = folks_persona_get_display_id (_tmp70_);
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp72_ = _tmp71_;
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp73_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp69_, _tmp72_);
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp73_) {
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp68_ = TRUE;
#line 2840 "aggregation.c"
			} else {
				FolksPersona* _tmp74_;
				const gchar* _tmp75_;
				const gchar* _tmp76_;
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp74_ = p;
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp75_ = folks_persona_get_display_id (_tmp74_);
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp76_ = _tmp75_;
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp68_ = g_strcmp0 (_tmp76_, "0") == 0;
#line 2853 "aggregation.c"
			}
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp77_ = _tmp68_;
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp77_) {
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp67_ = TRUE;
#line 2861 "aggregation.c"
			} else {
				FolksPersona* _tmp78_;
				const gchar* _tmp79_;
				const gchar* _tmp80_;
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp78_ = p;
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp79_ = folks_persona_get_display_id (_tmp78_);
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp80_ = _tmp79_;
#line 517 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp67_ = g_strcmp0 (_tmp80_, "1") == 0;
#line 2874 "aggregation.c"
			}
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp81_ = _tmp67_;
#line 516 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp81_);
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 2882 "aggregation.c"
		}
#line 514 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 2886 "aggregation.c"
	}
#line 520 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp82_ = expected_personas1_detailed;
#line 520 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp83_ = gee_collection_get_size ((GeeCollection*) _tmp82_);
#line 520 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp84_ = _tmp83_;
#line 520 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp84_ == 0);
#line 2896 "aggregation.c"
	{
		FolksIndividual* _tmp85_;
		GeeSet* _tmp86_;
		GeeSet* _tmp87_;
		GeeIterator* _tmp88_ = NULL;
		GeeIterator* _p_it;
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp85_ = _data3_->individual2;
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp86_ = folks_individual_get_personas (_tmp85_);
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp87_ = _tmp86_;
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp88_ = gee_iterable_iterator ((GeeIterable*) _tmp87_);
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp88_;
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 2915 "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 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp89_ = _p_it;
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp90_ = gee_iterator_next (_tmp89_);
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp90_) {
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 2938 "aggregation.c"
			}
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp91_ = _p_it;
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp92_ = gee_iterator_get (_tmp91_);
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp92_;
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp95_ = expected_personas2;
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp96_ = p;
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp97_ = folks_persona_get_display_id (_tmp96_);
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp98_ = _tmp97_;
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp99_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp95_, _tmp98_);
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp99_) {
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp94_ = TRUE;
#line 2960 "aggregation.c"
			} else {
				FolksPersona* _tmp100_;
				const gchar* _tmp101_;
				const gchar* _tmp102_;
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp100_ = p;
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp101_ = folks_persona_get_display_id (_tmp100_);
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp102_ = _tmp101_;
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp94_ = g_strcmp0 (_tmp102_, "0") == 0;
#line 2973 "aggregation.c"
			}
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp103_ = _tmp94_;
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp103_) {
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp93_ = TRUE;
#line 2981 "aggregation.c"
			} else {
				FolksPersona* _tmp104_;
				const gchar* _tmp105_;
				const gchar* _tmp106_;
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp104_ = p;
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp105_ = folks_persona_get_display_id (_tmp104_);
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp106_ = _tmp105_;
#line 525 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp93_ = g_strcmp0 (_tmp106_, "1") == 0;
#line 2994 "aggregation.c"
			}
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp107_ = _tmp93_;
#line 524 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp107_);
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 3002 "aggregation.c"
		}
#line 522 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 3006 "aggregation.c"
	}
#line 528 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp108_ = expected_personas2;
#line 528 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp109_ = gee_collection_get_size ((GeeCollection*) _tmp108_);
#line 528 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp110_ = _tmp109_;
#line 528 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp110_ == 0);
#line 3016 "aggregation.c"
	{
		FolksIndividual* _tmp111_;
		GeeSet* _tmp112_;
		GeeSet* _tmp113_;
		GeeIterator* _tmp114_ = NULL;
		GeeIterator* _p_it;
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp111_ = _data3_->individual2_detailed;
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp112_ = folks_individual_get_personas (_tmp111_);
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp113_ = _tmp112_;
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp114_ = gee_iterable_iterator ((GeeIterable*) _tmp113_);
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp114_;
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3035 "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 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp115_ = _p_it;
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp116_ = gee_iterator_next (_tmp115_);
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp116_) {
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 3058 "aggregation.c"
			}
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp117_ = _p_it;
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp118_ = gee_iterator_get (_tmp117_);
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp118_;
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp121_ = expected_personas2_detailed;
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp122_ = p;
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp123_ = folks_persona_get_display_id (_tmp122_);
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp124_ = _tmp123_;
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp125_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp121_, _tmp124_);
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp125_) {
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp120_ = TRUE;
#line 3080 "aggregation.c"
			} else {
				FolksPersona* _tmp126_;
				const gchar* _tmp127_;
				const gchar* _tmp128_;
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp126_ = p;
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp127_ = folks_persona_get_display_id (_tmp126_);
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp128_ = _tmp127_;
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp120_ = g_strcmp0 (_tmp128_, "0") == 0;
#line 3093 "aggregation.c"
			}
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp129_ = _tmp120_;
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp129_) {
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp119_ = TRUE;
#line 3101 "aggregation.c"
			} else {
				FolksPersona* _tmp130_;
				const gchar* _tmp131_;
				const gchar* _tmp132_;
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp130_ = p;
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp131_ = folks_persona_get_display_id (_tmp130_);
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp132_ = _tmp131_;
#line 533 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp119_ = g_strcmp0 (_tmp132_, "1") == 0;
#line 3114 "aggregation.c"
			}
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp133_ = _tmp119_;
#line 532 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp133_);
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 3122 "aggregation.c"
		}
#line 530 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 3126 "aggregation.c"
	}
#line 536 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp134_ = expected_personas2_detailed;
#line 536 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp135_ = gee_collection_get_size ((GeeCollection*) _tmp134_);
#line 536 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp136_ = _tmp135_;
#line 536 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp136_ == 0);
#line 539 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp137_ = self->priv->_tp_backend;
#line 539 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp138_ = account2_handle;
#line 539 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp137_, _tmp138_);
#line 540 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp139_ = self->priv->_tp_backend;
#line 540 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp140_ = account1_handle;
#line 540 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp139_, _tmp140_);
#line 541 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp141_ = self->priv->_kf_backend;
#line 541 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp141_);
#line 542 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data3_->aggregator);
#line 542 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_->aggregator = NULL;
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas2_detailed);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas2);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas1_detailed);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (expected_personas1);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block3_data_unref (_data3_);
#line 411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data3_ = NULL;
#line 3168 "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 545 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 545 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 545 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 545 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (individual1 != NULL);
#line 545 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (individual2 != NULL);
#line 3183 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3196 "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 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 3219 "aggregation.c"
			}
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 552 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 552 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 552 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 3233 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 552 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 552 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 3240 "aggregation.c"
			}
#line 552 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 552 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp9_);
#line 553 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 553 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 555 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 555 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 3254 "aggregation.c"
			}
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = i;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp13_ = folks_individual_get_is_user (_tmp12_);
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp14_ = _tmp13_;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp14_) {
#line 3264 "aggregation.c"
				FolksIndividual* _tmp15_;
				GeeSet* _tmp16_;
				GeeSet* _tmp17_;
				gint _tmp18_;
				gint _tmp19_;
				guint _tmp20_;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp16_ = folks_individual_get_personas (_tmp15_);
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp17_ = _tmp16_;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp18_ = gee_collection_get_size ((GeeCollection*) _tmp17_);
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp19_ = _tmp18_;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp20_ = num_personas;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp11_ = ((guint) _tmp19_) == _tmp20_;
#line 3285 "aggregation.c"
			} else {
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp11_ = FALSE;
#line 3289 "aggregation.c"
			}
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp21_ = _tmp11_;
#line 558 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp21_) {
#line 3295 "aggregation.c"
				FolksIndividual* _tmp22_;
				FolksIndividual* _tmp23_;
#line 560 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp22_ = i;
#line 560 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp23_ = *individual1;
#line 560 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				if (_tmp22_ == _tmp23_) {
#line 562 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					*individual1 = NULL;
#line 3306 "aggregation.c"
				} else {
					FolksIndividual* _tmp24_;
					FolksIndividual* _tmp25_;
#line 564 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp24_ = i;
#line 564 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp25_ = *individual2;
#line 564 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (_tmp24_ == _tmp25_) {
#line 566 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						*individual2 = NULL;
#line 3318 "aggregation.c"
					} else {
						guint _tmp26_;
						FolksIndividual* _tmp27_;
						const gchar* _tmp28_;
						const gchar* _tmp29_;
#line 570 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp26_ = num_personas;
#line 570 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp27_ = i;
#line 570 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp28_ = folks_individual_get_id (_tmp27_);
#line 570 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp29_ = _tmp28_;
#line 570 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						g_critical ("aggregation.vala:570: Unknown %u-persona individual: %s", _tmp26_, _tmp29_);
#line 572 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						g_assert_not_reached ();
#line 3336 "aggregation.c"
					}
				}
			}
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 3342 "aggregation.c"
		}
#line 550 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 3346 "aggregation.c"
	}
	{
		GeeCollection* _tmp30_;
		GeeIterator* _tmp31_ = NULL;
		GeeIterator* _i_it;
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp30_ = added;
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp31_ = gee_iterable_iterator ((GeeIterable*) _tmp30_);
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp31_;
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3360 "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 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp32_ = _i_it;
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp33_ = gee_iterator_next (_tmp32_);
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp33_) {
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 3383 "aggregation.c"
			}
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp34_ = _i_it;
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp35_ = gee_iterator_get (_tmp34_);
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp35_;
#line 579 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp37_ = i;
#line 579 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp37_ != NULL) {
#line 579 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp36_ = TRUE;
#line 3397 "aggregation.c"
			} else {
				gboolean _tmp38_;
#line 579 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp38_ = detailed;
#line 579 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp36_ = _tmp38_ == TRUE;
#line 3404 "aggregation.c"
			}
#line 579 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp39_ = _tmp36_;
#line 579 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp39_);
#line 580 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp40_ = i;
#line 580 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp40_ == NULL) {
#line 582 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 582 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 3418 "aggregation.c"
			}
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp42_ = i;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp43_ = folks_individual_get_is_user (_tmp42_);
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp44_ = _tmp43_;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp44_) {
#line 3428 "aggregation.c"
				FolksIndividual* _tmp45_;
				GeeSet* _tmp46_;
				GeeSet* _tmp47_;
				gint _tmp48_;
				gint _tmp49_;
				guint _tmp50_;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp45_ = i;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp46_ = folks_individual_get_personas (_tmp45_);
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp47_ = _tmp46_;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp48_ = gee_collection_get_size ((GeeCollection*) _tmp47_);
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp49_ = _tmp48_;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp50_ = num_personas;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp41_ = ((guint) _tmp49_) == _tmp50_;
#line 3449 "aggregation.c"
			} else {
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp41_ = FALSE;
#line 3453 "aggregation.c"
			}
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp51_ = _tmp41_;
#line 585 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp51_) {
#line 3459 "aggregation.c"
				gboolean _tmp52_ = FALSE;
				FolksIndividual* _tmp53_;
				gboolean _tmp56_;
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp53_ = *individual1;
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				if (_tmp53_ == NULL) {
#line 3467 "aggregation.c"
					FolksIndividual* _tmp54_;
					FolksIndividual* _tmp55_;
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp54_ = *individual2;
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp55_ = i;
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp52_ = _tmp54_ != _tmp55_;
#line 3476 "aggregation.c"
				} else {
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp52_ = FALSE;
#line 3480 "aggregation.c"
				}
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp56_ = _tmp52_;
#line 587 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				if (_tmp56_) {
#line 3486 "aggregation.c"
					FolksIndividual* _tmp57_;
#line 589 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp57_ = i;
#line 589 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					*individual1 = _tmp57_;
#line 3492 "aggregation.c"
				} else {
					gboolean _tmp58_ = FALSE;
					FolksIndividual* _tmp59_;
					gboolean _tmp62_;
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp59_ = *individual2;
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (_tmp59_ == NULL) {
#line 3501 "aggregation.c"
						FolksIndividual* _tmp60_;
						FolksIndividual* _tmp61_;
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp60_ = *individual1;
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp61_ = i;
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp58_ = _tmp60_ != _tmp61_;
#line 3510 "aggregation.c"
					} else {
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp58_ = FALSE;
#line 3514 "aggregation.c"
					}
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp62_ = _tmp58_;
#line 591 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (_tmp62_) {
#line 3520 "aggregation.c"
						FolksIndividual* _tmp63_;
#line 593 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp63_ = i;
#line 593 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						*individual2 = _tmp63_;
#line 3526 "aggregation.c"
					} else {
						gboolean _tmp64_ = FALSE;
						FolksIndividual* _tmp65_;
						FolksIndividual* _tmp66_;
						gboolean _tmp69_;
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp65_ = *individual1;
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp66_ = i;
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						if (_tmp65_ != _tmp66_) {
#line 3538 "aggregation.c"
							FolksIndividual* _tmp67_;
							FolksIndividual* _tmp68_;
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp67_ = *individual2;
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp68_ = i;
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp64_ = _tmp67_ != _tmp68_;
#line 3547 "aggregation.c"
						} else {
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp64_ = FALSE;
#line 3551 "aggregation.c"
						}
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp69_ = _tmp64_;
#line 595 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						if (_tmp69_) {
#line 3557 "aggregation.c"
							guint _tmp70_;
							FolksIndividual* _tmp71_;
							const gchar* _tmp72_;
							const gchar* _tmp73_;
#line 597 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp70_ = num_personas;
#line 597 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp71_ = i;
#line 597 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp72_ = folks_individual_get_id (_tmp71_);
#line 597 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							_tmp73_ = _tmp72_;
#line 597 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							g_critical ("aggregation.vala:597: Unknown %u-persona individual: %s", _tmp70_, _tmp73_);
#line 599 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							g_assert_not_reached ();
#line 3574 "aggregation.c"
						}
					}
				}
			}
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 3581 "aggregation.c"
		}
#line 577 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 3585 "aggregation.c"
	}
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data4_;
#line 3595 "aggregation.c"
}


static void block4_data_unref (Block4Data* _data4_) {
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data4_->self);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data4_->aggregator);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data4_->user_individual_detailed);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data4_->user_individual);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data4_->main_loop);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block4Data, _data4_);
#line 3614 "aggregation.c"
	}
}


static void __lambda15_ (Block4Data* _data4_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 623 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 623 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 625 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 625 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 625 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 626 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 626 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 626 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 628 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_user_individuals_changed (self, TRUE, added, removed, &_data4_->user_individual_detailed);
#line 623 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 623 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 3649 "aggregation.c"
}


static void ___lambda15__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 623 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda15_ (self, changes);
#line 3656 "aggregation.c"
}


static void __lambda16_ (Block4Data* _data4_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
#line 631 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 631 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 631 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 633 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 633 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 633 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_user_individuals_changed (self, FALSE, (GeeCollection*) _tmp0_, _tmp1_, &_data4_->user_individual);
#line 3676 "aggregation.c"
}


static void ___lambda16__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 631 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda16_ (self, added, removed, message, actor, reason);
#line 3683 "aggregation.c"
}


static gboolean __lambda17_ (Block4Data* _data4_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 640 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 642 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data4_->main_loop;
#line 642 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 643 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 643 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 3701 "aggregation.c"
}


static gboolean ___lambda17__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda17_ (self);
#line 640 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 3710 "aggregation.c"
}


static void __lambda19_ (Block4Data* _data4_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 648 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 648 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 3721 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 652 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data4_->aggregator;
#line 652 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 652 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 652 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 3733 "aggregation.c"
			goto __catch3_g_error;
		}
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 650 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 650 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 656 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 656 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:656: Failed to prepare aggregator: %s", _tmp2_);
#line 658 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 650 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 3754 "aggregation.c"
	}
	__finally3:
#line 650 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 650 "/debian/rgs/devel/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 650 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 650 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 3765 "aggregation.c"
	}
}


static void ___lambda19__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 648 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda19_ (self, source_object, res);
#line 648 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block4_data_unref (self);
#line 3775 "aggregation.c"
}


static gboolean __lambda18_ (Block4Data* _data4_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 646 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data4_->self;
#line 648 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data4_->aggregator;
#line 648 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda19__gasync_ready_callback, block4_data_ref (_data4_));
#line 662 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 662 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 3793 "aggregation.c"
}


static gboolean ___lambda18__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda18_ (self);
#line 646 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 3802 "aggregation.c"
}


void aggregation_tests_test_user (AggregationTests* self) {
	Block4Data* _data4_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestBackend* _tmp4_;
	void* _tmp5_ = NULL;
	void* account2_handle;
	FolksIndividualAggregator* _tmp6_;
	FolksIndividualAggregator* _tmp7_;
	FolksIndividualAggregator* _tmp8_;
	gint _tmp9_;
	GMainLoop* _tmp10_;
	FolksIndividualAggregator* _tmp11_;
	FolksIndividual* _tmp12_;
	FolksIndividual* _tmp13_;
	FolksIndividual* _tmp14_;
	FolksIndividualAggregator* _tmp15_;
	FolksIndividual* _tmp16_;
	FolksIndividual* _tmp17_;
	FolksIndividual* _tmp18_;
	FolksIndividual* _tmp19_;
	GeeSet* _tmp20_;
	GeeSet* _tmp21_;
	gint _tmp22_;
	gint _tmp23_;
	FolksIndividual* _tmp24_;
	GeeSet* _tmp25_;
	GeeSet* _tmp26_;
	gint _tmp27_;
	gint _tmp28_;
	GeeHashSet* _tmp29_;
	GeeHashSet* display_ids;
	gboolean _tmp42_ = FALSE;
	GeeHashSet* _tmp43_;
	gboolean _tmp44_ = FALSE;
	gboolean _tmp47_;
	GeeHashSet* _tmp48_;
	GeeHashSet* display_ids_detailed;
	gboolean _tmp61_ = FALSE;
	GeeHashSet* _tmp62_;
	gboolean _tmp63_ = FALSE;
	gboolean _tmp66_;
	TpTestBackend* _tmp67_;
	void* _tmp68_;
	TpTestBackend* _tmp69_;
	void* _tmp70_;
	KfTestBackend* _tmp71_;
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_ = g_slice_new0 (Block4Data);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_->_ref_count_ = 1;
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_->self = g_object_ref (self);
#line 609 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 609 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_->main_loop = _tmp0_;
#line 611 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 611 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 613 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 613 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_test_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 613 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 615 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 615 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_test_backend_add_account (_tmp4_, "protocol", "me2@example.com", "cm", "account2");
#line 615 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 618 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_->user_individual = NULL;
#line 619 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_->user_individual_detailed = NULL;
#line 622 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = folks_individual_aggregator_new ();
#line 622 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_->aggregator = _tmp6_;
#line 623 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data4_->aggregator;
#line 623 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp7_, "individuals-changed-detailed", (GCallback) ___lambda15__folks_individual_aggregator_individuals_changed_detailed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
#line 631 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data4_->aggregator;
#line 631 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp8_, "individuals-changed", (GCallback) ___lambda16__folks_individual_aggregator_individuals_changed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
#line 640 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = self->priv->_test_timeout;
#line 640 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp9_, ___lambda17__gsource_func, block4_data_ref (_data4_), block4_data_unref);
#line 646 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda18__gsource_func, block4_data_ref (_data4_), block4_data_unref);
#line 665 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = _data4_->main_loop;
#line 665 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp10_);
#line 669 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp11_ = _data4_->aggregator;
#line 669 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = folks_individual_aggregator_get_user (_tmp11_);
#line 669 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = _tmp12_;
#line 669 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp14_ = _data4_->user_individual;
#line 669 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp13_ == _tmp14_);
#line 670 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15_ = _data4_->aggregator;
#line 670 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp16_ = folks_individual_aggregator_get_user (_tmp15_);
#line 670 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp17_ = _tmp16_;
#line 670 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp18_ = _data4_->user_individual_detailed;
#line 670 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp17_ == _tmp18_);
#line 673 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp19_ = _data4_->user_individual;
#line 673 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp20_ = folks_individual_get_personas (_tmp19_);
#line 673 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp21_ = _tmp20_;
#line 673 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp22_ = gee_collection_get_size ((GeeCollection*) _tmp21_);
#line 673 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp23_ = _tmp22_;
#line 673 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp23_ == 2);
#line 674 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp24_ = _data4_->user_individual_detailed;
#line 674 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp25_ = folks_individual_get_personas (_tmp24_);
#line 674 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp26_ = _tmp25_;
#line 674 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp27_ = gee_collection_get_size ((GeeCollection*) _tmp26_);
#line 674 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp28_ = _tmp27_;
#line 674 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp28_ == 2);
#line 676 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp29_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 676 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	display_ids = _tmp29_;
#line 3958 "aggregation.c"
	{
		FolksIndividual* _tmp30_;
		GeeSet* _tmp31_;
		GeeSet* _tmp32_;
		GeeIterator* _tmp33_ = NULL;
		GeeIterator* _persona_it;
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp30_ = _data4_->user_individual;
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp31_ = folks_individual_get_personas (_tmp30_);
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp32_ = _tmp31_;
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp33_ = gee_iterable_iterator ((GeeIterable*) _tmp32_);
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_persona_it = _tmp33_;
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 3977 "aggregation.c"
			GeeIterator* _tmp34_;
			gboolean _tmp35_ = FALSE;
			GeeIterator* _tmp36_;
			gpointer _tmp37_ = NULL;
			FolksPersona* persona;
			GeeHashSet* _tmp38_;
			FolksPersona* _tmp39_;
			const gchar* _tmp40_;
			const gchar* _tmp41_;
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp34_ = _persona_it;
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp35_ = gee_iterator_next (_tmp34_);
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp35_) {
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 3995 "aggregation.c"
			}
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp36_ = _persona_it;
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp37_ = gee_iterator_get (_tmp36_);
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			persona = (FolksPersona*) _tmp37_;
#line 679 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp38_ = display_ids;
#line 679 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp39_ = persona;
#line 679 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp40_ = folks_persona_get_display_id (_tmp39_);
#line 679 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp41_ = _tmp40_;
#line 679 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp38_, _tmp41_);
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 4015 "aggregation.c"
		}
#line 677 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_persona_it);
#line 4019 "aggregation.c"
	}
#line 682 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp43_ = display_ids;
#line 682 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp44_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp43_, "me@example.com");
#line 682 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_tmp44_) {
#line 4027 "aggregation.c"
		GeeHashSet* _tmp45_;
		gboolean _tmp46_ = FALSE;
#line 683 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp45_ = display_ids;
#line 683 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp46_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp45_, "me2@example.com");
#line 683 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp42_ = _tmp46_;
#line 4036 "aggregation.c"
	} else {
#line 682 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp42_ = FALSE;
#line 4040 "aggregation.c"
	}
#line 682 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp47_ = _tmp42_;
#line 682 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp47_);
#line 685 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp48_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL);
#line 685 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	display_ids_detailed = _tmp48_;
#line 4050 "aggregation.c"
	{
		FolksIndividual* _tmp49_;
		GeeSet* _tmp50_;
		GeeSet* _tmp51_;
		GeeIterator* _tmp52_ = NULL;
		GeeIterator* _persona_it;
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp49_ = _data4_->user_individual_detailed;
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp50_ = folks_individual_get_personas (_tmp49_);
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp51_ = _tmp50_;
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp52_ = gee_iterable_iterator ((GeeIterable*) _tmp51_);
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_persona_it = _tmp52_;
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4069 "aggregation.c"
			GeeIterator* _tmp53_;
			gboolean _tmp54_ = FALSE;
			GeeIterator* _tmp55_;
			gpointer _tmp56_ = NULL;
			FolksPersona* persona;
			GeeHashSet* _tmp57_;
			FolksPersona* _tmp58_;
			const gchar* _tmp59_;
			const gchar* _tmp60_;
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp53_ = _persona_it;
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp54_ = gee_iterator_next (_tmp53_);
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp54_) {
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 4087 "aggregation.c"
			}
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp55_ = _persona_it;
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp56_ = gee_iterator_get (_tmp55_);
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			persona = (FolksPersona*) _tmp56_;
#line 688 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp57_ = display_ids_detailed;
#line 688 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp58_ = persona;
#line 688 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp59_ = folks_persona_get_display_id (_tmp58_);
#line 688 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp60_ = _tmp59_;
#line 688 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp57_, _tmp60_);
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 4107 "aggregation.c"
		}
#line 686 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_persona_it);
#line 4111 "aggregation.c"
	}
#line 691 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp62_ = display_ids_detailed;
#line 691 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp63_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp62_, "me@example.com");
#line 691 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_tmp63_) {
#line 4119 "aggregation.c"
		GeeHashSet* _tmp64_;
		gboolean _tmp65_ = FALSE;
#line 692 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp64_ = display_ids_detailed;
#line 692 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp65_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp64_, "me2@example.com");
#line 692 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp61_ = _tmp65_;
#line 4128 "aggregation.c"
	} else {
#line 691 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp61_ = FALSE;
#line 4132 "aggregation.c"
	}
#line 691 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp66_ = _tmp61_;
#line 691 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp66_);
#line 695 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp67_ = self->priv->_tp_backend;
#line 695 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp68_ = account2_handle;
#line 695 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp67_, _tmp68_);
#line 696 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp69_ = self->priv->_tp_backend;
#line 696 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp70_ = account1_handle;
#line 696 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp69_, _tmp70_);
#line 697 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp71_ = self->priv->_kf_backend;
#line 697 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp71_);
#line 698 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data4_->aggregator);
#line 698 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_->aggregator = NULL;
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (display_ids_detailed);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (display_ids);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block4_data_unref (_data4_);
#line 607 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data4_ = NULL;
#line 4166 "aggregation.c"
}


static void _aggregation_tests_test_user_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed, FolksIndividual** user_individual) {
#line 701 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 701 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 701 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 701 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (user_individual != NULL);
#line 4179 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4192 "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 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 4213 "aggregation.c"
			}
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 708 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 708 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 708 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 4227 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 708 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 708 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 4234 "aggregation.c"
			}
#line 708 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 708 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp9_);
#line 709 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 709 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 711 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 711 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 4248 "aggregation.c"
			}
#line 714 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = i;
#line 714 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = folks_individual_get_is_user (_tmp11_);
#line 714 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp13_ = _tmp12_;
#line 714 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp13_) {
#line 4258 "aggregation.c"
				FolksIndividual* _tmp14_;
				FolksIndividual* _tmp15_;
#line 716 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp14_ = *user_individual;
#line 716 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 716 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				g_assert (_tmp14_ == _tmp15_);
#line 717 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (*user_individual);
#line 717 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				*user_individual = NULL;
#line 4271 "aggregation.c"
			}
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 4275 "aggregation.c"
		}
#line 706 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 4279 "aggregation.c"
	}
	{
		GeeCollection* _tmp16_;
		GeeIterator* _tmp17_ = NULL;
		GeeIterator* _i_it;
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp16_ = added;
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp17_ = gee_iterable_iterator ((GeeIterable*) _tmp16_);
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp17_;
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4293 "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 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp18_ = _i_it;
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp19_ = gee_iterator_next (_tmp18_);
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp19_) {
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 4314 "aggregation.c"
			}
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp20_ = _i_it;
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp21_ = gee_iterator_get (_tmp20_);
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp21_;
#line 723 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp23_ = i;
#line 723 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp23_ != NULL) {
#line 723 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp22_ = TRUE;
#line 4328 "aggregation.c"
			} else {
				gboolean _tmp24_;
#line 723 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp24_ = detailed;
#line 723 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp22_ = _tmp24_ == TRUE;
#line 4335 "aggregation.c"
			}
#line 723 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp25_ = _tmp22_;
#line 723 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp25_);
#line 724 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp26_ = i;
#line 724 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp26_ == NULL) {
#line 726 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 726 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 4349 "aggregation.c"
			}
#line 729 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp27_ = i;
#line 729 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp28_ = folks_individual_get_is_user (_tmp27_);
#line 729 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp29_ = _tmp28_;
#line 729 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp29_) {
#line 4359 "aggregation.c"
				FolksIndividual* _tmp30_;
				FolksIndividual* _tmp31_;
				FolksIndividual* _tmp32_;
#line 731 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp30_ = *user_individual;
#line 731 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				g_assert (_tmp30_ == NULL);
#line 732 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp31_ = i;
#line 732 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp32_ = _g_object_ref0 (_tmp31_);
#line 732 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (*user_individual);
#line 732 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				*user_individual = _tmp32_;
#line 4375 "aggregation.c"
			}
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 4379 "aggregation.c"
		}
#line 721 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 4383 "aggregation.c"
	}
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data5_;
#line 4393 "aggregation.c"
}


static void block5_data_unref (Block5Data* _data5_) {
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data5_->self);
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data5_->aggregator);
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data5_->main_loop);
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block5Data, _data5_);
#line 4408 "aggregation.c"
	}
}


static void __lambda20_ (AggregationTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeSet* _tmp1_ = NULL;
	GeeSet* removed;
	GeeMultiMap* _tmp2_;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* added;
#line 753 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 755 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 755 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_keys (_tmp0_);
#line 755 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	removed = _tmp1_;
#line 756 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 756 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_values (_tmp2_);
#line 756 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	added = _tmp3_;
#line 758 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_untrusted_store_individuals_changed (self, TRUE, added, removed);
#line 753 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 753 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 4440 "aggregation.c"
}


static void ___lambda20__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 753 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda20_ (self, changes);
#line 4447 "aggregation.c"
}


static void __lambda21_ (AggregationTests* self, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	GeeSet* _tmp0_;
	GeeSet* _tmp1_;
#line 760 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 760 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 762 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = added;
#line 762 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = removed;
#line 762 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_aggregation_tests_test_untrusted_store_individuals_changed (self, FALSE, (GeeCollection*) _tmp0_, _tmp1_);
#line 4464 "aggregation.c"
}


static void ___lambda21__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 760 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda21_ (self, added, removed, message, actor, reason);
#line 4471 "aggregation.c"
}


static gboolean __lambda22_ (Block5Data* _data5_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 769 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data5_->self;
#line 771 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data5_->main_loop);
#line 772 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 772 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 4486 "aggregation.c"
}


static gboolean ___lambda22__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda22_ (self);
#line 769 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 4495 "aggregation.c"
}


static void __lambda24_ (Block5Data* _data5_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 777 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data5_->self;
#line 777 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 4506 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 781 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data5_->aggregator;
#line 781 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 781 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 781 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 4518 "aggregation.c"
			goto __catch4_g_error;
		}
	}
	goto __finally4;
	__catch4_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 779 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 779 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 785 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 785 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:785: Failed to prepare aggregator: %s", _tmp2_);
#line 787 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 779 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 4539 "aggregation.c"
	}
	__finally4:
#line 779 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 779 "/debian/rgs/devel/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 779 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 779 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 4550 "aggregation.c"
	}
}


static void ___lambda24__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 777 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda24_ (self, source_object, res);
#line 777 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block5_data_unref (self);
#line 4560 "aggregation.c"
}


static gboolean __lambda23_ (Block5Data* _data5_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 775 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data5_->self;
#line 777 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data5_->aggregator;
#line 777 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda24__gasync_ready_callback, block5_data_ref (_data5_));
#line 791 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 791 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 4578 "aggregation.c"
}


static gboolean ___lambda23__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda23_ (self);
#line 775 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 4587 "aggregation.c"
}


void aggregation_tests_test_untrusted_store (AggregationTests* self) {
	Block5Data* _data5_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account1_handle;
	TpTestBackend* _tmp4_;
	void* _tmp5_ = NULL;
	void* account2_handle;
	FolksIndividualAggregator* _tmp6_;
	FolksIndividualAggregator* _tmp7_;
	FolksIndividualAggregator* _tmp8_;
	gint _tmp9_;
	TpTestBackend* _tmp10_;
	TpTestBackend* _tmp11_;
	KfTestBackend* _tmp12_;
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data5_ = g_slice_new0 (Block5Data);
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data5_->_ref_count_ = 1;
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data5_->self = g_object_ref (self);
#line 742 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 742 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data5_->main_loop = _tmp0_;
#line 744 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 744 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 746 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 746 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_test_backend_add_account (_tmp2_, "irc", "me@example.com", "cm", "account");
#line 746 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account1_handle = _tmp3_;
#line 748 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_tp_backend;
#line 748 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = tp_test_backend_add_account (_tmp4_, "irc", "me2@example.com", "cm", "account2");
#line 748 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account2_handle = _tmp5_;
#line 752 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = folks_individual_aggregator_new ();
#line 752 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data5_->aggregator = _tmp6_;
#line 753 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = _data5_->aggregator;
#line 753 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_object (_tmp7_, "individuals-changed-detailed", (GCallback) ___lambda20__folks_individual_aggregator_individuals_changed_detailed, self, 0);
#line 760 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data5_->aggregator;
#line 760 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_object (_tmp8_, "individuals-changed", (GCallback) ___lambda21__folks_individual_aggregator_individuals_changed, self, 0);
#line 769 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = self->priv->_test_timeout;
#line 769 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp9_, ___lambda22__gsource_func, block5_data_ref (_data5_), block5_data_unref);
#line 775 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda23__gsource_func, block5_data_ref (_data5_), block5_data_unref);
#line 794 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data5_->main_loop);
#line 797 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = self->priv->_tp_backend;
#line 797 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp10_, account2_handle);
#line 798 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp11_ = self->priv->_tp_backend;
#line 798 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp11_, account1_handle);
#line 799 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = self->priv->_kf_backend;
#line 799 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp12_);
#line 800 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data5_->aggregator);
#line 800 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data5_->aggregator = NULL;
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block5_data_unref (_data5_);
#line 740 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data5_ = NULL;
#line 4676 "aggregation.c"
}


static void _aggregation_tests_test_untrusted_store_individuals_changed (AggregationTests* self, gboolean detailed, GeeCollection* added, GeeSet* removed) {
#line 803 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 803 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 803 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 4687 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4700 "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 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 4723 "aggregation.c"
			}
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 810 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp7_ = i;
#line 810 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp7_ != NULL) {
#line 810 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = TRUE;
#line 4737 "aggregation.c"
			} else {
				gboolean _tmp8_;
#line 810 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp8_ = detailed;
#line 810 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp6_ = _tmp8_ == TRUE;
#line 4744 "aggregation.c"
			}
#line 810 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = _tmp6_;
#line 810 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp9_);
#line 811 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 811 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 813 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 813 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 4758 "aggregation.c"
			}
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = i;
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp13_ = folks_individual_get_is_user (_tmp12_);
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp14_ = _tmp13_;
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp14_) {
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp11_ = TRUE;
#line 4770 "aggregation.c"
			} else {
				FolksIndividual* _tmp15_;
				GeeSet* _tmp16_;
				GeeSet* _tmp17_;
				gint _tmp18_;
				gint _tmp19_;
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp16_ = folks_individual_get_personas (_tmp15_);
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp17_ = _tmp16_;
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp18_ = gee_collection_get_size ((GeeCollection*) _tmp17_);
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp19_ = _tmp18_;
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp11_ = _tmp19_ == 1;
#line 4789 "aggregation.c"
			}
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp20_ = _tmp11_;
#line 816 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp20_);
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 4797 "aggregation.c"
		}
#line 808 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 4801 "aggregation.c"
	}
	{
		GeeCollection* _tmp21_;
		GeeIterator* _tmp22_ = NULL;
		GeeIterator* _i_it;
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp21_ = added;
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp22_ = gee_iterable_iterator ((GeeIterable*) _tmp21_);
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp22_;
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 4815 "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 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp23_ = _i_it;
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp24_ = gee_iterator_next (_tmp23_);
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp24_) {
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 4838 "aggregation.c"
			}
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp25_ = _i_it;
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp26_ = gee_iterator_get (_tmp25_);
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp26_;
#line 821 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp28_ = i;
#line 821 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp28_ != NULL) {
#line 821 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp27_ = TRUE;
#line 4852 "aggregation.c"
			} else {
				gboolean _tmp29_;
#line 821 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp29_ = detailed;
#line 821 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp27_ = _tmp29_ == TRUE;
#line 4859 "aggregation.c"
			}
#line 821 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp30_ = _tmp27_;
#line 821 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp30_);
#line 822 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp31_ = i;
#line 822 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp31_ == NULL) {
#line 824 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 824 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 4873 "aggregation.c"
			}
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp33_ = i;
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp34_ = folks_individual_get_is_user (_tmp33_);
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp35_ = _tmp34_;
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp35_) {
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp32_ = TRUE;
#line 4885 "aggregation.c"
			} else {
				FolksIndividual* _tmp36_;
				GeeSet* _tmp37_;
				GeeSet* _tmp38_;
				gint _tmp39_;
				gint _tmp40_;
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp36_ = i;
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp37_ = folks_individual_get_personas (_tmp36_);
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp38_ = _tmp37_;
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp39_ = gee_collection_get_size ((GeeCollection*) _tmp38_);
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp40_ = _tmp39_;
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp32_ = _tmp40_ == 1;
#line 4904 "aggregation.c"
			}
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp41_ = _tmp32_;
#line 827 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp41_);
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 4912 "aggregation.c"
		}
#line 819 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 4916 "aggregation.c"
	}
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data6_;
#line 4926 "aggregation.c"
}


static void block6_data_unref (Block6Data* _data6_) {
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data6_->self);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data6_->aggregator);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data6_->individuals_map);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data6_->main_loop);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block6Data, _data6_);
#line 4943 "aggregation.c"
	}
}


static void ____lambda26_ (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 902 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 902 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (obj != NULL);
#line 904 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = obj;
#line 904 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	ind = FOLKS_INDIVIDUAL (_tmp0_);
#line 905 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = ind;
#line 905 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = folks_individual_get_id (_tmp1_);
#line 905 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = _tmp2_;
#line 905 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = ind;
#line 905 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = g_strdup_printf ("%s:%p", _tmp3_, _tmp4_);
#line 905 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	weak_key = _tmp5_;
#line 907 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = _data6_->individuals_map;
#line 907 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = weak_key;
#line 907 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp6_, _tmp7_);
#line 907 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp8_ == TRUE);
#line 908 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data6_->individuals_map;
#line 908 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = weak_key;
#line 908 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp11_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp9_, _tmp10_);
#line 908 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	state = GPOINTER_TO_INT (_tmp11_);
#line 909 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = state;
#line 909 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_tmp13_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_REMOVED) {
#line 909 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp12_ = TRUE;
#line 5012 "aggregation.c"
	} else {
		gboolean _tmp14_ = FALSE;
		gboolean _tmp15_;
		gboolean _tmp17_;
#line 910 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp15_ = _data6_->aggregator_is_finalising;
#line 910 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_tmp15_ == TRUE) {
#line 5021 "aggregation.c"
			AggregationTestsIndividualState _tmp16_;
#line 911 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp16_ = state;
#line 911 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp14_ = _tmp16_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED;
#line 5027 "aggregation.c"
		} else {
#line 910 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp14_ = FALSE;
#line 5031 "aggregation.c"
		}
#line 910 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp17_ = _tmp14_;
#line 910 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp12_ = _tmp17_;
#line 5037 "aggregation.c"
	}
#line 909 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp18_ = _tmp12_;
#line 909 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp18_);
#line 913 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp19_ = _data6_->individuals_map;
#line 913 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp20_ = weak_key;
#line 913 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	gee_abstract_map_set ((GeeAbstractMap*) _tmp19_, _tmp20_, GINT_TO_POINTER (AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED));
#line 902 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_free0 (weak_key);
#line 5051 "aggregation.c"
}


static void _____lambda26__gweak_notify (gpointer self, GObject* object) {
#line 902 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	____lambda26_ (self, object);
#line 5058 "aggregation.c"
}


static void __lambda25_ (Block6Data* _data6_, GeeSet* added, GeeSet* removed, const gchar* m, FolksPersona* a, FolksGroupDetailsChangeReason r) {
	AggregationTests * self;
#line 877 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 877 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (added != NULL);
#line 877 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (removed != NULL);
#line 5070 "aggregation.c"
	{
		GeeSet* _tmp0_;
		GeeIterator* _tmp1_ = NULL;
		GeeIterator* _i_it;
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = removed;
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = gee_iterable_iterator ((GeeIterable*) _tmp0_);
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp1_;
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 5083 "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 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp2_ = _i_it;
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp3_) {
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 5111 "aggregation.c"
			}
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp4_ = _i_it;
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp5_;
#line 881 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp6_ = i;
#line 881 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp7_ = folks_individual_get_id (_tmp6_);
#line 881 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp8_ = _tmp7_;
#line 881 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = i;
#line 881 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = g_strdup_printf ("%s:%p", _tmp8_, _tmp9_);
#line 881 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			key = _tmp10_;
#line 883 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = _data6_->individuals_map;
#line 883 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = key;
#line 883 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp13_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp11_, _tmp12_);
#line 883 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp13_ == TRUE);
#line 884 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp14_ = _data6_->individuals_map;
#line 884 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp15_ = key;
#line 884 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp16_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp14_, _tmp15_);
#line 884 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (GPOINTER_TO_INT (_tmp16_) == AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED);
#line 886 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp17_ = _data6_->individuals_map;
#line 886 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp18_ = key;
#line 886 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_map_set ((GeeAbstractMap*) _tmp17_, _tmp18_, GINT_TO_POINTER (AGGREGATION_TESTS_INDIVIDUAL_STATE_REMOVED));
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_free0 (key);
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 5157 "aggregation.c"
		}
#line 879 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 5161 "aggregation.c"
	}
	{
		GeeSet* _tmp19_;
		GeeIterator* _tmp20_ = NULL;
		GeeIterator* _i_it;
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp19_ = added;
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp20_ = gee_iterable_iterator ((GeeIterable*) _tmp19_);
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp20_;
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 5175 "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 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp21_ = _i_it;
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp22_ = gee_iterator_next (_tmp21_);
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp22_) {
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 5201 "aggregation.c"
			}
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp23_ = _i_it;
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp24_ = gee_iterator_get (_tmp23_);
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp24_;
#line 891 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp25_ = i;
#line 891 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp26_ = folks_individual_get_id (_tmp25_);
#line 891 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp27_ = _tmp26_;
#line 891 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp28_ = i;
#line 891 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp29_ = g_strdup_printf ("%s:%p", _tmp27_, _tmp28_);
#line 891 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			key = _tmp29_;
#line 893 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp30_ = _data6_->individuals_map;
#line 893 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp31_ = key;
#line 893 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp32_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp30_, _tmp31_);
#line 893 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp32_ == FALSE);
#line 895 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp33_ = _data6_->individuals_map;
#line 895 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp34_ = key;
#line 895 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			gee_abstract_map_set ((GeeAbstractMap*) _tmp33_, _tmp34_, GINT_TO_POINTER (AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED));
#line 902 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp35_ = i;
#line 902 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_object_weak_ref ((GObject*) _tmp35_, _____lambda26__gweak_notify, _data6_);
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_free0 (key);
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 5243 "aggregation.c"
		}
#line 889 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 5247 "aggregation.c"
	}
}


static void ___lambda25__folks_individual_aggregator_individuals_changed (FolksIndividualAggregator* _sender, GeeSet* added, GeeSet* removed, const gchar* message, FolksPersona* actor, FolksGroupDetailsChangeReason reason, gpointer self) {
#line 877 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda25_ (self, added, removed, message, actor, reason);
#line 5255 "aggregation.c"
}


static gboolean __lambda27_ (Block6Data* _data6_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 920 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 922 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data6_->main_loop;
#line 922 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 923 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 923 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5273 "aggregation.c"
}


static gboolean ___lambda27__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda27_ (self);
#line 920 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5282 "aggregation.c"
}


static void __lambda29_ (Block6Data* _data6_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 928 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 928 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 5293 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 932 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data6_->aggregator;
#line 932 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 932 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 932 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 5305 "aggregation.c"
			goto __catch5_g_error;
		}
	}
	goto __finally5;
	__catch5_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 930 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 930 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 936 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 936 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:936: Failed to prepare aggregator: %s", _tmp2_);
#line 938 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 930 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 5326 "aggregation.c"
	}
	__finally5:
#line 930 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 930 "/debian/rgs/devel/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 930 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 930 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 5337 "aggregation.c"
	}
}


static void ___lambda29__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 928 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda29_ (self, source_object, res);
#line 928 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block6_data_unref (self);
#line 5347 "aggregation.c"
}


static gboolean __lambda28_ (Block6Data* _data6_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 926 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 928 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data6_->aggregator;
#line 928 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda29__gasync_ready_callback, block6_data_ref (_data6_));
#line 942 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 942 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5365 "aggregation.c"
}


static gboolean ___lambda28__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda28_ (self);
#line 926 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5374 "aggregation.c"
}


static gboolean __lambda30_ (Block6Data* _data6_) {
	AggregationTests * self;
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 965 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data6_->self;
#line 967 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data6_->main_loop;
#line 967 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_tmp0_);
#line 968 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 968 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5392 "aggregation.c"
}


static gboolean ___lambda30__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda30_ (self);
#line 965 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5401 "aggregation.c"
}


void aggregation_tests_test_linked_individual_refcounting (AggregationTests* self) {
	Block6Data* _data6_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestBackend* _tmp2_;
	void* _tmp3_ = NULL;
	void* account_handle;
	GeeHashMap* _tmp4_;
	FolksIndividualAggregator* _tmp5_;
	FolksIndividualAggregator* _tmp6_;
	gint _tmp7_;
	GMainLoop* _tmp8_;
	GeeHashMap* _tmp9_;
	GeeMapIterator* _tmp10_ = NULL;
	GeeMapIterator* iter;
	TpTestBackend* _tmp19_;
	void* _tmp20_;
	KfTestBackend* _tmp21_;
	gint _tmp22_;
	GMainLoop* _tmp23_;
	GeeHashMap* _tmp24_;
	GeeMapIterator* _tmp25_ = NULL;
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_ = g_slice_new0 (Block6Data);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->_ref_count_ = 1;
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->self = g_object_ref (self);
#line 847 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 847 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->main_loop = _tmp0_;
#line 849 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 849 "/debian/rgs/devel/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 856 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 856 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_test_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 856 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account_handle = _tmp3_;
#line 871 "/debian/rgs/devel/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 871 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->individuals_map = _tmp4_;
#line 874 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = folks_individual_aggregator_new ();
#line 874 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->aggregator = _tmp5_;
#line 875 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->aggregator_is_finalising = FALSE;
#line 877 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = _data6_->aggregator;
#line 877 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp6_, "individuals-changed", (GCallback) ___lambda25__folks_individual_aggregator_individuals_changed, block6_data_ref (_data6_), (GClosureNotify) block6_data_unref, 0);
#line 920 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_test_timeout;
#line 920 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp7_, ___lambda27__gsource_func, block6_data_ref (_data6_), block6_data_unref);
#line 926 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda28__gsource_func, block6_data_ref (_data6_), block6_data_unref);
#line 945 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = _data6_->main_loop;
#line 945 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp8_);
#line 949 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data6_->individuals_map;
#line 949 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp10_ = gee_abstract_map_map_iterator ((GeeAbstractMap*) _tmp9_);
#line 949 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	iter = _tmp10_;
#line 950 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	while (TRUE) {
#line 5481 "aggregation.c"
		GeeMapIterator* _tmp11_;
		gboolean _tmp12_ = FALSE;
		GeeMapIterator* _tmp13_;
		gpointer _tmp14_ = NULL;
		AggregationTestsIndividualState state;
		gboolean _tmp15_ = FALSE;
		AggregationTestsIndividualState _tmp16_;
		gboolean _tmp18_;
#line 950 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp11_ = iter;
#line 950 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp12_ = gee_map_iterator_next (_tmp11_);
#line 950 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (!(_tmp12_ == TRUE)) {
#line 950 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			break;
#line 5498 "aggregation.c"
		}
#line 952 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp13_ = iter;
#line 952 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp14_ = gee_map_iterator_get_value (_tmp13_);
#line 952 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		state = GPOINTER_TO_INT (_tmp14_);
#line 953 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp16_ = state;
#line 953 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_tmp16_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_ADDED) {
#line 953 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp15_ = TRUE;
#line 5512 "aggregation.c"
		} else {
			AggregationTestsIndividualState _tmp17_;
#line 954 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp17_ = state;
#line 954 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp15_ = _tmp17_ == AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED;
#line 5519 "aggregation.c"
		}
#line 953 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp18_ = _tmp15_;
#line 953 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert (_tmp18_);
#line 5525 "aggregation.c"
	}
#line 958 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp19_ = self->priv->_tp_backend;
#line 958 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp20_ = account_handle;
#line 958 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp19_, _tmp20_);
#line 959 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp21_ = self->priv->_kf_backend;
#line 959 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp21_);
#line 960 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->aggregator_is_finalising = TRUE;
#line 961 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data6_->aggregator);
#line 961 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_->aggregator = NULL;
#line 965 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp22_ = self->priv->_test_timeout;
#line 965 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp22_, ___lambda30__gsource_func, block6_data_ref (_data6_), block6_data_unref);
#line 971 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp23_ = _data6_->main_loop;
#line 971 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_tmp23_);
#line 975 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp24_ = _data6_->individuals_map;
#line 975 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp25_ = gee_abstract_map_map_iterator ((GeeAbstractMap*) _tmp24_);
#line 975 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (iter);
#line 975 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	iter = _tmp25_;
#line 976 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	while (TRUE) {
#line 5561 "aggregation.c"
		GeeMapIterator* _tmp26_;
		gboolean _tmp27_ = FALSE;
		GeeMapIterator* _tmp28_;
		gpointer _tmp29_ = NULL;
#line 976 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp26_ = iter;
#line 976 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp27_ = gee_map_iterator_next (_tmp26_);
#line 976 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (!(_tmp27_ == TRUE)) {
#line 976 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			break;
#line 5574 "aggregation.c"
		}
#line 978 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp28_ = iter;
#line 978 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp29_ = gee_map_iterator_get_value (_tmp28_);
#line 978 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert (GPOINTER_TO_INT (_tmp29_) == AGGREGATION_TESTS_INDIVIDUAL_STATE_FINALISED);
#line 5582 "aggregation.c"
	}
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (iter);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block6_data_unref (_data6_);
#line 845 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data6_ = NULL;
#line 5590 "aggregation.c"
}


static Block7Data* block7_data_ref (Block7Data* _data7_) {
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data7_->_ref_count_);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data7_;
#line 5599 "aggregation.c"
}


static void block7_data_unref (Block7Data* _data7_) {
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->self);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->writeable_persona);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->aggregator);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->individual);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data7_->main_loop);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block7Data, _data7_);
#line 5618 "aggregation.c"
	}
}


static void __lambda31_ (Block7Data* _data7_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
#line 999 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 999 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1001 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1001 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_size (_tmp0_);
#line 1001 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = _tmp1_;
#line 1001 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp2_ == 1);
#line 5640 "aggregation.c"
	{
		GeeMultiMap* _tmp3_;
		GeeSet* _tmp4_ = NULL;
		GeeSet* _tmp5_;
		GeeIterator* _tmp6_ = NULL;
		GeeIterator* _tmp7_;
		GeeIterator* _removed_it;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp3_ = changes;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp4_ = gee_multi_map_get_keys (_tmp3_);
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp5_ = _tmp4_;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp6_ = gee_iterable_iterator ((GeeIterable*) _tmp5_);
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp7_ = _tmp6_;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_tmp5_);
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_removed_it = _tmp7_;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 5664 "aggregation.c"
			GeeIterator* _tmp8_;
			gboolean _tmp9_ = FALSE;
			GeeIterator* _tmp10_;
			gpointer _tmp11_ = NULL;
			FolksIndividual* removed;
			FolksIndividual* _tmp12_;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp8_ = _removed_it;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_next (_tmp8_);
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp9_) {
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 5679 "aggregation.c"
			}
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = _removed_it;
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = gee_iterator_get (_tmp10_);
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			removed = (FolksIndividual*) _tmp11_;
#line 1005 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = removed;
#line 1005 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp12_ == NULL);
#line 5691 "aggregation.c"
			{
				GeeMultiMap* _tmp13_;
				FolksIndividual* _tmp14_;
				GeeCollection* _tmp15_ = NULL;
				GeeCollection* _tmp16_;
				GeeIterator* _tmp17_ = NULL;
				GeeIterator* _tmp18_;
				GeeIterator* _i_it;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp13_ = changes;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp14_ = removed;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp15_ = gee_multi_map_get (_tmp13_, _tmp14_);
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp16_ = _tmp15_;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp17_ = gee_iterable_iterator ((GeeIterable*) _tmp16_);
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp18_ = _tmp17_;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_tmp16_);
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_i_it = _tmp18_;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 5718 "aggregation.c"
					GeeIterator* _tmp19_;
					gboolean _tmp20_ = FALSE;
					GeeIterator* _tmp21_;
					gpointer _tmp22_ = NULL;
					FolksIndividual* i;
					FolksIndividual* _tmp23_;
					FolksIndividual* _tmp24_;
					FolksIndividual* _tmp25_;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp19_ = _i_it;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp20_ = gee_iterator_next (_tmp19_);
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (!_tmp20_) {
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						break;
#line 5735 "aggregation.c"
					}
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp21_ = _i_it;
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp22_ = gee_iterator_get (_tmp21_);
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					i = (FolksIndividual*) _tmp22_;
#line 1009 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp23_ = i;
#line 1009 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					g_assert (_tmp23_ != NULL);
#line 1010 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					g_assert (_data7_->individual == NULL);
#line 1012 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp24_ = i;
#line 1012 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp25_ = _g_object_ref0 (_tmp24_);
#line 1012 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (_data7_->individual);
#line 1012 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_data7_->individual = _tmp25_;
#line 1013 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					g_main_loop_quit (_data7_->main_loop);
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (i);
#line 5761 "aggregation.c"
				}
#line 1007 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 5765 "aggregation.c"
			}
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (removed);
#line 5769 "aggregation.c"
		}
#line 1003 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_removed_it);
#line 5773 "aggregation.c"
	}
}


static void ___lambda31__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 999 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda31_ (self, changes);
#line 5781 "aggregation.c"
}


static gboolean __lambda32_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1019 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1021 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data7_->main_loop);
#line 1022 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1022 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5796 "aggregation.c"
}


static gboolean ___lambda32__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda32_ (self);
#line 1019 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5805 "aggregation.c"
}


static void __lambda34_ (Block7Data* _data7_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1027 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1027 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 5816 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 1031 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data7_->aggregator;
#line 1031 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 1031 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1031 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 5828 "aggregation.c"
			goto __catch6_g_error;
		}
	}
	goto __finally6;
	__catch6_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 1029 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1029 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1035 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 1035 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1035: Failed to prepare aggregator: %s", _tmp2_);
#line 1037 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1029 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 5849 "aggregation.c"
	}
	__finally6:
#line 1029 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1029 "/debian/rgs/devel/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 1029 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1029 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 5860 "aggregation.c"
	}
}


static void ___lambda34__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1027 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda34_ (self, source_object, res);
#line 1027 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block7_data_unref (self);
#line 5870 "aggregation.c"
}


static gboolean __lambda33_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1025 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1027 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data7_->aggregator;
#line 1027 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda34__gasync_ready_callback, block7_data_ref (_data7_));
#line 1041 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1041 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5888 "aggregation.c"
}


static gboolean ___lambda33__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda33_ (self);
#line 1025 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5897 "aggregation.c"
}


static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle) {
	int i;
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	for (i = 0; i < stack_length; i++) {
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			return TRUE;
#line 5909 "aggregation.c"
		}
	}
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return FALSE;
#line 5914 "aggregation.c"
}


static gboolean __lambda35_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1063 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1065 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data7_->main_loop);
#line 1066 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1066 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5929 "aggregation.c"
}


static gboolean ___lambda35__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda35_ (self);
#line 1063 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 5938 "aggregation.c"
}


static void __lambda37_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1072 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1072 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (res != NULL);
#line 5949 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
		FolksPersona* _tmp2_ = NULL;
		FolksPersona* _tmp3_;
#line 1077 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data7_->aggregator;
#line 1077 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = res;
#line 1077 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = folks_individual_aggregator_ensure_individual_property_writeable_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1077 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp3_ = _tmp2_;
#line 1077 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 5965 "aggregation.c"
			goto __catch7_g_error;
		}
#line 1076 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data7_->writeable_persona);
#line 1076 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_data7_->writeable_persona = _tmp3_;
#line 1079 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_main_loop_quit (_data7_->main_loop);
#line 5974 "aggregation.c"
	}
	goto __finally7;
	__catch7_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp4_;
#line 1074 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1074 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1083 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp4_ = e1->message;
#line 1083 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1083: Failed to ensure property writeable: %s", _tmp4_);
#line 1085 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1074 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 5993 "aggregation.c"
	}
	__finally7:
#line 1074 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1074 "/debian/rgs/devel/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 1074 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1074 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 6004 "aggregation.c"
	}
}


static void ___lambda37__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1071 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda37_ (self, source_object, res);
#line 1071 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block7_data_unref (self);
#line 6014 "aggregation.c"
}


static gboolean __lambda36_ (Block7Data* _data7_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1069 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data7_->self;
#line 1071 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data7_->aggregator;
#line 1071 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_ensure_individual_property_writeable (_tmp0_, _data7_->individual, "alias", ___lambda37__gasync_ready_callback, block7_data_ref (_data7_));
#line 1089 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1089 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6032 "aggregation.c"
}


static gboolean ___lambda36__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda36_ (self);
#line 1069 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6041 "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 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_ = g_slice_new0 (Block7Data);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_->_ref_count_ = 1;
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_->self = g_object_ref (self);
#line 990 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 990 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_->main_loop = _tmp0_;
#line 992 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 992 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "protocol=travis@example.com\n");
#line 995 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_->individual = NULL;
#line 998 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = folks_individual_aggregator_new ();
#line 998 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_->aggregator = _tmp2_;
#line 999 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = _data7_->aggregator;
#line 999 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp3_, "individuals-changed-detailed", (GCallback) ___lambda31__folks_individual_aggregator_individuals_changed_detailed, block7_data_ref (_data7_), (GClosureNotify) block7_data_unref, 0);
#line 1019 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_test_timeout;
#line 1019 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp4_, ___lambda32__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1025 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda33__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1044 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data7_->main_loop);
#line 1047 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_data7_->individual != NULL);
#line 1049 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 6100 "aggregation.c"
	{
		GeeSet* _tmp5_;
		GeeSet* _tmp6_;
		GeeIterator* _tmp7_ = NULL;
		GeeIterator* _p_it;
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp5_ = folks_individual_get_personas (_data7_->individual);
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp6_ = _tmp5_;
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp7_ = gee_iterable_iterator ((GeeIterable*) _tmp6_);
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp7_;
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6116 "aggregation.c"
			gboolean _tmp8_ = FALSE;
			gpointer _tmp9_ = NULL;
			FolksPersona* p;
			FolksPersona* _tmp10_;
			FolksPersona* _tmp11_;
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp8_ = gee_iterator_next (_p_it);
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp8_) {
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 6128 "aggregation.c"
			}
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_p_it);
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp9_;
#line 1052 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = p;
#line 1052 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = _g_object_ref0 (_tmp10_);
#line 1052 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 1052 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			persona = _tmp11_;
#line 1053 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 1053 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			break;
#line 6146 "aggregation.c"
		}
#line 1050 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 6150 "aggregation.c"
	}
#line 1057 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = persona;
#line 1057 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp12_ != NULL);
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = persona;
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp14_ = folks_persona_get_writeable_properties (_tmp13_, &_tmp14__length1);
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15_ = _tmp14_;
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15__length1 = _tmp14__length1;
#line 1058 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_vala_string_array_contains (_tmp15_, _tmp15__length1, "alias"));
#line 1060 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_->writeable_persona = NULL;
#line 1063 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp16_ = self->priv->_test_timeout;
#line 1063 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp16_, ___lambda35__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1069 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda36__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 1092 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data7_->main_loop);
#line 1094 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_data7_->writeable_persona != NULL);
#line 1095 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp17_ = persona;
#line 1095 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_data7_->writeable_persona == _tmp17_);
#line 1098 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp18_ = self->priv->_kf_backend;
#line 1098 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp18_);
#line 1099 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data7_->aggregator);
#line 1099 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_->aggregator = NULL;
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block7_data_unref (_data7_);
#line 988 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data7_ = NULL;
#line 6196 "aggregation.c"
}


static Block8Data* block8_data_ref (Block8Data* _data8_) {
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data8_->_ref_count_);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data8_;
#line 6205 "aggregation.c"
}


static void block8_data_unref (Block8Data* _data8_) {
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->self);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->writeable_persona);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->aggregator);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->individual);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data8_->main_loop);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block8Data, _data8_);
#line 6224 "aggregation.c"
	}
}


static void __lambda38_ (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 1125 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1125 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1127 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1127 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 1127 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	added = _tmp1_;
#line 1128 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 1128 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 1128 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	removed = _tmp3_;
#line 6256 "aggregation.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp4_ = added;
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp5_;
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6269 "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 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp6_ = _i_it;
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp7_) {
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 6287 "aggregation.c"
			}
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp8_ = _i_it;
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp9_;
#line 1132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 1132 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp10_ != NULL);
#line 1135 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = i;
#line 1135 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = folks_individual_get_id (_tmp11_);
#line 1135 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp13_ = _tmp12_;
#line 1135 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (g_strcmp0 (_tmp13_, "0e46c5e74f61908f49550d241f2a1651892a1695") == 0) {
#line 6307 "aggregation.c"
				FolksIndividual* _tmp14_;
				FolksIndividual* _tmp15_;
				FolksIndividual* _tmp16_;
#line 1137 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp14_ = _data8_->individual;
#line 1137 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				g_assert (_tmp14_ == NULL);
#line 1138 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp15_ = i;
#line 1138 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp16_ = _g_object_ref0 (_tmp15_);
#line 1138 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_data8_->individual);
#line 1138 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_data8_->individual = _tmp16_;
#line 1139 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1139 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 1139 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (removed);
#line 1139 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (added);
#line 1139 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				return;
#line 6333 "aggregation.c"
			}
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 6337 "aggregation.c"
		}
#line 1130 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 6341 "aggregation.c"
	}
#line 1143 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp17_ = removed;
#line 1143 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp18_ = gee_collection_get_size ((GeeCollection*) _tmp17_);
#line 1143 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp19_ = _tmp18_;
#line 1143 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp19_ == 1);
#line 6351 "aggregation.c"
	{
		GeeSet* _tmp20_;
		GeeIterator* _tmp21_ = NULL;
		GeeIterator* _i_it;
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp20_ = removed;
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp21_ = gee_iterable_iterator ((GeeIterable*) _tmp20_);
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp21_;
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6364 "aggregation.c"
			GeeIterator* _tmp22_;
			gboolean _tmp23_ = FALSE;
			GeeIterator* _tmp24_;
			gpointer _tmp25_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp26_;
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp22_ = _i_it;
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp23_ = gee_iterator_next (_tmp22_);
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp23_) {
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 6379 "aggregation.c"
			}
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp24_ = _i_it;
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp25_ = gee_iterator_get (_tmp24_);
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp25_;
#line 1147 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp26_ = i;
#line 1147 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp26_ == NULL);
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 6393 "aggregation.c"
		}
#line 1145 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 6397 "aggregation.c"
	}
#line 1125 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 1125 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 6403 "aggregation.c"
}


static void ___lambda38__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 1124 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda38_ (self, changes);
#line 6410 "aggregation.c"
}


static gboolean __lambda39_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1152 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1154 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data8_->main_loop);
#line 1155 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1155 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6425 "aggregation.c"
}


static gboolean ___lambda39__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda39_ (self);
#line 1152 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6434 "aggregation.c"
}


static void __lambda41_ (Block8Data* _data8_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 6445 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 1164 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data8_->aggregator;
#line 1164 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 1164 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1164 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 6457 "aggregation.c"
			goto __catch8_g_error;
		}
	}
	goto __finally8;
	__catch8_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 1162 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1162 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1168 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 1168 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1168: Failed to prepare aggregator: %s", _tmp2_);
#line 1170 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1162 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 6478 "aggregation.c"
	}
	__finally8:
#line 1162 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1162 "/debian/rgs/devel/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 1162 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1162 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 6489 "aggregation.c"
	}
}


static void ___lambda41__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda41_ (self, source_object, res);
#line 1160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block8_data_unref (self);
#line 6499 "aggregation.c"
}


static gboolean __lambda40_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1158 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data8_->aggregator;
#line 1160 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda41__gasync_ready_callback, block8_data_ref (_data8_));
#line 1174 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1174 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6517 "aggregation.c"
}


static gboolean ___lambda40__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda40_ (self);
#line 1158 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6526 "aggregation.c"
}


static void __lambda42_ (Block8Data* _data8_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
#line 1198 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1198 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1200 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1200 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 1200 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	added = _tmp1_;
#line 1201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = changes;
#line 1201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 1201 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	removed = _tmp3_;
#line 6554 "aggregation.c"
	{
		GeeSet* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp4_ = removed;
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp5_;
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6567 "aggregation.c"
			GeeIterator* _tmp6_;
			gboolean _tmp7_ = FALSE;
			GeeIterator* _tmp8_;
			gpointer _tmp9_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp10_;
			FolksIndividual* _tmp11_;
			FolksIndividual* _tmp12_;
			FolksIndividual* _tmp13_;
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp6_ = _i_it;
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp7_) {
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 6585 "aggregation.c"
			}
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp8_ = _i_it;
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp9_;
#line 1205 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = i;
#line 1205 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp10_ == NULL) {
#line 1207 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1207 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 6601 "aggregation.c"
			}
#line 1210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = _data8_->individual;
#line 1210 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp11_ != NULL);
#line 1211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = i;
#line 1211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp13_ = _data8_->individual;
#line 1211 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp12_ == _tmp13_);
#line 1212 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (_data8_->individual);
#line 1212 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_data8_->individual = NULL;
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 6619 "aggregation.c"
		}
#line 1203 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 6623 "aggregation.c"
	}
	{
		GeeCollection* _tmp14_;
		GeeIterator* _tmp15_ = NULL;
		GeeIterator* _i_it;
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp14_ = added;
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp15_ = gee_iterable_iterator ((GeeIterable*) _tmp14_);
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_i_it = _tmp15_;
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 6637 "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 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp16_ = _i_it;
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp17_ = gee_iterator_next (_tmp16_);
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp17_) {
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 6657 "aggregation.c"
			}
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp18_ = _i_it;
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp19_ = gee_iterator_get (_tmp18_);
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			i = (FolksIndividual*) _tmp19_;
#line 1217 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp20_ = i;
#line 1217 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp20_ == NULL) {
#line 1219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1219 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				continue;
#line 6673 "aggregation.c"
			}
#line 1222 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			got_tpf = FALSE;
#line 1223 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			got_kf = FALSE;
#line 6679 "aggregation.c"
			{
				FolksIndividual* _tmp21_;
				GeeSet* _tmp22_;
				GeeSet* _tmp23_;
				GeeIterator* _tmp24_ = NULL;
				GeeIterator* _p_it;
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp21_ = i;
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp22_ = folks_individual_get_personas (_tmp21_);
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp23_ = _tmp22_;
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp24_ = gee_iterable_iterator ((GeeIterable*) _tmp23_);
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_p_it = _tmp24_;
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 6698 "aggregation.c"
					GeeIterator* _tmp25_;
					gboolean _tmp26_ = FALSE;
					GeeIterator* _tmp27_;
					gpointer _tmp28_ = NULL;
					FolksPersona* p;
					FolksPersona* _tmp29_;
					const gchar* _tmp30_;
					const gchar* _tmp31_;
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp25_ = _p_it;
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp26_ = gee_iterator_next (_tmp25_);
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (!_tmp26_) {
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						break;
#line 6715 "aggregation.c"
					}
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp27_ = _p_it;
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp28_ = gee_iterator_get (_tmp27_);
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					p = (FolksPersona*) _tmp28_;
#line 1230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp29_ = p;
#line 1230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp30_ = folks_persona_get_uid (_tmp29_);
#line 1230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp31_ = _tmp30_;
#line 1230 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (g_strcmp0 (_tmp31_, "telepathy:/org/freedesktop/Telepathy/Account/cm/protocol/account:olivi" \
"er@example.com") == 0) {
#line 1232 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						got_tpf = TRUE;
#line 6733 "aggregation.c"
					} else {
						FolksPersona* _tmp32_;
						FolksPersonaStore* _tmp33_;
						FolksPersonaStore* _tmp34_;
						const gchar* _tmp35_;
						const gchar* _tmp36_;
#line 1234 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp32_ = p;
#line 1234 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp33_ = folks_persona_get_store (_tmp32_);
#line 1234 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp34_ = _tmp33_;
#line 1234 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp35_ = folks_persona_store_get_type_id (_tmp34_);
#line 1234 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						_tmp36_ = _tmp35_;
#line 1234 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						if (g_strcmp0 (_tmp36_, "key-file") == 0) {
#line 1236 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
							got_kf = TRUE;
#line 6754 "aggregation.c"
						}
					}
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (p);
#line 6759 "aggregation.c"
				}
#line 1228 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_p_it);
#line 6763 "aggregation.c"
			}
#line 1240 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp38_ = got_tpf;
#line 1240 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp38_ == TRUE) {
#line 6769 "aggregation.c"
				gboolean _tmp39_;
#line 1240 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp39_ = got_kf;
#line 1240 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp37_ = _tmp39_ == TRUE;
#line 6775 "aggregation.c"
			} else {
#line 1240 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp37_ = FALSE;
#line 6779 "aggregation.c"
			}
#line 1240 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp40_ = _tmp37_;
#line 1240 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (_tmp40_) {
#line 6785 "aggregation.c"
				FolksIndividual* _tmp41_;
				FolksIndividual* _tmp42_;
#line 1242 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp41_ = i;
#line 1242 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp42_ = _g_object_ref0 (_tmp41_);
#line 1242 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_data8_->individual);
#line 1242 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_data8_->individual = _tmp42_;
#line 1243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (i);
#line 1243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 1243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (removed);
#line 1243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (added);
#line 1243 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				return;
#line 6806 "aggregation.c"
			}
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (i);
#line 6810 "aggregation.c"
		}
#line 1215 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_i_it);
#line 6814 "aggregation.c"
	}
#line 1198 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (removed);
#line 1198 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (added);
#line 6820 "aggregation.c"
}


static void ___lambda42__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 1198 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda42_ (self, changes);
#line 6827 "aggregation.c"
}


static gboolean __lambda43_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1249 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1251 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data8_->main_loop);
#line 1252 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1252 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6842 "aggregation.c"
}


static gboolean ___lambda43__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda43_ (self);
#line 1249 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6851 "aggregation.c"
}


static void __lambda45_ (Block8Data* _data8_, GObject* obj, GAsyncResult* res) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1258 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1258 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (res != NULL);
#line 6862 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
		FolksPersona* _tmp2_ = NULL;
		FolksPersona* _tmp3_;
#line 1263 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data8_->aggregator;
#line 1263 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = res;
#line 1263 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = folks_individual_aggregator_ensure_individual_property_writeable_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1263 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp3_ = _tmp2_;
#line 1263 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 6878 "aggregation.c"
			goto __catch9_g_error;
		}
#line 1262 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data8_->writeable_persona);
#line 1262 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_data8_->writeable_persona = _tmp3_;
#line 1265 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_main_loop_quit (_data8_->main_loop);
#line 6887 "aggregation.c"
	}
	goto __finally9;
	__catch9_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp4_;
#line 1260 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1260 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1269 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp4_ = e1->message;
#line 1269 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1269: Failed to ensure property writeable: %s", _tmp4_);
#line 1271 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1260 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 6906 "aggregation.c"
	}
	__finally9:
#line 1260 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1260 "/debian/rgs/devel/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 1260 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1260 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 6917 "aggregation.c"
	}
}


static void ___lambda45__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1257 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda45_ (self, source_object, res);
#line 1257 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block8_data_unref (self);
#line 6927 "aggregation.c"
}


static gboolean __lambda44_ (Block8Data* _data8_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
	FolksIndividual* _tmp1_;
#line 1255 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data8_->self;
#line 1257 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data8_->aggregator;
#line 1257 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = _data8_->individual;
#line 1257 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_ensure_individual_property_writeable (_tmp0_, _tmp1_, "im-addresses", ___lambda45__gasync_ready_callback, block8_data_ref (_data8_));
#line 1275 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1275 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6948 "aggregation.c"
}


static gboolean ___lambda44__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda44_ (self);
#line 1255 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 6957 "aggregation.c"
}


void aggregation_tests_test_ensure_individual_property_writeable_add_persona (AggregationTests* self) {
	Block8Data* _data8_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	TpTestBackend* _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_;
	TpTestBackend* _tmp28_;
	KfTestBackend* _tmp29_;
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_ = g_slice_new0 (Block8Data);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->_ref_count_ = 1;
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->self = g_object_ref (self);
#line 1114 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 1114 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->main_loop = _tmp0_;
#line 1116 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 1116 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "");
#line 1117 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = self->priv->_tp_backend;
#line 1117 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = tp_test_backend_add_account (_tmp2_, "protocol", "me@example.com", "cm", "account");
#line 1117 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	account_handle = _tmp3_;
#line 1120 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->individual = NULL;
#line 1123 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = folks_individual_aggregator_new ();
#line 1123 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->aggregator = _tmp4_;
#line 1124 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp5_ = _data8_->aggregator;
#line 1124 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp6_ = g_signal_connect_data (_tmp5_, "individuals-changed-detailed", (GCallback) ___lambda38__folks_individual_aggregator_individuals_changed_detailed, block8_data_ref (_data8_), (GClosureNotify) block8_data_unref, 0);
#line 1124 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	individuals_changed_id = _tmp6_;
#line 1152 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp7_ = self->priv->_test_timeout;
#line 1152 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp8_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp7_, ___lambda39__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1152 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	timeout_id = _tmp8_;
#line 1158 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda40__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1177 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data8_->main_loop);
#line 1180 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp9_ = _data8_->individual;
#line 1180 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp9_ != NULL);
#line 1182 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 7041 "aggregation.c"
	{
		FolksIndividual* _tmp10_;
		GeeSet* _tmp11_;
		GeeSet* _tmp12_;
		GeeIterator* _tmp13_ = NULL;
		GeeIterator* _p_it;
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp10_ = _data8_->individual;
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp11_ = folks_individual_get_personas (_tmp10_);
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp12_ = _tmp11_;
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp13_ = gee_iterable_iterator ((GeeIterable*) _tmp12_);
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp13_;
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 7060 "aggregation.c"
			gboolean _tmp14_ = FALSE;
			gpointer _tmp15_ = NULL;
			FolksPersona* p;
			FolksPersona* _tmp16_;
			FolksPersona* _tmp17_;
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp14_ = gee_iterator_next (_p_it);
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp14_) {
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 7072 "aggregation.c"
			}
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp15_ = gee_iterator_get (_p_it);
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp15_;
#line 1185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp16_ = p;
#line 1185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp17_ = _g_object_ref0 (_tmp16_);
#line 1185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 1185 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			persona = _tmp17_;
#line 1186 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 1186 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			break;
#line 7090 "aggregation.c"
		}
#line 1183 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 7094 "aggregation.c"
	}
#line 1190 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp18_ = persona;
#line 1190 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp18_ != NULL);
#line 1191 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp19_ = persona;
#line 1191 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp20_ = folks_persona_get_writeable_properties (_tmp19_, &_tmp20__length1);
#line 1191 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp21_ = _tmp20_;
#line 1191 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp21__length1 = _tmp20__length1;
#line 1191 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (!_vala_string_array_contains (_tmp21_, _tmp21__length1, "im-addresses"));
#line 1193 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->writeable_persona = NULL;
#line 1196 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp22_ = _data8_->aggregator;
#line 1196 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_handler_disconnect ((GObject*) _tmp22_, individuals_changed_id);
#line 1197 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_source_remove (timeout_id);
#line 1198 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp23_ = _data8_->aggregator;
#line 1198 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp23_, "individuals-changed-detailed", (GCallback) ___lambda42__folks_individual_aggregator_individuals_changed_detailed, block8_data_ref (_data8_), (GClosureNotify) block8_data_unref, 0);
#line 1249 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp24_ = self->priv->_test_timeout;
#line 1249 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp24_, ___lambda43__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1255 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda44__gsource_func, block8_data_ref (_data8_), block8_data_unref);
#line 1278 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data8_->main_loop);
#line 1280 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp25_ = _data8_->writeable_persona;
#line 1280 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp25_ != NULL);
#line 1281 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp26_ = _data8_->writeable_persona;
#line 1281 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp27_ = persona;
#line 1281 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp26_ != _tmp27_);
#line 1284 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp28_ = self->priv->_tp_backend;
#line 1284 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	tp_test_backend_remove_account (_tmp28_, account_handle);
#line 1285 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp29_ = self->priv->_kf_backend;
#line 1285 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp29_);
#line 1286 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data8_->individual);
#line 1286 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->individual = NULL;
#line 1287 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 1287 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 1288 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data8_->writeable_persona);
#line 1288 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->writeable_persona = NULL;
#line 1289 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data8_->aggregator);
#line 1289 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_->aggregator = NULL;
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block8_data_unref (_data8_);
#line 1112 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data8_ = NULL;
#line 7170 "aggregation.c"
}


static Block9Data* block9_data_ref (Block9Data* _data9_) {
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_atomic_int_inc (&_data9_->_ref_count_);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _data9_;
#line 7179 "aggregation.c"
}


static void block9_data_unref (Block9Data* _data9_) {
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->self);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->writeable_persona);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->aggregator);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->individual);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_main_loop_unref0 (_data9_->main_loop);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_slice_free (Block9Data, _data9_);
#line 7198 "aggregation.c"
	}
}


static void __lambda46_ (Block9Data* _data9_, GeeMultiMap* changes) {
	AggregationTests * self;
	GeeMultiMap* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
#line 1312 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1312 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (changes != NULL);
#line 1314 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = changes;
#line 1314 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = gee_multi_map_get_size (_tmp0_);
#line 1314 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = _tmp1_;
#line 1314 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp2_ == 1);
#line 7220 "aggregation.c"
	{
		GeeMultiMap* _tmp3_;
		GeeSet* _tmp4_ = NULL;
		GeeSet* _tmp5_;
		GeeIterator* _tmp6_ = NULL;
		GeeIterator* _tmp7_;
		GeeIterator* _removed_it;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp3_ = changes;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp4_ = gee_multi_map_get_keys (_tmp3_);
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp5_ = _tmp4_;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp6_ = gee_iterable_iterator ((GeeIterable*) _tmp5_);
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp7_ = _tmp6_;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_tmp5_);
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_removed_it = _tmp7_;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 7244 "aggregation.c"
			GeeIterator* _tmp8_;
			gboolean _tmp9_ = FALSE;
			GeeIterator* _tmp10_;
			gpointer _tmp11_ = NULL;
			FolksIndividual* removed;
			FolksIndividual* _tmp12_;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp8_ = _removed_it;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_next (_tmp8_);
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp9_) {
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 7259 "aggregation.c"
			}
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = _removed_it;
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = gee_iterator_get (_tmp10_);
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			removed = (FolksIndividual*) _tmp11_;
#line 1318 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp12_ = removed;
#line 1318 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert (_tmp12_ == NULL);
#line 7271 "aggregation.c"
			{
				GeeMultiMap* _tmp13_;
				FolksIndividual* _tmp14_;
				GeeCollection* _tmp15_ = NULL;
				GeeCollection* _tmp16_;
				GeeIterator* _tmp17_ = NULL;
				GeeIterator* _tmp18_;
				GeeIterator* _i_it;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp13_ = changes;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp14_ = removed;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp15_ = gee_multi_map_get (_tmp13_, _tmp14_);
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp16_ = _tmp15_;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp17_ = gee_iterable_iterator ((GeeIterable*) _tmp16_);
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_tmp18_ = _tmp17_;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_tmp16_);
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_i_it = _tmp18_;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				while (TRUE) {
#line 7298 "aggregation.c"
					GeeIterator* _tmp19_;
					gboolean _tmp20_ = FALSE;
					GeeIterator* _tmp21_;
					gpointer _tmp22_ = NULL;
					FolksIndividual* i;
					FolksIndividual* _tmp23_;
					FolksIndividual* _tmp24_;
					FolksIndividual* _tmp25_;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp19_ = _i_it;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp20_ = gee_iterator_next (_tmp19_);
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					if (!_tmp20_) {
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
						break;
#line 7315 "aggregation.c"
					}
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp21_ = _i_it;
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp22_ = gee_iterator_get (_tmp21_);
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					i = (FolksIndividual*) _tmp22_;
#line 1322 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp23_ = i;
#line 1322 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					g_assert (_tmp23_ != NULL);
#line 1323 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					g_assert (_data9_->individual == NULL);
#line 1325 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp24_ = i;
#line 1325 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_tmp25_ = _g_object_ref0 (_tmp24_);
#line 1325 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (_data9_->individual);
#line 1325 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_data9_->individual = _tmp25_;
#line 1326 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					g_main_loop_quit (_data9_->main_loop);
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
					_g_object_unref0 (i);
#line 7341 "aggregation.c"
				}
#line 1320 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				_g_object_unref0 (_i_it);
#line 7345 "aggregation.c"
			}
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (removed);
#line 7349 "aggregation.c"
		}
#line 1316 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_removed_it);
#line 7353 "aggregation.c"
	}
}


static void ___lambda46__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 1312 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda46_ (self, changes);
#line 7361 "aggregation.c"
}


static gboolean __lambda47_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1332 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1334 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data9_->main_loop);
#line 1335 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1335 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7376 "aggregation.c"
}


static gboolean ___lambda47__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda47_ (self);
#line 1332 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7385 "aggregation.c"
}


static void __lambda49_ (Block9Data* _data9_, GObject* s, GAsyncResult* r) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (r != NULL);
#line 7396 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
#line 1344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data9_->aggregator;
#line 1344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = r;
#line 1344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		folks_individual_aggregator_prepare_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1344 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 7408 "aggregation.c"
			goto __catch10_g_error;
		}
	}
	goto __finally10;
	__catch10_g_error:
	{
		GError* e1 = NULL;
		const gchar* _tmp2_;
#line 1342 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1342 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = e1->message;
#line 1348 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_critical ("aggregation.vala:1348: Failed to prepare aggregator: %s", _tmp2_);
#line 1350 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 1342 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 7429 "aggregation.c"
	}
	__finally10:
#line 1342 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1342 "/debian/rgs/devel/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 1342 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1342 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 7440 "aggregation.c"
	}
}


static void ___lambda49__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda49_ (self, source_object, res);
#line 1340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block9_data_unref (self);
#line 7450 "aggregation.c"
}


static gboolean __lambda48_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1338 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data9_->aggregator;
#line 1340 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_prepare (_tmp0_, ___lambda49__gasync_ready_callback, block9_data_ref (_data9_));
#line 1354 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1354 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7468 "aggregation.c"
}


static gboolean ___lambda48__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda48_ (self);
#line 1338 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7477 "aggregation.c"
}


static gboolean __lambda50_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
#line 1376 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1378 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_quit (_data9_->main_loop);
#line 1379 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1379 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7492 "aggregation.c"
}


static gboolean ___lambda50__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda50_ (self);
#line 1376 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7501 "aggregation.c"
}


static void __lambda52_ (Block9Data* _data9_, GObject* obj, GAsyncResult* res) {
	AggregationTests * self;
	GError * _inner_error_ = NULL;
#line 1385 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1385 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (res != NULL);
#line 7512 "aggregation.c"
	{
		FolksIndividualAggregator* _tmp0_;
		GAsyncResult* _tmp1_;
		FolksPersona* _tmp2_ = NULL;
		FolksPersona* _tmp3_;
#line 1390 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp0_ = _data9_->aggregator;
#line 1390 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp1_ = res;
#line 1390 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp2_ = folks_individual_aggregator_ensure_individual_property_writeable_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1390 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp3_ = _tmp2_;
#line 1390 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (_inner_error_ != NULL) {
#line 7528 "aggregation.c"
			goto __catch11_g_error;
		}
#line 1389 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_data9_->writeable_persona);
#line 1389 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_data9_->writeable_persona = _tmp3_;
#line 1391 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_assert_not_reached ();
#line 7537 "aggregation.c"
	}
	goto __finally11;
	__catch11_g_error:
	{
		GError* e1 = NULL;
#line 1387 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		e1 = _inner_error_;
#line 1387 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_inner_error_ = NULL;
#line 1396 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		if (!g_error_matches (e1, FOLKS_INDIVIDUAL_AGGREGATOR_ERROR, FOLKS_INDIVIDUAL_AGGREGATOR_ERROR_PROPERTY_NOT_WRITEABLE)) {
#line 7549 "aggregation.c"
			const gchar* _tmp4_;
#line 1398 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp4_ = e1->message;
#line 1398 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_critical ("aggregation.vala:1398: Wrong error received: %s", _tmp4_);
#line 1399 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			g_assert_not_reached ();
#line 7557 "aggregation.c"
		}
#line 1402 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_main_loop_quit (_data9_->main_loop);
#line 1387 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_error_free0 (e1);
#line 7563 "aggregation.c"
	}
	__finally11:
#line 1387 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	if (_inner_error_ != NULL) {
#line 1387 "/debian/rgs/devel/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 1387 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		g_clear_error (&_inner_error_);
#line 1387 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		return;
#line 7574 "aggregation.c"
	}
}


static void ___lambda52__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1384 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	__lambda52_ (self, source_object, res);
#line 1384 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block9_data_unref (self);
#line 7584 "aggregation.c"
}


static gboolean __lambda51_ (Block9Data* _data9_) {
	AggregationTests * self;
	gboolean result = FALSE;
	FolksIndividualAggregator* _tmp0_;
#line 1382 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = _data9_->self;
#line 1384 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = _data9_->aggregator;
#line 1384 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	folks_individual_aggregator_ensure_individual_property_writeable (_tmp0_, _data9_->individual, "is-favourite", ___lambda52__gasync_ready_callback, block9_data_ref (_data9_));
#line 1406 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = FALSE;
#line 1406 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7602 "aggregation.c"
}


static gboolean ___lambda51__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda51_ (self);
#line 1382 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7611 "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 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_return_if_fail (self != NULL);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_ = g_slice_new0 (Block9Data);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_->_ref_count_ = 1;
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_->self = g_object_ref (self);
#line 1303 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 1303 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_->main_loop = _tmp0_;
#line 1305 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = self->priv->_kf_backend;
#line 1305 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "protocol=travis@example.com\n");
#line 1308 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_->individual = NULL;
#line 1311 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = folks_individual_aggregator_new ();
#line 1311 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_->aggregator = _tmp2_;
#line 1312 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = _data9_->aggregator;
#line 1312 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_signal_connect_data (_tmp3_, "individuals-changed-detailed", (GCallback) ___lambda46__folks_individual_aggregator_individuals_changed_detailed, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
#line 1332 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp4_ = self->priv->_test_timeout;
#line 1332 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp4_, ___lambda47__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1338 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda48__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1357 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data9_->main_loop);
#line 1360 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_data9_->individual != NULL);
#line 1362 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	persona = NULL;
#line 7669 "aggregation.c"
	{
		GeeSet* _tmp5_;
		GeeSet* _tmp6_;
		GeeIterator* _tmp7_ = NULL;
		GeeIterator* _p_it;
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp5_ = folks_individual_get_personas (_data9_->individual);
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp6_ = _tmp5_;
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_tmp7_ = gee_iterable_iterator ((GeeIterable*) _tmp6_);
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_p_it = _tmp7_;
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		while (TRUE) {
#line 7685 "aggregation.c"
			gboolean _tmp8_ = FALSE;
			gpointer _tmp9_ = NULL;
			FolksPersona* p;
			FolksPersona* _tmp10_;
			FolksPersona* _tmp11_;
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp8_ = gee_iterator_next (_p_it);
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			if (!_tmp8_) {
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
				break;
#line 7697 "aggregation.c"
			}
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp9_ = gee_iterator_get (_p_it);
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			p = (FolksPersona*) _tmp9_;
#line 1365 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp10_ = p;
#line 1365 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_tmp11_ = _g_object_ref0 (_tmp10_);
#line 1365 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (persona);
#line 1365 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			persona = _tmp11_;
#line 1366 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			_g_object_unref0 (p);
#line 1366 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
			break;
#line 7715 "aggregation.c"
		}
#line 1363 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
		_g_object_unref0 (_p_it);
#line 7719 "aggregation.c"
	}
#line 1370 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp12_ = persona;
#line 1370 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_tmp12_ != NULL);
#line 1371 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp13_ = persona;
#line 1371 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp14_ = folks_persona_get_writeable_properties (_tmp13_, &_tmp14__length1);
#line 1371 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15_ = _tmp14_;
#line 1371 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp15__length1 = _tmp14__length1;
#line 1371 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (!_vala_string_array_contains (_tmp15_, _tmp15__length1, "is-favourite"));
#line 1373 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_->writeable_persona = NULL;
#line 1376 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp16_ = self->priv->_test_timeout;
#line 1376 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp16_, ___lambda50__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1382 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda51__gsource_func, block9_data_ref (_data9_), block9_data_unref);
#line 1409 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_main_loop_run (_data9_->main_loop);
#line 1411 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_assert (_data9_->writeable_persona == NULL);
#line 1414 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp17_ = self->priv->_kf_backend;
#line 1414 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	kf_test_backend_tear_down (_tmp17_);
#line 1415 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_data9_->aggregator);
#line 1415 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_->aggregator = NULL;
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (persona);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	block9_data_unref (_data9_);
#line 1301 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_data9_ = NULL;
#line 7761 "aggregation.c"
}


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


static void aggregation_tests_instance_init (AggregationTests * self) {
#line 24 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self->priv = AGGREGATION_TESTS_GET_PRIVATE (self);
#line 29 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self->priv->_test_timeout = 3;
#line 7785 "aggregation.c"
}


static void aggregation_tests_finalize (GObject* obj) {
	AggregationTests * self;
#line 24 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	self = AGGREGATION_TESTS (obj);
#line 26 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_kf_test_backend_unref0 (self->priv->_kf_backend);
#line 27 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_tp_backend);
#line 28 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (self->priv->_default_personas);
#line 24 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	G_OBJECT_CLASS (aggregation_tests_parent_class)->finalize (obj);
#line 7801 "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 1421 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_test_init (&args_length1, &args, NULL);
#line 1423 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp0_ = g_test_get_root ();
#line 1423 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	root = _tmp0_;
#line 1424 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp1_ = aggregation_tests_new ();
#line 1424 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp2_ = _tmp1_;
#line 1424 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 1424 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 1424 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	_g_object_unref0 (_tmp2_);
#line 1426 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_test_run ();
#line 1428 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	result = 0;
#line 1428 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return result;
#line 7846 "aggregation.c"
}


int main (int argc, char ** argv) {
#line 1419 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	g_type_init ();
#line 1419 "/debian/rgs/devel/folks/tests/folks/aggregation.vala"
	return _vala_main (argv, argc);
#line 7855 "aggregation.c"
}



