/* match-all.c generated by valac 0.17.6.3-6918, the Vala compiler
 * generated from match-all.vala, do not modify */

/*
 * Copyright (C) 2011 Collabora Ltd.
 *
 * This library is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Authors: Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
 *
 */

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


#define TYPE_MATCH_ALL_TESTS (match_all_tests_get_type ())
#define MATCH_ALL_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MATCH_ALL_TESTS, MatchAllTests))
#define MATCH_ALL_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MATCH_ALL_TESTS, MatchAllTestsClass))
#define IS_MATCH_ALL_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MATCH_ALL_TESTS))
#define IS_MATCH_ALL_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MATCH_ALL_TESTS))
#define MATCH_ALL_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MATCH_ALL_TESTS, MatchAllTestsClass))

typedef struct _MatchAllTests MatchAllTests;
typedef struct _MatchAllTestsClass MatchAllTestsClass;
typedef struct _MatchAllTestsPrivate MatchAllTestsPrivate;
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _tracker_test_backend_unref0(var) ((var == NULL) ? NULL : (var = (tracker_test_backend_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _MatchAllTestsTestMatchAllAsyncData MatchAllTestsTestMatchAllAsyncData;
typedef struct _MatchAllTestsTryToAddData MatchAllTestsTryToAddData;
typedef struct _MatchAllTestsAddPersonasData MatchAllTestsAddPersonasData;
#define __vala_GValue_free0(var) ((var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL)))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
typedef struct _MatchAllTestsDoAddPersonaData MatchAllTestsDoAddPersonaData;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _MatchAllTests {
	FolksTestCase parent_instance;
	MatchAllTestsPrivate * priv;
};

struct _MatchAllTestsClass {
	FolksTestCaseClass parent_class;
};

struct _MatchAllTestsPrivate {
	GMainLoop* _main_loop;
	TrackerTestBackend* _tracker_backend;
	FolksIndividualAggregator* _aggregator;
	gchar* _persona_fullname_1;
	gchar* _persona_fullname_2;
	gchar* _persona_fullname_3;
	gchar* _persona_fullname_4;
	gboolean _added_personas;
	gchar* _individual_id_1;
	gchar* _individual_id_2;
	gchar* _individual_id_3;
	gchar* _individual_id_4;
	TrfPersonaStore* _pstore;
	GList* _matches_all;
	gint _matches_1;
};

struct _MatchAllTestsTestMatchAllAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	MatchAllTests* self;
	FolksBackendStore* _tmp0_;
	FolksBackendStore* store;
	FolksBackendStore* _tmp1_;
	FolksIndividualAggregator* _tmp2_;
	FolksIndividualAggregator* _tmp3_;
	FolksIndividualAggregator* _tmp4_;
	FolksIndividualAggregator* _tmp5_;
	FolksBackendStore* _tmp6_;
	GeeMap* _tmp7_;
	GeeMap* _tmp8_;
	GeeCollection* _tmp9_;
	GeeCollection* _tmp10_;
	GeeCollection* _tmp11_;
	GeeIterator* _tmp12_;
	GeeIterator* _tmp13_;
	GeeIterator* _backend_it;
	GeeIterator* _tmp14_;
	gboolean _tmp15_;
	GeeIterator* _tmp16_;
	gpointer _tmp17_;
	FolksBackend* backend;
	FolksBackend* _tmp18_;
	GeeMap* _tmp19_;
	GeeMap* _tmp20_;
	gpointer _tmp21_;
	TrfPersonaStore* _tmp22_;
	TrfPersonaStore* _tmp23_;
	TrfPersonaStore* _tmp24_;
	GError* e;
	GError* _tmp25_;
	const gchar* _tmp26_;
	GError * _inner_error_;
};

struct _MatchAllTestsTryToAddData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	MatchAllTests* self;
	gboolean _tmp0_;
	TrfPersonaStore* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
};

struct _MatchAllTestsAddPersonasData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	MatchAllTests* self;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
};

struct _MatchAllTestsDoAddPersonaData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	MatchAllTests* self;
	gchar* fn;
	GHashFunc _tmp0_;
	GEqualFunc _tmp1_;
	GHashTable* _tmp2_;
	GHashTable* details;
	GValue* val;
	GValue _tmp3_;
	GValue _tmp4_;
	GValue* _tmp5_;
	GValue* _tmp6_;
	const gchar* _tmp7_;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	GValue* _tmp10_;
	FolksIndividualAggregator* _tmp11_;
	TrfPersonaStore* _tmp12_;
	FolksPersona* _tmp13_;
	FolksPersona* _tmp14_;
	GError* e;
	GError* _tmp15_;
	const gchar* _tmp16_;
	GError * _inner_error_;
};


static gpointer match_all_tests_parent_class = NULL;

