/* abstract-field-details.c generated by valac 0.16.0, the Vala compiler
 * generated from abstract-field-details.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: Travis Reitter <travis.reitter@collabora.co.uk>
 */

#include <glib.h>
#include <glib-object.h>
#include <folks-test.h>
#include <stdlib.h>
#include <string.h>
#include <folks/folks.h>
#include <gee.h>


#define TYPE_EMAIL_FIELD_DETAILS_TESTS (email_field_details_tests_get_type ())
#define EMAIL_FIELD_DETAILS_TESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EMAIL_FIELD_DETAILS_TESTS, EmailFieldDetailsTests))
#define EMAIL_FIELD_DETAILS_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EMAIL_FIELD_DETAILS_TESTS, EmailFieldDetailsTestsClass))
#define IS_EMAIL_FIELD_DETAILS_TESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EMAIL_FIELD_DETAILS_TESTS))
#define IS_EMAIL_FIELD_DETAILS_TESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EMAIL_FIELD_DETAILS_TESTS))
#define EMAIL_FIELD_DETAILS_TESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EMAIL_FIELD_DETAILS_TESTS, EmailFieldDetailsTestsClass))

typedef struct _EmailFieldDetailsTests EmailFieldDetailsTests;
typedef struct _EmailFieldDetailsTestsClass EmailFieldDetailsTestsClass;
typedef struct _EmailFieldDetailsTestsPrivate EmailFieldDetailsTestsPrivate;
#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_list_free__g_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_free0_ (var), NULL)))

struct _EmailFieldDetailsTests {
	FolksTestCase parent_instance;
	EmailFieldDetailsTestsPrivate * priv;
};

struct _EmailFieldDetailsTestsClass {
	FolksTestCaseClass parent_class;
};


static gpointer email_field_details_tests_parent_class = NULL;

GType email_field_details_tests_get_type (void) G_GNUC_CONST;
enum  {
	EMAIL_FIELD_DETAILS_TESTS_DUMMY_PROPERTY
};
EmailFieldDetailsTests* email_field_details_tests_new (void);
EmailFieldDetailsTests* email_field_details_tests_construct (GType object_type);
void email_field_details_tests_test_param_replacement (EmailFieldDetailsTests* self);
static void _email_field_details_tests_test_param_replacement_folks_test_case_test_method (gpointer self);
void email_field_details_tests_test_simple_equality (EmailFieldDetailsTests* self);
static void _email_field_details_tests_test_simple_equality_folks_test_case_test_method (gpointer self);
void email_field_details_tests_test_params_equality (EmailFieldDetailsTests* self);
static void _email_field_details_tests_test_params_equality_folks_test_case_test_method (gpointer self);
void email_field_details_tests_test_im_field_details_equality (EmailFieldDetailsTests* self);
static void _email_field_details_tests_test_im_field_details_equality_folks_test_case_test_method (gpointer self);
void email_field_details_tests_test_role_field_details_equality (EmailFieldDetailsTests* self);
static void _email_field_details_tests_test_role_field_details_equality_folks_test_case_test_method (gpointer self);
void email_field_details_tests_test_generic_afd_handling (EmailFieldDetailsTests* self);
static void _email_field_details_tests_test_generic_afd_handling_folks_test_case_test_method (gpointer self);
static void email_field_details_tests_real_set_up (FolksTestCase* base);
static void email_field_details_tests_real_tear_down (FolksTestCase* base);
static void _g_free0_ (gpointer var);
static void _g_list_free__g_free0_ (GList* self);
gint _vala_main (gchar** args, int args_length1);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


static void _email_field_details_tests_test_param_replacement_folks_test_case_test_method (gpointer self) {
#line 28 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	email_field_details_tests_test_param_replacement (self);
#line 89 "abstract-field-details.c"
}


static void _email_field_details_tests_test_simple_equality_folks_test_case_test_method (gpointer self) {
#line 29 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	email_field_details_tests_test_simple_equality (self);
#line 96 "abstract-field-details.c"
}


static void _email_field_details_tests_test_params_equality_folks_test_case_test_method (gpointer self) {
#line 30 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	email_field_details_tests_test_params_equality (self);
#line 103 "abstract-field-details.c"
}


static void _email_field_details_tests_test_im_field_details_equality_folks_test_case_test_method (gpointer self) {
#line 31 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	email_field_details_tests_test_im_field_details_equality (self);
#line 110 "abstract-field-details.c"
}


static void _email_field_details_tests_test_role_field_details_equality_folks_test_case_test_method (gpointer self) {
#line 33 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	email_field_details_tests_test_role_field_details_equality (self);
#line 117 "abstract-field-details.c"
}


static void _email_field_details_tests_test_generic_afd_handling_folks_test_case_test_method (gpointer self) {
#line 35 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	email_field_details_tests_test_generic_afd_handling (self);
#line 124 "abstract-field-details.c"
}


EmailFieldDetailsTests* email_field_details_tests_construct (GType object_type) {
	EmailFieldDetailsTests * self = NULL;
#line 27 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	self = (EmailFieldDetailsTests*) folks_test_case_construct (object_type, "EmailFieldDetails");
#line 28 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "parameter replacement", _email_field_details_tests_test_param_replacement_folks_test_case_test_method, self);
#line 29 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "simple equality", _email_field_details_tests_test_simple_equality_folks_test_case_test_method, self);
#line 30 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "parameter equality", _email_field_details_tests_test_params_equality_folks_test_case_test_method, self);
#line 31 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "ImFieldDetails equality", _email_field_details_tests_test_im_field_details_equality_folks_test_case_test_method, self);
#line 33 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "RoleFieldDetails equality", _email_field_details_tests_test_role_field_details_equality_folks_test_case_test_method, self);
#line 35 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_test_case_add_test ((FolksTestCase*) self, "Generic AFD handling", _email_field_details_tests_test_generic_afd_handling_folks_test_case_test_method, self);
#line 25 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	return self;
#line 146 "abstract-field-details.c"
}


