/* application-mock.c generated by valac 0.34.7, the Vala compiler
 * generated from application-mock.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2015 - Jesse van den Kieboom
 *
 * gitg is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * gitg 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with gitg. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include "libgitg/libgitg.h"
#include "libgitg-ext/libgitg-ext.h"
#include <gee.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gitg-assert.h>
#include <gio/gio.h>
#include <libgit2-glib/ggit.h>


#define GITG_TEST_TYPE_TEST (gitg_test_test_get_type ())
#define GITG_TEST_TEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TEST_TYPE_TEST, GitgTestTest))
#define GITG_TEST_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TEST_TYPE_TEST, GitgTestTestClass))
#define GITG_TEST_IS_TEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TEST_TYPE_TEST))
#define GITG_TEST_IS_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TEST_TYPE_TEST))
#define GITG_TEST_TEST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TEST_TYPE_TEST, GitgTestTestClass))

typedef struct _GitgTestTest GitgTestTest;
typedef struct _GitgTestTestClass GitgTestTestClass;
typedef struct _GitgTestTestPrivate GitgTestTestPrivate;

#define GITG_TEST_TYPE_REPOSITORY (gitg_test_repository_get_type ())
#define GITG_TEST_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TEST_TYPE_REPOSITORY, GitgTestRepository))
#define GITG_TEST_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TEST_TYPE_REPOSITORY, GitgTestRepositoryClass))
#define GITG_TEST_IS_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TEST_TYPE_REPOSITORY))
#define GITG_TEST_IS_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TEST_TYPE_REPOSITORY))
#define GITG_TEST_REPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TEST_TYPE_REPOSITORY, GitgTestRepositoryClass))

typedef struct _GitgTestRepository GitgTestRepository;
typedef struct _GitgTestRepositoryClass GitgTestRepositoryClass;
typedef struct _GitgTestRepositoryPrivate GitgTestRepositoryPrivate;

#define GITG_TEST_TYPE_APPLICATION (gitg_test_application_get_type ())
#define GITG_TEST_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TEST_TYPE_APPLICATION, GitgTestApplication))
#define GITG_TEST_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TEST_TYPE_APPLICATION, GitgTestApplicationClass))
#define GITG_TEST_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TEST_TYPE_APPLICATION))
#define GITG_TEST_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TEST_TYPE_APPLICATION))
#define GITG_TEST_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TEST_TYPE_APPLICATION, GitgTestApplicationClass))

typedef struct _GitgTestApplication GitgTestApplication;
typedef struct _GitgTestApplicationClass GitgTestApplicationClass;
typedef struct _GitgTestApplicationPrivate GitgTestApplicationPrivate;

#define GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY (gitg_test_application_expected_user_query_get_type ())
#define GITG_TEST_APPLICATION_EXPECTED_USER_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY, GitgTestApplicationExpectedUserQuery))
#define GITG_TEST_APPLICATION_EXPECTED_USER_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY, GitgTestApplicationExpectedUserQueryClass))
#define GITG_TEST_APPLICATION_IS_EXPECTED_USER_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY))
#define GITG_TEST_APPLICATION_IS_EXPECTED_USER_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY))
#define GITG_TEST_APPLICATION_EXPECTED_USER_QUERY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY, GitgTestApplicationExpectedUserQueryClass))

typedef struct _GitgTestApplicationExpectedUserQuery GitgTestApplicationExpectedUserQuery;
typedef struct _GitgTestApplicationExpectedUserQueryClass GitgTestApplicationExpectedUserQueryClass;

#define GITG_TEST_TYPE_NOTIFICATIONS (gitg_test_notifications_get_type ())
#define GITG_TEST_NOTIFICATIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TEST_TYPE_NOTIFICATIONS, GitgTestNotifications))
#define GITG_TEST_NOTIFICATIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TEST_TYPE_NOTIFICATIONS, GitgTestNotificationsClass))
#define GITG_TEST_IS_NOTIFICATIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TEST_TYPE_NOTIFICATIONS))
#define GITG_TEST_IS_NOTIFICATIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TEST_TYPE_NOTIFICATIONS))
#define GITG_TEST_NOTIFICATIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TEST_TYPE_NOTIFICATIONS, GitgTestNotificationsClass))

typedef struct _GitgTestNotifications GitgTestNotifications;
typedef struct _GitgTestNotificationsClass GitgTestNotificationsClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _GitgTestApplicationExpectedUserQueryPrivate GitgTestApplicationExpectedUserQueryPrivate;
typedef struct _GitgTestApplicationUserQueryAsyncData GitgTestApplicationUserQueryAsyncData;

#define GITG_TYPE_SIMPLE_NOTIFICATION (gitg_simple_notification_get_type ())
#define GITG_SIMPLE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotification))
#define GITG_SIMPLE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotificationClass))
#define GITG_IS_SIMPLE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_SIMPLE_NOTIFICATION))
#define GITG_IS_SIMPLE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_SIMPLE_NOTIFICATION))
#define GITG_SIMPLE_NOTIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotificationClass))

typedef struct _GitgSimpleNotification GitgSimpleNotification;
typedef struct _GitgSimpleNotificationClass GitgSimpleNotificationClass;
typedef struct _GitgTestNotificationsPrivate GitgTestNotificationsPrivate;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _GitgTestTest {
	GObject parent_instance;
	GitgTestTestPrivate * priv;
};

struct _GitgTestTestClass {
	GObjectClass parent_class;
	void (*set_up) (GitgTestTest* self);
	void (*tear_down) (GitgTestTest* self);
};

struct _GitgTestRepository {
	GitgTestTest parent_instance;
	GitgTestRepositoryPrivate * priv;
	GitgRepository* d_repository;
};

struct _GitgTestRepositoryClass {
	GitgTestTestClass parent_class;
};

struct _GitgTestApplication {
	GitgTestRepository parent_instance;
	GitgTestApplicationPrivate * priv;
};

struct _GitgTestApplicationClass {
	GitgTestRepositoryClass parent_class;
};

struct _GitgTestApplicationPrivate {
	GeeArrayQueue* d_expected_queries;
	GitgTestNotifications* d_notifications;
};

struct _GitgTestApplicationExpectedUserQuery {
	GObject parent_instance;
	GitgTestApplicationExpectedUserQueryPrivate * priv;
	GitgExtUserQuery* query;
	GtkResponseType response;
};

struct _GitgTestApplicationExpectedUserQueryClass {
	GObjectClass parent_class;
};

struct _GitgTestApplicationUserQueryAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgTestApplication* self;
	GitgExtUserQuery* query;
	GtkResponseType result;
	GitgExtUserQuery* _tmp0_;
	GtkResponseType _tmp1_;
};

struct _GitgTestNotifications {
	GObject parent_instance;
	GitgTestNotificationsPrivate * priv;
	GeeArrayList* notifications;
};

struct _GitgTestNotificationsClass {
	GObjectClass parent_class;
};


static gpointer gitg_test_application_parent_class = NULL;
static gpointer gitg_test_application_expected_user_query_parent_class = NULL;
static GitgExtApplicationIface* gitg_test_application_gitg_ext_application_parent_iface = NULL;

GType gitg_test_test_get_type (void) G_GNUC_CONST;
GType gitg_test_repository_get_type (void) G_GNUC_CONST;
GType gitg_test_application_get_type (void) G_GNUC_CONST;
static GType gitg_test_application_expected_user_query_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
GType gitg_test_notifications_get_type (void) G_GNUC_CONST;
#define GITG_TEST_APPLICATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TEST_TYPE_APPLICATION, GitgTestApplicationPrivate))
enum  {
	GITG_TEST_APPLICATION_DUMMY_PROPERTY,
	GITG_TEST_APPLICATION_REPOSITORY,
	GITG_TEST_APPLICATION_MESSAGE_BUS,
	GITG_TEST_APPLICATION_CURRENT_ACTIVITY,
	GITG_TEST_APPLICATION_ENVIRONMENT,
	GITG_TEST_APPLICATION_SIMPLE_NOTIFICATIONS,
	GITG_TEST_APPLICATION_NOTIFICATIONS,
	GITG_TEST_APPLICATION_BUSY,
	GITG_TEST_APPLICATION_REMOTE_LOOKUP
};
GitgTestApplication* gitg_test_application_new (void);
GitgTestApplication* gitg_test_application_construct (GType object_type);
GitgTestRepository* gitg_test_repository_new (void);
GitgTestRepository* gitg_test_repository_construct (GType object_type);
GitgTestNotifications* gitg_test_notifications_new (void);
GitgTestNotifications* gitg_test_notifications_construct (GType object_type);
static void gitg_test_application_real_set_up (GitgTestTest* base);
void gitg_test_test_set_up (GitgTestTest* self);
static GitgExtActivity* gitg_test_application_real_get_activity_by_id (GitgExtApplication* base, const gchar* id);
static GitgExtActivity* gitg_test_application_real_set_activity_by_id (GitgExtApplication* base, const gchar* id);
GitgTestApplication* gitg_test_application_expect_user_query (GitgTestApplication* self, GitgExtUserQuery* query, GtkResponseType response);
static GitgTestApplicationExpectedUserQuery* gitg_test_application_expected_user_query_new (void);
static GitgTestApplicationExpectedUserQuery* gitg_test_application_expected_user_query_construct (GType object_type);
static GtkResponseType gitg_test_application_user_query_respond (GitgTestApplication* self, GitgExtUserQuery* query);
static void gitg_test_application_real_user_query (GitgExtApplication* base, GitgExtUserQuery* query);
static void gitg_test_application_real_user_query_async_data_free (gpointer _data);
static void gitg_test_application_real_user_query_async (GitgExtApplication* base, GitgExtUserQuery* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_test_application_real_user_query_async_co (GitgTestApplicationUserQueryAsyncData* _data_);
static void gitg_test_application_real_show_infobar (GitgExtApplication* base, const gchar* primary_msg, const gchar* secondary_msg, GtkMessageType type);
static GitgExtApplication* gitg_test_application_real_open_new (GitgExtApplication* base, GgitRepository* repository, const gchar* hint);
static void gitg_test_application_real_open_repository (GitgExtApplication* base, GFile* path);
GType gitg_simple_notification_get_type (void) G_GNUC_CONST;
GeeArrayList* gitg_test_application_get_simple_notifications (GitgTestApplication* self);
enum  {
	GITG_TEST_APPLICATION_EXPECTED_USER_QUERY_DUMMY_PROPERTY
};
static void gitg_test_application_expected_user_query_finalize (GObject* obj);
GgitSignature* gitg_test_repository_get_verified_committer (GitgTestRepository* self);
static void gitg_test_application_finalize (GObject* obj);
static void _vala_gitg_test_application_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_test_application_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GitgTestApplication* gitg_test_application_construct (GType object_type) {
	GitgTestApplication * self = NULL;
	GitgTestNotifications* _tmp0_ = NULL;
#line 33 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) gitg_test_repository_construct (object_type);
#line 35 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = gitg_test_notifications_new ();
#line 35 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (self->priv->d_notifications);
#line 35 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self->priv->d_notifications = _tmp0_;
#line 33 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return self;
#line 244 "application-mock.c"
}


GitgTestApplication* gitg_test_application_new (void) {
#line 33 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return gitg_test_application_construct (GITG_TEST_TYPE_APPLICATION);
#line 251 "application-mock.c"
}


static void gitg_test_application_real_set_up (GitgTestTest* base) {
	GitgTestApplication * self;
	GitgTestNotifications* _tmp0_ = NULL;
	GeeArrayQueue* _tmp1_ = NULL;
#line 38 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 40 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	GITG_TEST_TEST_CLASS (gitg_test_application_parent_class)->set_up ((GitgTestTest*) G_TYPE_CHECK_INSTANCE_CAST (self, GITG_TEST_TYPE_REPOSITORY, GitgTestRepository));
#line 42 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = gitg_test_notifications_new ();
#line 42 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (self->priv->d_notifications);
#line 42 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self->priv->d_notifications = _tmp0_;
#line 43 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp1_ = gee_array_queue_new (GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 43 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (self->priv->d_expected_queries);
#line 43 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self->priv->d_expected_queries = _tmp1_;
#line 275 "application-mock.c"
}


static GitgExtActivity* gitg_test_application_real_get_activity_by_id (GitgExtApplication* base, const gchar* id) {
	GitgTestApplication * self;
	GitgExtActivity* result = NULL;
#line 72 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 72 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 72 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = NULL;
#line 72 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 290 "application-mock.c"
}


static GitgExtActivity* gitg_test_application_real_set_activity_by_id (GitgExtApplication* base, const gchar* id) {
	GitgTestApplication * self;
	GitgExtActivity* result = NULL;
#line 73 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 73 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 73 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = NULL;
#line 73 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 305 "application-mock.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return self ? g_object_ref (self) : NULL;
#line 312 "application-mock.c"
}


GitgTestApplication* gitg_test_application_expect_user_query (GitgTestApplication* self, GitgExtUserQuery* query, GtkResponseType response) {
	GitgTestApplication* result = NULL;
	GeeArrayQueue* _tmp0_ = NULL;
	GitgExtUserQuery* _tmp1_ = NULL;
	GitgExtUserQuery* _tmp2_ = NULL;
	GtkResponseType _tmp3_ = 0;
	GitgTestApplicationExpectedUserQuery* _tmp4_ = NULL;
	GitgTestApplicationExpectedUserQuery* _tmp5_ = NULL;
	GitgTestApplication* _tmp6_ = NULL;
#line 75 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 75 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = self->priv->d_expected_queries;
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp1_ = query;
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp3_ = response;
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp4_ = gitg_test_application_expected_user_query_new ();
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (_tmp4_->query);
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp4_->query = _tmp2_;
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp4_->response = _tmp3_;
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp5_ = _tmp4_;
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp0_, _tmp5_);
#line 77 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (_tmp5_);
#line 82 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp6_ = _g_object_ref0 (self);
#line 82 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = _tmp6_;
#line 82 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 357 "application-mock.c"
}


static GtkResponseType gitg_test_application_user_query_respond (GitgTestApplication* self, GitgExtUserQuery* query) {
	GtkResponseType result = 0;
	GeeArrayQueue* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	GitgTestApplicationExpectedUserQuery* expected = NULL;
	GeeArrayQueue* _tmp3_ = NULL;
	gpointer _tmp4_ = NULL;
	GitgTestApplicationExpectedUserQuery* _tmp5_ = NULL;
	GitgExtUserQuery* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	GitgExtUserQuery* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	GitgTestApplicationExpectedUserQuery* _tmp12_ = NULL;
	GitgExtUserQuery* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	GitgExtUserQuery* _tmp16_ = NULL;
	const gchar* _tmp17_ = NULL;
	const gchar* _tmp18_ = NULL;
	GitgTestApplicationExpectedUserQuery* _tmp19_ = NULL;
	GitgExtUserQuery* _tmp20_ = NULL;
	GtkMessageType _tmp21_ = 0;
	GtkMessageType _tmp22_ = 0;
	GitgExtUserQuery* _tmp23_ = NULL;
	GtkMessageType _tmp24_ = 0;
	GtkMessageType _tmp25_ = 0;
	GitgTestApplicationExpectedUserQuery* _tmp26_ = NULL;
	GitgExtUserQuery* _tmp27_ = NULL;
	GtkResponseType _tmp28_ = 0;
	GtkResponseType _tmp29_ = 0;
	GitgExtUserQuery* _tmp30_ = NULL;
	GtkResponseType _tmp31_ = 0;
	GtkResponseType _tmp32_ = 0;
	GitgTestApplicationExpectedUserQuery* _tmp33_ = NULL;
	GitgExtUserQuery* _tmp34_ = NULL;
	gboolean _tmp35_ = FALSE;
	gboolean _tmp36_ = FALSE;
	GitgExtUserQuery* _tmp37_ = NULL;
	gboolean _tmp38_ = FALSE;
	gboolean _tmp39_ = FALSE;
	GitgTestApplicationExpectedUserQuery* _tmp40_ = NULL;
	GitgExtUserQuery* _tmp41_ = NULL;
	gboolean _tmp42_ = FALSE;
	gboolean _tmp43_ = FALSE;
	GitgExtUserQuery* _tmp44_ = NULL;
	gboolean _tmp45_ = FALSE;
	gboolean _tmp46_ = FALSE;
	GitgTestApplicationExpectedUserQuery* _tmp47_ = NULL;
	GitgExtUserQuery* _tmp48_ = NULL;
	GitgExtUserQueryResponse** _tmp49_ = NULL;
	gint _tmp49__length1 = 0;
	GitgExtUserQueryResponse** _tmp50_ = NULL;
	gint _tmp50__length1 = 0;
	GitgExtUserQuery* _tmp51_ = NULL;
	GitgExtUserQueryResponse** _tmp52_ = NULL;
	gint _tmp52__length1 = 0;
	GitgExtUserQueryResponse** _tmp53_ = NULL;
	gint _tmp53__length1 = 0;
	GitgTestApplicationExpectedUserQuery* _tmp87_ = NULL;
	GtkResponseType _tmp88_ = 0;
#line 85 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 85 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (query != NULL, 0);
#line 87 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = self->priv->d_expected_queries;
#line 87 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp1_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp0_);
#line 87 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp2_ = _tmp1_;
#line 87 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_vala_assert (_tmp2_ > 0, "d_expected_queries.size > 0");
#line 89 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp3_ = self->priv->d_expected_queries;
#line 89 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp4_ = gee_abstract_queue_poll ((GeeAbstractQueue*) _tmp3_);
#line 89 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	expected = (GitgTestApplicationExpectedUserQuery*) _tmp4_;
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp5_ = expected;
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp6_ = _tmp5_->query;
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp7_ = gitg_ext_user_query_get_title (_tmp6_);
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp8_ = _tmp7_;
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp9_ = query;
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp10_ = gitg_ext_user_query_get_title (_tmp9_);
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp11_ = _tmp10_;
#line 91 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_assert_assert_streq (_tmp8_, _tmp11_);
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp12_ = expected;
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp13_ = _tmp12_->query;
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp14_ = gitg_ext_user_query_get_message (_tmp13_);
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp15_ = _tmp14_;
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp16_ = query;
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp17_ = gitg_ext_user_query_get_message (_tmp16_);
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp18_ = _tmp17_;
#line 92 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_assert_assert_streq (_tmp15_, _tmp18_);
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp19_ = expected;
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp20_ = _tmp19_->query;
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp21_ = gitg_ext_user_query_get_message_type (_tmp20_);
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp22_ = _tmp21_;
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp23_ = query;
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp24_ = gitg_ext_user_query_get_message_type (_tmp23_);
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp25_ = _tmp24_;
#line 93 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_assert_assert_inteq ((gint) _tmp22_, (gint) _tmp25_);
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp26_ = expected;
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp27_ = _tmp26_->query;
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp28_ = gitg_ext_user_query_get_default_response (_tmp27_);
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp29_ = _tmp28_;
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp30_ = query;
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp31_ = gitg_ext_user_query_get_default_response (_tmp30_);
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp32_ = _tmp31_;
#line 94 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_assert_assert_inteq ((gint) _tmp29_, (gint) _tmp32_);
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp33_ = expected;
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp34_ = _tmp33_->query;
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp35_ = gitg_ext_user_query_get_default_is_destructive (_tmp34_);
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp36_ = _tmp35_;
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp37_ = query;
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp38_ = gitg_ext_user_query_get_default_is_destructive (_tmp37_);
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp39_ = _tmp38_;
#line 95 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_assert_assert_booleq (_tmp36_, _tmp39_);
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp40_ = expected;
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp41_ = _tmp40_->query;
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp42_ = gitg_ext_user_query_get_message_use_markup (_tmp41_);
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp43_ = _tmp42_;
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp44_ = query;
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp45_ = gitg_ext_user_query_get_message_use_markup (_tmp44_);
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp46_ = _tmp45_;
#line 96 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_assert_assert_booleq (_tmp43_, _tmp46_);
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp47_ = expected;
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp48_ = _tmp47_->query;
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp49_ = gitg_ext_user_query_get_responses (_tmp48_, &_tmp49__length1);
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp50_ = _tmp49_;
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp50__length1 = _tmp49__length1;
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp51_ = query;
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp52_ = gitg_ext_user_query_get_responses (_tmp51_, &_tmp52__length1);
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp53_ = _tmp52_;
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp53__length1 = _tmp52__length1;
#line 97 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_assert_assert_inteq (_tmp50__length1, _tmp53__length1);
#line 558 "application-mock.c"
	{
		gint i = 0;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		i = 0;
#line 563 "application-mock.c"
		{
			gboolean _tmp54_ = FALSE;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp54_ = TRUE;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			while (TRUE) {
#line 570 "application-mock.c"
				gint _tmp56_ = 0;
				GitgTestApplicationExpectedUserQuery* _tmp57_ = NULL;
				GitgExtUserQuery* _tmp58_ = NULL;
				GitgExtUserQueryResponse** _tmp59_ = NULL;
				gint _tmp59__length1 = 0;
				GitgExtUserQueryResponse** _tmp60_ = NULL;
				gint _tmp60__length1 = 0;
				GitgTestApplicationExpectedUserQuery* _tmp61_ = NULL;
				GitgExtUserQuery* _tmp62_ = NULL;
				GitgExtUserQueryResponse** _tmp63_ = NULL;
				gint _tmp63__length1 = 0;
				GitgExtUserQueryResponse** _tmp64_ = NULL;
				gint _tmp64__length1 = 0;
				gint _tmp65_ = 0;
				GitgExtUserQueryResponse* _tmp66_ = NULL;
				GtkResponseType _tmp67_ = 0;
				GitgExtUserQuery* _tmp68_ = NULL;
				GitgExtUserQueryResponse** _tmp69_ = NULL;
				gint _tmp69__length1 = 0;
				GitgExtUserQueryResponse** _tmp70_ = NULL;
				gint _tmp70__length1 = 0;
				gint _tmp71_ = 0;
				GitgExtUserQueryResponse* _tmp72_ = NULL;
				GtkResponseType _tmp73_ = 0;
				GitgTestApplicationExpectedUserQuery* _tmp74_ = NULL;
				GitgExtUserQuery* _tmp75_ = NULL;
				GitgExtUserQueryResponse** _tmp76_ = NULL;
				gint _tmp76__length1 = 0;
				GitgExtUserQueryResponse** _tmp77_ = NULL;
				gint _tmp77__length1 = 0;
				gint _tmp78_ = 0;
				GitgExtUserQueryResponse* _tmp79_ = NULL;
				const gchar* _tmp80_ = NULL;
				GitgExtUserQuery* _tmp81_ = NULL;
				GitgExtUserQueryResponse** _tmp82_ = NULL;
				gint _tmp82__length1 = 0;
				GitgExtUserQueryResponse** _tmp83_ = NULL;
				gint _tmp83__length1 = 0;
				gint _tmp84_ = 0;
				GitgExtUserQueryResponse* _tmp85_ = NULL;
				const gchar* _tmp86_ = NULL;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				if (!_tmp54_) {
#line 614 "application-mock.c"
					gint _tmp55_ = 0;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
					_tmp55_ = i;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
					i = _tmp55_ + 1;
#line 620 "application-mock.c"
				}
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp54_ = FALSE;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp56_ = i;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp57_ = expected;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp58_ = _tmp57_->query;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp59_ = gitg_ext_user_query_get_responses (_tmp58_, &_tmp59__length1);
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp60_ = _tmp59_;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp60__length1 = _tmp59__length1;
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				if (!(_tmp56_ < _tmp60__length1)) {
#line 99 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
					break;
#line 640 "application-mock.c"
				}
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp61_ = expected;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp62_ = _tmp61_->query;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp63_ = gitg_ext_user_query_get_responses (_tmp62_, &_tmp63__length1);
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp64_ = _tmp63_;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp64__length1 = _tmp63__length1;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp65_ = i;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp66_ = _tmp64_[_tmp65_];
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp67_ = _tmp66_->response_type;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp68_ = query;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp69_ = gitg_ext_user_query_get_responses (_tmp68_, &_tmp69__length1);
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp70_ = _tmp69_;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp70__length1 = _tmp69__length1;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp71_ = i;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp72_ = _tmp70_[_tmp71_];
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp73_ = _tmp72_->response_type;
#line 101 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				gitg_test_assert_assert_inteq ((gint) _tmp67_, (gint) _tmp73_);
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp74_ = expected;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp75_ = _tmp74_->query;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp76_ = gitg_ext_user_query_get_responses (_tmp75_, &_tmp76__length1);
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp77_ = _tmp76_;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp77__length1 = _tmp76__length1;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp78_ = i;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp79_ = _tmp77_[_tmp78_];
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp80_ = _tmp79_->text;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp81_ = query;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp82_ = gitg_ext_user_query_get_responses (_tmp81_, &_tmp82__length1);
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp83_ = _tmp82_;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp83__length1 = _tmp82__length1;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp84_ = i;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp85_ = _tmp83_[_tmp84_];
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				_tmp86_ = _tmp85_->text;
#line 102 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				gitg_test_assert_assert_streq (_tmp80_, _tmp86_);
#line 706 "application-mock.c"
			}
		}
	}
#line 105 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp87_ = expected;
#line 105 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp88_ = _tmp87_->response;
#line 105 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = _tmp88_;
#line 105 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (expected);
#line 105 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 720 "application-mock.c"
}


static void gitg_test_application_real_user_query (GitgExtApplication* base, GitgExtUserQuery* query) {
	GitgTestApplication * self;
	GitgExtUserQuery* _tmp0_ = NULL;
	GitgExtUserQuery* _tmp1_ = NULL;
	GtkResponseType _tmp2_ = 0;
	gboolean _tmp3_ = FALSE;
#line 108 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 108 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_if_fail (query != NULL);
#line 110 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = query;
#line 110 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp1_ = query;
#line 110 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp2_ = gitg_test_application_user_query_respond (self, _tmp1_);
#line 110 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_signal_emit_by_name (_tmp0_, "response", _tmp2_, &_tmp3_);
#line 742 "application-mock.c"
}


static void gitg_test_application_real_user_query_async_data_free (gpointer _data) {
	GitgTestApplicationUserQueryAsyncData* _data_;
	_data_ = _data;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (_data_->query);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_slice_free (GitgTestApplicationUserQueryAsyncData, _data_);
#line 755 "application-mock.c"
}


static void gitg_test_application_real_user_query_async (GitgExtApplication* base, GitgExtUserQuery* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgTestApplication * self;
	GitgTestApplicationUserQueryAsyncData* _data_;
	GitgTestApplication* _tmp0_ = NULL;
	GitgExtUserQuery* _tmp1_ = NULL;
	GitgExtUserQuery* _tmp2_ = NULL;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_ = g_slice_new0 (GitgTestApplicationUserQueryAsyncData);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_test_application_real_user_query_async);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_test_application_real_user_query_async_data_free);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->self = _tmp0_;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp1_ = query;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (_data_->query);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->query = _tmp2_;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_application_real_user_query_async_co (_data_);
#line 787 "application-mock.c"
}


static GtkResponseType gitg_test_application_real_user_query_finish (GitgExtApplication* base, GAsyncResult* _res_) {
	GtkResponseType result;
	GitgTestApplicationUserQueryAsyncData* _data_;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = _data_->result;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 800 "application-mock.c"
}


static gboolean gitg_test_application_real_user_query_async_co (GitgTestApplicationUserQueryAsyncData* _data_) {
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	switch (_data_->_state_) {
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case 0:
#line 809 "application-mock.c"
		goto _state_0;
		default:
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_assert_not_reached ();
#line 814 "application-mock.c"
	}
	_state_0:
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->_tmp0_ = NULL;
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->_tmp0_ = _data_->query;
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->_tmp1_ = 0;
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->_tmp1_ = gitg_test_application_user_query_respond (_data_->self, _data_->_tmp0_);
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_data_->result = _data_->_tmp1_;
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	if (_data_->_state_ == 0) {
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 831 "application-mock.c"
	} else {
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 835 "application-mock.c"
	}
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_unref (_data_->_async_result);
#line 115 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return FALSE;
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	if (_data_->_state_ == 0) {
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 845 "application-mock.c"
	} else {
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 849 "application-mock.c"
	}
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_unref (_data_->_async_result);
#line 113 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return FALSE;
#line 855 "application-mock.c"
}


static void gitg_test_application_real_show_infobar (GitgExtApplication* base, const gchar* primary_msg, const gchar* secondary_msg, GtkMessageType type) {
	GitgTestApplication * self;
#line 118 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 118 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_if_fail (primary_msg != NULL);
#line 118 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_if_fail (secondary_msg != NULL);
#line 867 "application-mock.c"
}


static GitgExtApplication* gitg_test_application_real_open_new (GitgExtApplication* base, GgitRepository* repository, const gchar* hint) {
	GitgTestApplication * self;
	GitgExtApplication* result = NULL;
	GitgExtApplication* _tmp0_ = NULL;
#line 126 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 126 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (repository != NULL, NULL);
#line 128 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = _g_object_ref0 ((GitgExtApplication*) self);
#line 128 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = _tmp0_;
#line 128 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 885 "application-mock.c"
}


static void gitg_test_application_real_open_repository (GitgExtApplication* base, GFile* path) {
	GitgTestApplication * self;
#line 133 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 133 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_if_fail (path != NULL);
#line 895 "application-mock.c"
}


static GitgRepository* gitg_test_application_real_get_repository (GitgExtApplication* base) {
	GitgRepository* result;
	GitgTestApplication* self;
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
#line 48 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 48 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = ((GitgTestRepository*) self)->d_repository;
#line 48 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 48 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = _tmp1_;
#line 48 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 914 "application-mock.c"
}


static void gitg_test_application_real_set_repository (GitgExtApplication* base, GitgRepository* value) {
	GitgTestApplication* self;
#line 49 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 49 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_notify ((GObject *) self, "repository");
#line 924 "application-mock.c"
}


static GitgExtMessageBus* gitg_test_application_real_get_message_bus (GitgExtApplication* base) {
	GitgExtMessageBus* result;
	GitgTestApplication* self;
#line 52 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 52 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = NULL;
#line 52 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 937 "application-mock.c"
}


static GitgExtActivity* gitg_test_application_real_get_current_activity (GitgExtApplication* base) {
	GitgExtActivity* result;
	GitgTestApplication* self;
#line 53 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 53 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = NULL;
#line 53 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 950 "application-mock.c"
}


static GeeMap* gitg_test_application_real_get_environment (GitgExtApplication* base) {
	GeeMap* result;
	GitgTestApplication* self;
	GeeHashMap* _tmp0_ = NULL;
#line 54 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 54 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 54 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = (GeeMap*) _tmp0_;
#line 54 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 966 "application-mock.c"
}


GeeArrayList* gitg_test_application_get_simple_notifications (GitgTestApplication* self) {
	GeeArrayList* result;
	GeeArrayList* ret = NULL;
	GeeArrayList* _tmp0_ = NULL;
#line 58 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 60 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = gee_array_list_new (GITG_TYPE_SIMPLE_NOTIFICATION, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 60 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	ret = _tmp0_;
#line 980 "application-mock.c"
	{
		GeeArrayList* _notification_list = NULL;
		GitgTestNotifications* _tmp1_ = NULL;
		GeeArrayList* _tmp2_ = NULL;
		GeeArrayList* _tmp3_ = NULL;
		gint _notification_size = 0;
		GeeArrayList* _tmp4_ = NULL;
		gint _tmp5_ = 0;
		gint _tmp6_ = 0;
		gint _notification_index = 0;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_tmp1_ = self->priv->d_notifications;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_tmp2_ = _tmp1_->notifications;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_tmp3_ = _g_object_ref0 (_tmp2_);
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_notification_list = _tmp3_;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_tmp4_ = _notification_list;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_tmp5_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp4_);
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_tmp6_ = _tmp5_;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_notification_size = _tmp6_;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_notification_index = -1;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		while (TRUE) {
#line 1011 "application-mock.c"
			gint _tmp7_ = 0;
			gint _tmp8_ = 0;
			gint _tmp9_ = 0;
			GitgExtNotification* notification = NULL;
			GeeArrayList* _tmp10_ = NULL;
			gint _tmp11_ = 0;
			gpointer _tmp12_ = NULL;
			GeeArrayList* _tmp13_ = NULL;
			GitgExtNotification* _tmp14_ = NULL;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp7_ = _notification_index;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_notification_index = _tmp7_ + 1;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp8_ = _notification_index;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp9_ = _notification_size;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			if (!(_tmp8_ < _tmp9_)) {
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
				break;
#line 1033 "application-mock.c"
			}
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp10_ = _notification_list;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp11_ = _notification_index;
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp12_ = gee_abstract_list_get ((GeeAbstractList*) _tmp10_, _tmp11_);
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			notification = (GitgExtNotification*) _tmp12_;
#line 64 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp13_ = ret;
#line 64 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_tmp14_ = notification;
#line 64 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp13_, G_TYPE_CHECK_INSTANCE_TYPE (_tmp14_, GITG_TYPE_SIMPLE_NOTIFICATION) ? ((GitgSimpleNotification*) _tmp14_) : NULL);
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
			_g_object_unref0 (notification);
#line 1051 "application-mock.c"
		}
#line 62 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		_g_object_unref0 (_notification_list);
#line 1055 "application-mock.c"
	}
#line 67 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = ret;
#line 67 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 1061 "application-mock.c"
}


static GitgExtNotifications* gitg_test_application_real_get_notifications (GitgExtApplication* base) {
	GitgExtNotifications* result;
	GitgTestApplication* self;
	GitgTestNotifications* _tmp0_ = NULL;
	GitgExtNotifications* _tmp1_ = NULL;
#line 71 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 71 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp0_ = self->priv->d_notifications;
#line 71 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_tmp1_ = _g_object_ref0 ((GitgExtNotifications*) _tmp0_);
#line 71 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = _tmp1_;
#line 71 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 1080 "application-mock.c"
}


static gboolean gitg_test_application_real_get_busy (GitgExtApplication* base) {
	gboolean result;
	GitgTestApplication* self;
#line 124 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 124 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = FALSE;
#line 124 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 1093 "application-mock.c"
}


static void gitg_test_application_real_set_busy (GitgExtApplication* base, gboolean value) {
	GitgTestApplication* self;
#line 124 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 124 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_notify ((GObject *) self, "busy");
#line 1103 "application-mock.c"
}


static GitgExtRemoteLookup* gitg_test_application_real_get_remote_lookup (GitgExtApplication* base) {
	GitgExtRemoteLookup* result;
	GitgTestApplication* self;
#line 131 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplication*) base;
#line 131 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	result = NULL;
#line 131 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return result;
#line 1116 "application-mock.c"
}


static GitgTestApplicationExpectedUserQuery* gitg_test_application_expected_user_query_construct (GType object_type) {
	GitgTestApplicationExpectedUserQuery * self = NULL;
#line 24 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = (GitgTestApplicationExpectedUserQuery*) g_object_new (object_type, NULL);
#line 24 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return self;
#line 1126 "application-mock.c"
}


static GitgTestApplicationExpectedUserQuery* gitg_test_application_expected_user_query_new (void) {
#line 24 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	return gitg_test_application_expected_user_query_construct (GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY);
#line 1133 "application-mock.c"
}


static void gitg_test_application_expected_user_query_class_init (GitgTestApplicationExpectedUserQueryClass * klass) {
#line 24 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_application_expected_user_query_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_test_application_expected_user_query_finalize;
#line 1142 "application-mock.c"
}


static void gitg_test_application_expected_user_query_instance_init (GitgTestApplicationExpectedUserQuery * self) {
}


static void gitg_test_application_expected_user_query_finalize (GObject* obj) {
	GitgTestApplicationExpectedUserQuery * self;
#line 24 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TEST_APPLICATION_TYPE_EXPECTED_USER_QUERY, GitgTestApplicationExpectedUserQuery);
#line 26 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (self->query);
#line 24 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	G_OBJECT_CLASS (gitg_test_application_expected_user_query_parent_class)->finalize (obj);
#line 1158 "application-mock.c"
}


static GType gitg_test_application_expected_user_query_get_type (void) {
	static volatile gsize gitg_test_application_expected_user_query_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_test_application_expected_user_query_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgTestApplicationExpectedUserQueryClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_test_application_expected_user_query_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgTestApplicationExpectedUserQuery), 0, (GInstanceInitFunc) gitg_test_application_expected_user_query_instance_init, NULL };
		GType gitg_test_application_expected_user_query_type_id;
		gitg_test_application_expected_user_query_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgTestApplicationExpectedUserQuery", &g_define_type_info, 0);
		g_once_init_leave (&gitg_test_application_expected_user_query_type_id__volatile, gitg_test_application_expected_user_query_type_id);
	}
	return gitg_test_application_expected_user_query_type_id__volatile;
}


static void gitg_test_application_class_init (GitgTestApplicationClass * klass) {
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_application_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_type_class_add_private (klass, sizeof (GitgTestApplicationPrivate));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	((GitgTestTestClass *) klass)->set_up = (void (*)(GitgTestTest*)) gitg_test_application_real_set_up;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_test_application_get_property;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_test_application_set_property;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_test_application_finalize;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_MESSAGE_BUS, g_param_spec_object ("message-bus", "message-bus", "message-bus", GITG_EXT_TYPE_MESSAGE_BUS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_CURRENT_ACTIVITY, g_param_spec_object ("current-activity", "current-activity", "current-activity", GITG_EXT_TYPE_ACTIVITY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_ENVIRONMENT, g_param_spec_object ("environment", "environment", "environment", GEE_TYPE_MAP, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_SIMPLE_NOTIFICATIONS, g_param_spec_object ("simple-notifications", "simple-notifications", "simple-notifications", GEE_TYPE_ARRAY_LIST, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_NOTIFICATIONS, g_param_spec_object ("notifications", "notifications", "notifications", GITG_EXT_TYPE_NOTIFICATIONS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_BUSY, g_param_spec_boolean ("busy", "busy", "busy", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_TEST_APPLICATION_REMOTE_LOOKUP, g_param_spec_object ("remote-lookup", "remote-lookup", "remote-lookup", GITG_EXT_TYPE_REMOTE_LOOKUP, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 1203 "application-mock.c"
}


static void gitg_test_application_gitg_ext_application_interface_init (GitgExtApplicationIface * iface) {
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	gitg_test_application_gitg_ext_application_parent_iface = g_type_interface_peek_parent (iface);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_activity_by_id = (GitgExtActivity* (*)(GitgExtApplication*, const gchar*)) gitg_test_application_real_get_activity_by_id;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->set_activity_by_id = (GitgExtActivity* (*)(GitgExtApplication*, const gchar*)) gitg_test_application_real_set_activity_by_id;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->user_query = (void (*)(GitgExtApplication*, GitgExtUserQuery*)) gitg_test_application_real_user_query;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->user_query_async = (void (*)(GitgExtApplication*, GitgExtUserQuery*, GAsyncReadyCallback, gpointer)) gitg_test_application_real_user_query_async;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->user_query_finish = (GtkResponseType (*)(GitgExtApplication*, GAsyncResult*)) gitg_test_application_real_user_query_finish;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->show_infobar = (void (*)(GitgExtApplication*, const gchar*, const gchar*, GtkMessageType)) gitg_test_application_real_show_infobar;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->open_new = (GitgExtApplication* (*)(GitgExtApplication*, GgitRepository*, const gchar*)) gitg_test_application_real_open_new;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->open_repository = (void (*)(GitgExtApplication*, GFile*)) gitg_test_application_real_open_repository;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_verified_committer = (GgitSignature* (*)(GitgExtApplication*)) gitg_test_repository_get_verified_committer;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_repository = gitg_test_application_real_get_repository;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->set_repository = gitg_test_application_real_set_repository;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_message_bus = gitg_test_application_real_get_message_bus;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_current_activity = gitg_test_application_real_get_current_activity;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_environment = gitg_test_application_real_get_environment;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_notifications = gitg_test_application_real_get_notifications;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_busy = gitg_test_application_real_get_busy;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->set_busy = gitg_test_application_real_set_busy;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	iface->get_remote_lookup = gitg_test_application_real_get_remote_lookup;
#line 1246 "application-mock.c"
}


static void gitg_test_application_instance_init (GitgTestApplication * self) {
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self->priv = GITG_TEST_APPLICATION_GET_PRIVATE (self);
#line 1253 "application-mock.c"
}


static void gitg_test_application_finalize (GObject* obj) {
	GitgTestApplication * self;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TEST_TYPE_APPLICATION, GitgTestApplication);
#line 30 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (self->priv->d_expected_queries);
#line 31 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	_g_object_unref0 (self->priv->d_notifications);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	G_OBJECT_CLASS (gitg_test_application_parent_class)->finalize (obj);
#line 1267 "application-mock.c"
}


GType gitg_test_application_get_type (void) {
	static volatile gsize gitg_test_application_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_test_application_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgTestApplicationClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_test_application_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgTestApplication), 0, (GInstanceInitFunc) gitg_test_application_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_application_info = { (GInterfaceInitFunc) gitg_test_application_gitg_ext_application_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_test_application_type_id;
		gitg_test_application_type_id = g_type_register_static (GITG_TEST_TYPE_REPOSITORY, "GitgTestApplication", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_test_application_type_id, GITG_EXT_TYPE_APPLICATION, &gitg_ext_application_info);
		g_once_init_leave (&gitg_test_application_type_id__volatile, gitg_test_application_type_id);
	}
	return gitg_test_application_type_id__volatile;
}


static void _vala_gitg_test_application_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgTestApplication * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TEST_TYPE_APPLICATION, GitgTestApplication);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	switch (property_id) {
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_REPOSITORY:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_take_object (value, gitg_ext_application_get_repository ((GitgExtApplication*) self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_MESSAGE_BUS:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_take_object (value, gitg_ext_application_get_message_bus ((GitgExtApplication*) self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_CURRENT_ACTIVITY:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_take_object (value, gitg_ext_application_get_current_activity ((GitgExtApplication*) self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_ENVIRONMENT:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_take_object (value, gitg_ext_application_get_environment ((GitgExtApplication*) self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_SIMPLE_NOTIFICATIONS:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_take_object (value, gitg_test_application_get_simple_notifications (self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_NOTIFICATIONS:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_take_object (value, gitg_ext_application_get_notifications ((GitgExtApplication*) self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_BUSY:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_set_boolean (value, gitg_ext_application_get_busy ((GitgExtApplication*) self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_REMOTE_LOOKUP:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		g_value_take_object (value, gitg_ext_application_get_remote_lookup ((GitgExtApplication*) self));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 1338 "application-mock.c"
		default:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 1344 "application-mock.c"
	}
}


static void _vala_gitg_test_application_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgTestApplication * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TEST_TYPE_APPLICATION, GitgTestApplication);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
	switch (property_id) {
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_REPOSITORY:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		gitg_ext_application_set_repository ((GitgExtApplication*) self, g_value_get_object (value));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		case GITG_TEST_APPLICATION_BUSY:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		gitg_ext_application_set_busy ((GitgExtApplication*) self, g_value_get_boolean (value));
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 1366 "application-mock.c"
		default:
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/jesse/dev/gitg/tests/gitg/application-mock.vala"
		break;
#line 1372 "application-mock.c"
	}
}