GType match_all_tests_get_type (void) G_GNUC_CONST;
#define MATCH_ALL_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MATCH_ALL_TESTS, MatchAllTestsPrivate))
enum  {
	MATCH_ALL_TESTS_DUMMY_PROPERTY
};
MatchAllTests* match_all_tests_new (void);
MatchAllTests* match_all_tests_construct (GType object_type);
void match_all_tests_test_match_all (MatchAllTests* self);
static void _match_all_tests_test_match_all_folks_test_case_test_method (gpointer self);
static void match_all_tests_real_set_up (FolksTestCase* base);
static void match_all_tests_real_tear_down (FolksTestCase* base);
static void _match_all_tests_test_match_all_async (MatchAllTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _match_all_tests_test_match_all_finish (MatchAllTests* self, GAsyncResult* _res_);
static gboolean __lambda2_ (MatchAllTests* self);
static gboolean ___lambda2__gsource_func (gpointer self);
static void _match_all_tests_test_match_all_async_data_free (gpointer _data);
static gboolean _match_all_tests_test_match_all_async_co (MatchAllTestsTestMatchAllAsyncData* _data_);
static void _match_all_tests_test_match_all_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _match_all_tests_individuals_changed_cb (MatchAllTests* self, GeeMultiMap* changes);
static void __match_all_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void _match_all_tests_notify_pstore_cb (MatchAllTests* self, GObject* _pstore, GParamSpec* ps);
static void __match_all_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _match_all_tests_try_to_add (MatchAllTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _match_all_tests_try_to_add_finish (MatchAllTests* self, GAsyncResult* _res_);
static void _match_all_tests_try_match_all (MatchAllTests* self);
static void _match_all_tests_try_to_add_data_free (gpointer _data);
static gboolean _match_all_tests_try_to_add_co (MatchAllTestsTryToAddData* _data_);
static void _match_all_tests_add_personas (MatchAllTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _match_all_tests_add_personas_finish (MatchAllTests* self, GAsyncResult* _res_);
static void _match_all_tests_try_to_add_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _match_all_tests_add_personas_data_free (gpointer _data);
static gboolean _match_all_tests_add_personas_co (MatchAllTestsAddPersonasData* _data_);
static void _match_all_tests_do_add_persona (MatchAllTests* self, const gchar* fn, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _match_all_tests_do_add_persona_finish (MatchAllTests* self, GAsyncResult* _res_);
static void _match_all_tests_add_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _match_all_tests_do_add_persona_data_free (gpointer _data);
static gboolean _match_all_tests_do_add_persona_co (MatchAllTestsDoAddPersonaData* _data_);
static void _g_free0_ (gpointer var);
static void _vala_GValue_free (GValue* self);
static void __vala_GValue_free0_ (gpointer var);
static GValue* _g_value_dup (GValue* self);
static void _match_all_tests_do_add_persona_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void match_all_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _match_all_tests_test_match_all_folks_test_case_test_method (gpointer self) {
#line 50 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	match_all_tests_test_match_all (self);
#line 236 "match-all.c"
}


MatchAllTests* match_all_tests_construct (GType object_type) {
	MatchAllTests * self = NULL;
	TrackerTestBackend* _tmp0_;
#line 46 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self = (MatchAllTests*) folks_test_case_construct (object_type, "MatchAllTests");
#line 48 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = tracker_test_backend_new ();
#line 48 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 48 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_tracker_backend = _tmp0_;
#line 50 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test potential match all ", _match_all_tests_test_match_all_folks_test_case_test_method, self);
#line 44 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return self;
#line 255 "match-all.c"
}


MatchAllTests* match_all_tests_new (void) {
#line 44 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return match_all_tests_construct (TYPE_MATCH_ALL_TESTS);
#line 262 "match-all.c"
}


static void match_all_tests_real_set_up (FolksTestCase* base) {
	MatchAllTests * self;
#line 54 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self = (MatchAllTests*) base;
#line 270 "match-all.c"
}


static void match_all_tests_real_tear_down (FolksTestCase* base) {
	MatchAllTests * self;
	TrackerTestBackend* _tmp0_;
#line 58 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self = (MatchAllTests*) base;
#line 60 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = self->priv->_tracker_backend;
#line 60 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	tracker_test_backend_tear_down (_tmp0_);
#line 283 "match-all.c"
}


static gboolean __lambda2_ (MatchAllTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = self->priv->_main_loop;
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_main_loop_quit (_tmp0_);
#line 72 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_assert_not_reached ();
#line 69 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return result;
#line 298 "match-all.c"
}


static gboolean ___lambda2__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda2_ (self);
#line 69 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return result;
#line 307 "match-all.c"
}


void match_all_tests_test_match_all (MatchAllTests* self) {
	GMainLoop* _tmp0_;
	GMainLoop* _tmp1_;
	gint _tmp2_;
	GList* _tmp3_;
	guint _tmp4_ = 0U;
	GList* _tmp5_;
#line 63 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_return_if_fail (self != NULL);
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_main_loop = _tmp0_;
#line 67 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_test_match_all_async (self, NULL, NULL);
#line 69 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda2__gsource_func, g_object_ref (self), g_object_unref);
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp1_ = self->priv->_main_loop;
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_main_loop_run (_tmp1_);
#line 88 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp2_ = self->priv->_matches_1;
#line 88 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_vala_assert (_tmp2_ == 1, "this._matches_1 == 1");
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp3_ = self->priv->_matches_all;
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp4_ = g_list_length (_tmp3_);
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_vala_assert (_tmp4_ == ((guint) 4), "this._matches_all.length () == 4");
#line 90 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp5_ = self->priv->_matches_all;
#line 346 "match-all.c"
	{
		GList* size_collection = NULL;
		GList* size_it = NULL;
#line 90 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		size_collection = _tmp5_;
#line 90 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		for (size_it = size_collection; size_it != NULL; size_it = size_it->next) {
#line 354 "match-all.c"
			gint size = 0;
#line 90 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			size = (gint) ((gintptr) size_it->data);
#line 358 "match-all.c"
			{
				gint _tmp6_;
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp6_ = size;
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_vala_assert (_tmp6_ == 1, "size == 1");
#line 365 "match-all.c"
			}
		}
	}
}


static void _match_all_tests_test_match_all_async_data_free (gpointer _data) {
	MatchAllTestsTestMatchAllAsyncData* _data_;
	_data_ = _data;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_slice_free (MatchAllTestsTestMatchAllAsyncData, _data_);
#line 379 "match-all.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return self ? g_object_ref (self) : NULL;
#line 386 "match-all.c"
}


static void _match_all_tests_test_match_all_async (MatchAllTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchAllTestsTestMatchAllAsyncData* _data_;
	MatchAllTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_slice_new0 (MatchAllTestsTestMatchAllAsyncData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _match_all_tests_test_match_all_async);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _match_all_tests_test_match_all_async_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_test_match_all_async_co (_data_);
#line 405 "match-all.c"
}


static void _match_all_tests_test_match_all_finish (MatchAllTests* self, GAsyncResult* _res_) {
	MatchAllTestsTestMatchAllAsyncData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 413 "match-all.c"
}


static void _match_all_tests_test_match_all_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	MatchAllTestsTestMatchAllAsyncData* _data_;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = _user_data_;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_source_object_ = source_object;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_res_ = _res_;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_test_match_all_async_co (_data_);
#line 427 "match-all.c"
}


static void __match_all_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_individuals_changed_cb (self, changes);
#line 434 "match-all.c"
}