EmailFieldDetailsTests* email_field_details_tests_new (void) {
#line 25 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	return email_field_details_tests_construct (TYPE_EMAIL_FIELD_DETAILS_TESTS);
#line 153 "abstract-field-details.c"
}


static void email_field_details_tests_real_set_up (FolksTestCase* base) {
	EmailFieldDetailsTests * self;
#line 39 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	self = (EmailFieldDetailsTests*) base;
#line 161 "abstract-field-details.c"
}


static void email_field_details_tests_real_tear_down (FolksTestCase* base) {
	EmailFieldDetailsTests * self;
#line 43 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	self = (EmailFieldDetailsTests*) base;
#line 169 "abstract-field-details.c"
}


static void _g_free0_ (gpointer var) {
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	var = (g_free (var), NULL);
#line 176 "abstract-field-details.c"
}


static void _g_list_free__g_free0_ (GList* self) {
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_list_foreach (self, (GFunc) _g_free0_, NULL);
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_list_free (self);
#line 185 "abstract-field-details.c"
}


void email_field_details_tests_test_param_replacement (EmailFieldDetailsTests* self) {
	gchar* _tmp0_;
	gchar* param_name;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar** _tmp4_ = NULL;
	gchar** values_1;
	gint values_1_length1;
	gint _values_1_size_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar** _tmp7_ = NULL;
	gchar** values_2;
	gint values_2_length1;
	gint _values_2_size_;
	FolksEmailFieldDetails* details = NULL;
	GeeCollection* values = NULL;
	const gchar* _tmp8_;
	FolksEmailFieldDetails* _tmp9_;
	gchar** _tmp10_;
	gint _tmp10__length1;
	FolksEmailFieldDetails* _tmp15_;
	const gchar* _tmp16_;
	GeeCollection* _tmp17_ = NULL;
	GeeCollection* _tmp18_;
	gint _tmp19_;
	gint _tmp20_;
	gchar** _tmp21_;
	gint _tmp21__length1;
	gchar** _tmp22_;
	gint _tmp22__length1;
	FolksEmailFieldDetails* _tmp27_;
	const gchar* _tmp28_;
	gchar** _tmp29_;
	gint _tmp29__length1;
	const gchar* _tmp30_;
	FolksEmailFieldDetails* _tmp31_;
	const gchar* _tmp32_;
	GeeCollection* _tmp33_ = NULL;
	GeeCollection* _tmp34_;
	gint _tmp35_;
	gint _tmp36_;
	GeeCollection* _tmp37_;
	gchar** _tmp38_;
	gint _tmp38__length1;
	const gchar* _tmp39_;
	gboolean _tmp40_ = FALSE;
	FolksEmailFieldDetails* _tmp41_;
	const gchar* _tmp42_;
	FolksEmailFieldDetails* _tmp43_;
	const gchar* _tmp44_;
	GeeCollection* _tmp45_ = NULL;
	GeeCollection* _tmp46_;
	gchar** _tmp47_;
	gint _tmp47__length1;
	GList* values_2_list;
	gchar** _tmp52_;
	gint _tmp52__length1;
	GeeHashMultiMap* _tmp56_;
	GeeHashMultiMap* param_table;
	GList* _tmp57_;
	FolksEmailFieldDetails* _tmp62_;
	GeeHashMultiMap* _tmp63_;
	FolksEmailFieldDetails* _tmp64_;
	const gchar* _tmp65_;
	GeeCollection* _tmp66_ = NULL;
	GeeCollection* _tmp67_;
	gint _tmp68_;
	gint _tmp69_;
	gchar** _tmp70_;
	gint _tmp70__length1;
	gchar** _tmp71_;
	gint _tmp71__length1;
	gchar** _tmp72_;
	gint _tmp72__length1;
	gchar** _tmp77_;
	gint _tmp77__length1;
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_return_if_fail (self != NULL);
#line 49 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp0_ = g_strdup ("metasyntactic-variables");
#line 49 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	param_name = _tmp0_;
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp1_ = g_strdup ("foo");
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp2_ = g_strdup ("bar");
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp3_ = g_strdup ("baz");
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_ = g_new0 (gchar*, 3 + 1);
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_[0] = _tmp1_;
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_[1] = _tmp2_;
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_[2] = _tmp3_;
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values_1 = _tmp4_;
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values_1_length1 = 3;
#line 50 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_values_1_size_ = values_1_length1;
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp5_ = g_strdup ("qux");
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp6_ = g_strdup ("quxx");
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp7_ = g_new0 (gchar*, 2 + 1);
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp7_[0] = _tmp5_;
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp7_[1] = _tmp6_;
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values_2 = _tmp7_;
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values_2_length1 = 2;
#line 51 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_values_2_size_ = values_2_length1;
#line 55 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp8_ = param_name;
#line 55 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp9_ = folks_email_field_details_new (_tmp8_, NULL);
#line 55 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details);
#line 55 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details = _tmp9_;
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp10_ = values_1;
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp10__length1 = values_1_length1;
#line 321 "abstract-field-details.c"
	{
		gchar** val_collection = NULL;
		gint val_collection_length1 = 0;
		gint _val_collection_size_ = 0;
		gint val_it = 0;
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection = _tmp10_;
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection_length1 = _tmp10__length1;
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		for (val_it = 0; val_it < _tmp10__length1; val_it = val_it + 1) {
#line 333 "abstract-field-details.c"
			gchar* _tmp11_;
			gchar* val = NULL;
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp11_ = g_strdup (val_collection[val_it]);
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			val = _tmp11_;
#line 340 "abstract-field-details.c"
			{
				FolksEmailFieldDetails* _tmp12_;
				const gchar* _tmp13_;
				const gchar* _tmp14_;
#line 58 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp12_ = details;
#line 58 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp13_ = param_name;
#line 58 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp14_ = val;
#line 58 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _tmp12_, _tmp13_, _tmp14_);
#line 57 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_free0 (val);
#line 355 "abstract-field-details.c"
			}
		}
	}
#line 61 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp15_ = details;
#line 61 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp16_ = param_name;
#line 61 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp17_ = folks_abstract_field_details_get_parameter_values ((FolksAbstractFieldDetails*) _tmp15_, _tmp16_);
#line 61 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (values);
#line 61 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values = _tmp17_;
#line 62 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp18_ = values;
#line 62 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp19_ = gee_collection_get_size (_tmp18_);
#line 62 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp20_ = _tmp19_;
#line 62 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp21_ = values_1;
#line 62 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp21__length1 = values_1_length1;
#line 62 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp20_ == _tmp21__length1);
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp22_ = values_1;
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp22__length1 = values_1_length1;
#line 385 "abstract-field-details.c"
	{
		gchar** val_collection = NULL;
		gint val_collection_length1 = 0;
		gint _val_collection_size_ = 0;
		gint val_it = 0;
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection = _tmp22_;
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection_length1 = _tmp22__length1;
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		for (val_it = 0; val_it < _tmp22__length1; val_it = val_it + 1) {
#line 397 "abstract-field-details.c"
			gchar* _tmp23_;
			gchar* val = NULL;
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp23_ = g_strdup (val_collection[val_it]);
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			val = _tmp23_;
#line 404 "abstract-field-details.c"
			{
				GeeCollection* _tmp24_;
				const gchar* _tmp25_;
				gboolean _tmp26_ = FALSE;
#line 64 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp24_ = values;
#line 64 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp25_ = val;
#line 64 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp26_ = gee_collection_contains (_tmp24_, _tmp25_);
#line 64 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				g_assert (_tmp26_);
#line 63 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_free0 (val);
#line 419 "abstract-field-details.c"
			}
		}
	}
#line 67 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp27_ = details;
#line 67 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp28_ = param_name;
#line 67 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp29_ = values_2;
#line 67 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp29__length1 = values_2_length1;
#line 67 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp30_ = _tmp29_[0];
#line 67 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_set_parameter ((FolksAbstractFieldDetails*) _tmp27_, _tmp28_, _tmp30_);
#line 68 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp31_ = details;
#line 68 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp32_ = param_name;
#line 68 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp33_ = folks_abstract_field_details_get_parameter_values ((FolksAbstractFieldDetails*) _tmp31_, _tmp32_);
#line 68 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (values);
#line 68 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values = _tmp33_;
#line 69 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp34_ = values;
#line 69 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp35_ = gee_collection_get_size (_tmp34_);
#line 69 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp36_ = _tmp35_;
#line 69 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp36_ == 1);
#line 70 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp37_ = values;
#line 70 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp38_ = values_2;
#line 70 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp38__length1 = values_2_length1;
#line 70 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp39_ = _tmp38_[0];
#line 70 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp40_ = gee_collection_contains (_tmp37_, _tmp39_);
#line 70 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp40_);
#line 73 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp41_ = details;
#line 73 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp42_ = param_name;
#line 73 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_remove_parameter_all ((FolksAbstractFieldDetails*) _tmp41_, _tmp42_);
#line 74 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp43_ = details;
#line 74 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp44_ = param_name;
#line 74 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp45_ = folks_abstract_field_details_get_parameter_values ((FolksAbstractFieldDetails*) _tmp43_, _tmp44_);
#line 74 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (values);
#line 74 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values = _tmp45_;
#line 75 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp46_ = values;
#line 75 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp46_ == NULL);
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp47_ = values_1;
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp47__length1 = values_1_length1;
#line 489 "abstract-field-details.c"
	{
		gchar** val_collection = NULL;
		gint val_collection_length1 = 0;
		gint _val_collection_size_ = 0;
		gint val_it = 0;
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection = _tmp47_;
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection_length1 = _tmp47__length1;
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		for (val_it = 0; val_it < _tmp47__length1; val_it = val_it + 1) {
#line 501 "abstract-field-details.c"
			gchar* _tmp48_;
			gchar* val = NULL;
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp48_ = g_strdup (val_collection[val_it]);
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			val = _tmp48_;
#line 508 "abstract-field-details.c"
			{
				FolksEmailFieldDetails* _tmp49_;
				const gchar* _tmp50_;
				const gchar* _tmp51_;
#line 79 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp49_ = details;
#line 79 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp50_ = param_name;
#line 79 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp51_ = val;
#line 79 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _tmp49_, _tmp50_, _tmp51_);
#line 78 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_free0 (val);
#line 523 "abstract-field-details.c"
			}
		}
	}
#line 81 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values_2_list = NULL;
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp52_ = values_2;
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp52__length1 = values_2_length1;
#line 533 "abstract-field-details.c"
	{
		gchar** val_collection = NULL;
		gint val_collection_length1 = 0;
		gint _val_collection_size_ = 0;
		gint val_it = 0;
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection = _tmp52_;
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection_length1 = _tmp52__length1;
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		for (val_it = 0; val_it < _tmp52__length1; val_it = val_it + 1) {
#line 545 "abstract-field-details.c"
			gchar* _tmp53_;
			gchar* val = NULL;
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp53_ = g_strdup (val_collection[val_it]);
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			val = _tmp53_;
#line 552 "abstract-field-details.c"
			{
				const gchar* _tmp54_;
				gchar* _tmp55_;
#line 83 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp54_ = val;
#line 83 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp55_ = g_strdup (_tmp54_);
#line 83 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				values_2_list = g_list_append (values_2_list, _tmp55_);
#line 82 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_free0 (val);
#line 564 "abstract-field-details.c"
			}
		}
	}
#line 85 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp56_ = gee_hash_multi_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL);
#line 85 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	param_table = _tmp56_;
#line 86 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp57_ = values_2_list;
#line 574 "abstract-field-details.c"
	{
		GList* val_collection = NULL;
		GList* val_it = NULL;
#line 86 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection = _tmp57_;
#line 86 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		for (val_it = val_collection; val_it != NULL; val_it = val_it->next) {
#line 582 "abstract-field-details.c"
			gchar* _tmp58_;
			gchar* val = NULL;
#line 86 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp58_ = g_strdup ((const gchar*) val_it->data);
#line 86 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			val = _tmp58_;
#line 589 "abstract-field-details.c"
			{
				GeeHashMultiMap* _tmp59_;
				const gchar* _tmp60_;
				const gchar* _tmp61_;
#line 87 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp59_ = param_table;
#line 87 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp60_ = param_name;
#line 87 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp61_ = val;
#line 87 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				gee_multi_map_set ((GeeMultiMap*) _tmp59_, _tmp60_, _tmp61_);
#line 86 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_free0 (val);
#line 604 "abstract-field-details.c"
			}
		}
	}
