/* dummy-lsw.c generated by valac 0.14.0.3-1a311, the Vala compiler
 * generated from dummy-lsw.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: Alban Crequy <alban.crequy@collabora.co.uk>
 *
 */

#include <glib.h>
#include <glib-object.h>
#include <folks-test.h>
#include <libsocialweb-test.h>
#include <stdlib.h>
#include <string.h>
#include <folks/folks.h>
#include <libsocialweb-client/libsocialweb-client-hack-for-vala.h>
#include <gio/gio.h>
#include <gee.h>
#include <folks/folks-libsocialweb.h>


#define TYPE_DUMMY_LSW_TESTS (dummy_lsw_tests_get_type ())
#define DUMMY_LSW_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DUMMY_LSW_TESTS, DummyLswTests))
#define DUMMY_LSW_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DUMMY_LSW_TESTS, DummyLswTestsClass))
#define IS_DUMMY_LSW_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DUMMY_LSW_TESTS))
#define IS_DUMMY_LSW_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DUMMY_LSW_TESTS))
#define DUMMY_LSW_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DUMMY_LSW_TESTS, DummyLswTestsClass))

typedef struct _DummyLswTests DummyLswTests;
typedef struct _DummyLswTestsClass DummyLswTestsClass;
typedef struct _DummyLswTestsPrivate DummyLswTestsPrivate;
#define _libsocialweb_test_backend_unref0(var) ((var == NULL) ? NULL : (var = (libsocialweb_test_backend_unref (var), NULL)))
typedef struct _Block1Data Block1Data;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define __vala_SwContact_free0(var) ((var == NULL) ? NULL : (var = (_vala_SwContact_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
typedef struct _Block2Data Block2Data;
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _Block3Data Block3Data;
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))

struct _DummyLswTests {
	FolksTestCase parent_instance;
	DummyLswTestsPrivate * priv;
};

struct _DummyLswTestsClass {
	FolksTestCaseClass parent_class;
};

struct _DummyLswTestsPrivate {
	LibsocialwebTestBackend* _lsw_backend;
};

struct _Block1Data {
	int _ref_count_;
	DummyLswTests * self;
	GMainLoop* main_loop;
	LibsocialwebTestLibsocialwebServiceTest* mysocialnetwork;
	gchar* view_path;
	FolksIndividual* i1;
	FolksIndividual* i2;
	SwContact* contact1;
};

struct _Block2Data {
	int _ref_count_;
	Block1Data * _data1_;
	char* view_path;
};

struct _Block3Data {
	int _ref_count_;
	DummyLswTests * self;
	gchar* path;
};


static gpointer dummy_lsw_tests_parent_class = NULL;

GType dummy_lsw_tests_get_type (void) G_GNUC_CONST;
#define DUMMY_LSW_TESTS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_DUMMY_LSW_TESTS, DummyLswTestsPrivate))
enum  {
	DUMMY_LSW_TESTS_DUMMY_PROPERTY
};
DummyLswTests* dummy_lsw_tests_new (void);
DummyLswTests* dummy_lsw_tests_construct (GType object_type);
void dummy_lsw_tests_test_dummy_libsocialweb (DummyLswTests* self);
static void _dummy_lsw_tests_test_dummy_libsocialweb_folks_test_case_test_method (gpointer self);
static void dummy_lsw_tests_real_set_up (FolksTestCase* base);
static void dummy_lsw_tests_real_tear_down (FolksTestCase* base);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void _vala_SwContact_free (SwContact* self);
static void block1_data_unref (Block1Data* _data1_);
static void __lambda0_ (Block1Data* _data1_);
static void ___lambda0__libsocialweb_test_backend_ready (LibsocialwebTestBackend* _sender, gpointer self);
static gboolean __lambda1_ (DummyLswTests* self);
static gboolean ___lambda1__gsource_func (gpointer self);
static void _g_free0_ (gpointer var);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (Block2Data* _data2_);
static void ___lambda2_ (Block2Data* _data2_, GObject* v);
static void _vala_LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement_array_free (LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement* array, gint array_length);
static void ____lambda2__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean __lambda3_ (DummyLswTests* self);
static gboolean ___lambda3__gsource_func (gpointer self);
static void __lambda4_ (Block1Data* _data1_, const gchar* query, GHashTable* p, const gchar* path);
static void __lambda5_ (DummyLswTests* self, const gchar* path);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (Block3Data* _data3_);
static gboolean __lambda6_ (Block3Data* _data3_);
static gboolean ___lambda6__gsource_func (gpointer self);
static void ___lambda5__libsocialweb_test_libsocialweb_contact_view_test_start_called (LibsocialwebTestLibsocialwebContactViewTest* _sender, const gchar* path, gpointer self);
static void ___lambda4__libsocialweb_test_libsocialweb_service_test_open_view_called (LibsocialwebTestLibsocialwebServiceTest* _sender, const gchar* query, GHashTable* p, const gchar* path, gpointer self);
static void __lambda7_ (Block1Data* _data1_, GeeMultiMap* changes);
static void ___lambda7__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda8_ (DummyLswTests* self);
static gboolean ___lambda8__gsource_func (gpointer self);
static SwContact* _vala_SwContact_copy (SwContact* self);
static gboolean __lambda9_ (Block1Data* _data1_);
static gboolean ___lambda9__gsource_func (gpointer self);
static void __lambda10_ (Block1Data* _data1_);
static void ___lambda10__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean __lambda11_ (DummyLswTests* self);
static gboolean ___lambda11__gsource_func (gpointer self);
static gboolean __lambda12_ (Block1Data* _data1_);
static gboolean ___lambda12__gsource_func (gpointer self);
static void __lambda13_ (Block1Data* _data1_, GeeMultiMap* changes);
static void ___lambda13__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self);
static gboolean __lambda14_ (DummyLswTests* self);
static gboolean ___lambda14__gsource_func (gpointer self);
static void dummy_lsw_tests_finalize (GObject* obj);
gint _vala_main (gchar** args, int args_length1);


static void _dummy_lsw_tests_test_dummy_libsocialweb_folks_test_case_test_method (gpointer self) {
#line 37 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	dummy_lsw_tests_test_dummy_libsocialweb (self);
#line 157 "dummy-lsw.c"
}


DummyLswTests* dummy_lsw_tests_construct (GType object_type) {
	DummyLswTests * self = NULL;
	LibsocialwebTestBackend* _tmp0_;
#line 33 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = (DummyLswTests*) folks_test_case_construct (object_type, "DummyLsw");
#line 35 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = libsocialweb_test_backend_new ();
#line 35 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_libsocialweb_test_backend_unref0 (self->priv->_lsw_backend);
#line 35 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self->priv->_lsw_backend = _tmp0_;
#line 37 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "dummy libsocialweb", _dummy_lsw_tests_test_dummy_libsocialweb_folks_test_case_test_method, self);
#line 31 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return self;
#line 176 "dummy-lsw.c"
}