static void __match_all_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_notify_pstore_cb (self, _sender, pspec);
#line 441 "match-all.c"
}


static gboolean _match_all_tests_test_match_all_async_co (MatchAllTestsTestMatchAllAsyncData* _data_) {
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	switch (_data_->_state_) {
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 0:
#line 450 "match-all.c"
		goto _state_0;
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 1:
#line 454 "match-all.c"
		goto _state_1;
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 2:
#line 458 "match-all.c"
		goto _state_2;
		default:
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_assert_not_reached ();
#line 463 "match-all.c"
	}
	_state_0:
#line 98 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp0_ = NULL;
#line 98 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 98 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->store = _data_->_tmp0_;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp1_ = _data_->store;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_state_ = 1;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	folks_backend_store_prepare (_data_->_tmp1_, _match_all_tests_test_match_all_async_ready, _data_);
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 480 "match-all.c"
	_state_1:
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	folks_backend_store_prepare_finish (_data_->_tmp1_, _data_->_res_);
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_tmp2_ == NULL) {
#line 103 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp3_ = folks_individual_aggregator_new ();
#line 103 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_data_->self->priv->_aggregator);
#line 103 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->self->priv->_aggregator = _data_->_tmp3_;
#line 104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp4_ = _data_->self->priv->_aggregator;
#line 104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_signal_connect_object (_data_->_tmp4_, "individuals-changed-detailed", (GCallback) __match_all_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed, _data_->self, 0);
#line 498 "match-all.c"
	}
	{
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp5_ = _data_->self->priv->_aggregator;
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_state_ = 2;
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		folks_individual_aggregator_prepare (_data_->_tmp5_, _match_all_tests_test_match_all_async_ready, _data_);
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		return FALSE;
#line 509 "match-all.c"
		_state_2:
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp5_, _data_->_res_, &_data_->_inner_error_);
#line 110 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		if (_data_->_inner_error_ != NULL) {
#line 515 "match-all.c"
			goto __catch0_g_error;
		}
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_data_->self->priv->_pstore);
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->self->priv->_pstore = NULL;
#line 522 "match-all.c"
		{
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp6_ = _data_->store;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp7_ = folks_backend_store_get_enabled_backends (_data_->_tmp6_);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp8_ = _data_->_tmp7_;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp9_ = gee_map_get_values (_data_->_tmp8_);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp10_ = _data_->_tmp9_;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp11_ = _data_->_tmp10_;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp12_ = NULL;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp12_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp11_);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_tmp13_ = _data_->_tmp12_;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_g_object_unref0 (_data_->_tmp11_);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_data_->_backend_it = _data_->_tmp13_;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			while (TRUE) {
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp14_ = _data_->_backend_it;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp15_ = FALSE;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp15_ = gee_iterator_next (_data_->_tmp14_);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				if (!_data_->_tmp15_) {
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					break;
#line 558 "match-all.c"
				}
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp16_ = _data_->_backend_it;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp17_ = NULL;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp17_ = gee_iterator_get (_data_->_tmp16_);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->backend = (FolksBackend*) _data_->_tmp17_;
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp18_ = _data_->backend;
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp19_ = folks_backend_get_persona_stores (_data_->_tmp18_);
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp20_ = _data_->_tmp19_;
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp21_ = NULL;
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp21_ = gee_map_get (_data_->_tmp20_, "tracker");
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_g_object_unref0 (_data_->self->priv->_pstore);
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->self->priv->_pstore = G_TYPE_CHECK_INSTANCE_CAST ((FolksPersonaStore*) _data_->_tmp21_, TRF_TYPE_PERSONA_STORE, TrfPersonaStore);
#line 116 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_data_->_tmp22_ = _data_->self->priv->_pstore;
#line 116 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				if (_data_->_tmp22_ != NULL) {
#line 117 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_g_object_unref0 (_data_->backend);
#line 117 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					break;
#line 590 "match-all.c"
				}
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_g_object_unref0 (_data_->backend);
#line 594 "match-all.c"
			}
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_g_object_unref0 (_data_->_backend_it);
#line 598 "match-all.c"
		}
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp23_ = _data_->self->priv->_pstore;
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_vala_assert (_data_->_tmp23_ != NULL, "this._pstore != null");
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp24_ = _data_->self->priv->_pstore;
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_signal_connect_object ((GObject*) _data_->_tmp24_, "notify::is-prepared", (GCallback) __match_all_tests_notify_pstore_cb_g_object_notify, _data_->self, 0);
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_match_all_tests_try_to_add (_data_->self, NULL, NULL);
#line 610 "match-all.c"
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->e = _data_->_inner_error_;
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_inner_error_ = NULL;
#line 125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp25_ = _data_->e;
#line 125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp26_ = _data_->_tmp25_->message;
#line 125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_warning ("match-all.vala:125: Error when calling prepare: %s\n", _data_->_tmp26_);
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_error_free0 (_data_->e);
#line 627 "match-all.c"
	}
	__finally0:
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_inner_error_ != NULL) {
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_data_->store);
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_clear_error (&_data_->_inner_error_);
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		return FALSE;
#line 640 "match-all.c"
	}
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (_data_->store);
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_state_ == 0) {
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 648 "match-all.c"
	} else {
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 652 "match-all.c"
	}
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_object_unref (_data_->_async_result);
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 658 "match-all.c"
}