#line 89 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp62_ = details;
#line 89 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp63_ = param_table;
#line 89 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_extend_parameters ((FolksAbstractFieldDetails*) _tmp62_, (GeeMultiMap*) _tmp63_);
#line 90 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp64_ = details;
#line 90 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp65_ = param_name;
#line 90 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp66_ = folks_abstract_field_details_get_parameter_values ((FolksAbstractFieldDetails*) _tmp64_, _tmp65_);
#line 90 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (values);
#line 90 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values = _tmp66_;
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp67_ = values;
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp68_ = gee_collection_get_size (_tmp67_);
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp69_ = _tmp68_;
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp70_ = values_1;
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp70__length1 = values_1_length1;
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp71_ = values_2;
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp71__length1 = values_2_length1;
#line 91 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp69_ == (_tmp70__length1 + _tmp71__length1));
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp72_ = values_1;
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp72__length1 = values_1_length1;
#line 644 "abstract-field-details.c"
	{
		gchar** val_collection = NULL;
		gint val_collection_length1 = 0;
		gint _val_collection_size_ = 0;
		gint val_it = 0;
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection = _tmp72_;
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection_length1 = _tmp72__length1;
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		for (val_it = 0; val_it < _tmp72__length1; val_it = val_it + 1) {
#line 656 "abstract-field-details.c"
			gchar* _tmp73_;
			gchar* val = NULL;
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp73_ = g_strdup (val_collection[val_it]);
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			val = _tmp73_;
#line 663 "abstract-field-details.c"
			{
				GeeCollection* _tmp74_;
				const gchar* _tmp75_;
				gboolean _tmp76_ = FALSE;
#line 93 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp74_ = values;
#line 93 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp75_ = val;
#line 93 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp76_ = gee_collection_contains (_tmp74_, _tmp75_);
#line 93 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				g_assert (_tmp76_);
#line 92 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_free0 (val);
#line 678 "abstract-field-details.c"
			}
		}
	}
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp77_ = values_2;
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp77__length1 = values_2_length1;
#line 686 "abstract-field-details.c"
	{
		gchar** val_collection = NULL;
		gint val_collection_length1 = 0;
		gint _val_collection_size_ = 0;
		gint val_it = 0;
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection = _tmp77_;
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		val_collection_length1 = _tmp77__length1;
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		for (val_it = 0; val_it < _tmp77__length1; val_it = val_it + 1) {
#line 698 "abstract-field-details.c"
			gchar* _tmp78_;
			gchar* val = NULL;
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp78_ = g_strdup (val_collection[val_it]);
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			val = _tmp78_;
#line 705 "abstract-field-details.c"
			{
				GeeCollection* _tmp79_;
				const gchar* _tmp80_;
				gboolean _tmp81_ = FALSE;
#line 95 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp79_ = values;
#line 95 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp80_ = val;
#line 95 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp81_ = gee_collection_contains (_tmp79_, _tmp80_);
#line 95 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				g_assert (_tmp81_);
#line 94 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_free0 (val);
#line 720 "abstract-field-details.c"
			}
		}
	}
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (param_table);
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	__g_list_free__g_free0_0 (values_2_list);
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (values);
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details);
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values_2 = (_vala_array_free (values_2, values_2_length1, (GDestroyNotify) g_free), NULL);
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	values_1 = (_vala_array_free (values_1, values_1_length1, (GDestroyNotify) g_free), NULL);
#line 47 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_free0 (param_name);
#line 738 "abstract-field-details.c"
}


