/* set-urls.c generated by valac 0.17.6.3-6918, the Vala compiler
 * generated from set-urls.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 <gee.h>
#include <folks/folks-tracker.h>
#include <gio/gio.h>


#define TYPE_SET_UR_LS_TESTS (set_ur_ls_tests_get_type ())
#define SET_UR_LS_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_UR_LS_TESTS, SetURLsTests))
#define SET_UR_LS_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_UR_LS_TESTS, SetURLsTestsClass))
#define IS_SET_UR_LS_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_UR_LS_TESTS))
#define IS_SET_UR_LS_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_UR_LS_TESTS))
#define SET_UR_LS_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_UR_LS_TESTS, SetURLsTestsClass))

typedef struct _SetURLsTests SetURLsTests;
typedef struct _SetURLsTestsClass SetURLsTestsClass;
typedef struct _SetURLsTestsPrivate SetURLsTestsPrivate;
#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 _SetUrLsTestsTestSetUrlsAsyncData SetUrLsTestsTestSetUrlsAsyncData;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _SetURLsTests {
	FolksTestCase parent_instance;
	SetURLsTestsPrivate * priv;
};

struct _SetURLsTestsClass {
	FolksTestCaseClass parent_class;
};

struct _SetURLsTestsPrivate {
	GMainLoop* _main_loop;
	TrackerTestBackend* _tracker_backend;
	FolksIndividualAggregator* _aggregator;
	gchar* _persona_fullname;
	GeeHashMap* _urls;
};

struct _SetUrLsTestsTestSetUrlsAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	SetURLsTests* self;
	FolksBackendStore* _tmp0_;
	FolksBackendStore* store;
	FolksIndividualAggregator* _tmp1_;
	FolksIndividualAggregator* _tmp2_;
	FolksIndividualAggregator* _tmp3_;
	GError* e;
	GError* _tmp4_;
	const gchar* _tmp5_;
	GError * _inner_error_;
};


static gpointer set_ur_ls_tests_parent_class = NULL;

GType set_ur_ls_tests_get_type (void) G_GNUC_CONST;
#define SET_UR_LS_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SET_UR_LS_TESTS, SetURLsTestsPrivate))
enum  {
	SET_UR_LS_TESTS_DUMMY_PROPERTY
};
SetURLsTests* set_ur_ls_tests_new (void);
SetURLsTests* set_ur_ls_tests_construct (GType object_type);
void set_ur_ls_tests_test_set_urls (SetURLsTests* self);
static void _set_ur_ls_tests_test_set_urls_folks_test_case_test_method (gpointer self);
static void set_ur_ls_tests_real_set_up (FolksTestCase* base);
static void set_ur_ls_tests_real_tear_down (FolksTestCase* base);
static void _set_ur_ls_tests_test_set_urls_async (SetURLsTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _set_ur_ls_tests_test_set_urls_finish (SetURLsTests* self, GAsyncResult* _res_);
static gboolean __lambda2_ (SetURLsTests* self);
static gboolean ___lambda2__gsource_func (gpointer self);
static void _set_ur_ls_tests_test_set_urls_async_data_free (gpointer _data);
static gboolean _set_ur_ls_tests_test_set_urls_async_co (SetUrLsTestsTestSetUrlsAsyncData* _data_);
static void _set_ur_ls_tests_test_set_urls_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _set_ur_ls_tests_individuals_changed_cb (SetURLsTests* self, GeeMultiMap* changes);
static void __set_ur_ls_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void _set_ur_ls_tests_notify_urls_cb (SetURLsTests* self, GObject* individual_obj, GParamSpec* ps);
static void __set_ur_ls_tests_notify_urls_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void set_ur_ls_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _set_ur_ls_tests_test_set_urls_folks_test_case_test_method (gpointer self) {
#line 40 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	set_ur_ls_tests_test_set_urls (self);
#line 121 "set-urls.c"
}


SetURLsTests* set_ur_ls_tests_construct (GType object_type) {
	SetURLsTests * self = NULL;
	TrackerTestBackend* _tmp0_;
#line 36 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self = (SetURLsTests*) folks_test_case_construct (object_type, "SetURLsTests");
#line 38 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp0_ = tracker_test_backend_new ();
#line 38 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 38 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self->priv->_tracker_backend = _tmp0_;
#line 40 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test setting urls ", _set_ur_ls_tests_test_set_urls_folks_test_case_test_method, self);
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	return self;
#line 140 "set-urls.c"
}


SetURLsTests* set_ur_ls_tests_new (void) {
#line 34 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	return set_ur_ls_tests_construct (TYPE_SET_UR_LS_TESTS);
#line 147 "set-urls.c"
}


static void set_ur_ls_tests_real_set_up (FolksTestCase* base) {
	SetURLsTests * self;
#line 43 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self = (SetURLsTests*) base;
#line 155 "set-urls.c"
}


static void set_ur_ls_tests_real_tear_down (FolksTestCase* base) {
	SetURLsTests * self;
#line 47 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self = (SetURLsTests*) base;
#line 163 "set-urls.c"
}


static gboolean __lambda2_ (SetURLsTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 73 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp0_ = self->priv->_main_loop;
#line 73 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_main_loop_quit (_tmp0_);
#line 74 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_assert_not_reached ();
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	return result;
#line 178 "set-urls.c"
}


static gboolean ___lambda2__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda2_ (self);
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	return result;
#line 187 "set-urls.c"
}


void set_ur_ls_tests_test_set_urls (SetURLsTests* self) {
	GMainLoop* _tmp0_;
	GeeHashMap* _tmp1_;
	GeeHashMap* c1;
	gchar* _tmp2_;
	GeeHashMap* _tmp3_;
	GeeHashMap* _tmp4_;
	GeeHashMap* _tmp5_;
	GeeHashMap* _tmp6_;
	const gchar* _tmp7_;
	TrackerTestBackend* _tmp8_;
	TrackerTestBackend* _tmp9_;
	GMainLoop* _tmp10_;
	GeeHashMap* _tmp11_;
	gint _tmp12_;
	gint _tmp13_;
	TrackerTestBackend* _tmp14_;
#line 51 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_return_if_fail (self != NULL);
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self->priv->_main_loop = _tmp0_;
#line 54 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL);
#line 54 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	c1 = _tmp1_;
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp2_ = g_strdup ("persona #1");
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self->priv->_persona_fullname = _tmp2_;
#line 56 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp3_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL);
#line 56 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (self->priv->_urls);
#line 56 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self->priv->_urls = _tmp3_;
#line 57 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp4_ = self->priv->_urls;
#line 57 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	gee_abstract_map_set ((GeeAbstractMap*) _tmp4_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG, "http://one.example.org");
#line 59 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp5_ = self->priv->_urls;
#line 59 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	gee_abstract_map_set ((GeeAbstractMap*) _tmp5_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE, "http://two.example.org");
#line 61 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp6_ = self->priv->_urls;
#line 61 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	gee_abstract_map_set ((GeeAbstractMap*) _tmp6_, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE_OTHER, "http://three.example.org");
#line 64 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp7_ = self->priv->_persona_fullname;
#line 64 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	gee_abstract_map_set ((GeeAbstractMap*) c1, TRF_ONTOLOGY_DEFS_NCO_FULLNAME, _tmp7_);
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp8_ = self->priv->_tracker_backend;
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	tracker_test_backend_add_contact (_tmp8_, c1);
#line 67 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp9_ = self->priv->_tracker_backend;
#line 67 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	tracker_test_backend_set_up (_tmp9_);
#line 69 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_set_ur_ls_tests_test_set_urls_async (self, NULL, NULL);
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda2__gsource_func, g_object_ref (self), g_object_unref);
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp10_ = self->priv->_main_loop;
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_main_loop_run (_tmp10_);
#line 79 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp11_ = self->priv->_urls;
#line 79 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp12_ = gee_abstract_map_get_size ((GeeMap*) _tmp11_);
#line 79 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp13_ = _tmp12_;
#line 79 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_vala_assert (_tmp13_ == 0, "this._urls.size == 0");
#line 81 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp14_ = self->priv->_tracker_backend;
#line 81 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	tracker_test_backend_tear_down (_tmp14_);
#line 51 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (c1);
#line 278 "set-urls.c"
}


static void _set_ur_ls_tests_test_set_urls_async_data_free (gpointer _data) {
	SetUrLsTestsTestSetUrlsAsyncData* _data_;
	_data_ = _data;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (_data_->self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_slice_free (SetUrLsTestsTestSetUrlsAsyncData, _data_);
#line 289 "set-urls.c"
}


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


static void _set_ur_ls_tests_test_set_urls_async (SetURLsTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	SetUrLsTestsTestSetUrlsAsyncData* _data_;
	SetURLsTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_ = g_slice_new0 (SetUrLsTestsTestSetUrlsAsyncData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _set_ur_ls_tests_test_set_urls_async);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _set_ur_ls_tests_test_set_urls_async_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_set_ur_ls_tests_test_set_urls_async_co (_data_);
#line 315 "set-urls.c"
}


static void _set_ur_ls_tests_test_set_urls_finish (SetURLsTests* self, GAsyncResult* _res_) {
	SetUrLsTestsTestSetUrlsAsyncData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 323 "set-urls.c"
}


static void _set_ur_ls_tests_test_set_urls_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	SetUrLsTestsTestSetUrlsAsyncData* _data_;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_ = _user_data_;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_source_object_ = source_object;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_res_ = _res_;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_set_ur_ls_tests_test_set_urls_async_co (_data_);
#line 337 "set-urls.c"
}


static void __set_ur_ls_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_set_ur_ls_tests_individuals_changed_cb (self, changes);
#line 344 "set-urls.c"
}


static gboolean _set_ur_ls_tests_test_set_urls_async_co (SetUrLsTestsTestSetUrlsAsyncData* _data_) {
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	switch (_data_->_state_) {
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		case 0:
#line 353 "set-urls.c"
		goto _state_0;
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		case 1:
#line 357 "set-urls.c"
		goto _state_1;
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		case 2:
#line 361 "set-urls.c"
		goto _state_2;
		default:
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		g_assert_not_reached ();
#line 366 "set-urls.c"
	}
	_state_0:
#line 86 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_tmp0_ = NULL;
#line 86 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 86 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->store = _data_->_tmp0_;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_state_ = 1;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	folks_backend_store_prepare (_data_->store, _set_ur_ls_tests_test_set_urls_async_ready, _data_);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	return FALSE;
#line 381 "set-urls.c"
	_state_1:
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	folks_backend_store_prepare_finish (_data_->store, _data_->_res_);
#line 88 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_tmp1_ = folks_individual_aggregator_new ();
#line 88 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (_data_->self->priv->_aggregator);
#line 88 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->self->priv->_aggregator = _data_->_tmp1_;
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_signal_connect_object (_data_->_tmp2_, "individuals-changed-detailed", (GCallback) __set_ur_ls_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed, _data_->self, 0);
#line 395 "set-urls.c"
	{
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_data_->_tmp3_ = _data_->self->priv->_aggregator;
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_data_->_state_ = 2;
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		folks_individual_aggregator_prepare (_data_->_tmp3_, _set_ur_ls_tests_test_set_urls_async_ready, _data_);
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		return FALSE;
#line 405 "set-urls.c"
		_state_2:
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_);
#line 93 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		if (_data_->_inner_error_ != NULL) {
#line 411 "set-urls.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_data_->e = _data_->_inner_error_;
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_data_->_inner_error_ = NULL;
#line 97 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_data_->_tmp4_ = _data_->e;
#line 97 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_data_->_tmp5_ = _data_->_tmp4_->message;
#line 97 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		g_warning ("set-urls.vala:97: Error when calling prepare: %s\n", _data_->_tmp5_);
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_g_error_free0 (_data_->e);
#line 430 "set-urls.c"
	}
	__finally0:
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	if (_data_->_inner_error_ != NULL) {
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_g_object_unref0 (_data_->store);
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.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 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		g_clear_error (&_data_->_inner_error_);
#line 91 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		return FALSE;
#line 443 "set-urls.c"
	}
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (_data_->store);
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	if (_data_->_state_ == 0) {
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 451 "set-urls.c"
	} else {
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 455 "set-urls.c"
	}
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_object_unref (_data_->_async_result);
#line 84 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	return FALSE;
#line 461 "set-urls.c"
}


static void __set_ur_ls_tests_notify_urls_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_set_ur_ls_tests_notify_urls_cb (self, _sender, pspec);
#line 468 "set-urls.c"
}


static void _set_ur_ls_tests_individuals_changed_cb (SetURLsTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	GeeSet* _tmp50_;
	gint _tmp51_;
	gint _tmp52_;
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_return_if_fail (self != NULL);
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_return_if_fail (changes != NULL);
#line 104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp0_ = changes;
#line 104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 104 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	added = _tmp1_;
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp2_ = changes;
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	removed = _tmp3_;
#line 498 "set-urls.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_tmp4_ = added;
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_i_it = _tmp5_;
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		while (TRUE) {
#line 511 "set-urls.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 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp6_ = _i_it;
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			if (!_tmp7_) {
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				break;
#line 530 "set-urls.c"
			}
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp8_ = _i_it;
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			i = (FolksIndividual*) _tmp9_;
#line 109 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp10_ = i;
#line 109 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_vala_assert (_tmp10_ != NULL, "i != null");
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp11_ = i;
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp12_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp11_);
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp13_ = _tmp12_;
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp14_ = self->priv->_persona_fullname;
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 552 "set-urls.c"
				FolksIndividual* _tmp15_;
				GeeHashSet* _tmp16_;
				GeeHashSet* url_fds;
				GeeHashMap* _tmp17_;
				gpointer _tmp18_ = NULL;
				gchar* _tmp19_;
				FolksUrlFieldDetails* _tmp20_;
				FolksUrlFieldDetails* _tmp21_;
				FolksUrlFieldDetails* p1;
				FolksUrlFieldDetails* _tmp22_;
				GeeHashSet* _tmp23_;
				FolksUrlFieldDetails* _tmp24_;
				GeeHashMap* _tmp25_;
				gpointer _tmp26_ = NULL;
				gchar* _tmp27_;
				FolksUrlFieldDetails* _tmp28_;
				FolksUrlFieldDetails* _tmp29_;
				FolksUrlFieldDetails* p2;
				FolksUrlFieldDetails* _tmp30_;
				GeeHashSet* _tmp31_;
				FolksUrlFieldDetails* _tmp32_;
				GeeHashMap* _tmp33_;
				gpointer _tmp34_ = NULL;
				gchar* _tmp35_;
				FolksUrlFieldDetails* _tmp36_;
				FolksUrlFieldDetails* _tmp37_;
				FolksUrlFieldDetails* p3;
				GeeHashSet* _tmp38_;
				FolksUrlFieldDetails* _tmp39_;
#line 113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp15_ = i;
#line 113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				g_signal_connect_object ((GObject*) _tmp15_, "notify::urls", (GCallback) __set_ur_ls_tests_notify_urls_cb_g_object_notify, self, 0);
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp16_ = gee_hash_set_new (FOLKS_TYPE_URL_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				url_fds = _tmp16_;
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp17_ = self->priv->_urls;
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp18_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp17_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG);
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp19_ = (gchar*) _tmp18_;
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp20_ = folks_url_field_details_new (_tmp19_, NULL);
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp21_ = _tmp20_;
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_free0 (_tmp19_);
#line 118 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				p1 = _tmp21_;
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp22_ = p1;
#line 120 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				folks_abstract_field_details_set_parameter ((FolksAbstractFieldDetails*) _tmp22_, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG);
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp23_ = url_fds;
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp24_ = p1;
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp23_, _tmp24_);
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp25_ = self->priv->_urls;
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp26_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp25_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE);
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp27_ = (gchar*) _tmp26_;
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp28_ = folks_url_field_details_new (_tmp27_, NULL);
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp29_ = _tmp28_;
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_free0 (_tmp27_);
#line 122 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				p2 = _tmp29_;
#line 124 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp30_ = p2;
#line 124 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				folks_abstract_field_details_set_parameter ((FolksAbstractFieldDetails*) _tmp30_, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE);
#line 125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp31_ = url_fds;
#line 125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp32_ = p2;
#line 125 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp31_, _tmp32_);
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp33_ = self->priv->_urls;
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp34_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp33_, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE_OTHER);
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp35_ = (gchar*) _tmp34_;
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp36_ = folks_url_field_details_new (_tmp35_, NULL);
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp37_ = _tmp36_;
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_free0 (_tmp35_);
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				p3 = _tmp37_;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp38_ = url_fds;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp39_ = p3;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp38_, _tmp39_);
#line 658 "set-urls.c"
				{
					FolksIndividual* _tmp40_;
					GeeSet* _tmp41_;
					GeeSet* _tmp42_;
					GeeIterator* _tmp43_ = NULL;
					GeeIterator* _p_it;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp40_ = i;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp41_ = folks_individual_get_personas (_tmp40_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp42_ = _tmp41_;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp43_ = gee_iterable_iterator ((GeeIterable*) _tmp42_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_p_it = _tmp43_;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					while (TRUE) {
#line 677 "set-urls.c"
						GeeIterator* _tmp44_;
						gboolean _tmp45_ = FALSE;
						GeeIterator* _tmp46_;
						gpointer _tmp47_ = NULL;
						FolksPersona* p;
						FolksPersona* _tmp48_;
						GeeHashSet* _tmp49_;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp44_ = _p_it;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp45_ = gee_iterator_next (_tmp44_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						if (!_tmp45_) {
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							break;
#line 693 "set-urls.c"
						}
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp46_ = _p_it;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp47_ = gee_iterator_get (_tmp46_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						p = (FolksPersona*) _tmp47_;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp48_ = p;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp49_ = url_fds;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						folks_url_details_set_urls (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, FOLKS_TYPE_URL_DETAILS, FolksUrlDetails), (GeeSet*) _tmp49_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_g_object_unref0 (p);
#line 709 "set-urls.c"
					}
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_g_object_unref0 (_p_it);
#line 713 "set-urls.c"
				}
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_object_unref0 (p3);
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_object_unref0 (p2);
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_object_unref0 (p1);
#line 111 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_object_unref0 (url_fds);
#line 723 "set-urls.c"
			}
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_g_object_unref0 (i);
#line 727 "set-urls.c"
		}
#line 107 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_g_object_unref0 (_i_it);
#line 731 "set-urls.c"
	}
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp50_ = removed;
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp51_ = gee_collection_get_size ((GeeCollection*) _tmp50_);
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp52_ = _tmp51_;
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_vala_assert (_tmp52_ == 1, "removed.size == 1");
#line 741 "set-urls.c"
	{
		GeeSet* _tmp53_;
		GeeIterator* _tmp54_ = NULL;
		GeeIterator* _i_it;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_tmp53_ = removed;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_tmp54_ = gee_iterable_iterator ((GeeIterable*) _tmp53_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_i_it = _tmp54_;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		while (TRUE) {
#line 754 "set-urls.c"
			GeeIterator* _tmp55_;
			gboolean _tmp56_ = FALSE;
			GeeIterator* _tmp57_;
			gpointer _tmp58_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp59_;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp55_ = _i_it;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp56_ = gee_iterator_next (_tmp55_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			if (!_tmp56_) {
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				break;
#line 769 "set-urls.c"
			}
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp57_ = _i_it;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp58_ = gee_iterator_get (_tmp57_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			i = (FolksIndividual*) _tmp58_;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp59_ = i;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_vala_assert (_tmp59_ == NULL, "i == null");
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_g_object_unref0 (i);
#line 783 "set-urls.c"
		}
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_g_object_unref0 (_i_it);
#line 787 "set-urls.c"
	}
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (removed);
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (added);
#line 793 "set-urls.c"
}


static void _set_ur_ls_tests_notify_urls_cb (SetURLsTests* self, GObject* individual_obj, GParamSpec* ps) {
	GObject* _tmp0_;
	FolksIndividual* _tmp1_;
	FolksIndividual* i;
	FolksIndividual* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	const gchar* _tmp5_;
	GeeHashMap* _tmp54_;
	gint _tmp55_;
	gint _tmp56_;
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_return_if_fail (self != NULL);
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_return_if_fail (individual_obj != NULL);
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_return_if_fail (ps != NULL);
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp0_ = individual_obj;
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, FOLKS_TYPE_INDIVIDUAL, FolksIndividual));
#line 147 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	i = _tmp1_;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp2_ = i;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp3_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp2_);
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp4_ = _tmp3_;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp5_ = self->priv->_persona_fullname;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	if (g_strcmp0 (_tmp4_, _tmp5_) == 0) {
#line 830 "set-urls.c"
		{
			FolksIndividual* _tmp6_;
			GeeSet* _tmp7_;
			GeeSet* _tmp8_;
			GeeIterator* _tmp9_ = NULL;
			GeeIterator* _p_it;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp6_ = i;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp7_ = folks_url_details_get_urls ((FolksUrlDetails*) _tmp6_);
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp8_ = _tmp7_;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_tmp9_ = gee_iterable_iterator ((GeeIterable*) _tmp8_);
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_p_it = _tmp9_;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			while (TRUE) {
#line 849 "set-urls.c"
				GeeIterator* _tmp10_;
				gboolean _tmp11_ = FALSE;
				GeeIterator* _tmp12_;
				gpointer _tmp13_ = NULL;
				FolksUrlFieldDetails* p;
				FolksUrlFieldDetails* _tmp14_;
				GeeCollection* _tmp15_ = NULL;
				GeeCollection* type_p;
				gboolean _tmp16_ = FALSE;
				gboolean _tmp17_ = FALSE;
				GeeCollection* _tmp18_;
				gboolean _tmp21_;
				gboolean _tmp28_;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp10_ = _p_it;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp11_ = gee_iterator_next (_tmp10_);
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				if (!_tmp11_) {
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					break;
#line 871 "set-urls.c"
				}
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp12_ = _p_it;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp13_ = gee_iterator_get (_tmp12_);
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				p = (FolksUrlFieldDetails*) _tmp13_;
#line 152 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp14_ = p;
#line 152 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp15_ = folks_abstract_field_details_get_parameter_values ((FolksAbstractFieldDetails*) _tmp14_, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE);
#line 152 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				type_p = _tmp15_;
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp18_ = type_p;
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				if (_tmp18_ != NULL) {
#line 889 "set-urls.c"
					GeeCollection* _tmp19_;
					gboolean _tmp20_ = FALSE;
#line 155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp19_ = type_p;
#line 155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp20_ = gee_collection_contains (_tmp19_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG);
#line 155 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp17_ = _tmp20_;
#line 898 "set-urls.c"
				} else {
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp17_ = FALSE;
#line 902 "set-urls.c"
				}
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp21_ = _tmp17_;
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				if (_tmp21_) {
#line 908 "set-urls.c"
					FolksUrlFieldDetails* _tmp22_;
					gconstpointer _tmp23_;
					const gchar* _tmp24_;
					GeeHashMap* _tmp25_;
					gpointer _tmp26_ = NULL;
					gchar* _tmp27_;
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp22_ = p;
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp23_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp22_);
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp24_ = _tmp23_;
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp25_ = self->priv->_urls;
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp26_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp25_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG);
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp27_ = (gchar*) _tmp26_;
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp16_ = g_strcmp0 ((const gchar*) _tmp24_, _tmp27_) == 0;
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_g_free0 (_tmp27_);
#line 931 "set-urls.c"
				} else {
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp16_ = FALSE;
#line 935 "set-urls.c"
				}
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_tmp28_ = _tmp16_;
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				if (_tmp28_) {
#line 941 "set-urls.c"
					GeeHashMap* _tmp29_;
#line 158 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp29_ = self->priv->_urls;
#line 158 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					gee_abstract_map_unset ((GeeAbstractMap*) _tmp29_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG, NULL);
#line 947 "set-urls.c"
				} else {
					gboolean _tmp30_ = FALSE;
					gboolean _tmp31_ = FALSE;
					GeeCollection* _tmp32_;
					gboolean _tmp35_;
					gboolean _tmp42_;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp32_ = type_p;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					if (_tmp32_ != NULL) {
#line 958 "set-urls.c"
						GeeCollection* _tmp33_;
						gboolean _tmp34_ = FALSE;
#line 161 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp33_ = type_p;
#line 161 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp34_ = gee_collection_contains (_tmp33_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE);
#line 161 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp31_ = _tmp34_;
#line 967 "set-urls.c"
					} else {
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp31_ = FALSE;
#line 971 "set-urls.c"
					}
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp35_ = _tmp31_;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					if (_tmp35_) {
#line 977 "set-urls.c"
						FolksUrlFieldDetails* _tmp36_;
						gconstpointer _tmp37_;
						const gchar* _tmp38_;
						GeeHashMap* _tmp39_;
						gpointer _tmp40_ = NULL;
						gchar* _tmp41_;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp36_ = p;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp37_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp36_);
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp38_ = _tmp37_;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp39_ = self->priv->_urls;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp40_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp39_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE);
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp41_ = (gchar*) _tmp40_;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp30_ = g_strcmp0 ((const gchar*) _tmp38_, _tmp41_) == 0;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_g_free0 (_tmp41_);
#line 1000 "set-urls.c"
					} else {
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp30_ = FALSE;
#line 1004 "set-urls.c"
					}
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					_tmp42_ = _tmp30_;
#line 160 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
					if (_tmp42_) {
#line 1010 "set-urls.c"
						GeeHashMap* _tmp43_;
#line 164 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp43_ = self->priv->_urls;
#line 164 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						gee_abstract_map_unset ((GeeAbstractMap*) _tmp43_, FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE, NULL);
#line 1016 "set-urls.c"
					} else {
						gboolean _tmp44_ = FALSE;
						GeeCollection* _tmp45_;
						gboolean _tmp52_;
#line 166 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp45_ = type_p;
#line 166 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						if (_tmp45_ == NULL) {
#line 1025 "set-urls.c"
							FolksUrlFieldDetails* _tmp46_;
							gconstpointer _tmp47_;
							const gchar* _tmp48_;
							GeeHashMap* _tmp49_;
							gpointer _tmp50_ = NULL;
							gchar* _tmp51_;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp46_ = p;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp47_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp46_);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp48_ = _tmp47_;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp49_ = self->priv->_urls;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp50_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp49_, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE_OTHER);
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp51_ = (gchar*) _tmp50_;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp44_ = g_strcmp0 ((const gchar*) _tmp48_, _tmp51_) == 0;
#line 167 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_g_free0 (_tmp51_);
#line 1048 "set-urls.c"
						} else {
#line 166 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp44_ = FALSE;
#line 1052 "set-urls.c"
						}
#line 166 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						_tmp52_ = _tmp44_;
#line 166 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
						if (_tmp52_) {
#line 1058 "set-urls.c"
							GeeHashMap* _tmp53_;
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							_tmp53_ = self->priv->_urls;
#line 169 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
							gee_abstract_map_unset ((GeeAbstractMap*) _tmp53_, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE_OTHER, NULL);
#line 1064 "set-urls.c"
						}
					}
				}
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_object_unref0 (type_p);
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
				_g_object_unref0 (p);
#line 1072 "set-urls.c"
			}
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
			_g_object_unref0 (_p_it);
#line 1076 "set-urls.c"
		}
	}
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp54_ = self->priv->_urls;
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp55_ = gee_abstract_map_get_size ((GeeMap*) _tmp54_);
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp56_ = _tmp55_;
#line 174 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	if (_tmp56_ == 0) {
#line 1087 "set-urls.c"
		GMainLoop* _tmp57_;
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		_tmp57_ = self->priv->_main_loop;
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
		g_main_loop_quit (_tmp57_);
#line 1093 "set-urls.c"
	}
#line 145 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (i);
#line 1097 "set-urls.c"
}


static void set_ur_ls_tests_class_init (SetURLsTestsClass * klass) {
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	set_ur_ls_tests_parent_class = g_type_class_peek_parent (klass);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_type_class_add_private (klass, sizeof (SetURLsTestsPrivate));
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = set_ur_ls_tests_real_set_up;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = set_ur_ls_tests_real_tear_down;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	G_OBJECT_CLASS (klass)->finalize = set_ur_ls_tests_finalize;
#line 1112 "set-urls.c"
}


static void set_ur_ls_tests_instance_init (SetURLsTests * self) {
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self->priv = SET_UR_LS_TESTS_GET_PRIVATE (self);
#line 1119 "set-urls.c"
}


static void set_ur_ls_tests_finalize (GObject* obj) {
	SetURLsTests * self;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_UR_LS_TESTS, SetURLsTests);
#line 28 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 29 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 30 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 32 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (self->priv->_urls);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	G_OBJECT_CLASS (set_ur_ls_tests_parent_class)->finalize (obj);
#line 1139 "set-urls.c"
}


GType set_ur_ls_tests_get_type (void) {
	static volatile gsize set_ur_ls_tests_type_id__volatile = 0;
	if (g_once_init_enter (&set_ur_ls_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SetURLsTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) set_ur_ls_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SetURLsTests), 0, (GInstanceInitFunc) set_ur_ls_tests_instance_init, NULL };
		GType set_ur_ls_tests_type_id;
		set_ur_ls_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "SetURLsTests", &g_define_type_info, 0);
		g_once_init_leave (&set_ur_ls_tests_type_id__volatile, set_ur_ls_tests_type_id);
	}
	return set_ur_ls_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	SetURLsTests* _tmp1_;
	SetURLsTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 181 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_test_init (&args_length1, &args, NULL);
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp0_ = g_test_get_root ();
#line 183 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	root = _tmp0_;
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp1_ = set_ur_ls_tests_new ();
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp2_ = _tmp1_;
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 184 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	_g_object_unref0 (_tmp2_);
#line 186 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	g_test_run ();
#line 188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	result = 0;
#line 188 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-urls.vala"
	return result;
#line 1184 "set-urls.c"
}


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