static void _match_all_tests_individuals_changed_cb (MatchAllTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	gboolean _tmp43_ = FALSE;
	gboolean _tmp44_ = FALSE;
	gboolean _tmp45_ = FALSE;
	const gchar* _tmp46_;
	gboolean _tmp48_;
	gboolean _tmp50_;
	gboolean _tmp52_;
	GeeSet* _tmp53_;
	gint _tmp54_;
	gint _tmp55_;
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_return_if_fail (self != NULL);
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_return_if_fail (changes != NULL);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = changes;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	added = _tmp1_;
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp2_ = changes;
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	removed = _tmp3_;
#line 695 "match-all.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp4_ = added;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_i_it = _tmp5_;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		while (TRUE) {
#line 708 "match-all.c"
			GeeIterator* _tmp6_;
			gboolean _tmp7_ = FALSE;
			GeeIterator* _tmp8_;
			gpointer _tmp9_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp10_;
			FolksIndividual* _tmp11_;
			const gchar* _tmp12_;
			const gchar* _tmp13_;
			const gchar* _tmp14_;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp6_ = _i_it;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			if (!_tmp7_) {
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				break;
#line 727 "match-all.c"
			}
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp8_ = _i_it;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			i = (FolksIndividual*) _tmp9_;
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp10_ = i;
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_vala_assert (_tmp10_ != NULL, "i != null");
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp11_ = i;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp12_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp11_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp13_ = _tmp12_;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp14_ = self->priv->_persona_fullname_1;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 749 "match-all.c"
				FolksIndividual* _tmp15_;
				const gchar* _tmp16_;
				const gchar* _tmp17_;
				gchar* _tmp18_;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp15_ = i;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp16_ = folks_individual_get_id (_tmp15_);
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp17_ = _tmp16_;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp18_ = g_strdup (_tmp17_);
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_g_free0 (self->priv->_individual_id_1);
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				self->priv->_individual_id_1 = _tmp18_;
#line 766 "match-all.c"
			} else {
				FolksIndividual* _tmp19_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				const gchar* _tmp22_;
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp19_ = i;
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp20_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp19_);
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp21_ = _tmp20_;
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_tmp22_ = self->priv->_persona_fullname_2;
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				if (g_strcmp0 (_tmp21_, _tmp22_) == 0) {
#line 782 "match-all.c"
					FolksIndividual* _tmp23_;
					const gchar* _tmp24_;
					const gchar* _tmp25_;
					gchar* _tmp26_;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp23_ = i;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp24_ = folks_individual_get_id (_tmp23_);
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp25_ = _tmp24_;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp26_ = g_strdup (_tmp25_);
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_g_free0 (self->priv->_individual_id_2);
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					self->priv->_individual_id_2 = _tmp26_;
#line 799 "match-all.c"
				} else {
					FolksIndividual* _tmp27_;
					const gchar* _tmp28_;
					const gchar* _tmp29_;
					const gchar* _tmp30_;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp27_ = i;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp28_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp27_);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp29_ = _tmp28_;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					_tmp30_ = self->priv->_persona_fullname_3;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
					if (g_strcmp0 (_tmp29_, _tmp30_) == 0) {
#line 815 "match-all.c"
						FolksIndividual* _tmp31_;
						const gchar* _tmp32_;
						const gchar* _tmp33_;
						gchar* _tmp34_;
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp31_ = i;
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp32_ = folks_individual_get_id (_tmp31_);
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp33_ = _tmp32_;
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp34_ = g_strdup (_tmp33_);
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_g_free0 (self->priv->_individual_id_3);
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						self->priv->_individual_id_3 = _tmp34_;
#line 832 "match-all.c"
					} else {
						FolksIndividual* _tmp35_;
						const gchar* _tmp36_;
						const gchar* _tmp37_;
						const gchar* _tmp38_;
#line 151 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp35_ = i;
#line 151 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp36_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp35_);
#line 151 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp37_ = _tmp36_;
#line 151 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						_tmp38_ = self->priv->_persona_fullname_4;
#line 151 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
						if (g_strcmp0 (_tmp37_, _tmp38_) == 0) {
#line 848 "match-all.c"
							FolksIndividual* _tmp39_;
							const gchar* _tmp40_;
							const gchar* _tmp41_;
							gchar* _tmp42_;
#line 153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
							_tmp39_ = i;
#line 153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
							_tmp40_ = folks_individual_get_id (_tmp39_);
#line 153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
							_tmp41_ = _tmp40_;
#line 153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
							_tmp42_ = g_strdup (_tmp41_);
#line 153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
							_g_free0 (self->priv->_individual_id_4);
#line 153 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
							self->priv->_individual_id_4 = _tmp42_;
#line 865 "match-all.c"
						}
					}
				}
			}
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_g_object_unref0 (i);
#line 872 "match-all.c"
		}
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_i_it);
#line 876 "match-all.c"
	}
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp46_ = self->priv->_individual_id_1;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (g_strcmp0 (_tmp46_, "") != 0) {
#line 882 "match-all.c"
		const gchar* _tmp47_;
#line 158 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp47_ = self->priv->_individual_id_2;
#line 158 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp45_ = g_strcmp0 (_tmp47_, "") != 0;
#line 888 "match-all.c"
	} else {
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp45_ = FALSE;
#line 892 "match-all.c"
	}
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp48_ = _tmp45_;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_tmp48_) {
#line 898 "match-all.c"
		const gchar* _tmp49_;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp49_ = self->priv->_individual_id_3;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp44_ = g_strcmp0 (_tmp49_, "") != 0;
#line 904 "match-all.c"
	} else {
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp44_ = FALSE;
#line 908 "match-all.c"
	}
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp50_ = _tmp44_;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_tmp50_) {
#line 914 "match-all.c"
		const gchar* _tmp51_;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp51_ = self->priv->_individual_id_4;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp43_ = g_strcmp0 (_tmp51_, "") != 0;
#line 920 "match-all.c"
	} else {
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp43_ = FALSE;
#line 924 "match-all.c"
	}
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp52_ = _tmp43_;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_tmp52_) {
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_match_all_tests_try_match_all (self);
#line 932 "match-all.c"
	}
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp53_ = removed;
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp54_ = gee_collection_get_size ((GeeCollection*) _tmp53_);
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp55_ = _tmp54_;
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_vala_assert (_tmp55_ == 1, "removed.size == 1");
#line 942 "match-all.c"
	{
		GeeSet* _tmp56_;
		GeeIterator* _tmp57_ = NULL;
		GeeIterator* _i_it;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp56_ = removed;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp57_ = gee_iterable_iterator ((GeeIterable*) _tmp56_);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_i_it = _tmp57_;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		while (TRUE) {
#line 955 "match-all.c"
			GeeIterator* _tmp58_;
			gboolean _tmp59_ = FALSE;
			GeeIterator* _tmp60_;
			gpointer _tmp61_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp62_;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp58_ = _i_it;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp59_ = gee_iterator_next (_tmp58_);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			if (!_tmp59_) {
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				break;
#line 970 "match-all.c"
			}
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp60_ = _i_it;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp61_ = gee_iterator_get (_tmp60_);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			i = (FolksIndividual*) _tmp61_;
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp62_ = i;
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_vala_assert (_tmp62_ == NULL, "i == null");
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_g_object_unref0 (i);
#line 984 "match-all.c"
		}
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_i_it);
#line 988 "match-all.c"
	}
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (removed);
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (added);
#line 994 "match-all.c"
}