void email_field_details_tests_test_simple_equality (EmailFieldDetailsTests* self) {
	FolksEmailFieldDetails* _tmp0_;
	FolksEmailFieldDetails* details_a_1;
	FolksEmailFieldDetails* _tmp1_;
	FolksEmailFieldDetails* details_a_2;
	FolksEmailFieldDetails* _tmp2_;
	FolksEmailFieldDetails* details_b_1;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
#line 98 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_return_if_fail (self != NULL);
#line 100 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp0_ = folks_email_field_details_new ("foo", NULL);
#line 100 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_1 = _tmp0_;
#line 101 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp1_ = folks_email_field_details_new ("foo", NULL);
#line 101 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_2 = _tmp1_;
#line 102 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp2_ = folks_email_field_details_new ("bar", NULL);
#line 102 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_b_1 = _tmp2_;
#line 105 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp3_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_a_1, (FolksAbstractFieldDetails*) details_a_2);
#line 105 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp3_);
#line 106 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_a_1, (FolksAbstractFieldDetails*) details_b_1);
#line 106 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp4_);
#line 107 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp5_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_b_1, (FolksAbstractFieldDetails*) details_a_1);
#line 107 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp5_);
#line 108 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp6_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_b_1, (FolksAbstractFieldDetails*) details_a_2);
#line 108 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp6_);
#line 98 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_b_1);
#line 98 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_2);
#line 98 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_1);
#line 789 "abstract-field-details.c"
}