DummyLswTests* dummy_lsw_tests_new (void) {
#line 31 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return dummy_lsw_tests_construct (TYPE_DUMMY_LSW_TESTS);
#line 183 "dummy-lsw.c"
}


static void dummy_lsw_tests_real_set_up (FolksTestCase* base) {
	DummyLswTests * self;
#line 40 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = (DummyLswTests*) base;
#line 191 "dummy-lsw.c"
}


static void dummy_lsw_tests_real_tear_down (FolksTestCase* base) {
	DummyLswTests * self;
#line 44 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = (DummyLswTests*) base;
#line 199 "dummy-lsw.c"
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return _data1_;
#line 208 "dummy-lsw.c"
}


static void _vala_SwContact_free (SwContact* self) {
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_boxed_free (sw_contact_get_type (), self);
#line 215 "dummy-lsw.c"
}


static void block1_data_unref (Block1Data* _data1_) {
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_data1_->self);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		__vala_SwContact_free0 (_data1_->contact1);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_data1_->i2);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_data1_->i1);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_free0 (_data1_->view_path);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_data1_->mysocialnetwork);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_main_loop_unref0 (_data1_->main_loop);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_slice_free (Block1Data, _data1_);
#line 238 "dummy-lsw.c"
	}
}


static void __lambda0_ (Block1Data* _data1_) {
	DummyLswTests * self;
	GMainLoop* _tmp0_;
#line 52 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 54 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = _data1_->main_loop;
#line 54 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_quit (_tmp0_);
#line 252 "dummy-lsw.c"
}


static void ___lambda0__libsocialweb_test_backend_ready (LibsocialwebTestBackend* _sender, gpointer self) {
#line 52 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	__lambda0_ (self);
#line 259 "dummy-lsw.c"
}


static gboolean __lambda1_ (DummyLswTests* self) {
	gboolean result = FALSE;
#line 58 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert_not_reached ();
#line 56 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 269 "dummy-lsw.c"
}


static gboolean ___lambda1__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda1_ (self);
#line 56 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 278 "dummy-lsw.c"
}


static void _g_free0_ (gpointer var) {
#line 65 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	var = (g_free (var), NULL);
#line 285 "dummy-lsw.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return _data2_;
#line 294 "dummy-lsw.c"
}


static void block2_data_unref (Block2Data* _data2_) {
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		block1_data_unref (_data2_->_data1_);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_data2_->_data1_ = NULL;
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_free0 (_data2_->view_path);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_slice_free (Block2Data, _data2_);
#line 309 "dummy-lsw.c"
	}
}


static gpointer _g_object_ref0 (gpointer self) {
#line 75 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return self ? g_object_ref (self) : NULL;
#line 317 "dummy-lsw.c"
}


static void _vala_LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement_array_free (LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement* array, gint array_length) {
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (array != NULL) {
#line 324 "dummy-lsw.c"
		int i;
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			libsocialweb_test_libsocialweb_contact_view_test_contacts_added_element_destroy (&array[i]);
#line 330 "dummy-lsw.c"
		}
	}
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_free (array);
#line 335 "dummy-lsw.c"
}


static void ___lambda2_ (Block2Data* _data2_, GObject* v) {
	Block1Data* _data1_;
	DummyLswTests * self;
	GObject* _tmp0_;
	LibsocialwebTestContactView* _tmp1_;
	LibsocialwebTestContactView* view;
	LibsocialwebTestLibsocialwebServiceTest* _tmp2_;
	GeeHashMap* _tmp3_;
	const char* _tmp4_;
	gpointer _tmp5_ = NULL;
	LibsocialwebTestLibsocialwebContactViewTest* _tmp6_;
	LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement* _tmp7_ = NULL;
	LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement* _tmp8_;
	gint _tmp8__length1;
	LibsocialwebTestLibsocialwebServiceTest* _tmp9_;
	GeeHashMap* _tmp10_;
	const char* _tmp11_;
	gpointer _tmp12_ = NULL;
	LibsocialwebTestLibsocialwebContactViewTest* _tmp13_;
	LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement* _tmp14_ = NULL;
	LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement* _tmp15_;
	gint _tmp15__length1;
	GMainLoop* _tmp16_;
#line 73 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_ = _data2_->_data1_;
#line 73 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 75 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = v;
#line 75 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = _g_object_ref0 (LIBSOCIALWEB_TEST_CONTACT_VIEW (_tmp0_));
#line 75 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	view = _tmp1_;
#line 77 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	libsocialweb_test_contact_view_Start (view, NULL, NULL);
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = _data1_->mysocialnetwork;
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = _tmp2_->contact_views;
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp4_ = _data2_->view_path;
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp5_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp3_, (const gchar*) _tmp4_);
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp6_ = (LibsocialwebTestLibsocialwebContactViewTest*) _tmp5_;
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp7_ = g_new0 (LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement, 0);
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp8_ = _tmp7_;
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp8__length1 = 0;
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_emit_by_name (_tmp6_, "contacts-added", _tmp8_, 0);
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp8_ = (_vala_LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement_array_free (_tmp8_, _tmp8__length1), NULL);
#line 78 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (_tmp6_);
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp9_ = _data1_->mysocialnetwork;
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp10_ = _tmp9_->contact_views;
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp11_ = _data2_->view_path;
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp12_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp10_, (const gchar*) _tmp11_);
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp13_ = (LibsocialwebTestLibsocialwebContactViewTest*) _tmp12_;
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp14_ = g_new0 (LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement, 0);
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp15_ = _tmp14_;
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp15__length1 = 0;
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_emit_by_name (_tmp13_, "contacts-added", _tmp15_, 0);
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp15_ = (_vala_LibsocialwebTestLibsocialwebContactViewTestContactsAddedElement_array_free (_tmp15_, _tmp15__length1), NULL);
#line 81 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (_tmp13_);
#line 84 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp16_ = _data1_->main_loop;
#line 84 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_quit (_tmp16_);
#line 73 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (view);
#line 424 "dummy-lsw.c"
}


static void ____lambda2__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 71 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	___lambda2_ (self, source_object);
#line 71 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	block2_data_unref (self);
#line 433 "dummy-lsw.c"
}


static gboolean __lambda3_ (DummyLswTests* self) {
	gboolean result = FALSE;
#line 95 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert_not_reached ();
#line 93 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 443 "dummy-lsw.c"
}


static gboolean ___lambda3__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda3_ (self);
#line 93 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 452 "dummy-lsw.c"
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return _data3_;
#line 461 "dummy-lsw.c"
}


static void block3_data_unref (Block3Data* _data3_) {
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_data3_->self);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_free0 (_data3_->path);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_slice_free (Block3Data, _data3_);
#line 474 "dummy-lsw.c"
	}
}


