/* match-name.c generated by valac 0.17.6.3-6918, the Vala compiler
 * generated from match-name.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_NAME_TESTS (match_name_tests_get_type ())
#define MATCH_NAME_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MATCH_NAME_TESTS, MatchNameTests))
#define MATCH_NAME_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MATCH_NAME_TESTS, MatchNameTestsClass))
#define IS_MATCH_NAME_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MATCH_NAME_TESTS))
#define IS_MATCH_NAME_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MATCH_NAME_TESTS))
#define MATCH_NAME_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MATCH_NAME_TESTS, MatchNameTestsClass))

typedef struct _MatchNameTests MatchNameTests;
typedef struct _MatchNameTestsClass MatchNameTestsClass;
typedef struct _MatchNameTestsPrivate MatchNameTestsPrivate;
#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_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _MatchNameTestsTestMatchNameAsyncData MatchNameTestsTestMatchNameAsyncData;
typedef struct _MatchNameTestsTryToAddData MatchNameTestsTryToAddData;
#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 _MatchNameTestsAddPersonasData MatchNameTestsAddPersonasData;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _MatchNameTests {
	FolksTestCase parent_instance;
	MatchNameTestsPrivate * priv;
};

struct _MatchNameTestsClass {
	FolksTestCaseClass parent_class;
};

struct _MatchNameTestsPrivate {
	GMainLoop* _main_loop;
	TrackerTestBackend* _tracker_backend;
	FolksIndividualAggregator* _aggregator;
	gchar* _persona_fullname_1;
	gchar* _persona_fullname_2;
	gboolean _added_personas;
	gchar* _individual_id_1;
	gchar* _individual_id_2;
	FolksMatchResult _match;
	TrfPersonaStore* _pstore;
};

struct _MatchNameTestsTestMatchNameAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	MatchNameTests* 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 _MatchNameTestsTryToAddData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	MatchNameTests* self;
	gboolean _tmp0_;
	TrfPersonaStore* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
};

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


static gpointer match_name_tests_parent_class = NULL;

GType match_name_tests_get_type (void) G_GNUC_CONST;
#define MATCH_NAME_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MATCH_NAME_TESTS, MatchNameTestsPrivate))
enum  {
	MATCH_NAME_TESTS_DUMMY_PROPERTY
};
MatchNameTests* match_name_tests_new (void);
MatchNameTests* match_name_tests_construct (GType object_type);
void match_name_tests_test_match_name_1 (MatchNameTests* self);
static void _match_name_tests_test_match_name_1_folks_test_case_test_method (gpointer self);
void match_name_tests_test_match_name_2 (MatchNameTests* self);
static void _match_name_tests_test_match_name_2_folks_test_case_test_method (gpointer self);
void match_name_tests_test_match_name_3 (MatchNameTests* self);
static void _match_name_tests_test_match_name_3_folks_test_case_test_method (gpointer self);
void match_name_tests_test_match_name_4 (MatchNameTests* self);
static void _match_name_tests_test_match_name_4_folks_test_case_test_method (gpointer self);
void match_name_tests_test_match_name_5 (MatchNameTests* self);
static void _match_name_tests_test_match_name_5_folks_test_case_test_method (gpointer self);
void match_name_tests_test_match_name_6 (MatchNameTests* self);
static void _match_name_tests_test_match_name_6_folks_test_case_test_method (gpointer self);
static void match_name_tests_real_set_up (FolksTestCase* base);
static void match_name_tests_real_tear_down (FolksTestCase* base);
static void _match_name_tests_test_match_name (MatchNameTests* self, const gchar* full_name1, const gchar* full_name2);
static void _match_name_tests_test_match_name_async (MatchNameTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _match_name_tests_test_match_name_finish (MatchNameTests* self, GAsyncResult* _res_);
static gboolean __lambda2_ (MatchNameTests* self);
static gboolean ___lambda2__gsource_func (gpointer self);
static void _match_name_tests_test_match_name_async_data_free (gpointer _data);
static gboolean _match_name_tests_test_match_name_async_co (MatchNameTestsTestMatchNameAsyncData* _data_);
static void _match_name_tests_test_match_name_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _match_name_tests_individuals_changed_cb (MatchNameTests* self, GeeMultiMap* changes);
static void __match_name_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void _match_name_tests_notify_pstore_cb (MatchNameTests* self, GObject* _pstore, GParamSpec* ps);
static void __match_name_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _match_name_tests_try_to_add (MatchNameTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _match_name_tests_try_to_add_finish (MatchNameTests* self, GAsyncResult* _res_);
static void _match_name_tests_try_potential_match (MatchNameTests* self);
static void _match_name_tests_try_to_add_data_free (gpointer _data);
static gboolean _match_name_tests_try_to_add_co (MatchNameTestsTryToAddData* _data_);
static void _match_name_tests_add_personas (MatchNameTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _match_name_tests_add_personas_finish (MatchNameTests* self, GAsyncResult* _res_);
static void _match_name_tests_try_to_add_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _match_name_tests_add_personas_data_free (gpointer _data);
static gboolean _match_name_tests_add_personas_co (MatchNameTestsAddPersonasData* _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_name_tests_add_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void match_name_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _match_name_tests_test_match_name_1_folks_test_case_test_method (gpointer self) {
#line 45 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	match_name_tests_test_match_name_1 (self);
#line 242 "match-name.c"
}


static void _match_name_tests_test_match_name_2_folks_test_case_test_method (gpointer self) {
#line 47 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	match_name_tests_test_match_name_2 (self);
#line 249 "match-name.c"
}


static void _match_name_tests_test_match_name_3_folks_test_case_test_method (gpointer self) {
#line 49 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	match_name_tests_test_match_name_3 (self);
#line 256 "match-name.c"
}


static void _match_name_tests_test_match_name_4_folks_test_case_test_method (gpointer self) {
#line 51 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	match_name_tests_test_match_name_4 (self);
#line 263 "match-name.c"
}


static void _match_name_tests_test_match_name_5_folks_test_case_test_method (gpointer self) {
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	match_name_tests_test_match_name_5 (self);
#line 270 "match-name.c"
}


static void _match_name_tests_test_match_name_6_folks_test_case_test_method (gpointer self) {
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	match_name_tests_test_match_name_6 (self);
#line 277 "match-name.c"
}


MatchNameTests* match_name_tests_construct (GType object_type) {
	MatchNameTests * self = NULL;
	TrackerTestBackend* _tmp0_;
#line 41 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self = (MatchNameTests*) folks_test_case_construct (object_type, "MatchNameTests");
#line 43 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = tracker_test_backend_new ();
#line 43 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 43 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_tracker_backend = _tmp0_;
#line 45 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test potential match by name #1 ", _match_name_tests_test_match_name_1_folks_test_case_test_method, self);
#line 47 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test potential match by name #2 ", _match_name_tests_test_match_name_2_folks_test_case_test_method, self);
#line 49 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test potential match by name #3 ", _match_name_tests_test_match_name_3_folks_test_case_test_method, self);
#line 51 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test potential match by name #4 ", _match_name_tests_test_match_name_4_folks_test_case_test_method, self);
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test potential match by name #5 ", _match_name_tests_test_match_name_5_folks_test_case_test_method, self);
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test potential match by name #6 ", _match_name_tests_test_match_name_6_folks_test_case_test_method, self);
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return self;
#line 306 "match-name.c"
}


MatchNameTests* match_name_tests_new (void) {
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return match_name_tests_construct (TYPE_MATCH_NAME_TESTS);
#line 313 "match-name.c"
}


static void match_name_tests_real_set_up (FolksTestCase* base) {
	MatchNameTests * self;
#line 59 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self = (MatchNameTests*) base;
#line 321 "match-name.c"
}


static void match_name_tests_real_tear_down (FolksTestCase* base) {
	MatchNameTests * self;
	TrackerTestBackend* _tmp0_;
#line 63 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self = (MatchNameTests*) base;
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_tracker_backend;
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	tracker_test_backend_tear_down (_tmp0_);
#line 334 "match-name.c"
}


static gboolean __lambda2_ (MatchNameTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 83 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_main_loop;
#line 83 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_main_loop_quit (_tmp0_);
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_assert_not_reached ();
#line 81 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return result;
#line 349 "match-name.c"
}


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


static void _match_name_tests_test_match_name (MatchNameTests* self, const gchar* full_name1, const gchar* full_name2) {
	GMainLoop* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	GMainLoop* _tmp7_;
#line 68 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 68 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (full_name1 != NULL);
#line 68 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (full_name2 != NULL);
#line 70 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 70 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 70 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_main_loop = _tmp0_;
#line 72 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_match = FOLKS_MATCH_RESULT_MIN;
#line 73 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_added_personas = FALSE;
#line 74 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp1_ = full_name1;
#line 74 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 74 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 74 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_1 = _tmp2_;
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp3_ = full_name2;
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_2 = _tmp4_;
#line 76 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp5_ = g_strdup ("");
#line 76 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_1);
#line 76 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_1 = _tmp5_;
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp6_ = g_strdup ("");
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_2);
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_2 = _tmp6_;
#line 79 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name_async (self, NULL, NULL);
#line 81 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda2__gsource_func, g_object_ref (self), g_object_unref);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp7_ = self->priv->_main_loop;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_main_loop_run (_tmp7_);
#line 423 "match-name.c"
}


void match_name_tests_test_match_name_1 (MatchNameTests* self) {
	FolksMatchResult _tmp0_;
#line 90 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name (self, "Bernie Innocenti", "Bernardo H. Innocenti");
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_match;
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_vala_assert (_tmp0_ >= FOLKS_MATCH_RESULT_MEDIUM, "this._match >= Folks.MatchResult.MEDIUM");
#line 437 "match-name.c"
}


void match_name_tests_test_match_name_2 (MatchNameTests* self) {
	FolksMatchResult _tmp0_;
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 98 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name (self, "AAAA BBBBB", "CCCCC DDDDD");
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_match;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_vala_assert (_tmp0_ <= FOLKS_MATCH_RESULT_LOW, "this._match <= Folks.MatchResult.LOW");
#line 451 "match-name.c"
}


void match_name_tests_test_match_name_3 (MatchNameTests* self) {
	FolksMatchResult _tmp0_;
#line 102 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name (self, "Travis Reitter", "Travis R.");
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_match;
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_vala_assert (_tmp0_ >= FOLKS_MATCH_RESULT_MEDIUM, "this._match >= Folks.MatchResult.MEDIUM");
#line 465 "match-name.c"
}


void match_name_tests_test_match_name_4 (MatchNameTests* self) {
	FolksMatchResult _tmp0_;
#line 108 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name (self, "PâtéPâtéPâté", "patepatepate");
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_match;
#line 114 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_vala_assert (_tmp0_ >= FOLKS_MATCH_RESULT_MEDIUM, "this._match >= Folks.MatchResult.MEDIUM");
#line 479 "match-name.c"
}


void match_name_tests_test_match_name_5 (MatchNameTests* self) {
	FolksMatchResult _tmp0_;
#line 117 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name (self, "Frédéric Peters", "Frederic Peters");
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_match;
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_vala_assert (_tmp0_ >= FOLKS_MATCH_RESULT_HIGH, "this._match >= Folks.MatchResult.HIGH");
#line 493 "match-name.c"
}


void match_name_tests_test_match_name_6 (MatchNameTests* self) {
	FolksMatchResult _tmp0_;
#line 124 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 127 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name (self, "Alice Badger", "alice.badger");
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_match;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_vala_assert (_tmp0_ >= FOLKS_MATCH_RESULT_HIGH, "this._match >= Folks.MatchResult.HIGH");
#line 507 "match-name.c"
}


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


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


static void _match_name_tests_test_match_name_async (MatchNameTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchNameTestsTestMatchNameAsyncData* _data_;
	MatchNameTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = g_slice_new0 (MatchNameTestsTestMatchNameAsyncData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _match_name_tests_test_match_name_async);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _match_name_tests_test_match_name_async_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name_async_co (_data_);
#line 544 "match-name.c"
}


static void _match_name_tests_test_match_name_finish (MatchNameTests* self, GAsyncResult* _res_) {
	MatchNameTestsTestMatchNameAsyncData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 552 "match-name.c"
}


static void _match_name_tests_test_match_name_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	MatchNameTestsTestMatchNameAsyncData* _data_;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = _user_data_;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_source_object_ = source_object;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_res_ = _res_;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name_async_co (_data_);
#line 566 "match-name.c"
}


static void __match_name_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_individuals_changed_cb (self, changes);
#line 573 "match-name.c"
}


static void __match_name_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_notify_pstore_cb (self, _sender, pspec);
#line 580 "match-name.c"
}


static gboolean _match_name_tests_test_match_name_async_co (MatchNameTestsTestMatchNameAsyncData* _data_) {
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	switch (_data_->_state_) {
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 0:
#line 589 "match-name.c"
		goto _state_0;
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 1:
#line 593 "match-name.c"
		goto _state_1;
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 2:
#line 597 "match-name.c"
		goto _state_2;
		default:
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_assert_not_reached ();
#line 602 "match-name.c"
	}
	_state_0:
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp0_ = NULL;
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->store = _data_->_tmp0_;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp1_ = _data_->store;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_state_ = 1;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_backend_store_prepare (_data_->_tmp1_, _match_name_tests_test_match_name_async_ready, _data_);
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 619 "match-name.c"
	_state_1:
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	folks_backend_store_prepare_finish (_data_->_tmp1_, _data_->_res_);
#line 136 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 136 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_tmp2_ == NULL) {
#line 138 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp3_ = folks_individual_aggregator_new ();
#line 138 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->self->priv->_aggregator);
#line 138 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->self->priv->_aggregator = _data_->_tmp3_;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp4_ = _data_->self->priv->_aggregator;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_signal_connect_object (_data_->_tmp4_, "individuals-changed-detailed", (GCallback) __match_name_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed, _data_->self, 0);
#line 637 "match-name.c"
	}
	{
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp5_ = _data_->self->priv->_aggregator;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_state_ = 2;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		folks_individual_aggregator_prepare (_data_->_tmp5_, _match_name_tests_test_match_name_async_ready, _data_);
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 648 "match-name.c"
		_state_2:
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp5_, _data_->_res_, &_data_->_inner_error_);
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		if (_data_->_inner_error_ != NULL) {
#line 654 "match-name.c"
			goto __catch0_g_error;
		}
#line 146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->self->priv->_pstore);
#line 146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->self->priv->_pstore = NULL;
#line 661 "match-name.c"
		{
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp6_ = _data_->store;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp7_ = folks_backend_store_get_enabled_backends (_data_->_tmp6_);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp8_ = _data_->_tmp7_;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp9_ = gee_map_get_values (_data_->_tmp8_);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp10_ = _data_->_tmp9_;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp11_ = _data_->_tmp10_;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp12_ = NULL;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp12_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp11_);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_tmp13_ = _data_->_tmp12_;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (_data_->_tmp11_);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_data_->_backend_it = _data_->_tmp13_;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			while (TRUE) {
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp14_ = _data_->_backend_it;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp15_ = FALSE;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp15_ = gee_iterator_next (_data_->_tmp14_);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				if (!_data_->_tmp15_) {
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					break;
#line 697 "match-name.c"
				}
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp16_ = _data_->_backend_it;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp17_ = NULL;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp17_ = gee_iterator_get (_data_->_tmp16_);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->backend = (FolksBackend*) _data_->_tmp17_;
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp18_ = _data_->backend;
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp19_ = folks_backend_get_persona_stores (_data_->_tmp18_);
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp20_ = _data_->_tmp19_;
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp21_ = NULL;
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp21_ = gee_map_get (_data_->_tmp20_, "tracker");
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_g_object_unref0 (_data_->self->priv->_pstore);
#line 149 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->self->priv->_pstore = G_TYPE_CHECK_INSTANCE_CAST ((FolksPersonaStore*) _data_->_tmp21_, TRF_TYPE_PERSONA_STORE, TrfPersonaStore);
#line 151 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_data_->_tmp22_ = _data_->self->priv->_pstore;
#line 151 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				if (_data_->_tmp22_ != NULL) {
#line 152 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					_g_object_unref0 (_data_->backend);
#line 152 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					break;
#line 729 "match-name.c"
				}
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_g_object_unref0 (_data_->backend);
#line 733 "match-name.c"
			}
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (_data_->_backend_it);
#line 737 "match-name.c"
		}
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp23_ = _data_->self->priv->_pstore;
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_vala_assert (_data_->_tmp23_ != NULL, "this._pstore != null");
#line 155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp24_ = _data_->self->priv->_pstore;
#line 155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_signal_connect_object ((GObject*) _data_->_tmp24_, "notify::is-prepared", (GCallback) __match_name_tests_notify_pstore_cb_g_object_notify, _data_->self, 0);
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_match_name_tests_try_to_add (_data_->self, NULL, NULL);
#line 749 "match-name.c"
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->e = _data_->_inner_error_;
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_inner_error_ = NULL;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp25_ = _data_->e;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp26_ = _data_->_tmp25_->message;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_warning ("match-name.vala:160: Error when calling prepare: %s\n", _data_->_tmp26_);
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_error_free0 (_data_->e);
#line 766 "match-name.c"
	}
	__finally0:
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_inner_error_ != NULL) {
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->store);
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.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 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_clear_error (&_data_->_inner_error_);
#line 143 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 779 "match-name.c"
	}
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (_data_->store);
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_state_ == 0) {
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 787 "match-name.c"
	} else {
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 791 "match-name.c"
	}
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_object_unref (_data_->_async_result);
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 797 "match-name.c"
}


static void _match_name_tests_individuals_changed_cb (MatchNameTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	gboolean _tmp27_ = FALSE;
	const gchar* _tmp28_;
	gboolean _tmp30_;
	GeeSet* _tmp31_;
	gint _tmp32_;
	gint _tmp33_;
#line 164 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 164 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (changes != NULL);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = changes;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	added = _tmp1_;
#line 168 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp2_ = changes;
#line 168 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 168 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	removed = _tmp3_;
#line 830 "match-name.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_tmp4_ = added;
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_i_it = _tmp5_;
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		while (TRUE) {
#line 843 "match-name.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 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp6_ = _i_it;
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			if (!_tmp7_) {
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				break;
#line 862 "match-name.c"
			}
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp8_ = _i_it;
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			i = (FolksIndividual*) _tmp9_;
#line 172 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp10_ = i;
#line 172 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_vala_assert (_tmp10_ != NULL, "i != null");
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp11_ = i;
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp12_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp11_);
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp13_ = _tmp12_;
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp14_ = self->priv->_persona_fullname_1;
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 884 "match-name.c"
				FolksIndividual* _tmp15_;
				const gchar* _tmp16_;
				const gchar* _tmp17_;
				gchar* _tmp18_;
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp15_ = i;
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp16_ = folks_individual_get_id (_tmp15_);
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp17_ = _tmp16_;
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp18_ = g_strdup (_tmp17_);
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_g_free0 (self->priv->_individual_id_1);
#line 176 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				self->priv->_individual_id_1 = _tmp18_;
#line 901 "match-name.c"
			} else {
				FolksIndividual* _tmp19_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				const gchar* _tmp22_;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp19_ = i;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp20_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp19_);
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp21_ = _tmp20_;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				_tmp22_ = self->priv->_persona_fullname_2;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				if (g_strcmp0 (_tmp21_, _tmp22_) == 0) {
#line 917 "match-name.c"
					FolksIndividual* _tmp23_;
					const gchar* _tmp24_;
					const gchar* _tmp25_;
					gchar* _tmp26_;
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					_tmp23_ = i;
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					_tmp24_ = folks_individual_get_id (_tmp23_);
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					_tmp25_ = _tmp24_;
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					_tmp26_ = g_strdup (_tmp25_);
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					_g_free0 (self->priv->_individual_id_2);
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
					self->priv->_individual_id_2 = _tmp26_;
#line 934 "match-name.c"
				}
			}
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (i);
#line 939 "match-name.c"
		}
#line 170 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_i_it);
#line 943 "match-name.c"
	}
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp28_ = self->priv->_individual_id_1;
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (g_strcmp0 (_tmp28_, "") != 0) {
#line 949 "match-name.c"
		const gchar* _tmp29_;
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_tmp29_ = self->priv->_individual_id_2;
#line 185 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_tmp27_ = g_strcmp0 (_tmp29_, "") != 0;
#line 955 "match-name.c"
	} else {
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_tmp27_ = FALSE;
#line 959 "match-name.c"
	}
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp30_ = _tmp27_;
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_tmp30_) {
#line 187 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_match_name_tests_try_potential_match (self);
#line 967 "match-name.c"
	}
#line 190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp31_ = removed;
#line 190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp32_ = gee_collection_get_size ((GeeCollection*) _tmp31_);
#line 190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp33_ = _tmp32_;
#line 190 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_vala_assert (_tmp33_ == 1, "removed.size == 1");
#line 977 "match-name.c"
	{
		GeeSet* _tmp34_;
		GeeIterator* _tmp35_ = NULL;
		GeeIterator* _i_it;
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_tmp34_ = removed;
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_tmp35_ = gee_iterable_iterator ((GeeIterable*) _tmp34_);
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_i_it = _tmp35_;
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		while (TRUE) {
#line 990 "match-name.c"
			GeeIterator* _tmp36_;
			gboolean _tmp37_ = FALSE;
			GeeIterator* _tmp38_;
			gpointer _tmp39_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp40_;
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp36_ = _i_it;
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp37_ = gee_iterator_next (_tmp36_);
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			if (!_tmp37_) {
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
				break;
#line 1005 "match-name.c"
			}
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp38_ = _i_it;
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp39_ = gee_iterator_get (_tmp38_);
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			i = (FolksIndividual*) _tmp39_;
#line 194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_tmp40_ = i;
#line 194 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_vala_assert (_tmp40_ == NULL, "i == null");
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (i);
#line 1019 "match-name.c"
		}
#line 192 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_i_it);
#line 1023 "match-name.c"
	}
#line 164 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (removed);
#line 164 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (added);
#line 1029 "match-name.c"
}


static void _match_name_tests_try_potential_match (MatchNameTests* self) {
	FolksIndividualAggregator* _tmp0_;
	GeeMap* _tmp1_;
	GeeMap* _tmp2_;
	const gchar* _tmp3_;
	gpointer _tmp4_ = NULL;
	FolksIndividual* ind1;
	FolksIndividualAggregator* _tmp5_;
	GeeMap* _tmp6_;
	GeeMap* _tmp7_;
	const gchar* _tmp8_;
	gpointer _tmp9_ = NULL;
	FolksIndividual* ind2;
	FolksPotentialMatch* _tmp10_;
	FolksPotentialMatch* matchObj;
	FolksMatchResult _tmp11_ = 0;
	GMainLoop* _tmp12_;
#line 198 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 200 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_aggregator;
#line 200 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp1_ = folks_individual_aggregator_get_individuals (_tmp0_);
#line 200 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp2_ = _tmp1_;
#line 200 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp3_ = self->priv->_individual_id_1;
#line 200 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp4_ = gee_map_get (_tmp2_, _tmp3_);
#line 200 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	ind1 = (FolksIndividual*) _tmp4_;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp5_ = self->priv->_aggregator;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp6_ = folks_individual_aggregator_get_individuals (_tmp5_);
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp7_ = _tmp6_;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp8_ = self->priv->_individual_id_2;
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp9_ = gee_map_get (_tmp7_, _tmp8_);
#line 201 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	ind2 = (FolksIndividual*) _tmp9_;
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp10_ = folks_potential_match_new ();
#line 203 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	matchObj = _tmp10_;
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp11_ = folks_potential_match_potential_match (matchObj, ind1, ind2);
#line 204 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_match = _tmp11_;
#line 206 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp12_ = self->priv->_main_loop;
#line 206 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_main_loop_quit (_tmp12_);
#line 198 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (matchObj);
#line 198 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (ind2);
#line 198 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (ind1);
#line 1094 "match-name.c"
}


static void _match_name_tests_notify_pstore_cb (MatchNameTests* self, GObject* _pstore, GParamSpec* ps) {
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (_pstore != NULL);
#line 209 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_return_if_fail (ps != NULL);
#line 211 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_try_to_add (self, NULL, NULL);
#line 1107 "match-name.c"
}


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


static void _match_name_tests_try_to_add (MatchNameTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchNameTestsTryToAddData* _data_;
	MatchNameTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = g_slice_new0 (MatchNameTestsTryToAddData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _match_name_tests_try_to_add);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _match_name_tests_try_to_add_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_try_to_add_co (_data_);
#line 1137 "match-name.c"
}


static void _match_name_tests_try_to_add_finish (MatchNameTests* self, GAsyncResult* _res_) {
	MatchNameTestsTryToAddData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1145 "match-name.c"
}


static void _match_name_tests_try_to_add_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	MatchNameTestsTryToAddData* _data_;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = _user_data_;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_source_object_ = source_object;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_res_ = _res_;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_try_to_add_co (_data_);
#line 1159 "match-name.c"
}


static gboolean _match_name_tests_try_to_add_co (MatchNameTestsTryToAddData* _data_) {
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	switch (_data_->_state_) {
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 0:
#line 1168 "match-name.c"
		goto _state_0;
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 1:
#line 1172 "match-name.c"
		goto _state_1;
		default:
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_assert_not_reached ();
#line 1177 "match-name.c"
	}
	_state_0:
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp1_ = _data_->self->priv->_pstore;
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp2_ = folks_persona_store_get_is_prepared ((FolksPersonaStore*) _data_->_tmp1_);
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_tmp3_) {
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp4_ = _data_->self->priv->_added_personas;
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp0_ = _data_->_tmp4_ == FALSE;
#line 1192 "match-name.c"
	} else {
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp0_ = FALSE;
#line 1196 "match-name.c"
	}
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp5_ = _data_->_tmp0_;
#line 216 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_tmp5_) {
#line 218 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->self->priv->_added_personas = TRUE;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_state_ = 1;
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_match_name_tests_add_personas (_data_->self, _match_name_tests_try_to_add_ready, _data_);
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 1210 "match-name.c"
		_state_1:
#line 219 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_match_name_tests_add_personas_finish (_data_->self, _data_->_res_);
#line 1214 "match-name.c"
	}
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_state_ == 0) {
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1220 "match-name.c"
	} else {
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1224 "match-name.c"
	}
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_object_unref (_data_->_async_result);
#line 214 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 1230 "match-name.c"
}


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


static void _match_name_tests_add_personas (MatchNameTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchNameTestsAddPersonasData* _data_;
	MatchNameTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = g_slice_new0 (MatchNameTestsAddPersonasData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _match_name_tests_add_personas);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _match_name_tests_add_personas_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_add_personas_co (_data_);
#line 1260 "match-name.c"
}


static void _match_name_tests_add_personas_finish (MatchNameTests* self, GAsyncResult* _res_) {
	MatchNameTestsAddPersonasData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1268 "match-name.c"
}


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


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


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


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


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


static void _match_name_tests_add_personas_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	MatchNameTestsAddPersonasData* _data_;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_ = _user_data_;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_source_object_ = source_object;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_res_ = _res_;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_match_name_tests_add_personas_co (_data_);
#line 1319 "match-name.c"
}


static gboolean _match_name_tests_add_personas_co (MatchNameTestsAddPersonasData* _data_) {
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	switch (_data_->_state_) {
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 0:
#line 1328 "match-name.c"
		goto _state_0;
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 1:
#line 1332 "match-name.c"
		goto _state_1;
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		case 2:
#line 1336 "match-name.c"
		goto _state_2;
		default:
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_assert_not_reached ();
#line 1341 "match-name.c"
	}
	_state_0:
#line 225 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp0_ = g_str_hash;
#line 225 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp1_ = g_str_equal;
#line 225 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp2_ = g_hash_table_new_full (_data_->_tmp0_, _data_->_tmp1_, _g_free0_, __vala_GValue_free0_);
#line 225 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->details1 = _data_->_tmp2_;
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp3_ = g_str_hash;
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp4_ = g_str_equal;
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp5_ = g_hash_table_new_full (_data_->_tmp3_, _data_->_tmp4_, _g_free0_, __vala_GValue_free0_);
#line 227 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->details2 = _data_->_tmp5_;
#line 231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	memset (&_data_->_tmp6_, 0, sizeof (GValue));
#line 231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_value_init (&_data_->_tmp6_, G_TYPE_STRING);
#line 231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp8_ = __g_value_dup0 (&_data_->_tmp7_);
#line 231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	__vala_GValue_free0 (_data_->val);
#line 231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->val = _data_->_tmp8_;
#line 231 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	G_IS_VALUE (&_data_->_tmp7_) ? (g_value_unset (&_data_->_tmp7_), NULL) : NULL;
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp9_ = _data_->val;
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp10_ = _data_->self->priv->_persona_fullname_1;
#line 232 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_value_set_string (_data_->_tmp9_, _data_->_tmp10_);
#line 233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp11_ = _data_->details1;
#line 233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp12_ = NULL;
#line 233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp12_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_FULL_NAME);
#line 233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp13_ = g_strdup (_data_->_tmp12_);
#line 233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp14_ = _data_->val;
#line 233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->val = NULL;
#line 233 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_hash_table_insert (_data_->_tmp11_, _data_->_tmp13_, _data_->_tmp14_);
#line 236 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	memset (&_data_->_tmp15_, 0, sizeof (GValue));
#line 236 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_value_init (&_data_->_tmp15_, G_TYPE_STRING);
#line 236 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 236 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp17_ = __g_value_dup0 (&_data_->_tmp16_);
#line 236 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	__vala_GValue_free0 (_data_->val);
#line 236 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->val = _data_->_tmp17_;
#line 236 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	G_IS_VALUE (&_data_->_tmp16_) ? (g_value_unset (&_data_->_tmp16_), NULL) : NULL;
#line 237 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp18_ = _data_->val;
#line 237 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp19_ = _data_->self->priv->_persona_fullname_2;
#line 237 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_value_set_string (_data_->_tmp18_, _data_->_tmp19_);
#line 238 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp20_ = _data_->details2;
#line 238 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp21_ = NULL;
#line 238 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp21_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_FULL_NAME);
#line 238 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp22_ = g_strdup (_data_->_tmp21_);
#line 238 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->_tmp23_ = _data_->val;
#line 238 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_data_->val = NULL;
#line 238 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_hash_table_insert (_data_->_tmp20_, _data_->_tmp22_, _data_->_tmp23_);
#line 1428 "match-name.c"
	{
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp24_ = _data_->self->priv->_aggregator;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp25_ = _data_->self->priv->_pstore;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp26_ = _data_->details1;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_state_ = 1;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		folks_individual_aggregator_add_persona_from_details (_data_->_tmp24_, NULL, (FolksPersonaStore*) _data_->_tmp25_, _data_->_tmp26_, _match_name_tests_add_personas_ready, _data_);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 1442 "match-name.c"
		_state_1:
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp27_ = NULL;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp27_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp24_, _data_->_res_, &_data_->_inner_error_);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp28_ = _data_->_tmp27_;
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->_tmp28_);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		if (_data_->_inner_error_ != NULL) {
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1456 "match-name.c"
				goto __catch1_folks_individual_aggregator_error;
			}
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			__vala_GValue_free0 (_data_->val);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details2);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details1);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.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 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			g_clear_error (&_data_->_inner_error_);
#line 243 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			return FALSE;
#line 1471 "match-name.c"
		}
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp29_ = _data_->self->priv->_aggregator;
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp30_ = _data_->self->priv->_pstore;
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp31_ = _data_->details2;
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_state_ = 2;
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		folks_individual_aggregator_add_persona_from_details (_data_->_tmp29_, NULL, (FolksPersonaStore*) _data_->_tmp30_, _data_->_tmp31_, _match_name_tests_add_personas_ready, _data_);
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 1485 "match-name.c"
		_state_2:
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp32_ = NULL;
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp32_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp29_, _data_->_res_, &_data_->_inner_error_);
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp33_ = _data_->_tmp32_;
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->_tmp33_);
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		if (_data_->_inner_error_ != NULL) {
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1499 "match-name.c"
				goto __catch1_folks_individual_aggregator_error;
			}
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			__vala_GValue_free0 (_data_->val);
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details2);
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details1);
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.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 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			g_clear_error (&_data_->_inner_error_);
#line 246 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
			return FALSE;
#line 1514 "match-name.c"
		}
	}
	goto __finally1;
	__catch1_folks_individual_aggregator_error:
	{
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->e = _data_->_inner_error_;
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_inner_error_ = NULL;
#line 251 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp34_ = _data_->e;
#line 251 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_data_->_tmp35_ = _data_->_tmp34_->message;
#line 251 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_warning ("match-name.vala:251: [AddPersonaError] add_persona_from_details: %s\n", _data_->_tmp35_);
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_error_free0 (_data_->e);
#line 1532 "match-name.c"
	}
	__finally1:
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_inner_error_ != NULL) {
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		__vala_GValue_free0 (_data_->val);
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_hash_table_unref0 (_data_->details2);
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		_g_hash_table_unref0 (_data_->details1);
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.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 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_clear_error (&_data_->_inner_error_);
#line 241 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 1549 "match-name.c"
	}
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	__vala_GValue_free0 (_data_->val);
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_hash_table_unref0 (_data_->details2);
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_hash_table_unref0 (_data_->details1);
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	if (_data_->_state_ == 0) {
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1561 "match-name.c"
	} else {
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1565 "match-name.c"
	}
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_object_unref (_data_->_async_result);
#line 223 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 1571 "match-name.c"
}


static void match_name_tests_class_init (MatchNameTestsClass * klass) {
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	match_name_tests_parent_class = g_type_class_peek_parent (klass);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_type_class_add_private (klass, sizeof (MatchNameTestsPrivate));
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = match_name_tests_real_set_up;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = match_name_tests_real_tear_down;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	G_OBJECT_CLASS (klass)->finalize = match_name_tests_finalize;
#line 1586 "match-name.c"
}


static void match_name_tests_instance_init (MatchNameTests * self) {
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv = MATCH_NAME_TESTS_GET_PRIVATE (self);
#line 30 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_aggregator = NULL;
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = g_strdup ("Bernie Innocenti");
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_1 = _tmp0_;
#line 32 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp1_ = g_strdup ("Bernardo H. Innocenti");
#line 32 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_2 = _tmp1_;
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp2_ = g_strdup ("");
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_1 = _tmp2_;
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp3_ = g_strdup ("");
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_2 = _tmp3_;
#line 1615 "match-name.c"
}


static void match_name_tests_finalize (GObject* obj) {
	MatchNameTests * self;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MATCH_NAME_TESTS, MatchNameTests);
#line 28 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 29 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 30 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 32 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_1);
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_2);
#line 37 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (self->priv->_pstore);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	G_OBJECT_CLASS (match_name_tests_parent_class)->finalize (obj);
#line 1641 "match-name.c"
}


GType match_name_tests_get_type (void) {
	static volatile gsize match_name_tests_type_id__volatile = 0;
	if (g_once_init_enter (&match_name_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (MatchNameTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) match_name_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MatchNameTests), 0, (GInstanceInitFunc) match_name_tests_instance_init, NULL };
		GType match_name_tests_type_id;
		match_name_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "MatchNameTests", &g_define_type_info, 0);
		g_once_init_leave (&match_name_tests_type_id__volatile, match_name_tests_type_id);
	}
	return match_name_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	MatchNameTests* _tmp1_;
	MatchNameTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 259 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_test_init (&args_length1, &args, NULL);
#line 261 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp0_ = g_test_get_root ();
#line 261 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	root = _tmp0_;
#line 262 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp1_ = match_name_tests_new ();
#line 262 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp2_ = _tmp1_;
#line 262 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 262 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 262 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (_tmp2_);
#line 264 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	g_test_run ();
#line 266 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	result = 0;
#line 266 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/match-name.vala"
	return result;
#line 1686 "match-name.c"
}


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