void email_field_details_tests_test_params_equality (EmailFieldDetailsTests* self) {
	FolksEmailFieldDetails* _tmp0_;
	FolksEmailFieldDetails* details_a_1;
	FolksEmailFieldDetails* _tmp1_;
	FolksEmailFieldDetails* details_a_2;
	GeeHashMultiMap* _tmp2_;
	GeeHashMultiMap* parameters;
	GeeHashMultiMap* _tmp3_;
	GeeHashMultiMap* _tmp4_;
	GeeHashMultiMap* _tmp5_;
	FolksEmailFieldDetails* _tmp6_;
	GeeHashMultiMap* _tmp7_;
	FolksEmailFieldDetails* _tmp29_;
	FolksEmailFieldDetails* _tmp30_;
	gboolean _tmp31_ = FALSE;
	FolksEmailFieldDetails* _tmp32_;
	FolksEmailFieldDetails* _tmp33_;
	FolksEmailFieldDetails* _tmp34_;
	gboolean _tmp35_ = FALSE;
	FolksEmailFieldDetails* _tmp36_;
	FolksEmailFieldDetails* _tmp37_;
	FolksEmailFieldDetails* _tmp38_;
	gboolean _tmp39_ = FALSE;
	FolksEmailFieldDetails* _tmp40_;
	FolksEmailFieldDetails* _tmp41_;
	FolksEmailFieldDetails* _tmp42_;
	gboolean _tmp43_ = FALSE;
	FolksEmailFieldDetails* _tmp44_;
	FolksEmailFieldDetails* _tmp45_;
	FolksEmailFieldDetails* _tmp46_;
	gboolean _tmp47_ = FALSE;
	FolksEmailFieldDetails* _tmp48_;
	GeeMultiMap* _tmp49_;
	GeeMultiMap* _tmp50_;
	FolksEmailFieldDetails* _tmp51_;
	FolksEmailFieldDetails* _tmp52_;
	gboolean _tmp53_ = FALSE;
	FolksEmailFieldDetails* _tmp54_;
	GeeMultiMap* _tmp55_;
	GeeMultiMap* _tmp56_;
	FolksEmailFieldDetails* _tmp57_;
	FolksEmailFieldDetails* _tmp58_;
	gboolean _tmp59_ = FALSE;
#line 111 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_return_if_fail (self != NULL);
#line 113 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp0_ = folks_email_field_details_new ("foo", NULL);
#line 113 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_1 = _tmp0_;
#line 114 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp1_ = folks_email_field_details_new ("foo", NULL);
#line 114 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_2 = _tmp1_;
#line 118 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp2_ = gee_hash_multi_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL);
#line 118 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	parameters = _tmp2_;
#line 119 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp3_ = parameters;
#line 119 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	gee_multi_map_set ((GeeMultiMap*) _tmp3_, "bar", "baz");
#line 120 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_ = parameters;
#line 120 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	gee_multi_map_set ((GeeMultiMap*) _tmp4_, "qux", "quux");
#line 121 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp5_ = parameters;
#line 121 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	gee_multi_map_set ((GeeMultiMap*) _tmp5_, "qux", "quuux");
#line 122 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp6_ = details_a_1;
#line 122 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp7_ = parameters;
#line 122 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_set_parameters ((FolksAbstractFieldDetails*) _tmp6_, (GeeMultiMap*) _tmp7_);
#line 868 "abstract-field-details.c"
	{
		GeeHashMultiMap* _tmp8_;
		GeeSet* _tmp9_ = NULL;
		GeeSet* _tmp10_;
		GeeIterator* _tmp11_ = NULL;
		GeeIterator* _tmp12_;
		GeeIterator* _param_it;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_tmp8_ = parameters;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_tmp9_ = gee_multi_map_get_keys ((GeeMultiMap*) _tmp8_);
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_tmp10_ = _tmp9_;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_tmp11_ = gee_iterable_iterator ((GeeIterable*) _tmp10_);
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_tmp12_ = _tmp11_;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_g_object_unref0 (_tmp10_);
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_param_it = _tmp12_;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		while (TRUE) {
#line 892 "abstract-field-details.c"
			GeeIterator* _tmp13_;
			gboolean _tmp14_ = FALSE;
			GeeIterator* _tmp15_;
			gpointer _tmp16_ = NULL;
			gchar* param;
			GeeHashMultiMap* _tmp17_;
			const gchar* _tmp18_;
			GeeCollection* _tmp19_ = NULL;
			GeeCollection* values;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp13_ = _param_it;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp14_ = gee_iterator_next (_tmp13_);
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			if (!_tmp14_) {
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				break;
#line 910 "abstract-field-details.c"
			}
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp15_ = _param_it;
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp16_ = gee_iterator_get (_tmp15_);
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			param = (gchar*) _tmp16_;
#line 126 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp17_ = parameters;
#line 126 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp18_ = param;
#line 126 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_tmp19_ = gee_multi_map_get ((GeeMultiMap*) _tmp17_, _tmp18_);
#line 126 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			values = _tmp19_;
#line 926 "abstract-field-details.c"
			{
				GeeCollection* _tmp20_;
				GeeIterator* _tmp21_ = NULL;
				GeeIterator* _value_it;
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp20_ = values;
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_tmp21_ = gee_iterable_iterator ((GeeIterable*) _tmp20_);
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_value_it = _tmp21_;
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				while (TRUE) {
#line 939 "abstract-field-details.c"
					GeeIterator* _tmp22_;
					gboolean _tmp23_ = FALSE;
					GeeIterator* _tmp24_;
					gpointer _tmp25_ = NULL;
					gchar* value;
					FolksEmailFieldDetails* _tmp26_;
					const gchar* _tmp27_;
					const gchar* _tmp28_;
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_tmp22_ = _value_it;
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_tmp23_ = gee_iterator_next (_tmp22_);
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					if (!_tmp23_) {
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
						break;
#line 956 "abstract-field-details.c"
					}
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_tmp24_ = _value_it;
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_tmp25_ = gee_iterator_get (_tmp24_);
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					value = (gchar*) _tmp25_;
#line 128 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_tmp26_ = details_a_2;
#line 128 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_tmp27_ = param;
#line 128 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_tmp28_ = value;
#line 128 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _tmp26_, _tmp27_, _tmp28_);
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
					_g_free0 (value);
#line 974 "abstract-field-details.c"
				}
#line 127 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
				_g_object_unref0 (_value_it);
#line 978 "abstract-field-details.c"
			}
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_g_object_unref0 (values);
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
			_g_free0 (param);
#line 984 "abstract-field-details.c"
		}
#line 124 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
		_g_object_unref0 (_param_it);
#line 988 "abstract-field-details.c"
	}
#line 131 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp29_ = details_a_1;
#line 131 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp30_ = details_a_2;
#line 131 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp31_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp29_, (FolksAbstractFieldDetails*) _tmp30_);
#line 131 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp31_);
#line 134 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp32_ = details_a_2;
#line 134 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _tmp32_, "bar", "baz");
#line 135 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp33_ = details_a_1;
#line 135 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp34_ = details_a_2;
#line 135 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp35_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp33_, (FolksAbstractFieldDetails*) _tmp34_);
#line 135 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp35_);
#line 138 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp36_ = details_a_2;
#line 138 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _tmp36_, "bar", "new");
#line 139 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp37_ = details_a_1;
#line 139 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp38_ = details_a_2;
#line 139 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp39_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp37_, (FolksAbstractFieldDetails*) _tmp38_);
#line 139 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp39_);
#line 142 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp40_ = details_a_2;
#line 142 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_set_parameter ((FolksAbstractFieldDetails*) _tmp40_, "bar", "baz");
#line 143 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp41_ = details_a_1;
#line 143 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp42_ = details_a_2;
#line 143 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp43_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp41_, (FolksAbstractFieldDetails*) _tmp42_);
#line 143 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp43_);
#line 146 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp44_ = details_a_2;
#line 146 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	folks_abstract_field_details_add_parameter ((FolksAbstractFieldDetails*) _tmp44_, "bar", "new");
#line 147 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp45_ = details_a_1;
#line 147 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp46_ = details_a_2;
#line 147 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp47_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp45_, (FolksAbstractFieldDetails*) _tmp46_);
#line 147 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp47_);
#line 150 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp48_ = details_a_2;
#line 150 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp49_ = folks_abstract_field_details_get_parameters ((FolksAbstractFieldDetails*) _tmp48_);
#line 150 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp50_ = _tmp49_;
#line 150 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	gee_multi_map_remove (_tmp50_, "bar", "new");
#line 151 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp51_ = details_a_1;
#line 151 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp52_ = details_a_2;
#line 151 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp53_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp51_, (FolksAbstractFieldDetails*) _tmp52_);
#line 151 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp53_);
#line 154 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp54_ = details_a_2;
#line 154 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp55_ = folks_abstract_field_details_get_parameters ((FolksAbstractFieldDetails*) _tmp54_);
#line 154 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp56_ = _tmp55_;
#line 154 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	gee_multi_map_remove_all (_tmp56_, "bar");
#line 155 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp57_ = details_a_1;
#line 155 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp58_ = details_a_2;
#line 155 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp59_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) _tmp57_, (FolksAbstractFieldDetails*) _tmp58_);
#line 155 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp59_);
#line 111 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (parameters);
#line 111 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_2);
#line 111 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_1);
#line 1084 "abstract-field-details.c"
}