static gboolean __lambda6_ (Block3Data* _data3_) {
	DummyLswTests * self;
	gboolean result = FALSE;
	gchar* _tmp0_;
	gchar* text;
	const gchar* _tmp1_;
	GVariant* _tmp2_;
	GVariant* _tmp3_;
	GVariant* v;
	GError * _inner_error_ = NULL;
#line 110 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data3_->self;
#line 112 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = g_strdup ("([('mysocialnetwork', 'id01', %x, " "{'id': ['id01'], 'name': ['Gargantua'], " "'X-foo': ['secret']}), " "('mysocialnetwork', 'id02', %x, " "{'id': ['id02'], 'name': ['Pantagruel']})],)");
#line 112 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	text = _tmp0_;
#line 117 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = text;
#line 117 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = g_variant_new_parsed (_tmp1_, 1300792578, 1300792579, NULL);
#line 117 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = g_variant_ref_sink (_tmp2_);
#line 117 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	v = _tmp3_;
#line 503 "dummy-lsw.c"
	{
		GDBusConnection* _tmp4_ = NULL;
		GDBusConnection* conn;
		GDBusConnection* _tmp5_;
		const gchar* _tmp6_;
		GVariant* _tmp7_;
#line 120 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp4_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
#line 120 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		conn = _tmp4_;
#line 120 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 120 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 518 "dummy-lsw.c"
				goto __catch1_g_io_error;
			}
			goto __catch1_g_error;
		}
#line 121 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp5_ = conn;
#line 121 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp6_ = _data3_->path;
#line 121 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp7_ = v;
#line 121 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_dbus_connection_emit_signal (_tmp5_, NULL, _tmp6_, "com.meego.libsocialweb.ContactView", "ContactsAdded", _tmp7_, &_inner_error_);
#line 121 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 121 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (conn);
#line 121 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 537 "dummy-lsw.c"
				goto __catch1_g_io_error;
			}
			goto __catch1_g_error;
		}
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (conn);
#line 544 "dummy-lsw.c"
	}
	goto __finally1;
	__catch1_g_io_error:
	{
		GError* e = NULL;
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		e = _inner_error_;
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_inner_error_ = NULL;
#line 127 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_assert_not_reached ();
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_error_free0 (e);
#line 558 "dummy-lsw.c"
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* e = NULL;
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		e = _inner_error_;
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_inner_error_ = NULL;
#line 131 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_assert_not_reached ();
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_error_free0 (e);
#line 572 "dummy-lsw.c"
	}
	__finally1:
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (_inner_error_ != NULL) {
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_variant_unref0 (v);
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_free0 (text);
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_clear_error (&_inner_error_);
#line 118 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		return FALSE;
#line 587 "dummy-lsw.c"
	}
#line 133 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	result = FALSE;
#line 133 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_variant_unref0 (v);
#line 133 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_free0 (text);
#line 133 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 597 "dummy-lsw.c"
}


static gboolean ___lambda6__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda6_ (self);
#line 110 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 606 "dummy-lsw.c"
}


static void __lambda5_ (DummyLswTests* self, const gchar* path) {
	Block3Data* _data3_;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_return_if_fail (path != NULL);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data3_ = g_slice_new0 (Block3Data);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data3_->_ref_count_ = 1;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data3_->self = g_object_ref (self);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = path;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data3_->path = _tmp1_;
#line 109 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_debug ("dummy-lsw.vala:109: OpenViewCalled.connect");
#line 110 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda6__gsource_func, block3_data_ref (_data3_), block3_data_unref);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	block3_data_unref (_data3_);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data3_ = NULL;
#line 636 "dummy-lsw.c"
}


static void ___lambda5__libsocialweb_test_libsocialweb_contact_view_test_start_called (LibsocialwebTestLibsocialwebContactViewTest* _sender, const gchar* path, gpointer self) {
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	__lambda5_ (self, path);
#line 643 "dummy-lsw.c"
}


static void __lambda4_ (Block1Data* _data1_, const gchar* query, GHashTable* p, const gchar* path) {
	DummyLswTests * self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	LibsocialwebTestLibsocialwebServiceTest* _tmp2_;
	GeeHashMap* _tmp3_;
	const gchar* _tmp4_;
	gpointer _tmp5_ = NULL;
	LibsocialwebTestLibsocialwebContactViewTest* _tmp6_;
#line 103 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 103 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_return_if_fail (query != NULL);
#line 103 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_return_if_fail (p != NULL);
#line 103 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_return_if_fail (path != NULL);
#line 105 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_debug ("dummy-lsw.vala:105: mysocialnetwork.OpenViewCalled.connect");
#line 106 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = path;
#line 106 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 106 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_free0 (_data1_->view_path);
#line 106 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->view_path = _tmp1_;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = _data1_->mysocialnetwork;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = _tmp2_->contact_views;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp4_ = path;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp5_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp3_, _tmp4_);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp6_ = (LibsocialwebTestLibsocialwebContactViewTest*) _tmp5_;
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_connect_object (_tmp6_, "start-called", (GCallback) ___lambda5__libsocialweb_test_libsocialweb_contact_view_test_start_called, self, 0);
#line 107 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (_tmp6_);
#line 688 "dummy-lsw.c"
}


static void ___lambda4__libsocialweb_test_libsocialweb_service_test_open_view_called (LibsocialwebTestLibsocialwebServiceTest* _sender, const gchar* query, GHashTable* p, const gchar* path, gpointer self) {
#line 103 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	__lambda4_ (self, query, p, path);
#line 695 "dummy-lsw.c"
}


