/* set-postal-addresses.c generated by valac 0.17.6.3-6918, the Vala compiler
 * generated from set-postal-addresses.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_POSTAL_ADDRESSES_TESTS (set_postal_addresses_tests_get_type ())
#define SET_POSTAL_ADDRESSES_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_POSTAL_ADDRESSES_TESTS, SetPostalAddressesTests))
#define SET_POSTAL_ADDRESSES_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_POSTAL_ADDRESSES_TESTS, SetPostalAddressesTestsClass))
#define IS_SET_POSTAL_ADDRESSES_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_POSTAL_ADDRESSES_TESTS))
#define IS_SET_POSTAL_ADDRESSES_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_POSTAL_ADDRESSES_TESTS))
#define SET_POSTAL_ADDRESSES_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_POSTAL_ADDRESSES_TESTS, SetPostalAddressesTestsClass))

typedef struct _SetPostalAddressesTests SetPostalAddressesTests;
typedef struct _SetPostalAddressesTestsClass SetPostalAddressesTestsClass;
typedef struct _SetPostalAddressesTestsPrivate SetPostalAddressesTestsPrivate;
#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 _SetPostalAddressesTestsTestSetPostalAddressesAsyncData SetPostalAddressesTestsTestSetPostalAddressesAsyncData;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _SetPostalAddressesTests {
	FolksTestCase parent_instance;
	SetPostalAddressesTestsPrivate * priv;
};

struct _SetPostalAddressesTestsClass {
	FolksTestCaseClass parent_class;
};

struct _SetPostalAddressesTestsPrivate {
	GMainLoop* _main_loop;
	TrackerTestBackend* _tracker_backend;
	FolksIndividualAggregator* _aggregator;
	gchar* _persona_fullname;
	gboolean _postal_address_found;
	FolksPostalAddressFieldDetails* _postal_address_fd;
};

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


static gpointer set_postal_addresses_tests_parent_class = NULL;

GType set_postal_addresses_tests_get_type (void) G_GNUC_CONST;
#define SET_POSTAL_ADDRESSES_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SET_POSTAL_ADDRESSES_TESTS, SetPostalAddressesTestsPrivate))
enum  {
	SET_POSTAL_ADDRESSES_TESTS_DUMMY_PROPERTY
};
SetPostalAddressesTests* set_postal_addresses_tests_new (void);
SetPostalAddressesTests* set_postal_addresses_tests_construct (GType object_type);
void set_postal_addresses_tests_test_set_postal_addresses (SetPostalAddressesTests* self);
static void _set_postal_addresses_tests_test_set_postal_addresses_folks_test_case_test_method (gpointer self);
static void set_postal_addresses_tests_real_set_up (FolksTestCase* base);
static void set_postal_addresses_tests_real_tear_down (FolksTestCase* base);
static void _set_postal_addresses_tests_test_set_postal_addresses_async (SetPostalAddressesTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void _set_postal_addresses_tests_test_set_postal_addresses_finish (SetPostalAddressesTests* self, GAsyncResult* _res_);
static gboolean __lambda2_ (SetPostalAddressesTests* self);
static gboolean ___lambda2__gsource_func (gpointer self);
static void _set_postal_addresses_tests_test_set_postal_addresses_async_data_free (gpointer _data);
static gboolean _set_postal_addresses_tests_test_set_postal_addresses_async_co (SetPostalAddressesTestsTestSetPostalAddressesAsyncData* _data_);
static void _set_postal_addresses_tests_test_set_postal_addresses_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _set_postal_addresses_tests_individuals_changed_cb (SetPostalAddressesTests* self, GeeMultiMap* changes);
static void __set_postal_addresses_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static void _set_postal_addresses_tests_notify_postal_cb (SetPostalAddressesTests* self, GObject* individual_obj, GParamSpec* ps);
static void __set_postal_addresses_tests_notify_postal_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void set_postal_addresses_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _set_postal_addresses_tests_test_set_postal_addresses_folks_test_case_test_method (gpointer self) {
#line 41 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	set_postal_addresses_tests_test_set_postal_addresses (self);
#line 122 "set-postal-addresses.c"
}


SetPostalAddressesTests* set_postal_addresses_tests_construct (GType object_type) {
	SetPostalAddressesTests * self = NULL;
	TrackerTestBackend* _tmp0_;
#line 37 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self = (SetPostalAddressesTests*) folks_test_case_construct (object_type, "SetPostalAddressesTests");
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp0_ = tracker_test_backend_new ();
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 39 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self->priv->_tracker_backend = _tmp0_;
#line 41 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "test setting postal addresses ", _set_postal_addresses_tests_test_set_postal_addresses_folks_test_case_test_method, self);
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	return self;
#line 141 "set-postal-addresses.c"
}


SetPostalAddressesTests* set_postal_addresses_tests_new (void) {
#line 35 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	return set_postal_addresses_tests_construct (TYPE_SET_POSTAL_ADDRESSES_TESTS);
#line 148 "set-postal-addresses.c"
}


static void set_postal_addresses_tests_real_set_up (FolksTestCase* base) {
	SetPostalAddressesTests * self;
#line 45 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self = (SetPostalAddressesTests*) base;
#line 156 "set-postal-addresses.c"
}


static void set_postal_addresses_tests_real_tear_down (FolksTestCase* base) {
	SetPostalAddressesTests * self;
#line 49 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self = (SetPostalAddressesTests*) base;
#line 164 "set-postal-addresses.c"
}


static gboolean __lambda2_ (SetPostalAddressesTests* self) {
	gboolean result = FALSE;
	GMainLoop* _tmp0_;
#line 81 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp0_ = self->priv->_main_loop;
#line 81 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_main_loop_quit (_tmp0_);
#line 82 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_assert_not_reached ();
#line 79 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	return result;
#line 179 "set-postal-addresses.c"
}


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


void set_postal_addresses_tests_test_set_postal_addresses (SetPostalAddressesTests* self) {
	GMainLoop* _tmp0_;
	GeeHashMap* _tmp1_;
	GeeHashMap* c1;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	TrackerTestBackend* _tmp4_;
	FolksPostalAddress* _tmp5_;
	FolksPostalAddress* pa;
	FolksPostalAddressFieldDetails* _tmp6_;
	TrackerTestBackend* _tmp7_;
	GMainLoop* _tmp8_;
	gboolean _tmp9_;
	TrackerTestBackend* _tmp10_;
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_return_if_fail (self != NULL);
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 55 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self->priv->_main_loop = _tmp0_;
#line 56 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.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 56 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	c1 = _tmp1_;
#line 57 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp2_ = g_strdup ("persona #1");
#line 57 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 57 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self->priv->_persona_fullname = _tmp2_;
#line 59 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp3_ = self->priv->_persona_fullname;
#line 59 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	gee_abstract_map_set ((GeeAbstractMap*) c1, TRF_ONTOLOGY_DEFS_NCO_FULLNAME, _tmp3_);
#line 60 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp4_ = self->priv->_tracker_backend;
#line 60 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	tracker_test_backend_add_contact (_tmp4_, c1);
#line 62 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp5_ = folks_postal_address_new (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 62 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	pa = _tmp5_;
#line 64 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_postal_address_set_po_box (pa, "12345");
#line 65 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_postal_address_set_locality (pa, "locality");
#line 66 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_postal_address_set_postal_code (pa, "code");
#line 67 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_postal_address_set_street (pa, "some street");
#line 68 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_postal_address_set_extension (pa, "some extension");
#line 69 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_postal_address_set_country (pa, "some country");
#line 70 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_postal_address_set_region (pa, "some region");
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp6_ = folks_postal_address_field_details_new (pa, NULL);
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (self->priv->_postal_address_fd);
#line 71 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self->priv->_postal_address_fd = _tmp6_;
#line 73 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp7_ = self->priv->_tracker_backend;
#line 73 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	tracker_test_backend_set_up (_tmp7_);
#line 75 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self->priv->_postal_address_found = FALSE;
#line 77 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_set_postal_addresses_tests_test_set_postal_addresses_async (self, NULL, NULL);
#line 79 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda2__gsource_func, g_object_ref (self), g_object_unref);
#line 85 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp8_ = self->priv->_main_loop;
#line 85 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_main_loop_run (_tmp8_);
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp9_ = self->priv->_postal_address_found;
#line 87 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_vala_assert (_tmp9_, "this._postal_address_found");
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp10_ = self->priv->_tracker_backend;
#line 89 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	tracker_test_backend_tear_down (_tmp10_);
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (pa);
#line 53 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (c1);
#line 282 "set-postal-addresses.c"
}


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


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


static void _set_postal_addresses_tests_test_set_postal_addresses_async (SetPostalAddressesTests* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	SetPostalAddressesTestsTestSetPostalAddressesAsyncData* _data_;
	SetPostalAddressesTests* _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_ = g_slice_new0 (SetPostalAddressesTestsTestSetPostalAddressesAsyncData);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, _set_postal_addresses_tests_test_set_postal_addresses_async);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, _set_postal_addresses_tests_test_set_postal_addresses_async_data_free);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->self = _tmp0_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_set_postal_addresses_tests_test_set_postal_addresses_async_co (_data_);
#line 319 "set-postal-addresses.c"
}


static void _set_postal_addresses_tests_test_set_postal_addresses_finish (SetPostalAddressesTests* self, GAsyncResult* _res_) {
	SetPostalAddressesTestsTestSetPostalAddressesAsyncData* _data_;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 327 "set-postal-addresses.c"
}


static void _set_postal_addresses_tests_test_set_postal_addresses_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	SetPostalAddressesTestsTestSetPostalAddressesAsyncData* _data_;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_ = _user_data_;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_source_object_ = source_object;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_res_ = _res_;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_set_postal_addresses_tests_test_set_postal_addresses_async_co (_data_);
#line 341 "set-postal-addresses.c"
}


static void __set_postal_addresses_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 97 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_set_postal_addresses_tests_individuals_changed_cb (self, changes);
#line 348 "set-postal-addresses.c"
}


static gboolean _set_postal_addresses_tests_test_set_postal_addresses_async_co (SetPostalAddressesTestsTestSetPostalAddressesAsyncData* _data_) {
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	switch (_data_->_state_) {
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		case 0:
#line 357 "set-postal-addresses.c"
		goto _state_0;
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		case 1:
#line 361 "set-postal-addresses.c"
		goto _state_1;
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		case 2:
#line 365 "set-postal-addresses.c"
		goto _state_2;
		default:
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		g_assert_not_reached ();
#line 370 "set-postal-addresses.c"
	}
	_state_0:
#line 94 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_tmp0_ = NULL;
#line 94 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_tmp0_ = folks_backend_store_dup ();
#line 94 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->store = _data_->_tmp0_;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_state_ = 1;
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_backend_store_prepare (_data_->store, _set_postal_addresses_tests_test_set_postal_addresses_async_ready, _data_);
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	return FALSE;
#line 385 "set-postal-addresses.c"
	_state_1:
#line 95 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	folks_backend_store_prepare_finish (_data_->store, _data_->_res_);
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_tmp1_ = folks_individual_aggregator_new ();
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (_data_->self->priv->_aggregator);
#line 96 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->self->priv->_aggregator = _data_->_tmp1_;
#line 97 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_data_->_tmp2_ = _data_->self->priv->_aggregator;
#line 97 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_signal_connect_object (_data_->_tmp2_, "individuals-changed-detailed", (GCallback) __set_postal_addresses_tests_individuals_changed_cb_folks_individual_aggregator_individuals_changed_detailed, _data_->self, 0);
#line 399 "set-postal-addresses.c"
	{
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_data_->_tmp3_ = _data_->self->priv->_aggregator;
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_data_->_state_ = 2;
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		folks_individual_aggregator_prepare (_data_->_tmp3_, _set_postal_addresses_tests_test_set_postal_addresses_async_ready, _data_);
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		return FALSE;
#line 409 "set-postal-addresses.c"
		_state_2:
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		folks_individual_aggregator_prepare_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_);
#line 101 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		if (_data_->_inner_error_ != NULL) {
#line 415 "set-postal-addresses.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_data_->e = _data_->_inner_error_;
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_data_->_inner_error_ = NULL;
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_data_->_tmp4_ = _data_->e;
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_data_->_tmp5_ = _data_->_tmp4_->message;
#line 105 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		g_warning ("set-postal-addresses.vala:105: Error when calling prepare: %s\n", _data_->_tmp5_);
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_g_error_free0 (_data_->e);
#line 434 "set-postal-addresses.c"
	}
	__finally0:
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	if (_data_->_inner_error_ != NULL) {
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_g_object_unref0 (_data_->store);
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.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 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		g_clear_error (&_data_->_inner_error_);
#line 99 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		return FALSE;
#line 447 "set-postal-addresses.c"
	}
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (_data_->store);
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	if (_data_->_state_ == 0) {
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 455 "set-postal-addresses.c"
	} else {
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 459 "set-postal-addresses.c"
	}
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_object_unref (_data_->_async_result);
#line 92 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	return FALSE;
#line 465 "set-postal-addresses.c"
}


static void __set_postal_addresses_tests_notify_postal_cb_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_set_postal_addresses_tests_notify_postal_cb (self, _sender, pspec);
#line 472 "set-postal-addresses.c"
}


static void _set_postal_addresses_tests_individuals_changed_cb (SetPostalAddressesTests* self, GeeMultiMap* changes) {
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	GeeSet* _tmp74_;
	gint _tmp75_;
	gint _tmp76_;
#line 109 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_return_if_fail (self != NULL);
#line 109 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_return_if_fail (changes != NULL);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp0_ = changes;
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 112 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	added = _tmp1_;
#line 113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp2_ = changes;
#line 113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 113 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	removed = _tmp3_;
#line 502 "set-postal-addresses.c"
	{
		GeeCollection* _tmp4_;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _i_it;
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_tmp4_ = added;
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_i_it = _tmp5_;
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		while (TRUE) {
#line 515 "set-postal-addresses.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 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp6_ = _i_it;
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp7_ = gee_iterator_next (_tmp6_);
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			if (!_tmp7_) {
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				break;
#line 534 "set-postal-addresses.c"
			}
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp8_ = _i_it;
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp9_ = gee_iterator_get (_tmp8_);
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			i = (FolksIndividual*) _tmp9_;
#line 117 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp10_ = i;
#line 117 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_vala_assert (_tmp10_ != NULL, "i != null");
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp11_ = i;
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp12_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp11_);
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp13_ = _tmp12_;
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp14_ = self->priv->_persona_fullname;
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 556 "set-postal-addresses.c"
				FolksIndividual* _tmp15_;
				GeeHashSet* _tmp16_;
				GeeHashSet* addresses;
				FolksPostalAddress* _tmp17_;
				FolksPostalAddress* pa;
				FolksPostalAddress* _tmp18_;
				FolksPostalAddressFieldDetails* _tmp19_;
				gconstpointer _tmp20_;
				FolksPostalAddress* _tmp21_;
				const gchar* _tmp22_;
				const gchar* _tmp23_;
				FolksPostalAddress* _tmp24_;
				FolksPostalAddressFieldDetails* _tmp25_;
				gconstpointer _tmp26_;
				FolksPostalAddress* _tmp27_;
				const gchar* _tmp28_;
				const gchar* _tmp29_;
				FolksPostalAddress* _tmp30_;
				FolksPostalAddressFieldDetails* _tmp31_;
				gconstpointer _tmp32_;
				FolksPostalAddress* _tmp33_;
				const gchar* _tmp34_;
				const gchar* _tmp35_;
				FolksPostalAddress* _tmp36_;
				FolksPostalAddressFieldDetails* _tmp37_;
				gconstpointer _tmp38_;
				FolksPostalAddress* _tmp39_;
				const gchar* _tmp40_;
				const gchar* _tmp41_;
				FolksPostalAddress* _tmp42_;
				FolksPostalAddressFieldDetails* _tmp43_;
				gconstpointer _tmp44_;
				FolksPostalAddress* _tmp45_;
				const gchar* _tmp46_;
				const gchar* _tmp47_;
				FolksPostalAddress* _tmp48_;
				FolksPostalAddressFieldDetails* _tmp49_;
				gconstpointer _tmp50_;
				FolksPostalAddress* _tmp51_;
				const gchar* _tmp52_;
				const gchar* _tmp53_;
				FolksPostalAddress* _tmp54_;
				FolksPostalAddressFieldDetails* _tmp55_;
				gconstpointer _tmp56_;
				FolksPostalAddress* _tmp57_;
				const gchar* _tmp58_;
				const gchar* _tmp59_;
				FolksPostalAddress* _tmp60_;
				FolksPostalAddressFieldDetails* _tmp61_;
				FolksPostalAddressFieldDetails* pafd;
				GeeHashSet* _tmp62_;
				FolksPostalAddressFieldDetails* _tmp63_;
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp15_ = i;
#line 121 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				g_signal_connect_object ((GObject*) _tmp15_, "notify::postal-addresses", (GCallback) __set_postal_addresses_tests_notify_postal_cb_g_object_notify, self, 0);
#line 123 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp16_ = gee_hash_set_new (FOLKS_TYPE_POSTAL_ADDRESS_FIELD_DETAILS, (GBoxedCopyFunc) g_object_ref, g_object_unref, (GHashFunc) folks_abstract_field_details_hash, (GEqualFunc) folks_abstract_field_details_equal);
#line 123 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				addresses = _tmp16_;
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp17_ = folks_postal_address_new (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 126 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				pa = _tmp17_;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp18_ = pa;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp19_ = self->priv->_postal_address_fd;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp20_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp19_);
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp21_ = _tmp20_;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp22_ = folks_postal_address_get_po_box ((FolksPostalAddress*) _tmp21_);
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp23_ = _tmp22_;
#line 128 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_postal_address_set_po_box (_tmp18_, _tmp23_);
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp24_ = pa;
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp25_ = self->priv->_postal_address_fd;
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp26_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp25_);
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp27_ = _tmp26_;
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp28_ = folks_postal_address_get_locality ((FolksPostalAddress*) _tmp27_);
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp29_ = _tmp28_;
#line 129 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_postal_address_set_locality (_tmp24_, _tmp29_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp30_ = pa;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp31_ = self->priv->_postal_address_fd;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp32_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp31_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp33_ = _tmp32_;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp34_ = folks_postal_address_get_postal_code ((FolksPostalAddress*) _tmp33_);
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp35_ = _tmp34_;
#line 130 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_postal_address_set_postal_code (_tmp30_, _tmp35_);
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp36_ = pa;
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp37_ = self->priv->_postal_address_fd;
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp38_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp37_);
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp39_ = _tmp38_;
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp40_ = folks_postal_address_get_street ((FolksPostalAddress*) _tmp39_);
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp41_ = _tmp40_;
#line 131 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_postal_address_set_street (_tmp36_, _tmp41_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp42_ = pa;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp43_ = self->priv->_postal_address_fd;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp44_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp43_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp45_ = _tmp44_;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp46_ = folks_postal_address_get_extension ((FolksPostalAddress*) _tmp45_);
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp47_ = _tmp46_;
#line 132 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_postal_address_set_extension (_tmp42_, _tmp47_);
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp48_ = pa;
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp49_ = self->priv->_postal_address_fd;
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp50_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp49_);
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp51_ = _tmp50_;
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp52_ = folks_postal_address_get_country ((FolksPostalAddress*) _tmp51_);
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp53_ = _tmp52_;
#line 133 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_postal_address_set_country (_tmp48_, _tmp53_);
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp54_ = pa;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp55_ = self->priv->_postal_address_fd;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp56_ = folks_abstract_field_details_get_value ((FolksAbstractFieldDetails*) _tmp55_);
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp57_ = _tmp56_;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp58_ = folks_postal_address_get_region ((FolksPostalAddress*) _tmp57_);
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp59_ = _tmp58_;
#line 134 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_postal_address_set_region (_tmp54_, _tmp59_);
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp60_ = pa;
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp61_ = folks_postal_address_field_details_new (_tmp60_, NULL);
#line 135 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				pafd = _tmp61_;
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp62_ = addresses;
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp63_ = pafd;
#line 137 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp62_, _tmp63_);
#line 731 "set-postal-addresses.c"
				{
					FolksIndividual* _tmp64_;
					GeeSet* _tmp65_;
					GeeSet* _tmp66_;
					GeeIterator* _tmp67_ = NULL;
					GeeIterator* _p_it;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					_tmp64_ = i;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					_tmp65_ = folks_individual_get_personas (_tmp64_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					_tmp66_ = _tmp65_;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					_tmp67_ = gee_iterable_iterator ((GeeIterable*) _tmp66_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					_p_it = _tmp67_;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					while (TRUE) {
#line 750 "set-postal-addresses.c"
						GeeIterator* _tmp68_;
						gboolean _tmp69_ = FALSE;
						GeeIterator* _tmp70_;
						gpointer _tmp71_ = NULL;
						FolksPersona* p;
						FolksPersona* _tmp72_;
						GeeHashSet* _tmp73_;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						_tmp68_ = _p_it;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						_tmp69_ = gee_iterator_next (_tmp68_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						if (!_tmp69_) {
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
							break;
#line 766 "set-postal-addresses.c"
						}
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						_tmp70_ = _p_it;
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						_tmp71_ = gee_iterator_get (_tmp70_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						p = (FolksPersona*) _tmp71_;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						_tmp72_ = p;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						_tmp73_ = addresses;
#line 141 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						folks_postal_address_details_set_postal_addresses (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, FOLKS_TYPE_POSTAL_ADDRESS_DETAILS, FolksPostalAddressDetails), (GeeSet*) _tmp73_);
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
						_g_object_unref0 (p);
#line 782 "set-postal-addresses.c"
					}
#line 139 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					_g_object_unref0 (_p_it);
#line 786 "set-postal-addresses.c"
				}
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_g_object_unref0 (pafd);
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_g_object_unref0 (pa);
#line 119 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_g_object_unref0 (addresses);
#line 794 "set-postal-addresses.c"
			}
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_g_object_unref0 (i);
#line 798 "set-postal-addresses.c"
		}
#line 115 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_g_object_unref0 (_i_it);
#line 802 "set-postal-addresses.c"
	}
#line 146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp74_ = removed;
#line 146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp75_ = gee_collection_get_size ((GeeCollection*) _tmp74_);
#line 146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp76_ = _tmp75_;
#line 146 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_vala_assert (_tmp76_ == 1, "removed.size == 1");
#line 812 "set-postal-addresses.c"
	{
		GeeSet* _tmp77_;
		GeeIterator* _tmp78_ = NULL;
		GeeIterator* _i_it;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_tmp77_ = removed;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_tmp78_ = gee_iterable_iterator ((GeeIterable*) _tmp77_);
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_i_it = _tmp78_;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		while (TRUE) {
#line 825 "set-postal-addresses.c"
			GeeIterator* _tmp79_;
			gboolean _tmp80_ = FALSE;
			GeeIterator* _tmp81_;
			gpointer _tmp82_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp83_;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp79_ = _i_it;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp80_ = gee_iterator_next (_tmp79_);
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			if (!_tmp80_) {
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				break;
#line 840 "set-postal-addresses.c"
			}
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp81_ = _i_it;
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp82_ = gee_iterator_get (_tmp81_);
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			i = (FolksIndividual*) _tmp82_;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp83_ = i;
#line 150 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_vala_assert (_tmp83_ == NULL, "i == null");
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_g_object_unref0 (i);
#line 854 "set-postal-addresses.c"
		}
#line 148 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
		_g_object_unref0 (_i_it);
#line 858 "set-postal-addresses.c"
	}
#line 109 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (removed);
#line 109 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (added);
#line 864 "set-postal-addresses.c"
}


static void _set_postal_addresses_tests_notify_postal_cb (SetPostalAddressesTests* self, GObject* individual_obj, GParamSpec* ps) {
	GObject* _tmp0_;
	FolksIndividual* _tmp1_;
	FolksIndividual* i;
	FolksIndividual* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	const gchar* _tmp5_;
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_return_if_fail (self != NULL);
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_return_if_fail (individual_obj != NULL);
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_return_if_fail (ps != NULL);
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp0_ = individual_obj;
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, FOLKS_TYPE_INDIVIDUAL, FolksIndividual));
#line 156 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	i = _tmp1_;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp2_ = i;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp3_ = folks_name_details_get_full_name ((FolksNameDetails*) _tmp2_);
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp4_ = _tmp3_;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp5_ = self->priv->_persona_fullname;
#line 157 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	if (g_strcmp0 (_tmp4_, _tmp5_) == 0) {
#line 898 "set-postal-addresses.c"
		{
			FolksIndividual* _tmp6_;
			GeeSet* _tmp7_;
			GeeSet* _tmp8_;
			GeeIterator* _tmp9_ = NULL;
			GeeIterator* _pafd_it;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp6_ = i;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp7_ = folks_postal_address_details_get_postal_addresses ((FolksPostalAddressDetails*) _tmp6_);
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp8_ = _tmp7_;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_tmp9_ = gee_iterable_iterator ((GeeIterable*) _tmp8_);
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_pafd_it = _tmp9_;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			while (TRUE) {
#line 917 "set-postal-addresses.c"
				GeeIterator* _tmp10_;
				gboolean _tmp11_ = FALSE;
				GeeIterator* _tmp12_;
				gpointer _tmp13_ = NULL;
				FolksPostalAddressFieldDetails* pafd;
				FolksPostalAddressFieldDetails* _tmp14_;
				FolksPostalAddressFieldDetails* _tmp15_;
				const gchar* _tmp16_;
				const gchar* _tmp17_;
				FolksPostalAddressFieldDetails* _tmp18_;
				FolksPostalAddressFieldDetails* _tmp19_;
				gboolean _tmp20_ = FALSE;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp10_ = _pafd_it;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp11_ = gee_iterator_next (_tmp10_);
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				if (!_tmp11_) {
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					break;
#line 938 "set-postal-addresses.c"
				}
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp12_ = _pafd_it;
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp13_ = gee_iterator_get (_tmp12_);
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				pafd = (FolksPostalAddressFieldDetails*) _tmp13_;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp14_ = self->priv->_postal_address_fd;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp15_ = pafd;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp16_ = folks_abstract_field_details_get_id ((FolksAbstractFieldDetails*) _tmp15_);
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp17_ = _tmp16_;
#line 162 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				folks_abstract_field_details_set_id ((FolksAbstractFieldDetails*) _tmp14_, _tmp17_);
#line 163 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp18_ = pafd;
#line 163 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp19_ = self->priv->_postal_address_fd;
#line 163 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_tmp20_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp18_, (FolksAbstractFieldDetails*) _tmp19_);
#line 163 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				if (_tmp20_) {
#line 964 "set-postal-addresses.c"
					GMainLoop* _tmp21_;
#line 165 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					self->priv->_postal_address_found = TRUE;
#line 166 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					_tmp21_ = self->priv->_main_loop;
#line 166 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
					g_main_loop_quit (_tmp21_);
#line 972 "set-postal-addresses.c"
				}
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
				_g_object_unref0 (pafd);
#line 976 "set-postal-addresses.c"
			}
#line 159 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
			_g_object_unref0 (_pafd_it);
#line 980 "set-postal-addresses.c"
		}
	}
#line 154 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (i);
#line 985 "set-postal-addresses.c"
}


static void set_postal_addresses_tests_class_init (SetPostalAddressesTestsClass * klass) {
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	set_postal_addresses_tests_parent_class = g_type_class_peek_parent (klass);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_type_class_add_private (klass, sizeof (SetPostalAddressesTestsPrivate));
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = set_postal_addresses_tests_real_set_up;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = set_postal_addresses_tests_real_tear_down;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	G_OBJECT_CLASS (klass)->finalize = set_postal_addresses_tests_finalize;
#line 1000 "set-postal-addresses.c"
}


static void set_postal_addresses_tests_instance_init (SetPostalAddressesTests * self) {
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self->priv = SET_POSTAL_ADDRESSES_TESTS_GET_PRIVATE (self);
#line 1007 "set-postal-addresses.c"
}


static void set_postal_addresses_tests_finalize (GObject* obj) {
	SetPostalAddressesTests * self;
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_POSTAL_ADDRESSES_TESTS, SetPostalAddressesTests);
#line 28 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_main_loop_unref0 (self->priv->_main_loop);
#line 29 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tracker_test_backend_unref0 (self->priv->_tracker_backend);
#line 30 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (self->priv->_aggregator);
#line 31 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_free0 (self->priv->_persona_fullname);
#line 33 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (self->priv->_postal_address_fd);
#line 26 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	G_OBJECT_CLASS (set_postal_addresses_tests_parent_class)->finalize (obj);
#line 1027 "set-postal-addresses.c"
}


GType set_postal_addresses_tests_get_type (void) {
	static volatile gsize set_postal_addresses_tests_type_id__volatile = 0;
	if (g_once_init_enter (&set_postal_addresses_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SetPostalAddressesTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) set_postal_addresses_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SetPostalAddressesTests), 0, (GInstanceInitFunc) set_postal_addresses_tests_instance_init, NULL };
		GType set_postal_addresses_tests_type_id;
		set_postal_addresses_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "SetPostalAddressesTests", &g_define_type_info, 0);
		g_once_init_leave (&set_postal_addresses_tests_type_id__volatile, set_postal_addresses_tests_type_id);
	}
	return set_postal_addresses_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	SetPostalAddressesTests* _tmp1_;
	SetPostalAddressesTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 175 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_test_init (&args_length1, &args, NULL);
#line 177 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp0_ = g_test_get_root ();
#line 177 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	root = _tmp0_;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp1_ = set_postal_addresses_tests_new ();
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp2_ = _tmp1_;
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 178 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	_g_object_unref0 (_tmp2_);
#line 180 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	g_test_run ();
#line 182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	result = 0;
#line 182 "/home/jpwhiting/devel/collabora/src/gnome/folks/tests/tracker/set-postal-addresses.vala"
	return result;
#line 1072 "set-postal-addresses.c"
}


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