static void _match_all_tests_try_match_all (MatchAllTests* self) {
	FolksIndividualAggregator* _tmp0_;
	GeeMap* _tmp1_;
	GeeMap* _tmp2_;
	const gchar* _tmp3_;
	gpointer _tmp4_ = NULL;
	FolksIndividual* ind1;
	FolksIndividualAggregator* _tmp5_;
	FolksIndividual* _tmp6_;
	GeeMap* _tmp7_ = NULL;
	GeeMap* matches_1;
	GeeMap* _tmp8_;
	gint _tmp9_;
	gint _tmp10_;
	FolksIndividualAggregator* _tmp11_;
	GeeMap* _tmp12_ = NULL;
	GeeMap* all_matches;
	GMainLoop* _tmp32_;
#line 173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_return_if_fail (self != NULL);
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = self->priv->_aggregator;
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp1_ = folks_individual_aggregator_get_individuals (_tmp0_);
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp2_ = _tmp1_;
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp3_ = self->priv->_individual_id_1;
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp4_ = gee_map_get (_tmp2_, _tmp3_);
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	ind1 = (FolksIndividual*) _tmp4_;
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp5_ = self->priv->_aggregator;
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp6_ = ind1;
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp7_ = folks_individual_aggregator_get_potential_matches (_tmp5_, _tmp6_, FOLKS_MATCH_RESULT_MEDIUM);
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	matches_1 = _tmp7_;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp8_ = matches_1;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp9_ = gee_map_get_size (_tmp8_);
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp10_ = _tmp9_;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_matches_1 = _tmp10_;
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp11_ = self->priv->_aggregator;
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp12_ = folks_individual_aggregator_get_all_potential_matches (_tmp11_, FOLKS_MATCH_RESULT_MEDIUM);
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	all_matches = _tmp12_;
#line 1052 "match-all.c"
	{
		GeeMap* _tmp13_;
		GeeSet* _tmp14_;
		GeeSet* _tmp15_;
		GeeSet* _tmp16_;
		GeeIterator* _tmp17_ = NULL;
		GeeIterator* _tmp18_;
		GeeIterator* _i_it;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp13_ = all_matches;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp14_ = gee_map_get_keys (_tmp13_);
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp15_ = _tmp14_;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp16_ = _tmp15_;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp17_ = gee_iterable_iterator ((GeeIterable*) _tmp16_);
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_tmp18_ = _tmp17_;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_tmp16_);
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_i_it = _tmp18_;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		while (TRUE) {
#line 1079 "match-all.c"
			GeeIterator* _tmp19_;
			gboolean _tmp20_ = FALSE;
			GeeIterator* _tmp21_;
			gpointer _tmp22_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp23_;
			gboolean _tmp24_;
			gboolean _tmp25_;
			GeeMap* _tmp26_;
			FolksIndividual* _tmp27_;
			gpointer _tmp28_ = NULL;
			GeeMap* matches;
			GeeMap* _tmp29_;
			gint _tmp30_;
			gint _tmp31_;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp19_ = _i_it;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp20_ = gee_iterator_next (_tmp19_);
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			if (!_tmp20_) {
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				break;
#line 1103 "match-all.c"
			}
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp21_ = _i_it;
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp22_ = gee_iterator_get (_tmp21_);
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			i = (FolksIndividual*) _tmp22_;
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp23_ = i;
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp24_ = folks_individual_get_is_user (_tmp23_);
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp25_ = _tmp24_;
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			if (_tmp25_) {
#line 186 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				_g_object_unref0 (i);
#line 186 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
				continue;
#line 1123 "match-all.c"
			}
#line 187 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp26_ = all_matches;
#line 187 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp27_ = i;
#line 187 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp28_ = gee_map_get (_tmp26_, _tmp27_);
#line 187 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			matches = (GeeMap*) _tmp28_;
#line 188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp29_ = matches;
#line 188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp30_ = gee_map_get_size (_tmp29_);
#line 188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_tmp31_ = _tmp30_;
#line 188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			self->priv->_matches_all = g_list_prepend (self->priv->_matches_all, (gpointer) ((gintptr) _tmp31_));
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_g_object_unref0 (matches);
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_g_object_unref0 (i);
#line 1145 "match-all.c"
		}
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_i_it);
#line 1149 "match-all.c"
	}