static void __lambda7_ (Block1Data* _data1_, GeeMultiMap* changes) {
	DummyLswTests * self;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	GeeCollection* _tmp4_;
	gint _tmp5_;
	gint _tmp6_;
	GeeSet* _tmp7_;
	gint _tmp8_;
	gint _tmp9_;
	GMainLoop* _tmp33_;
#line 142 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 142 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_return_if_fail (changes != NULL);
#line 144 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = changes;
#line 144 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 144 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	added = _tmp1_;
#line 145 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = changes;
#line 145 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 145 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	removed = _tmp3_;
#line 147 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_debug ("dummy-lsw.vala:147: Aggregator got some data!");
#line 148 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp4_ = added;
#line 148 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp5_ = gee_collection_get_size (_tmp4_);
#line 148 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp6_ = _tmp5_;
#line 148 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_tmp6_ == 2);
#line 149 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp7_ = removed;
#line 149 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp8_ = gee_collection_get_size ((GeeCollection*) _tmp7_);
#line 149 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp9_ = _tmp8_;
#line 149 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_tmp9_ == 1);
#line 748 "dummy-lsw.c"
	{
		GeeCollection* _tmp10_;
		GeeIterator* _tmp11_ = NULL;
		GeeIterator* _i_it;
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp10_ = added;
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp11_ = gee_iterable_iterator ((GeeIterable*) _tmp10_);
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_i_it = _tmp11_;
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		while (TRUE) {
#line 761 "dummy-lsw.c"
			GeeIterator* _tmp12_;
			gboolean _tmp13_ = FALSE;
			GeeIterator* _tmp14_;
			gpointer _tmp15_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp16_;
			const gchar* _tmp17_;
			const gchar* _tmp18_;
			gchar* _tmp19_;
			gchar* nickname;
			const gchar* _tmp20_;
			const gchar* _tmp23_;
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp12_ = _i_it;
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp13_ = gee_iterator_next (_tmp12_);
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (!_tmp13_) {
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				break;
#line 782 "dummy-lsw.c"
			}
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp14_ = _i_it;
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp15_ = gee_iterator_get (_tmp14_);
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			i = (FolksIndividual*) _tmp15_;
#line 152 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp16_ = i;
#line 152 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp17_ = folks_name_details_get_nickname (FOLKS_NAME_DETAILS (_tmp16_));
#line 152 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp18_ = _tmp17_;
#line 152 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp19_ = g_strdup (_tmp18_);
#line 152 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			nickname = _tmp19_;
#line 153 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp20_ = nickname;
#line 153 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (g_strcmp0 (_tmp20_, "Gargantua") == 0) {
#line 804 "dummy-lsw.c"
				FolksIndividual* _tmp21_;
				FolksIndividual* _tmp22_;
#line 154 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_tmp21_ = i;
#line 154 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_tmp22_ = _g_object_ref0 (_tmp21_);
#line 154 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_g_object_unref0 (_data1_->i1);
#line 154 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_data1_->i1 = _tmp22_;
#line 815 "dummy-lsw.c"
			}
#line 155 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp23_ = nickname;
#line 155 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (g_strcmp0 (_tmp23_, "Pantagruel") == 0) {
#line 821 "dummy-lsw.c"
				FolksIndividual* _tmp24_;
				FolksIndividual* _tmp25_;
#line 156 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_tmp24_ = i;
#line 156 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_tmp25_ = _g_object_ref0 (_tmp24_);
#line 156 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_g_object_unref0 (_data1_->i2);
#line 156 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				_data1_->i2 = _tmp25_;
#line 832 "dummy-lsw.c"
			}
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_free0 (nickname);
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (i);
#line 838 "dummy-lsw.c"
		}
#line 150 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_i_it);
#line 842 "dummy-lsw.c"
	}
	{
		GeeSet* _tmp26_;
		GeeIterator* _tmp27_ = NULL;
		GeeIterator* _i_it;
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp26_ = removed;
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp27_ = gee_iterable_iterator ((GeeIterable*) _tmp26_);
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_i_it = _tmp27_;
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		while (TRUE) {
#line 856 "dummy-lsw.c"
			GeeIterator* _tmp28_;
			gboolean _tmp29_ = FALSE;
			GeeIterator* _tmp30_;
			gpointer _tmp31_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp32_;
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp28_ = _i_it;
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp29_ = gee_iterator_next (_tmp28_);
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (!_tmp29_) {
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				break;
#line 871 "dummy-lsw.c"
			}
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp30_ = _i_it;
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp31_ = gee_iterator_get (_tmp30_);
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			i = (FolksIndividual*) _tmp31_;
#line 161 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp32_ = i;
#line 161 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_assert (_tmp32_ == NULL);
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (i);
#line 885 "dummy-lsw.c"
		}
#line 159 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_i_it);
#line 889 "dummy-lsw.c"
	}
#line 164 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp33_ = _data1_->main_loop;
#line 164 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_quit (_tmp33_);
#line 142 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (removed);
#line 142 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (added);
#line 899 "dummy-lsw.c"
}


static void ___lambda7__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 141 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	__lambda7_ (self, changes);
#line 906 "dummy-lsw.c"
}


static gboolean __lambda8_ (DummyLswTests* self) {
	gboolean result = FALSE;
#line 170 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert_not_reached ();
#line 168 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 916 "dummy-lsw.c"
}


static gboolean ___lambda8__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda8_ (self);
#line 168 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 925 "dummy-lsw.c"
}


static SwContact* _vala_SwContact_copy (SwContact* self) {
#line 191 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return g_boxed_copy (sw_contact_get_type (), self);
#line 932 "dummy-lsw.c"
}


static gpointer __vala_SwContact_copy0 (gpointer self) {
#line 191 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return self ? _vala_SwContact_copy (self) : NULL;
#line 939 "dummy-lsw.c"
}


static gboolean __lambda9_ (Block1Data* _data1_) {
	DummyLswTests * self;
	gboolean result = FALSE;
	gchar* _tmp0_;
	gchar* text;
	const gchar* _tmp1_;
	GVariant* _tmp2_;
	GVariant* _tmp3_;
	GVariant* v;
	GError * _inner_error_ = NULL;
#line 203 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 205 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = g_strdup ("([('mysocialnetwork', 'id01', %x, " "{'id': ['id01'], 'name': ['Rabelais'], " "'X-foo': ['secret'], 'X-bar': ['bar']})],)");
#line 205 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	text = _tmp0_;
#line 208 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = text;
#line 208 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = g_variant_new_parsed (_tmp1_, 1300792581, NULL);
#line 208 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = g_variant_ref_sink (_tmp2_);
#line 208 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	v = _tmp3_;
#line 967 "dummy-lsw.c"
	{
		GDBusConnection* _tmp4_ = NULL;
		GDBusConnection* conn;
		GDBusConnection* _tmp5_;
		GVariant* _tmp6_;
#line 211 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp4_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
#line 211 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		conn = _tmp4_;
#line 211 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 211 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 981 "dummy-lsw.c"
				goto __catch2_g_io_error;
			}
			goto __catch2_g_error;
		}
#line 212 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp5_ = conn;
#line 212 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp6_ = v;
#line 212 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_dbus_connection_emit_signal (_tmp5_, NULL, _data1_->view_path, "com.meego.libsocialweb.ContactView", "ContactsChanged", _tmp6_, &_inner_error_);
#line 212 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 212 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (conn);
#line 212 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 998 "dummy-lsw.c"
				goto __catch2_g_io_error;
			}
			goto __catch2_g_error;
		}
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (conn);
#line 1005 "dummy-lsw.c"
	}
	goto __finally2;
	__catch2_g_io_error:
	{
		GError* e = NULL;
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		e = _inner_error_;
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_inner_error_ = NULL;
#line 218 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_assert_not_reached ();
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_error_free0 (e);
#line 1019 "dummy-lsw.c"
	}
	goto __finally2;
	__catch2_g_error:
	{
		GError* e = NULL;
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		e = _inner_error_;
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_inner_error_ = NULL;
#line 222 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_assert_not_reached ();
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_error_free0 (e);
#line 1033 "dummy-lsw.c"
	}
	__finally2:
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (_inner_error_ != NULL) {
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_variant_unref0 (v);
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_free0 (text);
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_clear_error (&_inner_error_);
#line 209 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		return FALSE;
#line 1048 "dummy-lsw.c"
	}
