/* individual-retrieval.c generated by valac 0.14.0.15-f8b5, the Vala compiler
 * generated from individual-retrieval.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 <gee.h>
#include <stdlib.h>
#include <string.h>
#include <folks/folks.h>


#define TYPE_INDIVIDUAL_RETRIEVAL_TESTS (individual_retrieval_tests_get_type ())
#define INDIVIDUAL_RETRIEVAL_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_INDIVIDUAL_RETRIEVAL_TESTS, IndividualRetrievalTests))
#define INDIVIDUAL_RETRIEVAL_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_INDIVIDUAL_RETRIEVAL_TESTS, IndividualRetrievalTestsClass))
#define IS_INDIVIDUAL_RETRIEVAL_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_INDIVIDUAL_RETRIEVAL_TESTS))
#define IS_INDIVIDUAL_RETRIEVAL_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_INDIVIDUAL_RETRIEVAL_TESTS))
#define INDIVIDUAL_RETRIEVAL_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_INDIVIDUAL_RETRIEVAL_TESTS, IndividualRetrievalTestsClass))

typedef struct _IndividualRetrievalTests IndividualRetrievalTests;
typedef struct _IndividualRetrievalTestsClass IndividualRetrievalTestsClass;
typedef struct _IndividualRetrievalTestsPrivate IndividualRetrievalTestsPrivate;
#define _kf_test_backend_unref0(var) ((var == NULL) ? NULL : (var = (kf_test_backend_unref (var), NULL)))
typedef struct _Block1Data Block1Data;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
typedef struct _Block2Data Block2Data;

struct _IndividualRetrievalTests {
	FolksTestCase parent_instance;
	IndividualRetrievalTestsPrivate * priv;
};

struct _IndividualRetrievalTestsClass {
	FolksTestCaseClass parent_class;
};

struct _IndividualRetrievalTestsPrivate {
	KfTestBackend* kf_backend;
	gint _test_timeout;
};

struct _Block1Data {
	int _ref_count_;
	IndividualRetrievalTests * self;
	GMainLoop* main_loop;
	GeeHashSet* expected_individuals;
};

struct _Block2Data {
	int _ref_count_;
	IndividualRetrievalTests * self;
	GMainLoop* main_loop;
	guint individuals_changed_count;
};


static gpointer individual_retrieval_tests_parent_class = NULL;

GType individual_retrieval_tests_get_type (void) G_GNUC_CONST;
#define INDIVIDUAL_RETRIEVAL_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_INDIVIDUAL_RETRIEVAL_TESTS, IndividualRetrievalTestsPrivate))
enum  {
	INDIVIDUAL_RETRIEVAL_TESTS_DUMMY_PROPERTY
};
IndividualRetrievalTests* individual_retrieval_tests_new (void);
IndividualRetrievalTests* individual_retrieval_tests_construct (GType object_type);
void individual_retrieval_tests_test_singleton_individuals (IndividualRetrievalTests* self);
static void _individual_retrieval_tests_test_singleton_individuals_folks_test_case_test_method (gpointer self);
void individual_retrieval_tests_test_aliases (IndividualRetrievalTests* self);
static void _individual_retrieval_tests_test_aliases_folks_test_case_test_method (gpointer self);
static void individual_retrieval_tests_real_set_up (FolksTestCase* base);
static void individual_retrieval_tests_real_tear_down (FolksTestCase* base);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (Block1Data* _data1_);
static void __lambda2_ (Block1Data* _data1_, GeeMultiMap* changes);
static void ___lambda2__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda3_ (Block1Data* _data1_);
static gboolean ___lambda3__gsource_func (gpointer self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (Block2Data* _data2_);
static void __lambda4_ (Block2Data* _data2_, GeeMultiMap* changes);
static void ___lambda4__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda5_ (Block2Data* _data2_);
static gboolean ___lambda5__gsource_func (gpointer self);
static void individual_retrieval_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _individual_retrieval_tests_test_singleton_individuals_folks_test_case_test_method (gpointer self) {
#line 35 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	individual_retrieval_tests_test_singleton_individuals (self);
#line 113 "individual-retrieval.c"
}


static void _individual_retrieval_tests_test_aliases_folks_test_case_test_method (gpointer self) {
#line 36 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	individual_retrieval_tests_test_aliases (self);
#line 120 "individual-retrieval.c"
}


IndividualRetrievalTests* individual_retrieval_tests_construct (GType object_type) {
	IndividualRetrievalTests * self = NULL;
	KfTestBackend* _tmp0_;
	const gchar* _tmp1_ = NULL;
#line 31 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = (IndividualRetrievalTests*) folks_test_case_construct (object_type, "IndividualRetrieval");
#line 33 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp0_ = kf_test_backend_new ();
#line 33 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_kf_test_backend_unref0 (self->priv->kf_backend);
#line 33 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self->priv->kf_backend = _tmp0_;
#line 35 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "singleton individuals", _individual_retrieval_tests_test_singleton_individuals_folks_test_case_test_method, self);
#line 36 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "aliases", _individual_retrieval_tests_test_aliases_folks_test_case_test_method, self);
#line 38 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp1_ = g_getenv ("FOLKS_TEST_VALGRIND");
#line 38 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	if (_tmp1_ != NULL) {
#line 39 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		self->priv->_test_timeout = 10;
#line 146 "individual-retrieval.c"
	}
#line 29 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return self;
#line 150 "individual-retrieval.c"
}


IndividualRetrievalTests* individual_retrieval_tests_new (void) {
#line 29 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return individual_retrieval_tests_construct (TYPE_INDIVIDUAL_RETRIEVAL_TESTS);
#line 157 "individual-retrieval.c"
}


static void individual_retrieval_tests_real_set_up (FolksTestCase* base) {
	IndividualRetrievalTests * self;
#line 42 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = (IndividualRetrievalTests*) base;
#line 165 "individual-retrieval.c"
}


static void individual_retrieval_tests_real_tear_down (FolksTestCase* base) {
	IndividualRetrievalTests * self;
#line 46 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = (IndividualRetrievalTests*) base;
#line 173 "individual-retrieval.c"
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return _data1_;
#line 182 "individual-retrieval.c"
}


static void block1_data_unref (Block1Data* _data1_) {
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_object_unref0 (_data1_->self);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_object_unref0 (_data1_->expected_individuals);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_main_loop_unref0 (_data1_->main_loop);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		g_slice_free (Block1Data, _data1_);
#line 197 "individual-retrieval.c"
	}
}


static void __lambda2_ (Block1Data* _data1_, GeeMultiMap* changes) {
	IndividualRetrievalTests * self;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	GeeSet* _tmp27_;
	gint _tmp28_;
	gint _tmp29_;
#line 69 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = _data1_->self;
#line 69 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_return_if_fail (changes != NULL);
#line 71 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp0_ = changes;
#line 71 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 71 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	added = _tmp1_;
#line 72 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp2_ = changes;
#line 72 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 72 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	removed = _tmp3_;
#line 229 "individual-retrieval.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp4_ = added;
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_i_it = _tmp5_;
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		while (TRUE) {
#line 242 "individual-retrieval.c"
			GeeIterator* _tmp6_;
			gboolean _tmp7_ = FALSE;
			GeeIterator* _tmp8_;
			gpointer _tmp9_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp10_;
			FolksIndividual* _tmp11_;
			GeeSet* _tmp12_;
			GeeSet* _tmp13_;
			gint _tmp14_;
			gint _tmp15_;
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp6_ = _i_it;
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			if (!_tmp7_) {
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				break;
#line 262 "individual-retrieval.c"
			}
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp8_ = _i_it;
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			i = (FolksIndividual*) _tmp9_;
#line 76 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp10_ = i;
#line 76 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			g_assert (_tmp10_ != NULL);
#line 77 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp11_ = i;
#line 77 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp12_ = folks_individual_get_personas (_tmp11_);
#line 77 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp13_ = _tmp12_;
#line 77 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp14_ = gee_collection_get_size ((GeeCollection*) _tmp13_);
#line 77 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp15_ = _tmp14_;
#line 77 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			g_assert (_tmp15_ == 1);
#line 286 "individual-retrieval.c"
			{
				FolksIndividual* _tmp16_;
				GeeSet* _tmp17_;
				GeeSet* _tmp18_;
				GeeIterator* _tmp19_ = NULL;
				GeeIterator* _persona_it;
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				_tmp16_ = i;
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				_tmp17_ = folks_individual_get_personas (_tmp16_);
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				_tmp18_ = _tmp17_;
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				_tmp19_ = gee_iterable_iterator ((GeeIterable*) _tmp18_);
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				_persona_it = _tmp19_;
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				while (TRUE) {
#line 305 "individual-retrieval.c"
					GeeIterator* _tmp20_;
					gboolean _tmp21_ = FALSE;
					GeeIterator* _tmp22_;
					gpointer _tmp23_ = NULL;
					FolksPersona* persona;
					FolksPersona* _tmp24_;
					const gchar* _tmp25_;
					const gchar* _tmp26_;
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_tmp20_ = _persona_it;
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_tmp21_ = gee_iterator_next (_tmp20_);
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					if (!_tmp21_) {
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
						break;
#line 322 "individual-retrieval.c"
					}
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_tmp22_ = _persona_it;
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_tmp23_ = gee_iterator_get (_tmp22_);
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					persona = (FolksPersona*) _tmp23_;
#line 84 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_tmp24_ = persona;
#line 84 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_tmp25_ = folks_persona_get_display_id (_tmp24_);
#line 84 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_tmp26_ = _tmp25_;
#line 84 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					gee_abstract_collection_remove ((GeeAbstractCollection*) _data1_->expected_individuals, _tmp26_);
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
					_g_object_unref0 (persona);
#line 340 "individual-retrieval.c"
				}
#line 82 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				_g_object_unref0 (_persona_it);
#line 344 "individual-retrieval.c"
			}
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_g_object_unref0 (i);
#line 348 "individual-retrieval.c"
		}
#line 74 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_object_unref0 (_i_it);
#line 352 "individual-retrieval.c"
	}
#line 88 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp27_ = removed;
#line 88 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp28_ = gee_collection_get_size ((GeeCollection*) _tmp27_);
#line 88 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp29_ = _tmp28_;
#line 88 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_assert (_tmp29_ == 1);
#line 362 "individual-retrieval.c"
	{
		GeeSet* _tmp30_;
		GeeIterator* _tmp31_ = NULL;
		GeeIterator* _i_it;
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp30_ = removed;
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp31_ = gee_iterable_iterator ((GeeIterable*) _tmp30_);
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_i_it = _tmp31_;
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		while (TRUE) {
#line 375 "individual-retrieval.c"
			GeeIterator* _tmp32_;
			gboolean _tmp33_ = FALSE;
			GeeIterator* _tmp34_;
			gpointer _tmp35_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp36_;
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp32_ = _i_it;
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp33_ = gee_iterator_next (_tmp32_);
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			if (!_tmp33_) {
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				break;
#line 390 "individual-retrieval.c"
			}
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp34_ = _i_it;
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp35_ = gee_iterator_get (_tmp34_);
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			i = (FolksIndividual*) _tmp35_;
#line 92 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp36_ = i;
#line 92 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			g_assert (_tmp36_ == NULL);
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_g_object_unref0 (i);
#line 404 "individual-retrieval.c"
		}
#line 90 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_object_unref0 (_i_it);
#line 408 "individual-retrieval.c"
	}
#line 69 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_g_object_unref0 (removed);
#line 69 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_g_object_unref0 (added);
#line 414 "individual-retrieval.c"
}


static void ___lambda2__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 69 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	__lambda2_ (self, changes);
#line 421 "individual-retrieval.c"
}


static gboolean __lambda3_ (Block1Data* _data1_) {
	IndividualRetrievalTests * self;
	gboolean result = FALSE;
#line 100 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = _data1_->self;
#line 102 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_main_loop_quit (_data1_->main_loop);
#line 103 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	result = FALSE;
#line 103 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return result;
#line 436 "individual-retrieval.c"
}


static gboolean ___lambda3__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda3_ (self);
#line 100 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return result;
#line 445 "individual-retrieval.c"
}


void individual_retrieval_tests_test_singleton_individuals (IndividualRetrievalTests* self) {
	Block1Data* _data1_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	GHashFunc _tmp2_;
	GEqualFunc _tmp3_;
	GeeHashSet* _tmp4_;
	FolksIndividualAggregator* _tmp5_;
	FolksIndividualAggregator* aggregator;
	gint _tmp6_;
	gint _tmp7_;
	gint _tmp8_;
	KfTestBackend* _tmp9_;
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_return_if_fail (self != NULL);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data1_ = g_slice_new0 (Block1Data);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data1_->_ref_count_ = 1;
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data1_->self = g_object_ref (self);
#line 52 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 52 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data1_->main_loop = _tmp0_;
#line 53 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp1_ = self->priv->kf_backend;
#line 53 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "msn=foo@hotmail.com\n" "[1]\n" "__alias=Bar McBadgerson\n" "jabber=bar@jabber.org\n");
#line 61 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp2_ = g_str_hash;
#line 61 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp3_ = g_str_equal;
#line 61 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp4_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp2_, _tmp3_);
#line 61 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data1_->expected_individuals = _tmp4_;
#line 64 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data1_->expected_individuals, "0");
#line 65 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data1_->expected_individuals, "1");
#line 68 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp5_ = folks_individual_aggregator_new ();
#line 68 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	aggregator = _tmp5_;
#line 69 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_signal_connect_data (aggregator, "individuals-changed-detailed", (GCallback) ___lambda2__folks_individual_aggregator_individuals_changed_detailed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 95 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	folks_individual_aggregator_prepare (aggregator, NULL, NULL);
#line 100 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp6_ = self->priv->_test_timeout;
#line 100 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp6_, ___lambda3__gsource_func, block1_data_ref (_data1_), block1_data_unref);
#line 106 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_main_loop_run (_data1_->main_loop);
#line 109 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp7_ = gee_collection_get_size ((GeeCollection*) _data1_->expected_individuals);
#line 109 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp8_ = _tmp7_;
#line 109 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_assert (_tmp8_ == 0);
#line 111 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp9_ = self->priv->kf_backend;
#line 111 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	kf_test_backend_tear_down (_tmp9_);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_g_object_unref0 (aggregator);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	block1_data_unref (_data1_);
#line 50 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data1_ = NULL;
#line 520 "individual-retrieval.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return _data2_;
#line 529 "individual-retrieval.c"
}


static void block2_data_unref (Block2Data* _data2_) {
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_object_unref0 (_data2_->self);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_main_loop_unref0 (_data2_->main_loop);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		g_slice_free (Block2Data, _data2_);
#line 542 "individual-retrieval.c"
	}
}


static void __lambda4_ (Block2Data* _data2_, GeeMultiMap* changes) {
	IndividualRetrievalTests * self;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	guint _tmp4_;
	GeeCollection* _tmp5_;
	gint _tmp6_;
	gint _tmp7_;
	GeeSet* _tmp8_;
	gint _tmp9_;
	gint _tmp10_;
#line 125 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = _data2_->self;
#line 125 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_return_if_fail (changes != NULL);
#line 127 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp0_ = changes;
#line 127 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 127 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	added = _tmp1_;
#line 128 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp2_ = changes;
#line 128 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 128 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	removed = _tmp3_;
#line 130 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp4_ = _data2_->individuals_changed_count;
#line 130 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data2_->individuals_changed_count = _tmp4_ + 1;
#line 132 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp5_ = added;
#line 132 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp6_ = gee_collection_get_size (_tmp5_);
#line 132 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp7_ = _tmp6_;
#line 132 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_assert (_tmp7_ == 1);
#line 133 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp8_ = removed;
#line 133 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp9_ = gee_collection_get_size ((GeeCollection*) _tmp8_);
#line 133 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp10_ = _tmp9_;
#line 133 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_assert (_tmp10_ == 1);
#line 598 "individual-retrieval.c"
	{
		GeeCollection* _tmp11_;
		GeeIterator* _tmp12_ = NULL;
		GeeIterator* _i_it;
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp11_ = added;
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp12_ = gee_iterable_iterator ((GeeIterable*) _tmp11_);
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_i_it = _tmp12_;
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		while (TRUE) {
#line 611 "individual-retrieval.c"
			GeeIterator* _tmp13_;
			gboolean _tmp14_ = FALSE;
			GeeIterator* _tmp15_;
			gpointer _tmp16_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp17_;
			const gchar* _tmp18_;
			const gchar* _tmp19_;
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp13_ = _i_it;
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp14_ = gee_iterator_next (_tmp13_);
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			if (!_tmp14_) {
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				break;
#line 628 "individual-retrieval.c"
			}
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp15_ = _i_it;
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp16_ = gee_iterator_get (_tmp15_);
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			i = (FolksIndividual*) _tmp16_;
#line 138 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp17_ = i;
#line 138 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp18_ = folks_alias_details_get_alias ((FolksAliasDetails*) _tmp17_);
#line 138 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp19_ = _tmp18_;
#line 138 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			g_assert (g_strcmp0 (_tmp19_, "Brian Briansson") == 0);
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_g_object_unref0 (i);
#line 646 "individual-retrieval.c"
		}
#line 136 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_object_unref0 (_i_it);
#line 650 "individual-retrieval.c"
	}
	{
		GeeSet* _tmp20_;
		GeeIterator* _tmp21_ = NULL;
		GeeIterator* _i_it;
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp20_ = removed;
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_tmp21_ = gee_iterable_iterator ((GeeIterable*) _tmp20_);
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_i_it = _tmp21_;
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		while (TRUE) {
#line 664 "individual-retrieval.c"
			GeeIterator* _tmp22_;
			gboolean _tmp23_ = FALSE;
			GeeIterator* _tmp24_;
			gpointer _tmp25_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp26_;
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp22_ = _i_it;
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp23_ = gee_iterator_next (_tmp22_);
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			if (!_tmp23_) {
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
				break;
#line 679 "individual-retrieval.c"
			}
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp24_ = _i_it;
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp25_ = gee_iterator_get (_tmp24_);
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			i = (FolksIndividual*) _tmp25_;
#line 143 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_tmp26_ = i;
#line 143 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			g_assert (_tmp26_ == NULL);
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
			_g_object_unref0 (i);
#line 693 "individual-retrieval.c"
		}
#line 141 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
		_g_object_unref0 (_i_it);
#line 697 "individual-retrieval.c"
	}
#line 125 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_g_object_unref0 (removed);
#line 125 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_g_object_unref0 (added);
#line 703 "individual-retrieval.c"
}


static void ___lambda4__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 125 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	__lambda4_ (self, changes);
#line 710 "individual-retrieval.c"
}


static gboolean __lambda5_ (Block2Data* _data2_) {
	IndividualRetrievalTests * self;
	gboolean result = FALSE;
#line 151 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = _data2_->self;
#line 153 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_main_loop_quit (_data2_->main_loop);
#line 154 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	result = FALSE;
#line 154 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return result;
#line 725 "individual-retrieval.c"
}


static gboolean ___lambda5__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda5_ (self);
#line 151 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return result;
#line 734 "individual-retrieval.c"
}


void individual_retrieval_tests_test_aliases (IndividualRetrievalTests* self) {
	Block2Data* _data2_;
	GMainLoop* _tmp0_;
	KfTestBackend* _tmp1_;
	FolksIndividualAggregator* _tmp2_;
	FolksIndividualAggregator* aggregator;
	gint _tmp3_;
	KfTestBackend* _tmp4_;
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_return_if_fail (self != NULL);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data2_->_ref_count_ = 1;
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data2_->self = g_object_ref (self);
#line 116 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 116 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data2_->main_loop = _tmp0_;
#line 117 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp1_ = self->priv->kf_backend;
#line 117 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	kf_test_backend_set_up (_tmp1_, "[0]\n" "__alias=Brian Briansson\n" "msn=foo@hotmail.com\n");
#line 123 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp2_ = folks_individual_aggregator_new ();
#line 123 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	aggregator = _tmp2_;
#line 124 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data2_->individuals_changed_count = (guint) 0;
#line 125 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_signal_connect_data (aggregator, "individuals-changed-detailed", (GCallback) ___lambda4__folks_individual_aggregator_individuals_changed_detailed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 146 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	folks_individual_aggregator_prepare (aggregator, NULL, NULL);
#line 151 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp3_ = self->priv->_test_timeout;
#line 151 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp3_, ___lambda5__gsource_func, block2_data_ref (_data2_), block2_data_unref);
#line 157 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_main_loop_run (_data2_->main_loop);
#line 160 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_assert (_data2_->individuals_changed_count == ((guint) 1));
#line 162 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp4_ = self->priv->kf_backend;
#line 162 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	kf_test_backend_tear_down (_tmp4_);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_g_object_unref0 (aggregator);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	block2_data_unref (_data2_);
#line 114 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_data2_ = NULL;
#line 790 "individual-retrieval.c"
}


static void individual_retrieval_tests_class_init (IndividualRetrievalTestsClass * klass) {
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	individual_retrieval_tests_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_type_class_add_private (klass, sizeof (IndividualRetrievalTestsPrivate));
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = individual_retrieval_tests_real_set_up;
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = individual_retrieval_tests_real_tear_down;
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	G_OBJECT_CLASS (klass)->finalize = individual_retrieval_tests_finalize;
#line 805 "individual-retrieval.c"
}


static void individual_retrieval_tests_instance_init (IndividualRetrievalTests * self) {
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self->priv = INDIVIDUAL_RETRIEVAL_TESTS_GET_PRIVATE (self);
#line 27 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self->priv->_test_timeout = 3;
#line 814 "individual-retrieval.c"
}


static void individual_retrieval_tests_finalize (GObject* obj) {
	IndividualRetrievalTests * self;
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	self = INDIVIDUAL_RETRIEVAL_TESTS (obj);
#line 26 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_kf_test_backend_unref0 (self->priv->kf_backend);
#line 24 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	G_OBJECT_CLASS (individual_retrieval_tests_parent_class)->finalize (obj);
#line 826 "individual-retrieval.c"
}


GType individual_retrieval_tests_get_type (void) {
	static volatile gsize individual_retrieval_tests_type_id__volatile = 0;
	if (g_once_init_enter (&individual_retrieval_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (IndividualRetrievalTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) individual_retrieval_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (IndividualRetrievalTests), 0, (GInstanceInitFunc) individual_retrieval_tests_instance_init, NULL };
		GType individual_retrieval_tests_type_id;
		individual_retrieval_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "IndividualRetrievalTests", &g_define_type_info, 0);
		g_once_init_leave (&individual_retrieval_tests_type_id__volatile, individual_retrieval_tests_type_id);
	}
	return individual_retrieval_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	IndividualRetrievalTests* _tmp1_;
	IndividualRetrievalTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 168 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_test_init (&args_length1, &args, NULL);
#line 170 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp0_ = g_test_get_root ();
#line 170 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	root = _tmp0_;
#line 171 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp1_ = individual_retrieval_tests_new ();
#line 171 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp2_ = _tmp1_;
#line 171 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 171 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 171 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	_g_object_unref0 (_tmp2_);
#line 173 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_test_run ();
#line 175 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	result = 0;
#line 175 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return result;
#line 871 "individual-retrieval.c"
}


int main (int argc, char ** argv) {
#line 166 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	g_type_init ();
#line 166 "/home/treitter/collabora/folks/tests/key-file/individual-retrieval.vala"
	return _vala_main (argv, argc);
#line 880 "individual-retrieval.c"
}