void email_field_details_tests_test_im_field_details_equality (EmailFieldDetailsTests* self) {
	FolksImFieldDetails* _tmp0_;
	FolksImFieldDetails* details_a_1;
	FolksImFieldDetails* _tmp1_;
	FolksImFieldDetails* details_a_2;
	FolksImFieldDetails* _tmp2_;
	FolksImFieldDetails* details_b_1;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	FolksEmailFieldDetails* _tmp5_;
	FolksEmailFieldDetails* details_c_1;
	gboolean _tmp6_ = FALSE;
#line 158 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_return_if_fail (self != NULL);
#line 160 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp0_ = folks_im_field_details_new ("foo@example.org", NULL);
#line 160 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_1 = _tmp0_;
#line 161 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp1_ = folks_im_field_details_new ("foo@example.org", NULL);
#line 161 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_2 = _tmp1_;
#line 162 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp2_ = folks_im_field_details_new ("bar@other.example.org", NULL);
#line 162 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_b_1 = _tmp2_;
#line 165 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp3_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_a_1, (FolksAbstractFieldDetails*) details_a_2);
#line 165 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp3_);
#line 166 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_a_1, (FolksAbstractFieldDetails*) details_b_1);
#line 166 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp4_);
#line 169 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp5_ = folks_email_field_details_new ("foo@example.org", NULL);
#line 169 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_c_1 = _tmp5_;
#line 170 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp6_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_a_1, (FolksAbstractFieldDetails*) details_c_1);
#line 170 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp6_);
#line 158 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_c_1);
#line 158 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_b_1);
#line 158 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_2);
#line 158 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_1);
#line 1138 "abstract-field-details.c"
}


void email_field_details_tests_test_role_field_details_equality (EmailFieldDetailsTests* self) {
	FolksRole* _tmp0_;
	FolksRole* _tmp1_;
	FolksRoleFieldDetails* _tmp2_;
	FolksRoleFieldDetails* _tmp3_;
	FolksRoleFieldDetails* details_a_1;
	FolksRole* _tmp4_;
	FolksRole* _tmp5_;
	FolksRoleFieldDetails* _tmp6_;
	FolksRoleFieldDetails* _tmp7_;
	FolksRoleFieldDetails* details_a_2;
	FolksRole* _tmp8_;
	FolksRole* _tmp9_;
	FolksRoleFieldDetails* _tmp10_;
	FolksRoleFieldDetails* _tmp11_;
	FolksRoleFieldDetails* details_b_1;
	gboolean _tmp12_ = FALSE;
	gboolean _tmp13_ = FALSE;
#line 173 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_return_if_fail (self != NULL);
#line 175 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp0_ = folks_role_new ("Captain", "Obvious Corp.", NULL);
#line 175 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp1_ = _tmp0_;
#line 175 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp2_ = folks_role_field_details_new (_tmp1_, NULL);
#line 175 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp3_ = _tmp2_;
#line 175 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (_tmp1_);
#line 175 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_1 = _tmp3_;
#line 177 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_ = folks_role_new ("Captain", "Obvious Corp.", NULL);
#line 177 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp5_ = _tmp4_;
#line 177 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp6_ = folks_role_field_details_new (_tmp5_, NULL);
#line 177 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp7_ = _tmp6_;
#line 177 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (_tmp5_);
#line 177 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_a_2 = _tmp7_;
#line 179 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp8_ = folks_role_new ("Flunkie", "Obvious Corp.", NULL);
#line 179 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp9_ = _tmp8_;
#line 179 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp10_ = folks_role_field_details_new (_tmp9_, NULL);
#line 179 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp11_ = _tmp10_;
#line 179 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (_tmp9_);
#line 179 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	details_b_1 = _tmp11_;
#line 183 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp12_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_a_1, (FolksAbstractFieldDetails*) details_a_2);
#line 183 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp12_);
#line 184 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp13_ = folks_abstract_field_details_equal ((FolksAbstractFieldDetails*) details_a_1, (FolksAbstractFieldDetails*) details_b_1);
#line 184 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (!_tmp13_);
#line 173 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_b_1);
#line 173 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_2);
#line 173 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (details_a_1);
#line 1212 "abstract-field-details.c"
}