#line 224 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	result = FALSE;
#line 224 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_variant_unref0 (v);
#line 224 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_free0 (text);
#line 224 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1058 "dummy-lsw.c"
}


static gboolean ___lambda9__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda9_ (self);
#line 203 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1067 "dummy-lsw.c"
}


static void __lambda10_ (Block1Data* _data1_) {
	DummyLswTests * self;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* nickname;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	GMainLoop* _tmp6_;
#line 227 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 229 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_debug ("dummy-lsw.vala:229: Aggregator changed some data!");
#line 230 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = folks_name_details_get_nickname (FOLKS_NAME_DETAILS (_data1_->i1));
#line 230 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = _tmp0_;
#line 230 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 230 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	nickname = _tmp2_;
#line 231 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (g_strcmp0 (nickname, "Rabelais") == 0);
#line 232 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = sw_contact_get_value (_data1_->contact1, "id");
#line 232 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (g_strcmp0 (_tmp3_, "id01") == 0);
#line 233 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp4_ = sw_contact_get_value (_data1_->contact1, "X-foo");
#line 233 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (g_strcmp0 (_tmp4_, "secret") == 0);
#line 234 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp5_ = sw_contact_get_value (_data1_->contact1, "X-bar");
#line 234 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (g_strcmp0 (_tmp5_, "bar") == 0);
#line 235 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp6_ = _data1_->main_loop;
#line 235 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_quit (_tmp6_);
#line 227 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_free0 (nickname);
#line 1113 "dummy-lsw.c"
}


static void ___lambda10__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 226 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	__lambda10_ (self);
#line 1120 "dummy-lsw.c"
}


static gboolean __lambda11_ (DummyLswTests* self) {
	gboolean result = FALSE;
#line 240 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert_not_reached ();
#line 238 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1130 "dummy-lsw.c"
}


static gboolean ___lambda11__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda11_ (self);
#line 238 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1139 "dummy-lsw.c"
}


static gboolean __lambda12_ (Block1Data* _data1_) {
	DummyLswTests * self;
	gboolean result = FALSE;
	gchar* _tmp0_;
	gchar* text;
	const gchar* _tmp1_;
	GVariant* _tmp2_;
	GVariant* _tmp3_;
	GVariant* v;
	GError * _inner_error_ = NULL;
#line 247 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 249 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = g_strdup ("([('mysocialnetwork', 'id01'), " "('mysocialnetwork', 'id02')],)");
#line 249 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	text = _tmp0_;
#line 251 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = text;
#line 251 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = g_variant_new_parsed (_tmp1_, NULL);
#line 251 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = g_variant_ref_sink (_tmp2_);
#line 251 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	v = _tmp3_;
#line 1167 "dummy-lsw.c"
	{
		GDBusConnection* _tmp4_ = NULL;
		GDBusConnection* conn;
		GDBusConnection* _tmp5_;
		GVariant* _tmp6_;
#line 254 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp4_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
#line 254 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		conn = _tmp4_;
#line 254 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 254 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 1181 "dummy-lsw.c"
				goto __catch3_g_io_error;
			}
			goto __catch3_g_error;
		}
#line 255 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp5_ = conn;
#line 255 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp6_ = v;
#line 255 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_dbus_connection_emit_signal (_tmp5_, NULL, _data1_->view_path, "com.meego.libsocialweb.ContactView", "ContactsRemoved", _tmp6_, &_inner_error_);
#line 255 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 255 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (conn);
#line 255 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 1198 "dummy-lsw.c"
				goto __catch3_g_io_error;
			}
			goto __catch3_g_error;
		}
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (conn);
#line 1205 "dummy-lsw.c"
	}
	goto __finally3;
	__catch3_g_io_error:
	{
		GError* e = NULL;
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		e = _inner_error_;
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_inner_error_ = NULL;
#line 261 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_assert_not_reached ();
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_error_free0 (e);
#line 1219 "dummy-lsw.c"
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e = NULL;
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		e = _inner_error_;
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_inner_error_ = NULL;
#line 265 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_assert_not_reached ();
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_error_free0 (e);
#line 1233 "dummy-lsw.c"
	}
	__finally3:
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (_inner_error_ != NULL) {
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_variant_unref0 (v);
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_free0 (text);
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_clear_error (&_inner_error_);
#line 252 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		return FALSE;
#line 1248 "dummy-lsw.c"
	}
#line 267 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	result = FALSE;
#line 267 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_variant_unref0 (v);
#line 267 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_free0 (text);
#line 267 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1258 "dummy-lsw.c"
}


static gboolean ___lambda12__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda12_ (self);
#line 247 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1267 "dummy-lsw.c"
}