#line 191 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp32_ = self->priv->_main_loop;
#line 191 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_main_loop_quit (_tmp32_);
#line 173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (all_matches);
#line 173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (matches_1);
#line 173 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (ind1);
#line 1161 "match-all.c"
}


static void _match_all_tests_notify_pstore_cb (MatchAllTests* self, GObject* _pstore, GParamSpec* ps) {
#line 194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_return_if_fail (self != NULL);
#line 194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_return_if_fail (_pstore != NULL);
#line 194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_return_if_fail (ps != NULL);
#line 196 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_try_to_add (self, NULL, NULL);
#line 1174 "match-all.c"
}


static void _match_all_tests_try_to_add_data_free (gpointer _data) {
	MatchAllTestsTryToAddData* _data_;
	_data_ = _data;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_slice_free (MatchAllTestsTryToAddData, _data_);
#line 1185 "match-all.c"
}


static void _match_all_tests_try_to_add (MatchAllTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchAllTestsTryToAddData* _data_;
	MatchAllTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_slice_new0 (MatchAllTestsTryToAddData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _match_all_tests_try_to_add);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _match_all_tests_try_to_add_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_try_to_add_co (_data_);
#line 1204 "match-all.c"
}


static void _match_all_tests_try_to_add_finish (MatchAllTests* self, GAsyncResult* _res_) {
	MatchAllTestsTryToAddData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1212 "match-all.c"
}


static void _match_all_tests_try_to_add_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	MatchAllTestsTryToAddData* _data_;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = _user_data_;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_source_object_ = source_object;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_res_ = _res_;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_try_to_add_co (_data_);
#line 1226 "match-all.c"
}


static gboolean _match_all_tests_try_to_add_co (MatchAllTestsTryToAddData* _data_) {
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	switch (_data_->_state_) {
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 0:
#line 1235 "match-all.c"
		goto _state_0;
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 1:
#line 1239 "match-all.c"
		goto _state_1;
		default:
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_assert_not_reached ();
#line 1244 "match-all.c"
	}
	_state_0:
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp1_ = _data_->self->priv->_pstore;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp2_ = folks_persona_store_get_is_prepared ((FolksPersonaStore*) _data_->_tmp1_);
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_tmp3_) {
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp4_ = _data_->self->priv->_added_personas;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp0_ = _data_->_tmp4_ == FALSE;
#line 1259 "match-all.c"
	} else {
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp0_ = FALSE;
#line 1263 "match-all.c"
	}
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp5_ = _data_->_tmp0_;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_tmp5_) {
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->self->priv->_added_personas = TRUE;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_state_ = 1;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_match_all_tests_add_personas (_data_->self, _match_all_tests_try_to_add_ready, _data_);
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		return FALSE;
#line 1277 "match-all.c"
		_state_1:
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_match_all_tests_add_personas_finish (_data_->self, _data_->_res_);
#line 1281 "match-all.c"
	}
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_state_ == 0) {
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1287 "match-all.c"
	} else {
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1291 "match-all.c"
	}
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_object_unref (_data_->_async_result);
#line 199 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 1297 "match-all.c"
}


static void _match_all_tests_add_personas_data_free (gpointer _data) {
	MatchAllTestsAddPersonasData* _data_;
	_data_ = _data;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_slice_free (MatchAllTestsAddPersonasData, _data_);
#line 1308 "match-all.c"
}


static void _match_all_tests_add_personas (MatchAllTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchAllTestsAddPersonasData* _data_;
	MatchAllTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_slice_new0 (MatchAllTestsAddPersonasData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _match_all_tests_add_personas);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _match_all_tests_add_personas_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_add_personas_co (_data_);
#line 1327 "match-all.c"
}


static void _match_all_tests_add_personas_finish (MatchAllTests* self, GAsyncResult* _res_) {
	MatchAllTestsAddPersonasData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1335 "match-all.c"
}


static void _match_all_tests_add_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	MatchAllTestsAddPersonasData* _data_;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = _user_data_;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_source_object_ = source_object;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_res_ = _res_;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_add_personas_co (_data_);
#line 1349 "match-all.c"
}