void email_field_details_tests_test_generic_afd_handling (EmailFieldDetailsTests* self) {
	FolksAbstractFieldDetails* afd = NULL;
	FolksEmailFieldDetails* _tmp0_;
	FolksAbstractFieldDetails* _tmp1_;
	GType _tmp2_ = 0UL;
	gboolean _tmp3_ = FALSE;
	FolksAbstractFieldDetails* _tmp4_;
	GType _tmp5_;
	GType _tmp6_;
	FolksImFieldDetails* _tmp7_;
	FolksAbstractFieldDetails* _tmp8_;
	GType _tmp9_ = 0UL;
	gboolean _tmp10_ = FALSE;
	FolksAbstractFieldDetails* _tmp11_;
	GType _tmp12_;
	GType _tmp13_;
	FolksNoteFieldDetails* _tmp14_;
	FolksAbstractFieldDetails* _tmp15_;
	GType _tmp16_ = 0UL;
	gboolean _tmp17_ = FALSE;
	FolksAbstractFieldDetails* _tmp18_;
	GType _tmp19_;
	GType _tmp20_;
	FolksPhoneFieldDetails* _tmp21_;
	FolksAbstractFieldDetails* _tmp22_;
	GType _tmp23_ = 0UL;
	gboolean _tmp24_ = FALSE;
	FolksAbstractFieldDetails* _tmp25_;
	GType _tmp26_;
	GType _tmp27_;
	FolksPostalAddress* _tmp28_;
	FolksPostalAddress* _tmp29_;
	FolksPostalAddressFieldDetails* _tmp30_;
	FolksAbstractFieldDetails* _tmp31_;
	GType _tmp32_ = 0UL;
	gboolean _tmp33_ = FALSE;
	FolksAbstractFieldDetails* _tmp34_;
	GType _tmp35_;
	GType _tmp36_;
	FolksAbstractFieldDetails* _tmp37_;
	GType _tmp38_;
	GType _tmp39_;
	FolksRole* _tmp40_;
	FolksRole* _tmp41_;
	FolksRoleFieldDetails* _tmp42_;
	FolksAbstractFieldDetails* _tmp43_;
	GType _tmp44_ = 0UL;
	gboolean _tmp45_ = FALSE;
	FolksAbstractFieldDetails* _tmp46_;
	GType _tmp47_;
	GType _tmp48_;
	FolksAbstractFieldDetails* _tmp49_;
	GType _tmp50_;
	GType _tmp51_;
	FolksUrlFieldDetails* _tmp52_;
	FolksAbstractFieldDetails* _tmp53_;
	GType _tmp54_ = 0UL;
	gboolean _tmp55_ = FALSE;
	FolksAbstractFieldDetails* _tmp56_;
	GType _tmp57_;
	GType _tmp58_;
	FolksWebServiceFieldDetails* _tmp59_;
	FolksAbstractFieldDetails* _tmp60_;
	GType _tmp61_ = 0UL;
	gboolean _tmp62_ = FALSE;
	FolksAbstractFieldDetails* _tmp63_;
	GType _tmp64_;
	GType _tmp65_;
#line 187 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_return_if_fail (self != NULL);
#line 191 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp0_ = folks_email_field_details_new ("foo@example.org", NULL);
#line 191 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 191 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp0_;
#line 192 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp1_ = afd;
#line 192 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp2_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp1_);
#line 192 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp3_ = g_type_is_a (_tmp2_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 192 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp3_);
#line 193 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp4_ = afd;
#line 193 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp5_ = folks_abstract_field_details_get_value_type (_tmp4_);
#line 193 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp6_ = _tmp5_;
#line 193 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp6_ == G_TYPE_STRING);
#line 195 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp7_ = folks_im_field_details_new ("bar@example.org", NULL);
#line 195 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 195 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp7_;
#line 196 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp8_ = afd;
#line 196 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp9_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp8_);
#line 196 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp10_ = g_type_is_a (_tmp9_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 196 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp10_);
#line 197 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp11_ = afd;
#line 197 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp12_ = folks_abstract_field_details_get_value_type (_tmp11_);
#line 197 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp13_ = _tmp12_;
#line 197 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp13_ == G_TYPE_STRING);
#line 199 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp14_ = folks_note_field_details_new ("Are you writing this down?", NULL, NULL);
#line 199 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 199 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp14_;
#line 200 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp15_ = afd;
#line 200 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp16_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp15_);
#line 200 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp17_ = g_type_is_a (_tmp16_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 200 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp17_);
#line 201 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp18_ = afd;
#line 201 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp19_ = folks_abstract_field_details_get_value_type (_tmp18_);
#line 201 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp20_ = _tmp19_;
#line 201 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp20_ == G_TYPE_STRING);
#line 203 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp21_ = folks_phone_field_details_new ("+19255551234", NULL);
#line 203 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 203 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp21_;
#line 204 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp22_ = afd;
#line 204 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp23_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp22_);
#line 204 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp24_ = g_type_is_a (_tmp23_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 204 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp24_);
#line 205 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp25_ = afd;
#line 205 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp26_ = folks_abstract_field_details_get_value_type (_tmp25_);
#line 205 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp27_ = _tmp26_;
#line 205 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp27_ == G_TYPE_STRING);
#line 207 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp28_ = folks_postal_address_new (NULL, NULL, "123 Streetly Way", "Cityville", "Cascadia", NULL, "USA", NULL, NULL);
#line 207 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp29_ = _tmp28_;
#line 207 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp30_ = folks_postal_address_field_details_new (_tmp29_, NULL);
#line 207 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 207 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp30_;
#line 207 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (_tmp29_);
#line 210 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp31_ = afd;
#line 210 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp32_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp31_);
#line 210 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp33_ = g_type_is_a (_tmp32_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 210 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp33_);
#line 211 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp34_ = afd;
#line 211 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp35_ = folks_abstract_field_details_get_value_type (_tmp34_);
#line 211 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp36_ = _tmp35_;
#line 211 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp36_ == FOLKS_TYPE_POSTAL_ADDRESS);
#line 212 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp37_ = afd;
#line 212 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp38_ = folks_abstract_field_details_get_value_type (_tmp37_);
#line 212 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp39_ = _tmp38_;
#line 212 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp39_ != G_TYPE_STRING);
#line 214 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp40_ = folks_role_new ("Captain", "Obvious Corp.", NULL);
#line 214 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp41_ = _tmp40_;
#line 214 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp42_ = folks_role_field_details_new (_tmp41_, NULL);
#line 214 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 214 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp42_;
#line 214 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (_tmp41_);
#line 216 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp43_ = afd;
#line 216 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp44_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp43_);
#line 216 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp45_ = g_type_is_a (_tmp44_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 216 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp45_);
#line 217 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp46_ = afd;
#line 217 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp47_ = folks_abstract_field_details_get_value_type (_tmp46_);
#line 217 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp48_ = _tmp47_;
#line 217 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp48_ == FOLKS_TYPE_ROLE);
#line 218 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp49_ = afd;
#line 218 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp50_ = folks_abstract_field_details_get_value_type (_tmp49_);
#line 218 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp51_ = _tmp50_;
#line 218 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp51_ != G_TYPE_STRING);
#line 220 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp52_ = folks_url_field_details_new ("http://other.side.of.nowhere", NULL);
#line 220 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 220 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp52_;
#line 221 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp53_ = afd;
#line 221 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp54_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp53_);
#line 221 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp55_ = g_type_is_a (_tmp54_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 221 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp55_);
#line 222 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp56_ = afd;
#line 222 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp57_ = folks_abstract_field_details_get_value_type (_tmp56_);
#line 222 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp58_ = _tmp57_;
#line 222 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp58_ == G_TYPE_STRING);
#line 224 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp59_ = folks_web_service_field_details_new ("bluebomber", NULL);
#line 224 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 224 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	afd = (FolksAbstractFieldDetails*) _tmp59_;
#line 225 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp60_ = afd;
#line 225 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp61_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp60_);
#line 225 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp62_ = g_type_is_a (_tmp61_, FOLKS_TYPE_ABSTRACT_FIELD_DETAILS);
#line 225 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp62_);
#line 226 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp63_ = afd;
#line 226 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp64_ = folks_abstract_field_details_get_value_type (_tmp63_);
#line 226 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp65_ = _tmp64_;
#line 226 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_assert (_tmp65_ == G_TYPE_STRING);
#line 187 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (afd);
#line 1492 "abstract-field-details.c"
}