static void __lambda13_ (Block1Data* _data1_, GeeMultiMap* changes) {
	DummyLswTests * self;
	GeeMultiMap* _tmp0_;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* added;
	GeeMultiMap* _tmp2_;
	GeeSet* _tmp3_ = NULL;
	GeeSet* removed;
	GeeCollection* _tmp4_;
	gint _tmp5_;
	gint _tmp6_;
	GeeSet* _tmp7_;
	gint _tmp8_;
	gint _tmp9_;
	GMainLoop* _tmp29_;
#line 270 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = _data1_->self;
#line 270 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_return_if_fail (changes != NULL);
#line 272 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = changes;
#line 272 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = gee_multi_map_get_values (_tmp0_);
#line 272 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	added = _tmp1_;
#line 273 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = changes;
#line 273 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = gee_multi_map_get_keys (_tmp2_);
#line 273 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	removed = _tmp3_;
#line 275 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_debug ("dummy-lsw.vala:275: Aggregator deleted some data!");
#line 276 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp4_ = added;
#line 276 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp5_ = gee_collection_get_size (_tmp4_);
#line 276 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp6_ = _tmp5_;
#line 276 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_tmp6_ == 2);
#line 277 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp7_ = removed;
#line 277 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp8_ = gee_collection_get_size ((GeeCollection*) _tmp7_);
#line 277 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp9_ = _tmp8_;
#line 277 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_tmp9_ == 2);
#line 1320 "dummy-lsw.c"
	{
		GeeSet* _tmp10_;
		GeeIterator* _tmp11_ = NULL;
		GeeIterator* _i_it;
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp10_ = removed;
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp11_ = gee_iterable_iterator ((GeeIterable*) _tmp10_);
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_i_it = _tmp11_;
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		while (TRUE) {
#line 1333 "dummy-lsw.c"
			GeeIterator* _tmp12_;
			gboolean _tmp13_ = FALSE;
			GeeIterator* _tmp14_;
			gpointer _tmp15_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp16_;
			FolksIndividual* _tmp17_;
			const gchar* _tmp18_;
			const gchar* _tmp19_;
			gchar* _tmp20_;
			gchar* nickname;
			const gchar* _tmp21_;
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp12_ = _i_it;
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp13_ = gee_iterator_next (_tmp12_);
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (!_tmp13_) {
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				break;
#line 1354 "dummy-lsw.c"
			}
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp14_ = _i_it;
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp15_ = gee_iterator_get (_tmp14_);
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			i = (FolksIndividual*) _tmp15_;
#line 281 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp16_ = i;
#line 281 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_assert (_tmp16_ != NULL);
#line 283 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp17_ = i;
#line 283 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp18_ = folks_name_details_get_nickname (FOLKS_NAME_DETAILS (_tmp17_));
#line 283 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp19_ = _tmp18_;
#line 283 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp20_ = g_strdup (_tmp19_);
#line 283 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			nickname = _tmp20_;
#line 284 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp21_ = nickname;
#line 284 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_debug ("dummy-lsw.vala:284: deleted nickname: %s", _tmp21_);
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_free0 (nickname);
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (i);
#line 1384 "dummy-lsw.c"
		}
#line 279 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_i_it);
#line 1388 "dummy-lsw.c"
	}
	{
		GeeCollection* _tmp22_;
		GeeIterator* _tmp23_ = NULL;
		GeeIterator* _i_it;
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp22_ = added;
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp23_ = gee_iterable_iterator ((GeeIterable*) _tmp22_);
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_i_it = _tmp23_;
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		while (TRUE) {
#line 1402 "dummy-lsw.c"
			GeeIterator* _tmp24_;
			gboolean _tmp25_ = FALSE;
			GeeIterator* _tmp26_;
			gpointer _tmp27_ = NULL;
			FolksIndividual* i;
			FolksIndividual* _tmp28_;
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp24_ = _i_it;
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp25_ = gee_iterator_next (_tmp24_);
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (!_tmp25_) {
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				break;
#line 1417 "dummy-lsw.c"
			}
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp26_ = _i_it;
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp27_ = gee_iterator_get (_tmp26_);
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			i = (FolksIndividual*) _tmp27_;
#line 289 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp28_ = i;
#line 289 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_assert (_tmp28_ == NULL);
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (i);
#line 1431 "dummy-lsw.c"
		}
#line 287 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_i_it);
#line 1435 "dummy-lsw.c"
	}
#line 292 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp29_ = _data1_->main_loop;
#line 292 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_quit (_tmp29_);
#line 270 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (removed);
#line 270 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (added);
#line 1445 "dummy-lsw.c"
}


static void ___lambda13__folks_individual_aggregator_individuals_changed_detailed (FolksIndividualAggregator* _sender, GeeMultiMap* changes, gpointer self) {
#line 270 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	__lambda13_ (self, changes);
#line 1452 "dummy-lsw.c"
}


static gboolean __lambda14_ (DummyLswTests* self) {
	gboolean result = FALSE;
#line 297 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert_not_reached ();
#line 295 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1462 "dummy-lsw.c"
}


static gboolean ___lambda14__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda14_ (self);
#line 295 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 1471 "dummy-lsw.c"
}


void dummy_lsw_tests_test_dummy_libsocialweb (DummyLswTests* self) {
	Block1Data* _data1_;
	GMainLoop* _tmp0_;
	LibsocialwebTestBackend* _tmp1_;
	guint _tmp2_ = 0U;
	guint timer_id;
	LibsocialwebTestBackend* _tmp3_;
	GMainLoop* _tmp4_;
	guint _tmp5_;
	LibsocialwebTestBackend* _tmp6_;
	LibsocialwebTestLibsocialwebServiceTest* _tmp7_ = NULL;
	GHashTable* _tmp8_;
	GHashTable* p;
	guint _tmp15_ = 0U;
	GMainLoop* _tmp16_;
	guint _tmp17_;
	gchar* _tmp18_;
	LibsocialwebTestLibsocialwebServiceTest* _tmp19_;
	FolksIndividualAggregator* _tmp20_;
	FolksIndividualAggregator* aggregator;
	gulong _tmp21_ = 0UL;
	gulong handler_id;
	guint _tmp22_ = 0U;
	GMainLoop* _tmp23_;
	guint _tmp24_;
	gulong _tmp25_;
	FolksPersona* persona1;
	FolksPersona* persona2;
	FolksPersona* _tmp40_;
	FolksPersona* _tmp41_;
	FolksPersona* _tmp42_;
	SwContact* _tmp43_;
	SwContact* _tmp44_;
	SwContact* _tmp45_;
	FolksPersona* _tmp46_;
	SwContact* _tmp47_;
	SwContact* _tmp48_;
	SwContact* _tmp49_;
	SwContact* contact2;
	const gchar* _tmp50_ = NULL;
	const gchar* _tmp51_ = NULL;
	const gchar* _tmp52_ = NULL;
	const gchar* _tmp53_ = NULL;
	const gchar* _tmp54_ = NULL;
	gulong _tmp55_ = 0UL;
	guint _tmp56_ = 0U;
	GMainLoop* _tmp57_;
	guint _tmp58_;
	gulong _tmp59_;
	gulong _tmp60_ = 0UL;
	guint _tmp61_ = 0U;
	GMainLoop* _tmp62_;
	guint _tmp63_;
	gulong _tmp64_;
	LibsocialwebTestBackend* _tmp65_;
	GError * _inner_error_ = NULL;
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_return_if_fail (self != NULL);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_ = g_slice_new0 (Block1Data);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->_ref_count_ = 1;
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->self = g_object_ref (self);
#line 50 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = g_main_loop_new (NULL, FALSE);
#line 50 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->main_loop = _tmp0_;
#line 52 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = self->priv->_lsw_backend;
#line 52 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_connect_data (_tmp1_, "ready", (GCallback) ___lambda0__libsocialweb_test_backend_ready, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 56 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda1__gsource_func, g_object_ref (self), g_object_unref);
#line 56 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	timer_id = _tmp2_;
#line 60 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = self->priv->_lsw_backend;
#line 60 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	libsocialweb_test_backend_set_up (_tmp3_);
#line 61 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp4_ = _data1_->main_loop;
#line 61 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_run (_tmp4_);
#line 62 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp5_ = timer_id;
#line 62 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_source_remove (_tmp5_);
#line 64 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp6_ = self->priv->_lsw_backend;
#line 64 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp7_ = libsocialweb_test_backend_add_service (_tmp6_, "mysocialnetwork");
#line 64 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->mysocialnetwork = _tmp7_;
#line 65 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp8_ = g_hash_table_new_full (NULL, NULL, _g_free0_, _g_free0_);
#line 65 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	p = _tmp8_;
#line 1573 "dummy-lsw.c"
	{
		Block2Data* _data2_;
		LibsocialwebTestLibsocialwebServiceTest* _tmp9_;
		GHashTable* _tmp10_;
		char* _tmp11_ = NULL;
		GDBusConnection* _tmp12_ = NULL;
		GDBusConnection* conn;
		GDBusConnection* _tmp13_;
		const char* _tmp14_;
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_data2_ = g_slice_new0 (Block2Data);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_data2_->_ref_count_ = 1;
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_data2_->_data1_ = block1_data_ref (_data1_);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp9_ = _data1_->mysocialnetwork;
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp10_ = p;
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp11_ = libsocialweb_test_libsocialweb_service_query_test_OpenView ((LibsocialwebTestLibsocialwebServiceQueryTest*) _tmp9_, "feed", _tmp10_, &_inner_error_);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_data2_->view_path = _tmp11_;
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			block2_data_unref (_data2_);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_data2_ = NULL;
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 1605 "dummy-lsw.c"
				goto __catch0_g_io_error;
			}
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			block2_data_unref (_data2_);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_data2_ = NULL;
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_hash_table_unref0 (p);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			block1_data_unref (_data1_);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_data1_ = NULL;
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_clear_error (&_inner_error_);
#line 69 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			return;
#line 1624 "dummy-lsw.c"
		}
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp12_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		conn = _tmp12_;
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		if (_inner_error_ != NULL) {
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			block2_data_unref (_data2_);
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_data2_ = NULL;
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 1638 "dummy-lsw.c"
				goto __catch0_g_io_error;
			}
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			block2_data_unref (_data2_);
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_data2_ = NULL;
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_hash_table_unref0 (p);
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			block1_data_unref (_data1_);
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_data1_ = NULL;
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			g_clear_error (&_inner_error_);
#line 70 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			return;
#line 1657 "dummy-lsw.c"
		}