static gboolean _match_all_tests_add_personas_co (MatchAllTestsAddPersonasData* _data_) {
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	switch (_data_->_state_) {
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 0:
#line 1358 "match-all.c"
		goto _state_0;
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 1:
#line 1362 "match-all.c"
		goto _state_1;
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 2:
#line 1366 "match-all.c"
		goto _state_2;
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 3:
#line 1370 "match-all.c"
		goto _state_3;
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 4:
#line 1374 "match-all.c"
		goto _state_4;
		default:
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_assert_not_reached ();
#line 1379 "match-all.c"
	}
	_state_0:
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp0_ = _data_->self->priv->_persona_fullname_1;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_state_ = 1;
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona (_data_->self, _data_->_tmp0_, _match_all_tests_add_personas_ready, _data_);
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 1390 "match-all.c"
	_state_1:
#line 210 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona_finish (_data_->self, _data_->_res_);
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp1_ = _data_->self->priv->_persona_fullname_2;
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_state_ = 2;
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona (_data_->self, _data_->_tmp1_, _match_all_tests_add_personas_ready, _data_);
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 1402 "match-all.c"
	_state_2:
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona_finish (_data_->self, _data_->_res_);
#line 212 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp2_ = _data_->self->priv->_persona_fullname_3;
#line 212 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_state_ = 3;
#line 212 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona (_data_->self, _data_->_tmp2_, _match_all_tests_add_personas_ready, _data_);
#line 212 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 1414 "match-all.c"
	_state_3:
#line 212 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona_finish (_data_->self, _data_->_res_);
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp3_ = _data_->self->priv->_persona_fullname_4;
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_state_ = 4;
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona (_data_->self, _data_->_tmp3_, _match_all_tests_add_personas_ready, _data_);
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 1426 "match-all.c"
	_state_4:
#line 213 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona_finish (_data_->self, _data_->_res_);
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_state_ == 0) {
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1434 "match-all.c"
	} else {
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1438 "match-all.c"
	}
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_object_unref (_data_->_async_result);
#line 208 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 1444 "match-all.c"
}


static void _match_all_tests_do_add_persona_data_free (gpointer _data) {
	MatchAllTestsDoAddPersonaData* _data_;
	_data_ = _data;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (_data_->fn);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_slice_free (MatchAllTestsDoAddPersonaData, _data_);
#line 1457 "match-all.c"
}


static void _match_all_tests_do_add_persona (MatchAllTests* self, const gchar* fn, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchAllTestsDoAddPersonaData* _data_;
	MatchAllTests* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_slice_new0 (MatchAllTestsDoAddPersonaData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _match_all_tests_do_add_persona);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _match_all_tests_do_add_persona_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp1_ = fn;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->fn = _tmp2_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona_co (_data_);
#line 1484 "match-all.c"
}


static void _match_all_tests_do_add_persona_finish (MatchAllTests* self, GAsyncResult* _res_) {
	MatchAllTestsDoAddPersonaData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1492 "match-all.c"
}


static void _g_free0_ (gpointer var) {
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	var = (g_free (var), NULL);
#line 1499 "match-all.c"
}


static void _vala_GValue_free (GValue* self) {
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_value_unset (self);
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_free (self);
#line 1508 "match-all.c"
}


static void __vala_GValue_free0_ (gpointer var) {
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	(var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL));
#line 1515 "match-all.c"
}


static GValue* _g_value_dup (GValue* self) {
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return g_boxed_copy (G_TYPE_VALUE, self);
#line 1522 "match-all.c"
}


static gpointer __g_value_dup0 (gpointer self) {
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return self ? _g_value_dup (self) : NULL;
#line 1529 "match-all.c"
}


static void _match_all_tests_do_add_persona_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	MatchAllTestsDoAddPersonaData* _data_;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_ = _user_data_;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_source_object_ = source_object;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_res_ = _res_;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_match_all_tests_do_add_persona_co (_data_);
#line 1543 "match-all.c"
}


static gboolean _match_all_tests_do_add_persona_co (MatchAllTestsDoAddPersonaData* _data_) {
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	switch (_data_->_state_) {
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 0:
#line 1552 "match-all.c"
		goto _state_0;
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		case 1:
#line 1556 "match-all.c"
		goto _state_1;
		default:
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_assert_not_reached ();
#line 1561 "match-all.c"
	}
	_state_0:
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp0_ = g_str_hash;
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp1_ = g_str_equal;
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp2_ = g_hash_table_new_full (_data_->_tmp0_, _data_->_tmp1_, _g_free0_, __vala_GValue_free0_);
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->details = _data_->_tmp2_;
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	memset (&_data_->_tmp3_, 0, sizeof (GValue));
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_value_init (&_data_->_tmp3_, G_TYPE_STRING);
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp5_ = __g_value_dup0 (&_data_->_tmp4_);
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	__vala_GValue_free0 (_data_->val);
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->val = _data_->_tmp5_;
#line 222 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	G_IS_VALUE (&_data_->_tmp4_) ? (g_value_unset (&_data_->_tmp4_), NULL) : NULL;
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp6_ = _data_->val;
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp7_ = _data_->fn;
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_value_set_string (_data_->_tmp6_, _data_->_tmp7_);
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp8_ = NULL;
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp8_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_FULL_NAME);
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp9_ = g_strdup (_data_->_tmp8_);
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->_tmp10_ = _data_->val;
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_data_->val = NULL;
#line 224 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_hash_table_insert (_data_->details, _data_->_tmp9_, _data_->_tmp10_);
#line 1604 "match-all.c"
	{
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp11_ = _data_->self->priv->_aggregator;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp12_ = _data_->self->priv->_pstore;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_state_ = 1;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		folks_individual_aggregator_add_persona_from_details (_data_->_tmp11_, NULL, (FolksPersonaStore*) _data_->_tmp12_, _data_->details, _match_all_tests_do_add_persona_ready, _data_);
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		return FALSE;
#line 1616 "match-all.c"
		_state_1:
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp13_ = NULL;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp13_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp11_, _data_->_res_, &_data_->_inner_error_);
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp14_ = _data_->_tmp13_;
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_object_unref0 (_data_->_tmp14_);
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		if (_data_->_inner_error_ != NULL) {
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1630 "match-all.c"
				goto __catch1_folks_individual_aggregator_error;
			}
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			__vala_GValue_free0 (_data_->val);
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			_g_hash_table_unref0 (_data_->details);
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			g_clear_error (&_data_->_inner_error_);
#line 229 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
			return FALSE;