static void email_field_details_tests_class_init (EmailFieldDetailsTestsClass * klass) {
#line 23 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	email_field_details_tests_parent_class = g_type_class_peek_parent (klass);
#line 23 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	FOLKS_TEST_CASE_CLASS (klass)->set_up = email_field_details_tests_real_set_up;
#line 23 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	FOLKS_TEST_CASE_CLASS (klass)->tear_down = email_field_details_tests_real_tear_down;
#line 1503 "abstract-field-details.c"
}


static void email_field_details_tests_instance_init (EmailFieldDetailsTests * self) {
}


GType email_field_details_tests_get_type (void) {
	static volatile gsize email_field_details_tests_type_id__volatile = 0;
	if (g_once_init_enter (&email_field_details_tests_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (EmailFieldDetailsTestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) email_field_details_tests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EmailFieldDetailsTests), 0, (GInstanceInitFunc) email_field_details_tests_instance_init, NULL };
		GType email_field_details_tests_type_id;
		email_field_details_tests_type_id = g_type_register_static (FOLKS_TYPE_TEST_CASE, "EmailFieldDetailsTests", &g_define_type_info, 0);
		g_once_init_leave (&email_field_details_tests_type_id__volatile, email_field_details_tests_type_id);
	}
	return email_field_details_tests_type_id__volatile;
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GTestSuite* _tmp0_ = NULL;
	GTestSuite* root;
	EmailFieldDetailsTests* _tmp1_;
	EmailFieldDetailsTests* _tmp2_;
	GTestSuite* _tmp3_ = NULL;
#line 232 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_test_init (&args_length1, &args, NULL);
#line 234 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp0_ = g_test_get_root ();
#line 234 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	root = _tmp0_;
#line 235 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp1_ = email_field_details_tests_new ();
#line 235 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp2_ = _tmp1_;
#line 235 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_tmp3_ = folks_test_case_get_suite ((FolksTestCase*) _tmp2_);
#line 235 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_test_suite_add_suite (root, _tmp3_);
#line 235 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	_g_object_unref0 (_tmp2_);
#line 237 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_test_run ();
#line 239 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	result = 0;
#line 239 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	return result;
#line 1552 "abstract-field-details.c"
}


int main (int argc, char ** argv) {
#line 230 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	g_type_init ();
#line 230 "/opt/gnome2/source/folks/tests/folks/abstract-field-details.vala"
	return _vala_main (argv, argc);
#line 1561 "abstract-field-details.c"
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}