#line 71 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp13_ = conn;
#line 71 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp14_ = _data2_->view_path;
#line 71 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_async_initable_new_async (LIBSOCIALWEB_TEST_TYPE_CONTACT_VIEW_PROXY, 0, NULL, ____lambda2__gasync_ready_callback, block2_data_ref (_data2_), "g-flags", 0, "g-name", "com.meego.libsocialweb", "g-connection", _tmp13_, "g-object-path", (const gchar*) _tmp14_, "g-interface-name", "com.meego.libsocialweb.ContactView", NULL);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (conn);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		block2_data_unref (_data2_);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_data2_ = NULL;
#line 1671 "dummy-lsw.c"
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* e = NULL;
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		e = _inner_error_;
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_inner_error_ = NULL;
#line 89 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_assert_not_reached ();
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_error_free0 (e);
#line 1685 "dummy-lsw.c"
	}
	__finally0:
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	if (_inner_error_ != NULL) {
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_hash_table_unref0 (p);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		block1_data_unref (_data1_);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_data1_ = NULL;
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		g_clear_error (&_inner_error_);
#line 67 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		return;
#line 1702 "dummy-lsw.c"
	}
#line 93 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp15_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda3__gsource_func, g_object_ref (self), g_object_unref);
#line 93 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	timer_id = _tmp15_;
#line 97 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp16_ = _data1_->main_loop;
#line 97 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_run (_tmp16_);
#line 98 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp17_ = timer_id;
#line 98 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_source_remove (_tmp17_);
#line 102 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp18_ = g_strdup ("");
#line 102 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->view_path = _tmp18_;
#line 103 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp19_ = _data1_->mysocialnetwork;
#line 103 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_connect_data (_tmp19_, "open-view-called", (GCallback) ___lambda4__libsocialweb_test_libsocialweb_service_test_open_view_called, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 138 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp20_ = folks_individual_aggregator_new ();
#line 138 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	aggregator = _tmp20_;
#line 139 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->i1 = NULL;
#line 140 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->i2 = NULL;
#line 141 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp21_ = g_signal_connect_data (aggregator, "individuals-changed-detailed", (GCallback) ___lambda7__folks_individual_aggregator_individuals_changed_detailed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 141 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	handler_id = _tmp21_;
#line 166 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	folks_individual_aggregator_prepare (aggregator, NULL, NULL);
#line 168 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp22_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda8__gsource_func, g_object_ref (self), g_object_unref);
#line 168 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	timer_id = _tmp22_;
#line 172 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp23_ = _data1_->main_loop;
#line 172 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_run (_tmp23_);
#line 173 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp24_ = timer_id;
#line 173 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_source_remove (_tmp24_);
#line 174 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp25_ = handler_id;
#line 174 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_handler_disconnect ((GObject*) aggregator, _tmp25_);
#line 175 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_data1_->i1 != NULL);
#line 176 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_data1_->i2 != NULL);
#line 177 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	persona1 = NULL;
#line 178 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	persona2 = NULL;
#line 1762 "dummy-lsw.c"
	{
		GeeSet* _tmp26_;
		GeeSet* _tmp27_;
		GeeIterator* _tmp28_ = NULL;
		GeeIterator* _p1_it;
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp26_ = folks_individual_get_personas (_data1_->i1);
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp27_ = _tmp26_;
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp28_ = gee_iterable_iterator ((GeeIterable*) _tmp27_);
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_p1_it = _tmp28_;
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		while (TRUE) {
#line 1778 "dummy-lsw.c"
			gboolean _tmp29_ = FALSE;
			gpointer _tmp30_ = NULL;
			FolksPersona* p1;
			FolksPersona* _tmp31_;
			FolksPersona* _tmp32_;
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp29_ = gee_iterator_next (_p1_it);
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (!_tmp29_) {
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				break;
#line 1790 "dummy-lsw.c"
			}
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp30_ = gee_iterator_get (_p1_it);
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			p1 = (FolksPersona*) _tmp30_;
#line 181 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp31_ = p1;
#line 181 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp32_ = _g_object_ref0 (_tmp31_);
#line 181 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (persona1);
#line 181 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			persona1 = _tmp32_;
#line 182 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (p1);
#line 182 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			break;
#line 1808 "dummy-lsw.c"
		}
#line 179 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_p1_it);
#line 1812 "dummy-lsw.c"
	}
	{
		GeeSet* _tmp33_;
		GeeSet* _tmp34_;
		GeeIterator* _tmp35_ = NULL;
		GeeIterator* _p2_it;
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp33_ = folks_individual_get_personas (_data1_->i2);
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp34_ = _tmp33_;
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_tmp35_ = gee_iterable_iterator ((GeeIterable*) _tmp34_);
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_p2_it = _tmp35_;
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		while (TRUE) {
#line 1829 "dummy-lsw.c"
			gboolean _tmp36_ = FALSE;
			gpointer _tmp37_ = NULL;
			FolksPersona* p2;
			FolksPersona* _tmp38_;
			FolksPersona* _tmp39_;
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp36_ = gee_iterator_next (_p2_it);
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			if (!_tmp36_) {
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
				break;
#line 1841 "dummy-lsw.c"
			}
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp37_ = gee_iterator_get (_p2_it);
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			p2 = (FolksPersona*) _tmp37_;
#line 186 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp38_ = p2;
#line 186 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_tmp39_ = _g_object_ref0 (_tmp38_);
#line 186 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (persona2);
#line 186 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			persona2 = _tmp39_;
#line 187 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			_g_object_unref0 (p2);
#line 187 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
			break;
#line 1859 "dummy-lsw.c"
		}
#line 184 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
		_g_object_unref0 (_p2_it);
#line 1863 "dummy-lsw.c"
	}
