/* match-name.c generated by valac 0.14.0.15-f8b5, 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;

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;
	GStaticRecMutex __lock__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_;
	gboolean _tmp1_;
	TrfPersonaStore* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
	GError * _inner_error_;
};

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);
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_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 gboolean __lambda3_ (MatchNameTests* self);
static gboolean ___lambda3__gsource_func (gpointer self);
static gboolean __lambda4_ (MatchNameTests* self);
static gboolean ___lambda4__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/treitter/collabora/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/treitter/collabora/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/treitter/collabora/folks/tests/tracker/match-name.vala"
	match_name_tests_test_match_name_3 (self);
#line 256 "match-name.c"
}


MatchNameTests* match_name_tests_construct (GType object_type) {
	MatchNameTests * self = NULL;
	TrackerTestBackend* _tmp0_;
#line 41 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self = (MatchNameTests*) folks_test_case_construct (object_type, "MatchNameTests");
#line 43 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = tracker_test_backend_new ();
#line 43 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 43 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_tracker_backend = _tmp0_;
#line 45 "/home/treitter/collabora/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/treitter/collabora/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/treitter/collabora/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 39 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return self;
#line 279 "match-name.c"
}


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


static void match_name_tests_real_set_up (FolksTestCase* base) {
	MatchNameTests * self;
#line 53 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self = (MatchNameTests*) base;
#line 294 "match-name.c"
}


static void match_name_tests_real_tear_down (FolksTestCase* base) {
	MatchNameTests * self;
	TrackerTestBackend* _tmp0_;
#line 57 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self = (MatchNameTests*) base;
#line 59 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_tracker_backend;
#line 59 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	tracker_test_backend_tear_down (_tmp0_);
#line 307 "match-name.c"
}


static gboolean __lambda2_ (MatchNameTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 77 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_main_loop;
#line 77 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_main_loop_quit (_tmp0_);
#line 78 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_assert_not_reached ();
#line 75 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return result;
#line 322 "match-name.c"
}


static gboolean ___lambda2__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda2_ (self);
#line 75 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return result;
#line 331 "match-name.c"
}


void match_name_tests_test_match_name_1 (MatchNameTests* self) {
	GMainLoop* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GMainLoop* _tmp5_;
	FolksMatchResult _tmp6_;
#line 62 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 64 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 64 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 64 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_main_loop = _tmp0_;
#line 66 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_match = FOLKS_MATCH_RESULT_MIN;
#line 67 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_added_personas = FALSE;
#line 68 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp1_ = g_strdup ("Bernie Innocenti");
#line 68 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 68 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_1 = _tmp1_;
#line 69 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp2_ = g_strdup ("Bernardo H. Innocenti");
#line 69 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 69 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_2 = _tmp2_;
#line 70 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp3_ = g_strdup ("");
#line 70 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_1);
#line 70 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_1 = _tmp3_;
#line 71 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp4_ = g_strdup ("");
#line 71 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_2);
#line 71 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_2 = _tmp4_;
#line 73 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name_async (self, NULL, NULL);
#line 75 "/home/treitter/collabora/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 81 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp5_ = self->priv->_main_loop;
#line 81 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_main_loop_run (_tmp5_);
#line 83 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp6_ = self->priv->_match;
#line 83 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_assert (_tmp6_ >= FOLKS_MATCH_RESULT_MEDIUM);
#line 391 "match-name.c"
}


static gboolean __lambda3_ (MatchNameTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 101 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_main_loop;
#line 101 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_main_loop_quit (_tmp0_);
#line 102 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_assert_not_reached ();
#line 99 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return result;
#line 406 "match-name.c"
}


static gboolean ___lambda3__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda3_ (self);
#line 99 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return result;
#line 415 "match-name.c"
}


void match_name_tests_test_match_name_2 (MatchNameTests* self) {
	GMainLoop* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GMainLoop* _tmp5_;
	FolksMatchResult _tmp6_;
#line 86 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 88 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 88 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 88 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_main_loop = _tmp0_;
#line 90 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_match = FOLKS_MATCH_RESULT_MIN;
#line 91 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_added_personas = FALSE;
#line 92 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp1_ = g_strdup ("AAAA BBBBB");
#line 92 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 92 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_1 = _tmp1_;
#line 93 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp2_ = g_strdup ("CCCCC DDDDD");
#line 93 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 93 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_2 = _tmp2_;
#line 94 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp3_ = g_strdup ("");
#line 94 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_1);
#line 94 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_1 = _tmp3_;
#line 95 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp4_ = g_strdup ("");
#line 95 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_2);
#line 95 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_2 = _tmp4_;
#line 97 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name_async (self, NULL, NULL);
#line 99 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda3__gsource_func, g_object_ref (self), g_object_unref);
#line 105 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp5_ = self->priv->_main_loop;
#line 105 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_main_loop_run (_tmp5_);
#line 107 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp6_ = self->priv->_match;
#line 107 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_assert (_tmp6_ <= FOLKS_MATCH_RESULT_LOW);
#line 475 "match-name.c"
}


static gboolean __lambda4_ (MatchNameTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 125 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_main_loop;
#line 125 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_main_loop_quit (_tmp0_);
#line 126 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_assert_not_reached ();
#line 123 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return result;
#line 490 "match-name.c"
}


static gboolean ___lambda4__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda4_ (self);
#line 123 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return result;
#line 499 "match-name.c"
}


void match_name_tests_test_match_name_3 (MatchNameTests* self) {
	GMainLoop* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GMainLoop* _tmp5_;
	FolksMatchResult _tmp6_;
#line 110 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 112 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 112 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 112 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_main_loop = _tmp0_;
#line 114 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_match = FOLKS_MATCH_RESULT_MIN;
#line 115 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_added_personas = FALSE;
#line 116 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp1_ = g_strdup ("Travis Reitter");
#line 116 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 116 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_1 = _tmp1_;
#line 117 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp2_ = g_strdup ("Travis R.");
#line 117 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 117 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_persona_fullname_2 = _tmp2_;
#line 118 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp3_ = g_strdup ("");
#line 118 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_1);
#line 118 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_1 = _tmp3_;
#line 119 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp4_ = g_strdup ("");
#line 119 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_2);
#line 119 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_individual_id_2 = _tmp4_;
#line 121 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name_async (self, NULL, NULL);
#line 123 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda4__gsource_func, g_object_ref (self), g_object_unref);
#line 129 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp5_ = self->priv->_main_loop;
#line 129 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_main_loop_run (_tmp5_);
#line 131 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp6_ = self->priv->_match;
#line 131 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_assert (_tmp6_ >= FOLKS_MATCH_RESULT_MEDIUM);
#line 559 "match-name.c"
}


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


static gpointer _g_object_ref0 (gpointer self) {
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return self ? g_object_ref (self) : NULL;
#line 577 "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/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_ = g_slice_new0 (MatchNameTestsTestMatchNameAsyncData);
#line 26 "/home/treitter/collabora/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/treitter/collabora/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/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->self = _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_test_match_name_async_co (_data_);
#line 596 "match-name.c"
}


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


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


static void __match_name_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 142 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_individuals_changed_cb (self, changes);
#line 625 "match-name.c"
}


static void __match_name_tests_notify_pstore_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 158 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_notify_pstore_cb (self, _sender, pspec);
#line 632 "match-name.c"
}


static gboolean _match_name_tests_test_match_name_async_co (MatchNameTestsTestMatchNameAsyncData* _data_) {
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	switch (_data_->_state_) {
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 0:
#line 641 "match-name.c"
		goto _state_0;
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 1:
#line 645 "match-name.c"
		goto _state_1;
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 2:
#line 649 "match-name.c"
		goto _state_2;
		default:
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_assert_not_reached ();
#line 654 "match-name.c"
	}
	_state_0:
#line 136 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp0_ = NULL;
#line 136 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 136 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->store = _data_->_tmp0_;
#line 137 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp1_ = _data_->store;
#line 137 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_state_ = 1;
#line 137 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	folks_backend_store_prepare (_data_->_tmp1_, _match_name_tests_test_match_name_async_ready, _data_);
#line 137 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 671 "match-name.c"
	_state_1:
#line 137 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	folks_backend_store_prepare_finish (_data_->_tmp1_, _data_->_res_);
#line 139 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 139 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (_data_->_tmp2_ == NULL) {
#line 141 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp3_ = folks_individual_aggregator_new ();
#line 141 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->self->priv->_aggregator);
#line 141 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->self->priv->_aggregator = _data_->_tmp3_;
#line 142 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp4_ = _data_->self->priv->_aggregator;
#line 142 "/home/treitter/collabora/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 689 "match-name.c"
	}
	{
#line 148 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp5_ = _data_->self->priv->_aggregator;
#line 148 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_state_ = 2;
#line 148 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		folks_individual_aggregator_prepare (_data_->_tmp5_, _match_name_tests_test_match_name_async_ready, _data_);
#line 148 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 700 "match-name.c"
		_state_2:
#line 148 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp5_, _data_->_res_, &_data_->_inner_error_);
#line 148 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		if (_data_->_inner_error_ != NULL) {
#line 706 "match-name.c"
			goto __catch0_g_error;
		}
#line 149 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->self->priv->_pstore);
#line 149 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->self->priv->_pstore = NULL;
#line 713 "match-name.c"
		{
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp6_ = _data_->store;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp7_ = folks_backend_store_get_enabled_backends (_data_->_tmp6_);
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp8_ = _data_->_tmp7_;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp9_ = gee_map_get_values (_data_->_tmp8_);
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp10_ = _data_->_tmp9_;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp11_ = _data_->_tmp10_;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp12_ = NULL;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp12_ = gee_iterable_iterator ((GeeIterable*) _data_->_tmp11_);
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp13_ = _data_->_tmp12_;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (_data_->_tmp11_);
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_backend_it = _data_->_tmp13_;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			while (TRUE) {
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp14_ = _data_->_backend_it;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp15_ = FALSE;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp15_ = gee_iterator_next (_data_->_tmp14_);
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				if (!_data_->_tmp15_) {
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					break;
#line 749 "match-name.c"
				}
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp16_ = _data_->_backend_it;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp17_ = NULL;
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp17_ = gee_iterator_get (_data_->_tmp16_);
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->backend = (FolksBackend*) _data_->_tmp17_;
#line 152 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp18_ = _data_->backend;
#line 152 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp19_ = folks_backend_get_persona_stores (_data_->_tmp18_);
#line 152 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp20_ = _data_->_tmp19_;
#line 152 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp21_ = NULL;
#line 152 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp21_ = gee_map_get (_data_->_tmp20_, "tracker");
#line 152 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_g_object_unref0 (_data_->self->priv->_pstore);
#line 152 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->self->priv->_pstore = TRF_PERSONA_STORE ((FolksPersonaStore*) _data_->_tmp21_);
#line 154 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp22_ = _data_->self->priv->_pstore;
#line 154 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				if (_data_->_tmp22_ != NULL) {
#line 155 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					_g_object_unref0 (_data_->backend);
#line 155 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					break;
#line 781 "match-name.c"
				}
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_g_object_unref0 (_data_->backend);
#line 785 "match-name.c"
			}
#line 150 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (_data_->_backend_it);
#line 789 "match-name.c"
		}
#line 157 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp23_ = _data_->self->priv->_pstore;
#line 157 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_assert (_data_->_tmp23_ != NULL);
#line 158 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp24_ = _data_->self->priv->_pstore;
#line 158 "/home/treitter/collabora/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 159 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_match_name_tests_try_to_add (_data_->self, NULL, NULL);
#line 801 "match-name.c"
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 146 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->e = _data_->_inner_error_;
#line 146 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_inner_error_ = NULL;
#line 163 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp25_ = _data_->e;
#line 163 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp26_ = _data_->_tmp25_->message;
#line 163 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_warning ("match-name.vala:163: Error when calling prepare: %s\n", _data_->_tmp26_);
#line 146 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_error_free0 (_data_->e);
#line 818 "match-name.c"
	}
	__finally0:
#line 146 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (_data_->_inner_error_ != NULL) {
#line 146 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->store);
#line 146 "/home/treitter/collabora/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 146 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_clear_error (&_data_->_inner_error_);
#line 146 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 831 "match-name.c"
	}
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (_data_->store);
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (_data_->_state_ == 0) {
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 839 "match-name.c"
	} else {
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 843 "match-name.c"
	}
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_object_unref (_data_->_async_result);
#line 134 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 849 "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 167 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 167 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (changes != NULL);
#line 170 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = changes;
#line 170 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 170 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	added = _tmp1_;
#line 171 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp2_ = changes;
#line 171 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 171 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	removed = _tmp3_;
#line 882 "match-name.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_tmp4_ = added;
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_i_it = _tmp5_;
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		while (TRUE) {
#line 895 "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 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp6_ = _i_it;
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			if (!_tmp7_) {
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				break;
#line 914 "match-name.c"
			}
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp8_ = _i_it;
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			i = (FolksIndividual*) _tmp9_;
#line 175 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp10_ = i;
#line 175 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			g_assert (_tmp10_ != NULL);
#line 177 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp11_ = i;
#line 177 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp12_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp11_);
#line 177 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp13_ = _tmp12_;
#line 177 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp14_ = self->priv->_persona_fullname_1;
#line 177 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 936 "match-name.c"
				FolksIndividual* _tmp15_;
				const gchar* _tmp16_;
				const gchar* _tmp17_;
				gchar* _tmp18_;
#line 179 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp15_ = i;
#line 179 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp16_ = folks_individual_get_id (_tmp15_);
#line 179 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp17_ = _tmp16_;
#line 179 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp18_ = g_strdup (_tmp17_);
#line 179 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_g_free0 (self->priv->_individual_id_1);
#line 179 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				self->priv->_individual_id_1 = _tmp18_;
#line 953 "match-name.c"
			} else {
				FolksIndividual* _tmp19_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				const gchar* _tmp22_;
#line 181 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp19_ = i;
#line 181 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp20_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp19_);
#line 181 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp21_ = _tmp20_;
#line 181 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_tmp22_ = self->priv->_persona_fullname_2;
#line 181 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				if (g_strcmp0 (_tmp21_, _tmp22_) == 0) {
#line 969 "match-name.c"
					FolksIndividual* _tmp23_;
					const gchar* _tmp24_;
					const gchar* _tmp25_;
					gchar* _tmp26_;
#line 183 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					_tmp23_ = i;
#line 183 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					_tmp24_ = folks_individual_get_id (_tmp23_);
#line 183 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					_tmp25_ = _tmp24_;
#line 183 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					_tmp26_ = g_strdup (_tmp25_);
#line 183 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					_g_free0 (self->priv->_individual_id_2);
#line 183 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
					self->priv->_individual_id_2 = _tmp26_;
#line 986 "match-name.c"
				}
			}
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (i);
#line 991 "match-name.c"
		}
#line 173 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_i_it);
#line 995 "match-name.c"
	}
#line 187 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp28_ = self->priv->_individual_id_1;
#line 187 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (g_strcmp0 (_tmp28_, "") != 0) {
#line 1001 "match-name.c"
		const gchar* _tmp29_;
#line 188 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_tmp29_ = self->priv->_individual_id_2;
#line 188 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_tmp27_ = g_strcmp0 (_tmp29_, "") != 0;
#line 1007 "match-name.c"
	} else {
#line 187 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_tmp27_ = FALSE;
#line 1011 "match-name.c"
	}
#line 187 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp30_ = _tmp27_;
#line 187 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (_tmp30_) {
#line 190 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_match_name_tests_try_potential_match (self);
#line 1019 "match-name.c"
	}
#line 193 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp31_ = removed;
#line 193 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp32_ = gee_collection_get_size ((GeeCollection*) _tmp31_);
#line 193 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp33_ = _tmp32_;
#line 193 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_assert (_tmp33_ == 1);
#line 1029 "match-name.c"
	{
		GeeSet* _tmp34_;
		GeeIterator* _tmp35_ = NULL;
		GeeIterator* _i_it;
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_tmp34_ = removed;
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_tmp35_ = gee_iterable_iterator ((GeeIterable*) _tmp34_);
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_i_it = _tmp35_;
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		while (TRUE) {
#line 1042 "match-name.c"
			GeeIterator* _tmp36_;
			gboolean _tmp37_ = FALSE;
			GeeIterator* _tmp38_;
			gpointer _tmp39_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp40_;
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp36_ = _i_it;
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp37_ = gee_iterator_next (_tmp36_);
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			if (!_tmp37_) {
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				break;
#line 1057 "match-name.c"
			}
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp38_ = _i_it;
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp39_ = gee_iterator_get (_tmp38_);
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			i = (FolksIndividual*) _tmp39_;
#line 197 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_tmp40_ = i;
#line 197 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			g_assert (_tmp40_ == NULL);
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_object_unref0 (i);
#line 1071 "match-name.c"
		}
#line 195 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_i_it);
#line 1075 "match-name.c"
	}
#line 167 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (removed);
#line 167 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (added);
#line 1081 "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 201 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 203 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = self->priv->_aggregator;
#line 203 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp1_ = folks_individual_aggregator_get_individuals (_tmp0_);
#line 203 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp2_ = _tmp1_;
#line 203 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp3_ = self->priv->_individual_id_1;
#line 203 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp4_ = gee_map_get (_tmp2_, _tmp3_);
#line 203 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	ind1 = (FolksIndividual*) _tmp4_;
#line 204 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp5_ = self->priv->_aggregator;
#line 204 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp6_ = folks_individual_aggregator_get_individuals (_tmp5_);
#line 204 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp7_ = _tmp6_;
#line 204 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp8_ = self->priv->_individual_id_2;
#line 204 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp9_ = gee_map_get (_tmp7_, _tmp8_);
#line 204 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	ind2 = (FolksIndividual*) _tmp9_;
#line 206 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp10_ = folks_potential_match_new ();
#line 206 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	matchObj = _tmp10_;
#line 207 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp11_ = folks_potential_match_potential_match (matchObj, ind1, ind2);
#line 207 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self->priv->_match = _tmp11_;
#line 209 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp12_ = self->priv->_main_loop;
#line 209 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_main_loop_quit (_tmp12_);
#line 201 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (matchObj);
#line 201 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (ind2);
#line 201 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (ind1);
#line 1146 "match-name.c"
}


static void _match_name_tests_notify_pstore_cb (MatchNameTests* self, GObject* _pstore, GParamSpec* ps) {
#line 212 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (self != NULL);
#line 212 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (_pstore != NULL);
#line 212 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_return_if_fail (ps != NULL);
#line 214 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_try_to_add (self, NULL, NULL);
#line 1159 "match-name.c"
}


static void _match_name_tests_try_to_add_data_free (gpointer _data) {
	MatchNameTestsTryToAddData* _data_;
	_data_ = _data;
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_slice_free (MatchNameTestsTryToAddData, _data_);
#line 1170 "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/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_ = g_slice_new0 (MatchNameTestsTryToAddData);
#line 26 "/home/treitter/collabora/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/treitter/collabora/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/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->self = _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_try_to_add_co (_data_);
#line 1189 "match-name.c"
}


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


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


static gboolean _match_name_tests_try_to_add_co (MatchNameTestsTryToAddData* _data_) {
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	switch (_data_->_state_) {
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 0:
#line 1220 "match-name.c"
		goto _state_0;
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 1:
#line 1224 "match-name.c"
		goto _state_1;
		default:
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_assert_not_reached ();
#line 1229 "match-name.c"
	}
	_state_0:
	{
#line 219 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp0_ = _data_->self->priv->_added_personas;
#line 219 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_static_rec_mutex_lock (&_data_->self->priv->__lock__added_personas);
#line 1237 "match-name.c"
		{
#line 221 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp2_ = _data_->self->priv->_pstore;
#line 221 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp3_ = folks_persona_store_get_is_prepared ((FolksPersonaStore*) _data_->_tmp2_);
#line 221 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp4_ = _data_->_tmp3_;
#line 221 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			if (_data_->_tmp4_) {
#line 222 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp5_ = _data_->self->priv->_added_personas;
#line 222 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp1_ = _data_->_tmp5_ == FALSE;
#line 1251 "match-name.c"
			} else {
#line 221 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_tmp1_ = FALSE;
#line 1255 "match-name.c"
			}
#line 221 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp6_ = _data_->_tmp1_;
#line 221 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			if (_data_->_tmp6_) {
#line 224 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->self->priv->_added_personas = TRUE;
#line 225 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_data_->_state_ = 1;
#line 225 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_match_name_tests_add_personas (_data_->self, _match_name_tests_try_to_add_ready, _data_);
#line 225 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				return FALSE;
#line 1269 "match-name.c"
				_state_1:
#line 225 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
				_match_name_tests_add_personas_finish (_data_->self, _data_->_res_);
#line 1273 "match-name.c"
			}
		}
		__finally1:
		{
#line 219 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_data_->_tmp7_ = _data_->self->priv->_added_personas;
#line 219 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			g_static_rec_mutex_unlock (&_data_->self->priv->__lock__added_personas);
#line 1282 "match-name.c"
		}
#line 219 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		if (_data_->_inner_error_ != NULL) {
#line 219 "/home/treitter/collabora/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 219 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			g_clear_error (&_data_->_inner_error_);
#line 219 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			return FALSE;
#line 1292 "match-name.c"
		}
	}
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (_data_->_state_ == 0) {
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1299 "match-name.c"
	} else {
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1303 "match-name.c"
	}
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_object_unref (_data_->_async_result);
#line 217 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 1309 "match-name.c"
}


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


static void _match_name_tests_add_personas (MatchNameTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	MatchNameTestsAddPersonasData* _data_;
	MatchNameTests* _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_ = g_slice_new0 (MatchNameTestsAddPersonasData);
#line 26 "/home/treitter/collabora/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/treitter/collabora/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/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->self = _tmp0_;
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_match_name_tests_add_personas_co (_data_);
#line 1339 "match-name.c"
}


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


static void _g_free0_ (gpointer var) {
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	var = (g_free (var), NULL);
#line 1354 "match-name.c"
}


static void _vala_GValue_free (GValue* self) {
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_value_unset (self);
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_free (self);
#line 1363 "match-name.c"
}


static void __vala_GValue_free0_ (gpointer var) {
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	(var == NULL) ? NULL : (var = (_vala_GValue_free (var), NULL));
#line 1370 "match-name.c"
}


static GValue* _g_value_dup (GValue* self) {
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return g_boxed_copy (G_TYPE_VALUE, self);
#line 1377 "match-name.c"
}


static gpointer __g_value_dup0 (gpointer self) {
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return self ? _g_value_dup (self) : NULL;
#line 1384 "match-name.c"
}


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


static gboolean _match_name_tests_add_personas_co (MatchNameTestsAddPersonasData* _data_) {
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	switch (_data_->_state_) {
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 0:
#line 1407 "match-name.c"
		goto _state_0;
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 1:
#line 1411 "match-name.c"
		goto _state_1;
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		case 2:
#line 1415 "match-name.c"
		goto _state_2;
		default:
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_assert_not_reached ();
#line 1420 "match-name.c"
	}
	_state_0:
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp0_ = g_str_hash;
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp1_ = g_str_equal;
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp2_ = g_hash_table_new_full (_data_->_tmp0_, _data_->_tmp1_, _g_free0_, __vala_GValue_free0_);
#line 232 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->details1 = _data_->_tmp2_;
#line 234 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp3_ = g_str_hash;
#line 234 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp4_ = g_str_equal;
#line 234 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp5_ = g_hash_table_new_full (_data_->_tmp3_, _data_->_tmp4_, _g_free0_, __vala_GValue_free0_);
#line 234 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->details2 = _data_->_tmp5_;
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	memset (&_data_->_tmp6_, 0, sizeof (GValue));
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_value_init (&_data_->_tmp6_, G_TYPE_STRING);
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp8_ = __g_value_dup0 (&_data_->_tmp7_);
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	__vala_GValue_free0 (_data_->val);
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->val = _data_->_tmp8_;
#line 238 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	G_IS_VALUE (&_data_->_tmp7_) ? (g_value_unset (&_data_->_tmp7_), NULL) : NULL;
#line 239 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp9_ = _data_->val;
#line 239 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp10_ = _data_->self->priv->_persona_fullname_1;
#line 239 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_value_set_string (_data_->_tmp9_, _data_->_tmp10_);
#line 240 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp11_ = _data_->details1;
#line 240 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp12_ = NULL;
#line 240 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp12_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_FULL_NAME);
#line 240 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp13_ = g_strdup (_data_->_tmp12_);
#line 240 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp14_ = _data_->val;
#line 240 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->val = NULL;
#line 240 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_hash_table_insert (_data_->_tmp11_, _data_->_tmp13_, _data_->_tmp14_);
#line 243 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	memset (&_data_->_tmp15_, 0, sizeof (GValue));
#line 243 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_value_init (&_data_->_tmp15_, G_TYPE_STRING);
#line 243 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 243 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp17_ = __g_value_dup0 (&_data_->_tmp16_);
#line 243 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	__vala_GValue_free0 (_data_->val);
#line 243 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->val = _data_->_tmp17_;
#line 243 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	G_IS_VALUE (&_data_->_tmp16_) ? (g_value_unset (&_data_->_tmp16_), NULL) : NULL;
#line 244 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp18_ = _data_->val;
#line 244 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp19_ = _data_->self->priv->_persona_fullname_2;
#line 244 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_value_set_string (_data_->_tmp18_, _data_->_tmp19_);
#line 245 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp20_ = _data_->details2;
#line 245 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp21_ = NULL;
#line 245 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp21_ = folks_persona_store_detail_key (FOLKS_PERSONA_DETAIL_FULL_NAME);
#line 245 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp22_ = g_strdup (_data_->_tmp21_);
#line 245 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->_tmp23_ = _data_->val;
#line 245 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_data_->val = NULL;
#line 245 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_hash_table_insert (_data_->_tmp20_, _data_->_tmp22_, _data_->_tmp23_);
#line 1507 "match-name.c"
	{
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp24_ = _data_->self->priv->_aggregator;
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp25_ = _data_->self->priv->_pstore;
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp26_ = _data_->details1;
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_state_ = 1;
#line 250 "/home/treitter/collabora/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 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 1521 "match-name.c"
		_state_1:
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp27_ = NULL;
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp27_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp24_, _data_->_res_, &_data_->_inner_error_);
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp28_ = _data_->_tmp27_;
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->_tmp28_);
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		if (_data_->_inner_error_ != NULL) {
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1535 "match-name.c"
				goto __catch2_folks_individual_aggregator_error;
			}
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			__vala_GValue_free0 (_data_->val);
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details2);
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details1);
#line 250 "/home/treitter/collabora/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 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			g_clear_error (&_data_->_inner_error_);
#line 250 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			return FALSE;
#line 1550 "match-name.c"
		}
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp29_ = _data_->self->priv->_aggregator;
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp30_ = _data_->self->priv->_pstore;
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp31_ = _data_->details2;
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_state_ = 2;
#line 253 "/home/treitter/collabora/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 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 1564 "match-name.c"
		_state_2:
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp32_ = NULL;
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp32_ = folks_individual_aggregator_add_persona_from_details_finish (_data_->_tmp29_, _data_->_res_, &_data_->_inner_error_);
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp33_ = _data_->_tmp32_;
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_object_unref0 (_data_->_tmp33_);
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		if (_data_->_inner_error_ != NULL) {
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			if (_data_->_inner_error_->domain == FOLKS_INDIVIDUAL_AGGREGATOR_ERROR) {
#line 1578 "match-name.c"
				goto __catch2_folks_individual_aggregator_error;
			}
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			__vala_GValue_free0 (_data_->val);
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details2);
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			_g_hash_table_unref0 (_data_->details1);
#line 253 "/home/treitter/collabora/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 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			g_clear_error (&_data_->_inner_error_);
#line 253 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
			return FALSE;
#line 1593 "match-name.c"
		}
	}
	goto __finally2;
	__catch2_folks_individual_aggregator_error:
	{
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->e = _data_->_inner_error_;
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_inner_error_ = NULL;
#line 258 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp34_ = _data_->e;
#line 258 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_data_->_tmp35_ = _data_->_tmp34_->message;
#line 258 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_warning ("match-name.vala:258: [AddPersonaError] add_persona_from_details: %s\n", _data_->_tmp35_);
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_error_free0 (_data_->e);
#line 1611 "match-name.c"
	}
	__finally2:
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (_data_->_inner_error_ != NULL) {
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		__vala_GValue_free0 (_data_->val);
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_hash_table_unref0 (_data_->details2);
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		_g_hash_table_unref0 (_data_->details1);
#line 248 "/home/treitter/collabora/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 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_clear_error (&_data_->_inner_error_);
#line 248 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		return FALSE;
#line 1628 "match-name.c"
	}
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	__vala_GValue_free0 (_data_->val);
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_hash_table_unref0 (_data_->details2);
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_hash_table_unref0 (_data_->details1);
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	if (_data_->_state_ == 0) {
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1640 "match-name.c"
	} else {
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1644 "match-name.c"
	}
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_object_unref (_data_->_async_result);
#line 230 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return FALSE;
#line 1650 "match-name.c"
}


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


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


static void match_name_tests_finalize (GObject* obj) {
	MatchNameTests * self;
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	self = MATCH_NAME_TESTS (obj);
#line 28 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 29 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 30 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 31 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_1);
#line 32 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_persona_fullname_2);
#line 33 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_static_rec_mutex_free (&self->priv->__lock__added_personas);
#line 34 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_1);
#line 35 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_free0 (self->priv->_individual_id_2);
#line 37 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (self->priv->_pstore);
#line 26 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	G_OBJECT_CLASS (match_name_tests_parent_class)->finalize (obj);
#line 1724 "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 266 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_test_init (&args_length1, &args, NULL);
#line 268 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp0_ = g_test_get_root ();
#line 268 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	root = _tmp0_;
#line 269 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp1_ = match_name_tests_new ();
#line 269 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp2_ = _tmp1_;
#line 269 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 269 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 269 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	_g_object_unref0 (_tmp2_);
#line 271 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_test_run ();
#line 273 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	result = 0;
#line 273 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return result;
#line 1769 "match-name.c"
}


int main (int argc, char ** argv) {
#line 264 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	g_type_init ();
#line 264 "/home/treitter/collabora/folks/tests/tracker/match-name.vala"
	return _vala_main (argv, argc);
#line 1778 "match-name.c"
}