#line 1643 "match-all.c"
		}
	}
	goto __finally1;
	__catch1_folks_individual_aggregator_error:
	{
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->e = _data_->_inner_error_;
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_inner_error_ = NULL;
#line 234 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp15_ = _data_->e;
#line 234 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_data_->_tmp16_ = _data_->_tmp15_->message;
#line 234 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_warning ("match-all.vala:234: [AddPersonaError] add_persona_from_details: %s\n", _data_->_tmp16_);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_error_free0 (_data_->e);
#line 1661 "match-all.c"
	}
	__finally1:
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_inner_error_ != NULL) {
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		__vala_GValue_free0 (_data_->val);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		_g_hash_table_unref0 (_data_->details);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_clear_error (&_data_->_inner_error_);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		return FALSE;
#line 1676 "match-all.c"
	}
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	__vala_GValue_free0 (_data_->val);
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_hash_table_unref0 (_data_->details);
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	if (_data_->_state_ == 0) {
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1686 "match-all.c"
	} else {
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1690 "match-all.c"
	}
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_object_unref (_data_->_async_result);
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return FALSE;
#line 1696 "match-all.c"
}


static void match_all_tests_class_init (MatchAllTestsClass * klass) {
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	match_all_tests_parent_class = g_type_class_peek_parent (klass);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_type_class_add_private (klass, sizeof (MatchAllTestsPrivate));
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = match_all_tests_real_set_up;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = match_all_tests_real_tear_down;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	G_OBJECT_CLASS (klass)->finalize = match_all_tests_finalize;
#line 1711 "match-all.c"
}


static void match_all_tests_instance_init (MatchAllTests * self) {
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv = MATCH_ALL_TESTS_GET_PRIVATE (self);
#line 30 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_aggregator = NULL;
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = g_strdup ("Bernie Innocenti");
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_persona_fullname_1 = _tmp0_;
#line 32 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp1_ = g_strdup ("Bernardo H. Innocenti");
#line 32 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_persona_fullname_2 = _tmp1_;
#line 33 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp2_ = g_strdup ("Travis R.");
#line 33 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_persona_fullname_3 = _tmp2_;
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp3_ = g_strdup ("Travis Reitter");
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_persona_fullname_4 = _tmp3_;
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_added_personas = FALSE;
#line 36 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp4_ = g_strdup ("");
#line 36 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_individual_id_1 = _tmp4_;
#line 37 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp5_ = g_strdup ("");
#line 37 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_individual_id_2 = _tmp5_;
#line 38 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp6_ = g_strdup ("");
#line 38 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_individual_id_3 = _tmp6_;
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp7_ = g_strdup ("");
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_individual_id_4 = _tmp7_;
#line 41 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_matches_all = NULL;
#line 42 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self->priv->_matches_1 = 0;
#line 1766 "match-all.c"
}


static void match_all_tests_finalize (GObject* obj) {
	MatchAllTests * self;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MATCH_ALL_TESTS, MatchAllTests);
#line 28 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 29 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 30 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 32 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 33 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_persona_fullname_3);
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_persona_fullname_4);
#line 36 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_individual_id_1);
#line 37 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_individual_id_2);
#line 38 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_individual_id_3);
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_free0 (self->priv->_individual_id_4);
#line 40 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (self->priv->_pstore);
#line 41 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_list_free0 (self->priv->_matches_all);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	G_OBJECT_CLASS (match_all_tests_parent_class)->finalize (obj);
#line 1802 "match-all.c"
}


GType match_all_tests_get_type (void) {
	static volatile gsize match_all_tests_type_id__volatile = 0;
	if (g_once_init_enter (&match_all_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (MatchAllTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) match_all_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MatchAllTests), 0, (GInstanceInitFunc) match_all_tests_instance_init, NULL };
		GType match_all_tests_type_id;
		match_all_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "MatchAllTests", &g_define_type_info, 0);
		g_once_init_leave (&match_all_tests_type_id__volatile, match_all_tests_type_id);
	}
	return match_all_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	MatchAllTests* _tmp1_;
	MatchAllTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 242 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_test_init (&args_length1, &args, NULL);
#line 244 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp0_ = g_test_get_root ();
#line 244 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	root = _tmp0_;
#line 245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp1_ = match_all_tests_new ();
#line 245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp2_ = _tmp1_;
#line 245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 245 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	_g_object_unref0 (_tmp2_);
#line 247 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_test_run ();
#line 249 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	result = 0;
#line 249 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return result;
#line 1847 "match-all.c"
}


int main (int argc, char ** argv) {
#line 240 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	g_type_init ();
#line 240 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-all.vala"
	return _vala_main (argv, argc);
#line 1856 "match-all.c"
}