#line 189 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp40_ = persona1;
#line 189 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (SWF_IS_PERSONA (_tmp40_));
#line 190 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp41_ = persona2;
#line 190 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (SWF_IS_PERSONA (_tmp41_));
#line 191 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp42_ = persona1;
#line 191 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp43_ = swf_persona_get_lsw_contact (SWF_PERSONA (_tmp42_));
#line 191 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp44_ = _tmp43_;
#line 191 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp45_ = __vala_SwContact_copy0 (_tmp44_);
#line 191 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_->contact1 = _tmp45_;
#line 192 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp46_ = persona2;
#line 192 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp47_ = swf_persona_get_lsw_contact (SWF_PERSONA (_tmp46_));
#line 192 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp48_ = _tmp47_;
#line 192 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp49_ = __vala_SwContact_copy0 (_tmp48_);
#line 192 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	contact2 = _tmp49_;
#line 193 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_data1_->contact1 != NULL);
#line 194 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (contact2 != NULL);
#line 195 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp50_ = sw_contact_get_value (_data1_->contact1, "id");
#line 195 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (g_strcmp0 (_tmp50_, "id01") == 0);
#line 196 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp51_ = sw_contact_get_value (_data1_->contact1, "X-foo");
#line 196 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (g_strcmp0 (_tmp51_, "secret") == 0);
#line 197 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp52_ = sw_contact_get_value (_data1_->contact1, "X-bar");
#line 197 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_tmp52_ == NULL);
#line 198 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp53_ = sw_contact_get_value (contact2, "id");
#line 198 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (g_strcmp0 (_tmp53_, "id02") == 0);
#line 199 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp54_ = sw_contact_get_value (contact2, "X-foo");
#line 199 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_assert (_tmp54_ == NULL);
#line 203 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda9__gsource_func, block1_data_ref (_data1_), block1_data_unref);
#line 226 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp55_ = g_signal_connect_data ((GObject*) _data1_->i1, "notify::nickname", (GCallback) ___lambda10__g_object_notify, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 226 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	handler_id = _tmp55_;
#line 238 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp56_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda11__gsource_func, g_object_ref (self), g_object_unref);
#line 238 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	timer_id = _tmp56_;
#line 242 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp57_ = _data1_->main_loop;
#line 242 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_run (_tmp57_);
#line 243 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp58_ = timer_id;
#line 243 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_source_remove (_tmp58_);
#line 244 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp59_ = handler_id;
#line 244 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_handler_disconnect ((GObject*) _data1_->i1, _tmp59_);
#line 247 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda12__gsource_func, block1_data_ref (_data1_), block1_data_unref);
#line 270 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp60_ = g_signal_connect_data (aggregator, "individuals-changed-detailed", (GCallback) ___lambda13__folks_individual_aggregator_individuals_changed_detailed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 270 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	handler_id = _tmp60_;
#line 295 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp61_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 5, ___lambda14__gsource_func, g_object_ref (self), g_object_unref);
#line 295 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	timer_id = _tmp61_;
#line 299 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp62_ = _data1_->main_loop;
#line 299 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_main_loop_run (_tmp62_);
#line 300 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp63_ = timer_id;
#line 300 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_source_remove (_tmp63_);
#line 301 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp64_ = handler_id;
#line 301 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_signal_handler_disconnect ((GObject*) aggregator, _tmp64_);
#line 303 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp65_ = self->priv->_lsw_backend;
#line 303 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	libsocialweb_test_backend_tear_down (_tmp65_);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	__vala_SwContact_free0 (contact2);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (persona2);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (persona1);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (aggregator);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_hash_table_unref0 (p);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	block1_data_unref (_data1_);
#line 48 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_data1_ = NULL;
#line 1979 "dummy-lsw.c"
}


static void dummy_lsw_tests_class_init (DummyLswTestsClass * klass) {
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	dummy_lsw_tests_parent_class = g_type_class_peek_parent (klass);
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_type_class_add_private (klass, sizeof (DummyLswTestsPrivate));
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = dummy_lsw_tests_real_set_up;
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = dummy_lsw_tests_real_tear_down;
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	G_OBJECT_CLASS (klass)->finalize = dummy_lsw_tests_finalize;
#line 1994 "dummy-lsw.c"
}


static void dummy_lsw_tests_instance_init (DummyLswTests * self) {
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self->priv = DUMMY_LSW_TESTS_GET_PRIVATE (self);
#line 2001 "dummy-lsw.c"
}


static void dummy_lsw_tests_finalize (GObject* obj) {
	DummyLswTests * self;
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	self = DUMMY_LSW_TESTS (obj);
#line 29 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_libsocialweb_test_backend_unref0 (self->priv->_lsw_backend);
#line 27 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	G_OBJECT_CLASS (dummy_lsw_tests_parent_class)->finalize (obj);
#line 2013 "dummy-lsw.c"
}


GType dummy_lsw_tests_get_type (void) {
	static volatile gsize dummy_lsw_tests_type_id__volatile = 0;
	if (g_once_init_enter (&dummy_lsw_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (DummyLswTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) dummy_lsw_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DummyLswTests), 0, (GInstanceInitFunc) dummy_lsw_tests_instance_init, NULL };
		GType dummy_lsw_tests_type_id;
		dummy_lsw_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "DummyLswTests", &g_define_type_info, 0);
		g_once_init_leave (&dummy_lsw_tests_type_id__volatile, dummy_lsw_tests_type_id);
	}
	return dummy_lsw_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	DummyLswTests* _tmp1_;
	DummyLswTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 309 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_test_init (&args_length1, &args, NULL);
#line 311 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp0_ = g_test_get_root ();
#line 311 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	root = _tmp0_;
#line 312 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp1_ = dummy_lsw_tests_new ();
#line 312 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp2_ = _tmp1_;
#line 312 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 312 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 312 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	_g_object_unref0 (_tmp2_);
#line 314 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_test_run ();
#line 316 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	result = 0;
#line 316 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return result;
#line 2058 "dummy-lsw.c"
}


int main (int argc, char ** argv) {
#line 307 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	g_type_init ();
#line 307 "/home/treitter/collabora/folks/tests/libsocialweb/dummy-lsw.vala"
	return _vala_main (argv, argc);
#line 2067 "dummy-lsw.c"
}



