/* DocumentTest.c generated by valac 0.28.1, the Vala compiler
 * generated from DocumentTest.vala, do not modify */

/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
/* Notation.vala
 *
 * Copyright (C) 2011-2013  Richard Schwarting <aquarichy@gmail.com>
 * Copyright (C) 2011-2015  Daniel Espinosa <esodan@gmail.com>
 *
 * 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:
 *      Richard Schwarting <aquarichy@gmail.com>
 *      Daniel Espinosa <esodan@gmail.com>
 */

#include <glib.h>
#include <glib-object.h>
#include <gxml/gxml.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <gee.h>
#include <stdio.h>


#define TYPE_GXML_TEST (gxml_test_get_type ())
#define GXML_TEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GXML_TEST, GXmlTest))
#define GXML_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GXML_TEST, GXmlTestClass))
#define IS_GXML_TEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GXML_TEST))
#define IS_GXML_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GXML_TEST))
#define GXML_TEST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GXML_TEST, GXmlTestClass))

typedef struct _GXmlTest GXmlTest;
typedef struct _GXmlTestClass GXmlTestClass;
typedef struct _GXmlTestPrivate GXmlTestPrivate;

#define TYPE_DOCUMENT_TEST (document_test_get_type ())
#define DOCUMENT_TEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DOCUMENT_TEST, DocumentTest))
#define DOCUMENT_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DOCUMENT_TEST, DocumentTestClass))
#define IS_DOCUMENT_TEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DOCUMENT_TEST))
#define IS_DOCUMENT_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DOCUMENT_TEST))
#define DOCUMENT_TEST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DOCUMENT_TEST, DocumentTestClass))

typedef struct _DocumentTest DocumentTest;
typedef struct _DocumentTestClass DocumentTestClass;
typedef struct _DocumentTestPrivate DocumentTestPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
#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 _GXmlTest {
	GTypeInstance parent_instance;
	volatile int ref_count;
	GXmlTestPrivate * priv;
};

struct _GXmlTestClass {
	GTypeClass parent_class;
	void (*finalize) (GXmlTest *self);
};

struct _DocumentTest {
	GXmlTest parent_instance;
	DocumentTestPrivate * priv;
};

struct _DocumentTestClass {
	GXmlTestClass parent_class;
};


static gpointer document_test_parent_class = NULL;

gpointer gxml_test_ref (gpointer instance);
void gxml_test_unref (gpointer instance);
GParamSpec* param_spec_gxml_test (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_gxml_test (GValue* value, gpointer v_object);
void value_take_gxml_test (GValue* value, gpointer v_object);
gpointer value_get_gxml_test (const GValue* value);
GType gxml_test_get_type (void) G_GNUC_CONST;
GType document_test_get_type (void) G_GNUC_CONST;
enum  {
	DOCUMENT_TEST_DUMMY_PROPERTY
};
void document_test_add_tests (void);
static void __lambda4_ (void);
static void ___lambda4__gcallback (void);
static void __lambda5_ (void);
GXmlxDocument* gxml_test_get_doc (const gchar* path);
static void ___lambda5__gcallback (void);
static void __lambda6_ (void);
static void ___lambda6__gcallback (void);
static void __lambda7_ (void);
static void document_test_check_contents (GXmlxDocument* test_doc);
static void ___lambda7__gcallback (void);
static void __lambda8_ (void);
void gxml_test_test_error (GXmlDomException expected);
static void ___lambda8__gcallback (void);
static void __lambda9_ (void);
#define GXML_TEST_CONFIG_TEST_DIR "../test"
static void ___lambda9__gcallback (void);
static void __lambda10_ (void);
#define GXML_TEST_CONFIG_TEST_SAVE_DIR "../test"
static void ___lambda10__gcallback (void);
static void __lambda11_ (void);
static void ___lambda11__gcallback (void);
static void __lambda12_ (void);
static void ___lambda12__gcallback (void);
static void __lambda13_ (void);
static void ___lambda13__gcallback (void);
static void __lambda14_ (void);
static void ___lambda14__gcallback (void);
static void __lambda15_ (void);
static void ___lambda15__gcallback (void);
static void __lambda16_ (void);
gchar* gxml_test_get_test_dir (void);
static void ___lambda16__gcallback (void);
static void __lambda17_ (void);
static void ___lambda17__gcallback (void);
static void __lambda18_ (void);
static void ___lambda18__gcallback (void);
static void __lambda19_ (void);
static void ___lambda19__gcallback (void);
static void __lambda20_ (void);
static void ___lambda20__gcallback (void);
static void __lambda21_ (void);
static void ___lambda21__gcallback (void);
static void __lambda22_ (void);
static void ___lambda22__gcallback (void);
static void __lambda23_ (void);
static void ___lambda23__gcallback (void);
static void __lambda24_ (void);
static void ___lambda24__gcallback (void);
static void __lambda25_ (void);
static void ___lambda25__gcallback (void);
static void __lambda26_ (void);
static void ___lambda26__gcallback (void);
static void __lambda27_ (void);
static void ___lambda27__gcallback (void);
static void __lambda28_ (void);
static void ___lambda28__gcallback (void);
static void __lambda29_ (void);
static void ___lambda29__gcallback (void);
static void __lambda30_ (void);
static void ___lambda30__gcallback (void);
void document_test_print_node (GXmlxNode* node);
DocumentTest* document_test_new (void);
DocumentTest* document_test_construct (GType object_type);
GXmlTest* gxml_test_new (void);
GXmlTest* gxml_test_construct (GType object_type);
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 __lambda4_ (void) {
}


static void ___lambda4__gcallback (void) {
#line 29 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda4_ ();
#line 180 "DocumentTest.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 44 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	return self ? g_object_ref (self) : NULL;
#line 187 "DocumentTest.c"
}


static void __lambda5_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlImplementation* impl = NULL;
	GXmlImplementation* _tmp1_ = NULL;
	GXmlImplementation* _tmp2_ = NULL;
	GXmlImplementation* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_ = FALSE;
#line 42 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 42 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 44 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_get_implementation (doc);
#line 44 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _tmp1_;
#line 44 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 44 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	impl = _tmp3_;
#line 46 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = gxml_implementation_has_feature (impl, "xml", NULL);
#line 46 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp4_ == TRUE, "impl.has_feature (\"xml\") == true");
#line 47 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = gxml_implementation_has_feature (impl, "xml", "1.0");
#line 47 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp5_ == TRUE, "impl.has_feature (\"xml\", \"1.0\") == true");
#line 48 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = gxml_implementation_has_feature (impl, "xml", "2.0");
#line 48 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp6_ == FALSE, "impl.has_feature (\"xml\", \"2.0\") == false");
#line 49 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = gxml_implementation_has_feature (impl, "html", NULL);
#line 49 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp7_ == FALSE, "impl.has_feature (\"html\") == false");
#line 50 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = gxml_implementation_has_feature (impl, "nonsense", NULL);
#line 50 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp8_ == FALSE, "impl.has_feature (\"nonsense\") == false");
#line 41 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (impl);
#line 41 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 239 "DocumentTest.c"
}


static void ___lambda5__gcallback (void) {
#line 41 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda5_ ();
#line 246 "DocumentTest.c"
}


static void __lambda6_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxElement* root = NULL;
	GXmlxElement* _tmp1_ = NULL;
	GXmlxElement* _tmp2_ = NULL;
	GXmlxElement* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
#line 53 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 53 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 54 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_get_document_element (doc);
#line 54 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _tmp1_;
#line 54 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 54 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	root = _tmp3_;
#line 56 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = gxml_xnode_get_node_name ((GXmlxNode*) root);
#line 56 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = _tmp4_;
#line 56 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp5_, "Sentences") == 0, "root.node_name == \"Sentences\"");
#line 57 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = gxml_xnode_has_child_nodes ((GXmlxNode*) root);
#line 57 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp6_, "root.has_child_nodes ()");
#line 52 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (root);
#line 52 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 286 "DocumentTest.c"
}


static void ___lambda6__gcallback (void) {
#line 52 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda6_ ();
#line 293 "DocumentTest.c"
}


static void __lambda7_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
#line 61 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 61 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 63 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	document_test_check_contents (doc);
#line 60 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 308 "DocumentTest.c"
}


static void ___lambda7__gcallback (void) {
#line 60 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda7_ ();
#line 315 "DocumentTest.c"
}


static void __lambda8_ (void) {
	GXmlxDocument* doc = NULL;
	GError * _inner_error_ = NULL;
	{
		GXmlxDocument* _tmp0_ = NULL;
		GXmlxDocument* _tmp1_ = NULL;
		GXmlxDocument* _tmp2_ = NULL;
#line 68 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_test_message ("invalid file...");
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = gxml_xdocument_new_from_path ("/tmp/asdfjlkansdlfjl", &_inner_error_);
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = _tmp1_;
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (_inner_error_->domain == GXML_ERROR) {
#line 336 "DocumentTest.c"
				goto __catch0_gxml_error;
			}
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_clear_error (&_inner_error_);
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			return;
#line 347 "DocumentTest.c"
		}
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp2_ = _tmp0_;
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = NULL;
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 70 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp2_;
#line 71 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp0_);
#line 361 "DocumentTest.c"
	}
	goto __finally0;
	__catch0_gxml_error:
	{
		GError* e = NULL;
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 73 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_error_matches (e, GXML_ERROR, GXML_ERROR_PARSER), "e is GXml.Error.PARSER");
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 375 "DocumentTest.c"
	}
	__finally0:
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 67 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 388 "DocumentTest.c"
	}
#line 75 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_INVALID_DOC);
#line 76 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_message ("invalid is directory...");
#line 394 "DocumentTest.c"
	{
		GXmlxDocument* _tmp3_ = NULL;
		GXmlxDocument* _tmp4_ = NULL;
		GXmlxDocument* _tmp5_ = NULL;
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = gxml_xdocument_new_from_path ("/tmp/", &_inner_error_);
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = _tmp4_;
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (_inner_error_->domain == GXML_ERROR) {
#line 407 "DocumentTest.c"
				goto __catch1_gxml_error;
			}
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_clear_error (&_inner_error_);
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			return;
#line 418 "DocumentTest.c"
		}
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = _tmp3_;
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = NULL;
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 80 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp5_;
#line 81 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp3_);
#line 432 "DocumentTest.c"
	}
	goto __finally1;
	__catch1_gxml_error:
	{
		GError* e = NULL;
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 83 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_error_matches (e, GXML_ERROR, GXML_ERROR_PARSER), "e is GXml.Error.PARSER");
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 446 "DocumentTest.c"
	}
	__finally1:
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 78 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 459 "DocumentTest.c"
	}
#line 85 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_INVALID_DOC);
#line 86 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_message ("invalid xml...");
#line 465 "DocumentTest.c"
	{
		GXmlxDocument* _tmp6_ = NULL;
		GXmlxDocument* _tmp7_ = NULL;
		GXmlxDocument* _tmp8_ = NULL;
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = gxml_xdocument_new_from_path ("test_invalid.xml", &_inner_error_);
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = _tmp7_;
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (_inner_error_->domain == GXML_ERROR) {
#line 478 "DocumentTest.c"
				goto __catch2_gxml_error;
			}
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_clear_error (&_inner_error_);
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			return;
#line 489 "DocumentTest.c"
		}
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = _tmp6_;
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = NULL;
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 88 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp8_;
#line 89 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp6_);
#line 503 "DocumentTest.c"
	}
	goto __finally2;
	__catch2_gxml_error:
	{
		GError* e = NULL;
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 91 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_error_matches (e, GXML_ERROR, GXML_ERROR_PARSER), "e is GXml.Error.PARSER");
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 517 "DocumentTest.c"
	}
	__finally2:
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 87 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 530 "DocumentTest.c"
	}
#line 93 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_INVALID_DOC);
#line 65 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 536 "DocumentTest.c"
}


static void ___lambda8__gcallback (void) {
#line 65 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda8_ ();
#line 543 "DocumentTest.c"
}


static void __lambda9_ (void) {
	GFile* fin = NULL;
	GFile* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GError * _inner_error_ = NULL;
#line 96 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = g_file_new_for_path (GXML_TEST_CONFIG_TEST_DIR "/test.xml");
#line 96 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	fin = _tmp0_;
#line 97 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = fin;
#line 97 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = g_file_query_exists (_tmp1_, NULL);
#line 97 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp2_, "fin.query_exists ()");
#line 563 "DocumentTest.c"
	{
		GFileInputStream* instream = NULL;
		GFile* _tmp3_ = NULL;
		GFileInputStream* _tmp4_ = NULL;
		GXmlxDocument* doc = NULL;
		GFileInputStream* _tmp5_ = NULL;
		GXmlxDocument* _tmp6_ = NULL;
		GXmlxDocument* _tmp7_ = NULL;
		GXmlxDocument* _tmp8_ = NULL;
#line 99 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = fin;
#line 99 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = g_file_read (_tmp3_, NULL, &_inner_error_);
#line 99 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		instream = _tmp4_;
#line 99 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 581 "DocumentTest.c"
			goto __catch3_g_error;
		}
#line 100 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = instream;
#line 100 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = gxml_xdocument_new_from_stream ((GInputStream*) _tmp5_, NULL, &_inner_error_);
#line 100 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp6_;
#line 100 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 100 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (instream);
#line 594 "DocumentTest.c"
			goto __catch3_g_error;
		}
#line 101 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = doc;
#line 101 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp7_ != NULL, "doc != null");
#line 102 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = doc;
#line 102 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		document_test_check_contents (_tmp8_);
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (instream);
#line 609 "DocumentTest.c"
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e = NULL;
		const gchar* _tmp9_ = NULL;
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 104 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp9_ = e->message;
#line 104 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_message ("DocumentTest.vala:104: %s", _tmp9_);
#line 105 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 628 "DocumentTest.c"
	}
	__finally3:
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fin);
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 98 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 641 "DocumentTest.c"
	}
#line 95 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (fin);
#line 645 "DocumentTest.c"
}


static void ___lambda9__gcallback (void) {
#line 95 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda9_ ();
#line 652 "DocumentTest.c"
}


static void __lambda10_ (void) {
	GError * _inner_error_ = NULL;
	{
		GFile* f = NULL;
		GFile* _tmp0_ = NULL;
		GFile* _tmp1_ = NULL;
		gboolean _tmp2_ = FALSE;
		GString* s = NULL;
		GString* _tmp4_ = NULL;
		GString* _tmp5_ = NULL;
		GXmlxDocument* d = NULL;
		GString* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		GXmlxDocument* _tmp8_ = NULL;
		GFile* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		gchar* _tmp12_ = NULL;
		gchar* _tmp13_ = NULL;
		GXmlxDocument* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
		gchar* _tmp16_ = NULL;
		gchar* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		GXmlxDocument* _tmp19_ = NULL;
		GFile* _tmp20_ = NULL;
		GFile* _tmp21_ = NULL;
		gboolean _tmp22_ = FALSE;
		GXmlxDocument* d2 = NULL;
		GFile* _tmp23_ = NULL;
		GXmlxDocument* _tmp24_ = NULL;
		GXmlxDocument* _tmp25_ = NULL;
		GXmlxDocument* _tmp26_ = NULL;
		GXmlNode* _tmp27_ = NULL;
		GXmlNode* _tmp28_ = NULL;
		GXmlNode* _tmp29_ = NULL;
		GXmlxDocument* _tmp30_ = NULL;
		GXmlNode* _tmp31_ = NULL;
		GXmlNode* _tmp32_ = NULL;
		GXmlNode* _tmp33_ = NULL;
		gchar* _tmp34_ = NULL;
		gchar* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		GFile* _tmp37_ = NULL;
#line 110 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = g_file_new_for_path (GXML_TEST_CONFIG_TEST_SAVE_DIR "/tw-test-file.xml");
#line 110 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		f = _tmp0_;
#line 111 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = f;
#line 111 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp2_ = g_file_query_exists (_tmp1_, NULL);
#line 111 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (_tmp2_) {
#line 710 "DocumentTest.c"
			GFile* _tmp3_ = NULL;
#line 111 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp3_ = f;
#line 111 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_file_delete (_tmp3_, NULL, &_inner_error_);
#line 111 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 111 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_object_unref0 (f);
#line 720 "DocumentTest.c"
				goto __catch4_g_error;
			}
		}
#line 112 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = g_string_new ("");
#line 112 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		s = _tmp4_;
#line 113 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = s;
#line 113 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_string_append (_tmp5_, "<root />");
#line 114 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = s;
#line 114 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = _tmp6_->str;
#line 114 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = gxml_xdocument_new_from_string (_tmp7_);
#line 114 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		d = _tmp8_;
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp9_ = f;
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp10_ = g_file_get_uri (_tmp9_);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_ = _tmp10_;
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp12_ = g_strconcat ("Saving to file: ", _tmp11_, NULL);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp13_ = _tmp12_;
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp14_ = d;
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp15_ = gxml_xnode_to_string ((GXmlxNode*) _tmp14_);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp16_ = _tmp15_;
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp17_ = g_strconcat (_tmp13_, _tmp16_, NULL);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp18_ = _tmp17_;
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_test_message ("%s", _tmp18_);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp18_);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp16_);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp13_);
#line 115 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp11_);
#line 116 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp19_ = d;
#line 116 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp20_ = f;
#line 116 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		gxml_document_save_as ((GXmlDocument*) _tmp19_, _tmp20_, NULL, &_inner_error_);
#line 116 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 116 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (d);
#line 116 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_string_free0 (s);
#line 116 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (f);
#line 784 "DocumentTest.c"
			goto __catch4_g_error;
		}
#line 117 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp21_ = f;
#line 117 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp22_ = g_file_query_exists (_tmp21_, NULL);
#line 117 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp22_, "f.query_exists ()");
#line 118 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp23_ = f;
#line 118 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp24_ = gxml_xdocument_new_from_gfile (_tmp23_, NULL, &_inner_error_);
#line 118 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		d2 = _tmp24_;
#line 118 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 118 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (d);
#line 118 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_string_free0 (s);
#line 118 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (f);
#line 807 "DocumentTest.c"
			goto __catch4_g_error;
		}
#line 119 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp25_ = d2;
#line 119 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp25_ != NULL, "d2 != null");
#line 120 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp26_ = d2;
#line 120 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp27_ = gxml_xdocument_get_root (_tmp26_);
#line 120 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp28_ = _tmp27_;
#line 120 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp29_ = _tmp28_;
#line 120 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp29_ != NULL, "d2.root != null");
#line 120 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp29_);
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp30_ = d2;
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp31_ = gxml_xdocument_get_root (_tmp30_);
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp32_ = _tmp31_;
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp33_ = _tmp32_;
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp34_ = gxml_node_get_name (_tmp33_);
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp35_ = _tmp34_;
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp36_ = _tmp35_;
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_strcmp0 (_tmp36_, "root") == 0, "d2.root.name == \"root\"");
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp36_);
#line 121 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp33_);
#line 122 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp37_ = f;
#line 122 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_file_delete (_tmp37_, NULL, &_inner_error_);
#line 122 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 122 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (d2);
#line 122 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (d);
#line 122 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_string_free0 (s);
#line 122 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (f);
#line 860 "DocumentTest.c"
			goto __catch4_g_error;
		}
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (d2);
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (d);
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_string_free0 (s);
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (f);
#line 871 "DocumentTest.c"
	}
	goto __finally4;
	__catch4_g_error:
	{
		GError* e = NULL;
		const gchar* _tmp38_ = NULL;
		gchar* _tmp39_ = NULL;
		gchar* _tmp40_ = NULL;
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 124 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp38_ = e->message;
#line 124 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp39_ = g_strconcat ("Error: ", _tmp38_, NULL);
#line 124 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp40_ = _tmp39_;
#line 124 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_message ("DocumentTest.vala:124: %s", _tmp40_);
#line 124 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp40_);
#line 125 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 898 "DocumentTest.c"
	}
	__finally4:
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 109 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 909 "DocumentTest.c"
	}
}


static void ___lambda10__gcallback (void) {
#line 108 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda10_ ();
#line 917 "DocumentTest.c"
}


static void __lambda11_ (void) {
	GError * _inner_error_ = NULL;
	{
		GNetworkMonitor* net = NULL;
		GNetworkMonitor* _tmp0_ = NULL;
		GNetworkMonitor* _tmp1_ = NULL;
		GNetworkMonitor* _tmp2_ = NULL;
		GNetworkConnectivity _tmp3_ = 0;
		GNetworkConnectivity _tmp4_ = 0;
		GFile* rf = NULL;
		GFile* _tmp5_ = NULL;
		GFile* _tmp6_ = NULL;
		gboolean _tmp7_ = FALSE;
		GXmlxDocument* d = NULL;
		GFile* _tmp8_ = NULL;
		GXmlxDocument* _tmp9_ = NULL;
		GXmlxDocument* _tmp10_ = NULL;
		GXmlxDocument* _tmp11_ = NULL;
		GXmlNode* _tmp12_ = NULL;
		GXmlNode* _tmp13_ = NULL;
		GXmlNode* _tmp14_ = NULL;
		GXmlxDocument* _tmp15_ = NULL;
		GXmlNode* _tmp16_ = NULL;
		GXmlNode* _tmp17_ = NULL;
		GXmlNode* _tmp18_ = NULL;
		gchar* _tmp19_ = NULL;
		gchar* _tmp20_ = NULL;
		gchar* _tmp21_ = NULL;
		gboolean fname = FALSE;
		gboolean fshordesc = FALSE;
		gboolean fdescription = FALSE;
		gboolean fhomepage = FALSE;
		gboolean _tmp22_ = FALSE;
		gboolean _tmp23_ = FALSE;
		gboolean _tmp24_ = FALSE;
		gboolean _tmp61_ = FALSE;
		gboolean _tmp62_ = FALSE;
		gboolean _tmp63_ = FALSE;
		gboolean _tmp64_ = FALSE;
		GFile* f = NULL;
		GFile* _tmp65_ = NULL;
		GXmlxDocument* _tmp66_ = NULL;
		GFile* _tmp67_ = NULL;
		GFile* _tmp68_ = NULL;
		gboolean _tmp69_ = FALSE;
		GFile* _tmp70_ = NULL;
#line 130 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = g_network_monitor_get_default ();
#line 130 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 130 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		net = _tmp1_;
#line 131 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp2_ = net;
#line 131 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = g_network_monitor_get_connectivity (_tmp2_);
#line 131 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = _tmp3_;
#line 131 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (_tmp4_ != G_NETWORK_CONNECTIVITY_FULL) {
#line 131 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (net);
#line 131 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			return;
#line 985 "DocumentTest.c"
		}
#line 132 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = g_file_new_for_uri ("https://git.gnome.org/browse/gxml/plain/gxml.doap");
#line 132 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		rf = _tmp5_;
#line 133 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = rf;
#line 133 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = g_file_query_exists (_tmp6_, NULL);
#line 133 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp7_, "rf.query_exists ()");
#line 134 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = rf;
#line 134 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp9_ = gxml_xdocument_new_from_gfile (_tmp8_, NULL, &_inner_error_);
#line 134 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		d = _tmp9_;
#line 134 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 134 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (rf);
#line 134 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (net);
#line 1009 "DocumentTest.c"
			goto __catch5_g_error;
		}
#line 135 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp10_ = d;
#line 135 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp10_ != NULL, "d != null");
#line 136 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_ = d;
#line 136 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp12_ = gxml_xdocument_get_root (_tmp11_);
#line 136 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp13_ = _tmp12_;
#line 136 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp14_ = _tmp13_;
#line 136 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp14_ != NULL, "d.root != null");
#line 136 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp14_);
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp15_ = d;
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp16_ = gxml_xdocument_get_root (_tmp15_);
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp17_ = _tmp16_;
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp18_ = _tmp17_;
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp19_ = gxml_node_get_name (_tmp18_);
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp20_ = _tmp19_;
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp21_ = _tmp20_;
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_strcmp0 (_tmp21_, "Project") == 0, "d.root.name == \"Project\"");
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp21_);
#line 137 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp18_);
#line 139 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fhomepage = FALSE;
#line 139 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp22_ = fhomepage;
#line 139 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fdescription = _tmp22_;
#line 139 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp23_ = fdescription;
#line 139 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fshordesc = _tmp23_;
#line 139 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp24_ = fshordesc;
#line 139 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fname = _tmp24_;
#line 1062 "DocumentTest.c"
		{
			GeeBidirList* _n_list = NULL;
			GXmlxDocument* _tmp25_ = NULL;
			GXmlNode* _tmp26_ = NULL;
			GXmlNode* _tmp27_ = NULL;
			GXmlNode* _tmp28_ = NULL;
			GeeBidirList* _tmp29_ = NULL;
			GeeBidirList* _tmp30_ = NULL;
			GeeBidirList* _tmp31_ = NULL;
			gint _n_size = 0;
			GeeBidirList* _tmp32_ = NULL;
			gint _tmp33_ = 0;
			gint _tmp34_ = 0;
			gint _n_index = 0;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp25_ = d;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp26_ = gxml_xdocument_get_root (_tmp25_);
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp27_ = _tmp26_;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp28_ = _tmp27_;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp29_ = gxml_node_get_childs (_tmp28_);
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp30_ = _tmp29_;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp31_ = _tmp30_;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp28_);
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_n_list = _tmp31_;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp32_ = _n_list;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp33_ = gee_collection_get_size ((GeeCollection*) _tmp32_);
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp34_ = _tmp33_;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_n_size = _tmp34_;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_n_index = -1;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			while (TRUE) {
#line 1107 "DocumentTest.c"
				gint _tmp35_ = 0;
				gint _tmp36_ = 0;
				gint _tmp37_ = 0;
				GXmlNode* n = NULL;
				GeeBidirList* _tmp38_ = NULL;
				gint _tmp39_ = 0;
				gpointer _tmp40_ = NULL;
				GXmlNode* _tmp41_ = NULL;
				gchar* _tmp42_ = NULL;
				gchar* _tmp43_ = NULL;
				gchar* _tmp44_ = NULL;
				gboolean _tmp45_ = FALSE;
				GXmlNode* _tmp46_ = NULL;
				gchar* _tmp47_ = NULL;
				gchar* _tmp48_ = NULL;
				gchar* _tmp49_ = NULL;
				gboolean _tmp50_ = FALSE;
				GXmlNode* _tmp51_ = NULL;
				gchar* _tmp52_ = NULL;
				gchar* _tmp53_ = NULL;
				gchar* _tmp54_ = NULL;
				gboolean _tmp55_ = FALSE;
				GXmlNode* _tmp56_ = NULL;
				gchar* _tmp57_ = NULL;
				gchar* _tmp58_ = NULL;
				gchar* _tmp59_ = NULL;
				gboolean _tmp60_ = FALSE;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp35_ = _n_index;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_n_index = _tmp35_ + 1;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp36_ = _n_index;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp37_ = _n_size;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				if (!(_tmp36_ < _tmp37_)) {
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					break;
#line 1147 "DocumentTest.c"
				}
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp38_ = _n_list;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp39_ = _n_index;
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp40_ = gee_list_get ((GeeList*) _tmp38_, _tmp39_);
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				n = (GXmlNode*) _tmp40_;
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp41_ = n;
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp42_ = gxml_node_get_name (_tmp41_);
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp43_ = _tmp42_;
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp44_ = _tmp43_;
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp45_ = g_strcmp0 (_tmp44_, "name") == 0;
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_free0 (_tmp44_);
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				if (_tmp45_) {
#line 141 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					fname = TRUE;
#line 1173 "DocumentTest.c"
				}
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp46_ = n;
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp47_ = gxml_node_get_name (_tmp46_);
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp48_ = _tmp47_;
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp49_ = _tmp48_;
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp50_ = g_strcmp0 (_tmp49_, "shortdesc") == 0;
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_free0 (_tmp49_);
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				if (_tmp50_) {
#line 142 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					fshordesc = TRUE;
#line 1191 "DocumentTest.c"
				}
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp51_ = n;
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp52_ = gxml_node_get_name (_tmp51_);
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp53_ = _tmp52_;
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp54_ = _tmp53_;
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp55_ = g_strcmp0 (_tmp54_, "description") == 0;
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_free0 (_tmp54_);
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				if (_tmp55_) {
#line 143 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					fdescription = TRUE;
#line 1209 "DocumentTest.c"
				}
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp56_ = n;
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp57_ = gxml_node_get_name (_tmp56_);
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp58_ = _tmp57_;
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp59_ = _tmp58_;
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp60_ = g_strcmp0 (_tmp59_, "homepage") == 0;
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_free0 (_tmp59_);
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				if (_tmp60_) {
#line 144 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					fhomepage = TRUE;
#line 1227 "DocumentTest.c"
				}
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_object_unref0 (n);
#line 1231 "DocumentTest.c"
			}
#line 140 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_n_list);
#line 1235 "DocumentTest.c"
		}
#line 146 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp61_ = fname;
#line 146 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp61_, "fname");
#line 147 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp62_ = fshordesc;
#line 147 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp62_, "fshordesc");
#line 148 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp63_ = fdescription;
#line 148 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp63_, "fdescription");
#line 149 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp64_ = fhomepage;
#line 149 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp64_, "fhomepage");
#line 150 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp65_ = g_file_new_for_path (GXML_TEST_CONFIG_TEST_SAVE_DIR "/xml.doap");
#line 150 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		f = _tmp65_;
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp66_ = d;
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp67_ = f;
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		gxml_document_save_as ((GXmlDocument*) _tmp66_, _tmp67_, NULL, &_inner_error_);
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (f);
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (d);
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (rf);
#line 151 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (net);
#line 1273 "DocumentTest.c"
			goto __catch5_g_error;
		}
#line 152 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp68_ = f;
#line 152 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp69_ = g_file_query_exists (_tmp68_, NULL);
#line 152 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp69_, "f.query_exists ()");
#line 153 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp70_ = f;
#line 153 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_file_delete (_tmp70_, NULL, &_inner_error_);
#line 153 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 153 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (f);
#line 153 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (d);
#line 153 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (rf);
#line 153 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (net);
#line 1296 "DocumentTest.c"
			goto __catch5_g_error;
		}
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (f);
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (d);
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (rf);
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (net);
#line 1307 "DocumentTest.c"
	}
	goto __finally5;
	__catch5_g_error:
	{
		GError* e = NULL;
		const gchar* _tmp71_ = NULL;
		gchar* _tmp72_ = NULL;
		gchar* _tmp73_ = NULL;
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 155 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp71_ = e->message;
#line 155 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp72_ = g_strconcat ("Error: ", _tmp71_, NULL);
#line 155 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp73_ = _tmp72_;
#line 155 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_message ("DocumentTest.vala:155: %s", _tmp73_);
#line 155 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp73_);
#line 156 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 1334 "DocumentTest.c"
	}
	__finally5:
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 129 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 1345 "DocumentTest.c"
	}
}


static void ___lambda11__gcallback (void) {
#line 128 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda11_ ();
#line 1353 "DocumentTest.c"
}


static void __lambda12_ (void) {
	GFile* fin = NULL;
	GInputStream* instream = NULL;
	GFileIOStream* iostream = NULL;
	GXmlxDocument* doc = NULL;
	GError * _inner_error_ = NULL;
	{
		GFile* _tmp0_ = NULL;
		GFileIOStream* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
		GFile* _tmp3_ = NULL;
		GXmlxDocument* _tmp4_ = NULL;
		GFileIOStream* _tmp5_ = NULL;
		GInputStream* _tmp6_ = NULL;
		GInputStream* _tmp7_ = NULL;
		GXmlxDocument* _tmp8_ = NULL;
		GXmlxDocument* _tmp9_ = NULL;
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp2_ = g_file_new_tmp ("gxml.XXXXXX", &_tmp1_, &_inner_error_);
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (iostream);
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		iostream = _tmp1_;
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = _tmp2_;
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (_inner_error_->domain == GXML_ERROR) {
#line 1386 "DocumentTest.c"
				goto __catch6_gxml_error;
			}
			goto __catch6_g_error;
		}
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = _tmp0_;
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = NULL;
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fin);
#line 166 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fin = _tmp3_;
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = iostream;
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = g_io_stream_get_input_stream ((GIOStream*) _tmp5_);
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = _tmp6_;
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = gxml_xdocument_new_from_stream (_tmp7_, NULL, &_inner_error_);
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = _tmp8_;
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp0_);
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (_inner_error_->domain == GXML_ERROR) {
#line 1415 "DocumentTest.c"
				goto __catch6_gxml_error;
			}
			goto __catch6_g_error;
		}
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp9_ = _tmp4_;
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = NULL;
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 167 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp9_;
#line 168 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_message ("DocumentTest.vala:168: Passed parse error stream");
#line 169 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp4_);
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp0_);
#line 1436 "DocumentTest.c"
	}
	goto __finally6;
	__catch6_gxml_error:
	{
		GError* e = NULL;
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 171 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_error_matches (e, GXML_ERROR, GXML_ERROR_PARSER), "e is GXml.Error.PARSER");
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 1450 "DocumentTest.c"
	}
	goto __finally6;
	__catch6_g_error:
	{
		GError* e = NULL;
		const gchar* _tmp10_ = NULL;
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 173 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp10_ = e->message;
#line 173 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_message ("DocumentTest.vala:173: Test encountered unexpected error '%s'\n", _tmp10_);
#line 174 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 1469 "DocumentTest.c"
	}
	__finally6:
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (iostream);
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (instream);
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fin);
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 165 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 1488 "DocumentTest.c"
	}
#line 176 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_INVALID_DOC);
#line 159 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 159 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (iostream);
#line 159 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (instream);
#line 159 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (fin);
#line 1500 "DocumentTest.c"
}


static void ___lambda12__gcallback (void) {
#line 159 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda12_ ();
#line 1507 "DocumentTest.c"
}


static void __lambda13_ (void) {
	gchar* xml = NULL;
	GXmlxDocument* doc = NULL;
	GXmlxNode* root = NULL;
	gchar* _tmp0_ = NULL;
	GXmlxDocument* _tmp1_ = NULL;
	GXmlxElement* _tmp2_ = NULL;
	GXmlxElement* _tmp3_ = NULL;
	GXmlxNode* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
	GXmlxNode* _tmp8_ = NULL;
	GXmlxNode* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	GXmlxNode* _tmp12_ = NULL;
	GXmlxNode* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
#line 183 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = g_strdup ("<Fruits><Apple></Apple><Orange></Orange></Fruits>");
#line 183 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (xml);
#line 183 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	xml = _tmp0_;
#line 184 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_new_from_string (xml);
#line 184 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 184 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp1_;
#line 186 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_xdocument_get_document_element (doc);
#line 186 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 186 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _g_object_ref0 ((GXmlxNode*) _tmp3_);
#line 186 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (root);
#line 186 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	root = _tmp4_;
#line 187 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = gxml_xnode_get_node_name (root);
#line 187 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = _tmp5_;
#line 187 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp6_, "Fruits") == 0, "root.node_name == \"Fruits\"");
#line 188 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = gxml_xnode_has_child_nodes (root);
#line 188 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp7_ == TRUE, "root.has_child_nodes () == true");
#line 189 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = gxml_xnode_get_first_child (root);
#line 189 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp9_ = _tmp8_;
#line 189 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp10_ = gxml_xnode_get_node_name (_tmp9_);
#line 189 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp11_ = _tmp10_;
#line 189 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp11_, "Apple") == 0, "root.first_child.node_name == \"Apple\"");
#line 190 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp12_ = gxml_xnode_get_last_child (root);
#line 190 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp13_ = _tmp12_;
#line 190 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp14_ = gxml_xnode_get_node_name (_tmp13_);
#line 190 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp15_ = _tmp14_;
#line 190 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp15_, "Orange") == 0, "root.last_child.node_name == \"Orange\"");
#line 178 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (root);
#line 178 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 178 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (xml);
#line 1589 "DocumentTest.c"
}


static void ___lambda13__gcallback (void) {
#line 178 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda13_ ();
#line 1596 "DocumentTest.c"
}


static void __lambda14_ (void) {
	GError * _inner_error_ = NULL;
	{
		gchar* xml = NULL;
		GXmlxDocument* doc = NULL;
		GXmlxNode* root = NULL;
		gchar* _tmp0_ = NULL;
		GXmlxDocument* _tmp1_ = NULL;
		GXmlxElement* _tmp2_ = NULL;
		GXmlxElement* _tmp3_ = NULL;
		GXmlxNode* _tmp4_ = NULL;
#line 198 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = g_strdup ("<?xml version=\"1.0\"?>");
#line 198 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (xml);
#line 198 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		xml = _tmp0_;
#line 199 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = gxml_xdocument_new_from_string (xml);
#line 199 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 199 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp1_;
#line 201 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (doc != NULL, "doc != null");
#line 202 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp2_ = gxml_xdocument_get_document_element (doc);
#line 202 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = _tmp2_;
#line 202 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = _g_object_ref0 ((GXmlxNode*) _tmp3_);
#line 202 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (root);
#line 202 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		root = _tmp4_;
#line 203 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (root == NULL, "root == null");
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (root);
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (xml);
#line 1643 "DocumentTest.c"
	}
	goto __finally7;
	__catch7_g_error:
	{
		GError* e = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 205 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = e;
#line 205 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = _tmp5_->message;
#line 205 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = g_strconcat ("Error: ", _tmp6_, NULL);
#line 205 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = _tmp7_;
#line 205 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_message ("DocumentTest.vala:205: %s", _tmp8_);
#line 205 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp8_);
#line 206 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 1673 "DocumentTest.c"
	}
	__finally7:
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 193 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 1684 "DocumentTest.c"
	}
}


static void ___lambda14__gcallback (void) {
#line 192 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda14_ ();
#line 1692 "DocumentTest.c"
}


static void __lambda15_ (void) {
	gchar* xml = NULL;
	GXmlxDocument* doc = NULL;
	GXmlxNode* root = NULL;
	gchar* _tmp0_ = NULL;
	GXmlxDocument* _tmp1_ = NULL;
	GXmlxElement* _tmp2_ = NULL;
	GXmlxElement* _tmp3_ = NULL;
	GXmlxNode* _tmp4_ = NULL;
#line 214 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = g_strdup ("");
#line 214 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (xml);
#line 214 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	xml = _tmp0_;
#line 215 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_new_from_string (xml);
#line 215 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 215 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp1_;
#line 217 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (doc != NULL, "doc != null");
#line 218 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_xdocument_get_document_element (doc);
#line 218 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 218 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _g_object_ref0 ((GXmlxNode*) _tmp3_);
#line 218 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (root);
#line 218 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	root = _tmp4_;
#line 219 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (root == NULL, "root == null");
#line 209 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (root);
#line 209 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 209 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (xml);
#line 1737 "DocumentTest.c"
}


static void ___lambda15__gcallback (void) {
#line 209 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda15_ ();
#line 1744 "DocumentTest.c"
}


static void __lambda16_ (void) {
	GXmlxDocument* doc = NULL;
	gint exit_status = 0;
	GError * _inner_error_ = NULL;
	{
		GXmlxDocument* _tmp0_ = NULL;
		GXmlxDocument* _tmp1_ = NULL;
		const gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		gchar** _tmp11_ = NULL;
		gchar** _tmp12_ = NULL;
		gint _tmp12__length1 = 0;
		gint _tmp13_ = 0;
		gint _tmp14_ = 0;
#line 226 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = gxml_test_get_doc (NULL);
#line 226 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 226 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp0_;
#line 230 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = doc;
#line 230 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp2_ = g_get_tmp_dir ();
#line 230 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = g_strconcat (_tmp2_, "/test_out_path.xml", NULL);
#line 230 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = _tmp3_;
#line 230 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		gxml_xdocument_save_to_path (_tmp1_, _tmp4_, &_inner_error_);
#line 230 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp4_);
#line 230 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1789 "DocumentTest.c"
			goto __catch8_g_error;
		}
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = g_strdup ("/usr/bin/diff");
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = g_get_tmp_dir ();
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = g_strconcat (_tmp6_, "/test_out_path.xml", NULL);
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = gxml_test_get_test_dir ();
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp9_ = _tmp8_;
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp10_ = g_strconcat (_tmp9_, "/test_out_path_expected.xml", NULL);
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_ = g_new0 (gchar*, 3 + 1);
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_[0] = _tmp5_;
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_[1] = _tmp7_;
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_[2] = _tmp10_;
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp12_ = _tmp11_;
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp12__length1 = 3;
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_spawn_sync (NULL, _tmp12_, NULL, 0, NULL, NULL, NULL, NULL, &_tmp13_, &_inner_error_);
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		exit_status = _tmp13_;
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp12_ = (_vala_array_free (_tmp12_, _tmp12__length1, (GDestroyNotify) g_free), NULL);
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp9_);
#line 232 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1826 "DocumentTest.c"
			goto __catch8_g_error;
		}
#line 237 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp14_ = exit_status;
#line 237 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp14_ == 0, "exit_status == 0");
#line 1833 "DocumentTest.c"
	}
	goto __finally8;
	__catch8_g_error:
	{
		GError* e = NULL;
		const gchar* _tmp15_ = NULL;
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 239 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp15_ = e->message;
#line 239 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_test_message ("%s", _tmp15_);
#line 240 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 1852 "DocumentTest.c"
	}
	__finally8:
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 225 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 1865 "DocumentTest.c"
	}
#line 221 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 1869 "DocumentTest.c"
}


static void ___lambda16__gcallback (void) {
#line 221 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda16_ ();
#line 1876 "DocumentTest.c"
}


static void __lambda17_ (void) {
	GXmlxDocument* doc = NULL;
	GError * _inner_error_ = NULL;
	{
		GXmlxDocument* _tmp0_ = NULL;
#line 247 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = gxml_test_get_doc (NULL);
#line 247 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 247 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp0_;
#line 248 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		gxml_xdocument_save_to_path (doc, "/tmp/a/b/c/d/e/f/g/h/i", &_inner_error_);
#line 248 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 248 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (_inner_error_->domain == GXML_ERROR) {
#line 1897 "DocumentTest.c"
				goto __catch9_gxml_error;
			}
#line 248 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 248 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 248 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			g_clear_error (&_inner_error_);
#line 248 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			return;
#line 1908 "DocumentTest.c"
		}
#line 249 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 1912 "DocumentTest.c"
	}
	goto __finally9;
	__catch9_gxml_error:
	{
		GError* e = NULL;
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 251 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_error_matches (e, GXML_ERROR, GXML_ERROR_WRITER), "e is GXml.Error.WRITER");
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 1926 "DocumentTest.c"
	}
	__finally9:
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 246 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 1939 "DocumentTest.c"
	}
#line 253 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_X_OTHER);
#line 243 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 1945 "DocumentTest.c"
}


static void ___lambda17__gcallback (void) {
#line 243 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda17_ ();
#line 1952 "DocumentTest.c"
}


static void __lambda18_ (void) {
	GError * _inner_error_ = NULL;
	{
		GFile* fin = NULL;
		GFile* fout = NULL;
		GInputStream* instream = NULL;
		GOutputStream* outstream = NULL;
		GXmlxDocument* doc = NULL;
		gint exit_status = 0;
		gchar* _tmp0_ = NULL;
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		GFile* _tmp4_ = NULL;
		GFileInputStream* _tmp5_ = NULL;
		GFile* _tmp6_ = NULL;
		GFileInputStream* _tmp7_ = NULL;
		GFileInputStream* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		GFile* _tmp12_ = NULL;
		GFileOutputStream* _tmp13_ = NULL;
		GFile* _tmp14_ = NULL;
		GFileOutputStream* _tmp15_ = NULL;
		GFileOutputStream* _tmp16_ = NULL;
		GXmlxDocument* _tmp17_ = NULL;
		GInputStream* _tmp18_ = NULL;
		GXmlxDocument* _tmp19_ = NULL;
		GXmlxDocument* _tmp20_ = NULL;
		GXmlxDocument* _tmp21_ = NULL;
		GOutputStream* _tmp22_ = NULL;
		gchar* _tmp23_ = NULL;
		const gchar* _tmp24_ = NULL;
		gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
		gchar* _tmp27_ = NULL;
		gchar* _tmp28_ = NULL;
		gchar** _tmp29_ = NULL;
		gchar** _tmp30_ = NULL;
		gint _tmp30__length1 = 0;
		gint _tmp31_ = 0;
		gint _tmp32_ = 0;
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = gxml_test_get_test_dir ();
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = _tmp0_;
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp2_ = g_strconcat (_tmp1_, "/test.xml", NULL);
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = _tmp2_;
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = g_file_new_for_path (_tmp3_);
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fin);
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fin = _tmp4_;
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp3_);
#line 265 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp1_);
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = fin;
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = g_file_read (_tmp6_, NULL, &_inner_error_);
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = _tmp7_;
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (instream);
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fin);
#line 2035 "DocumentTest.c"
			goto __catch10_g_error;
		}
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = _tmp5_;
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = NULL;
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (instream);
#line 266 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		instream = (GInputStream*) _tmp8_;
#line 268 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp9_ = g_get_tmp_dir ();
#line 268 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp10_ = g_strconcat (_tmp9_, "/test_out_stream.xml", NULL);
#line 268 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_ = _tmp10_;
#line 268 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp12_ = g_file_new_for_path (_tmp11_);
#line 268 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fout);
#line 268 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fout = _tmp12_;
#line 268 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp11_);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp14_ = fout;
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp15_ = g_file_replace (_tmp14_, NULL, TRUE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, &_inner_error_);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp13_ = _tmp15_;
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp5_);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (instream);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fin);
#line 2080 "DocumentTest.c"
			goto __catch10_g_error;
		}
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp16_ = _tmp13_;
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp13_ = NULL;
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (outstream);
#line 270 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		outstream = (GOutputStream*) _tmp16_;
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp18_ = instream;
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp19_ = gxml_xdocument_new_from_stream (_tmp18_, NULL, &_inner_error_);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp17_ = _tmp19_;
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp13_);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp5_);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (instream);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fin);
#line 2113 "DocumentTest.c"
			goto __catch10_g_error;
		}
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp20_ = _tmp17_;
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp17_ = NULL;
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 272 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp20_;
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp21_ = doc;
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp22_ = outstream;
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		gxml_xdocument_save_to_stream (_tmp21_, _tmp22_, NULL, &_inner_error_);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp17_);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp13_);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp5_);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (instream);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 273 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fin);
#line 2148 "DocumentTest.c"
			goto __catch10_g_error;
		}
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp23_ = g_strdup ("/usr/bin/diff");
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp24_ = g_get_tmp_dir ();
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp25_ = g_strconcat (_tmp24_, "/test_out_stream.xml", NULL);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp26_ = gxml_test_get_test_dir ();
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp27_ = _tmp26_;
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp28_ = g_strconcat (_tmp27_, "/test_out_stream_expected.xml", NULL);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp29_ = g_new0 (gchar*, 3 + 1);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp29_[0] = _tmp23_;
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp29_[1] = _tmp25_;
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp29_[2] = _tmp28_;
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp30_ = _tmp29_;
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp30__length1 = 3;
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_spawn_sync (NULL, _tmp30_, NULL, 0, NULL, NULL, NULL, NULL, &_tmp31_, &_inner_error_);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		exit_status = _tmp31_;
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp30_ = (_vala_array_free (_tmp30_, _tmp30__length1, (GDestroyNotify) g_free), NULL);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp27_);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp17_);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp13_);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp5_);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (instream);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 275 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fin);
#line 2201 "DocumentTest.c"
			goto __catch10_g_error;
		}
#line 281 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp32_ = exit_status;
#line 281 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (_tmp32_ == 0, "exit_status == 0");
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp17_);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp13_);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp5_);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (outstream);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (instream);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fout);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fin);
#line 2224 "DocumentTest.c"
	}
	goto __finally10;
	__catch10_g_error:
	{
		GError* e = NULL;
		const gchar* _tmp33_ = NULL;
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 283 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp33_ = e->message;
#line 283 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_test_message ("%s", _tmp33_);
#line 284 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 2243 "DocumentTest.c"
	}
	__finally10:
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 257 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2254 "DocumentTest.c"
	}
}


static void ___lambda18__gcallback (void) {
#line 256 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda18_ ();
#line 2262 "DocumentTest.c"
}


static void __lambda19_ (void) {
	GError * _inner_error_ = NULL;
	{
		GFile* fout = NULL;
		GFileIOStream* iostream = NULL;
		GOutputStream* outstream = NULL;
		GXmlxDocument* doc = NULL;
		gint exit_status = 0;
		GXmlxDocument* _tmp0_ = NULL;
		GFile* _tmp1_ = NULL;
		GFileIOStream* _tmp2_ = NULL;
		GFile* _tmp3_ = NULL;
		GFile* _tmp4_ = NULL;
		GFileOutputStream* _tmp5_ = NULL;
		GFile* _tmp6_ = NULL;
		GFileOutputStream* _tmp7_ = NULL;
		GFileOutputStream* _tmp8_ = NULL;
		GOutputStream* _tmp9_ = NULL;
		GXmlxDocument* _tmp10_ = NULL;
		GOutputStream* _tmp11_ = NULL;
#line 295 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp0_ = gxml_test_get_doc (NULL);
#line 295 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 295 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		doc = _tmp0_;
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = g_file_new_tmp ("gxml.XXXXXX", &_tmp2_, &_inner_error_);
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (iostream);
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		iostream = _tmp2_;
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = _tmp3_;
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (iostream);
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 2310 "DocumentTest.c"
			goto __catch11_g_error;
		}
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = _tmp1_;
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp1_ = NULL;
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fout);
#line 297 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fout = _tmp4_;
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = fout;
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp7_ = g_file_replace (_tmp6_, NULL, TRUE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, &_inner_error_);
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = _tmp7_;
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp1_);
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (iostream);
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 2339 "DocumentTest.c"
			goto __catch11_g_error;
		}
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp8_ = _tmp5_;
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = NULL;
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (outstream);
#line 298 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		outstream = (GOutputStream*) _tmp8_;
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp9_ = outstream;
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_output_stream_close (_tmp9_, NULL, &_inner_error_);
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp5_);
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp1_);
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (iostream);
#line 299 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 2368 "DocumentTest.c"
			goto __catch11_g_error;
		}
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp10_ = doc;
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp11_ = outstream;
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		gxml_xdocument_save_to_stream (_tmp10_, _tmp11_, NULL, &_inner_error_);
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp5_);
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (_tmp1_);
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (doc);
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (outstream);
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (iostream);
#line 301 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (fout);
#line 2391 "DocumentTest.c"
			goto __catch11_g_error;
		}
#line 302 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp5_);
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp1_);
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (outstream);
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (iostream);
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fout);
#line 2408 "DocumentTest.c"
	}
	goto __finally11;
	__catch11_g_error:
	{
		GError* e = NULL;
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		e = _inner_error_;
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_inner_error_ = NULL;
#line 304 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_vala_assert (g_error_matches (e, GXML_ERROR, GXML_ERROR_WRITER), "e is GXml.Error.WRITER");
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_error_free0 (e);
#line 2422 "DocumentTest.c"
	}
	__finally11:
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 288 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2433 "DocumentTest.c"
	}
#line 306 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_X_OTHER);
#line 2437 "DocumentTest.c"
}


static void ___lambda19__gcallback (void) {
#line 287 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda19_ ();
#line 2444 "DocumentTest.c"
}


static void __lambda20_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxElement* elem = NULL;
	GXmlNode* _tmp1_ = NULL;
	GXmlxDocument* _tmp2_ = NULL;
	GXmlNode* _tmp3_ = NULL;
	GXmlNode* _tmp4_ = NULL;
	GXmlxElement* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	GXmlxElement* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	GXmlNode* _tmp13_ = NULL;
	GXmlxDocument* _tmp14_ = NULL;
	GXmlNode* _tmp15_ = NULL;
	GXmlNode* _tmp16_ = NULL;
	GError * _inner_error_ = NULL;
#line 309 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 309 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 310 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	elem = NULL;
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = doc;
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = gxml_document_create_element ((GXmlDocument*) _tmp2_, "Banana", &_inner_error_);
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = _tmp3_;
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (elem);
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2493 "DocumentTest.c"
	}
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _tmp1_;
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = NULL;
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (elem);
#line 312 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	elem = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 313 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_NONE);
#line 314 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = elem;
#line 314 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = gxml_element_get_tag_name ((GXmlElement*) _tmp5_);
#line 314 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = _tmp6_;
#line 314 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = _tmp7_;
#line 314 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp8_, "Banana") == 0, "elem.tag_name == \"Banana\"");
#line 314 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp8_);
#line 315 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp9_ = elem;
#line 315 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp10_ = gxml_element_get_tag_name ((GXmlElement*) _tmp9_);
#line 315 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp11_ = _tmp10_;
#line 315 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp12_ = _tmp11_;
#line 315 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp12_, "banana") != 0, "elem.tag_name != \"banana\"");
#line 315 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp12_);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp14_ = doc;
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp15_ = gxml_document_create_element ((GXmlDocument*) _tmp14_, "ØÏØÏØ¯ÏØÏ  ²øœ³¤ïØ£", &_inner_error_);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp13_ = _tmp15_;
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp1_);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (elem);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2549 "DocumentTest.c"
	}
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp16_ = _tmp13_;
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp13_ = NULL;
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (elem);
#line 317 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	elem = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 318 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_test_test_error (GXML_DOM_EXCEPTION_INVALID_CHARACTER);
#line 308 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp13_);
#line 308 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp1_);
#line 308 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (elem);
#line 308 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 2569 "DocumentTest.c"
}


static void ___lambda20__gcallback (void) {
#line 308 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda20_ ();
#line 2576 "DocumentTest.c"
}


static void __lambda21_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlDocumentFragment* fragment = NULL;
	GXmlxDocument* _tmp1_ = NULL;
	GXmlDocumentFragment* _tmp2_ = NULL;
	GXmlDocumentFragment* _tmp3_ = NULL;
	GXmlNode* _tmp4_ = NULL;
	GXmlxDocument* _tmp5_ = NULL;
	GXmlNode* _tmp6_ = NULL;
	GXmlxElement* percy = NULL;
	GXmlNode* _tmp7_ = NULL;
	GXmlNode* _tmp8_ = NULL;
	GXmlxDocument* _tmp9_ = NULL;
	GXmlNode* _tmp10_ = NULL;
	GXmlxElement* percy_name = NULL;
	GXmlNode* _tmp11_ = NULL;
	GXmlNode* _tmp12_ = NULL;
	GXmlxDocument* _tmp13_ = NULL;
	GXmlNode* _tmp14_ = NULL;
	GXmlxElement* percy_email = NULL;
	GXmlNode* _tmp15_ = NULL;
	GXmlxElement* _tmp16_ = NULL;
	GXmlxElement* _tmp17_ = NULL;
	GXmlxElement* _tmp18_ = NULL;
	GXmlxElement* _tmp19_ = NULL;
	GXmlxElement* _tmp20_ = NULL;
	GXmlxElement* _tmp21_ = NULL;
	GXmlDocumentFragment* _tmp22_ = NULL;
	GXmlxElement* _tmp23_ = NULL;
	GXmlNode* _tmp24_ = NULL;
	GXmlxDocument* _tmp25_ = NULL;
	GXmlNode* _tmp26_ = NULL;
	GXmlxElement* ginny = NULL;
	GXmlNode* _tmp27_ = NULL;
	GXmlNode* _tmp28_ = NULL;
	GXmlxDocument* _tmp29_ = NULL;
	GXmlNode* _tmp30_ = NULL;
	GXmlxElement* ginny_name = NULL;
	GXmlNode* _tmp31_ = NULL;
	GXmlNode* _tmp32_ = NULL;
	GXmlxDocument* _tmp33_ = NULL;
	GXmlNode* _tmp34_ = NULL;
	GXmlxElement* ginny_email = NULL;
	GXmlNode* _tmp35_ = NULL;
	GXmlxElement* _tmp36_ = NULL;
	GXmlxElement* _tmp37_ = NULL;
	GXmlxElement* _tmp38_ = NULL;
	GXmlxElement* _tmp39_ = NULL;
	GXmlxElement* _tmp40_ = NULL;
	GXmlxElement* _tmp41_ = NULL;
	GXmlDocumentFragment* _tmp42_ = NULL;
	GXmlxElement* _tmp43_ = NULL;
	GXmlxNodeList* authors_list = NULL;
	GXmlxDocument* _tmp44_ = NULL;
	GXmlxNodeList* _tmp45_ = NULL;
	GXmlxNodeList* _tmp46_ = NULL;
	gulong _tmp47_ = 0UL;
	gulong _tmp48_ = 0UL;
	GXmlxElement* authors = NULL;
	GXmlxNodeList* _tmp49_ = NULL;
	GXmlxNode* _tmp50_ = NULL;
	GXmlxElement* _tmp51_ = NULL;
	GXmlxNodeList* _tmp52_ = NULL;
	GXmlxNodeList* _tmp53_ = NULL;
	gulong _tmp54_ = 0UL;
	gulong _tmp55_ = 0UL;
	GXmlDocumentFragment* _tmp56_ = NULL;
	GXmlxNodeList* _tmp57_ = NULL;
	GXmlxNodeList* _tmp58_ = NULL;
	gulong _tmp59_ = 0UL;
	gulong _tmp60_ = 0UL;
	GXmlxDocument* _tmp61_ = NULL;
	gchar* _tmp62_ = NULL;
	gchar* _tmp63_ = NULL;
	GXmlxElement* _tmp64_ = NULL;
	GXmlDocumentFragment* _tmp65_ = NULL;
	GXmlxElement* _tmp66_ = NULL;
	GXmlxNodeList* _tmp67_ = NULL;
	GXmlxNodeList* _tmp68_ = NULL;
	gulong _tmp69_ = 0UL;
	gulong _tmp70_ = 0UL;
	gboolean _tmp71_ = FALSE;
	gchar* expected = NULL;
	gchar* _tmp82_ = NULL;
	GXmlxDocument* _tmp83_ = NULL;
	gchar* _tmp84_ = NULL;
	gchar* _tmp85_ = NULL;
	const gchar* _tmp86_ = NULL;
	GError * _inner_error_ = NULL;
#line 322 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 322 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 323 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = doc;
#line 323 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_xdocument_create_document_fragment (_tmp1_);
#line 323 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 323 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	fragment = _tmp3_;
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = doc;
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = gxml_document_create_element ((GXmlDocument*) _tmp5_, "Author", &_inner_error_);
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _tmp6_;
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fragment);
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2700 "DocumentTest.c"
	}
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = _tmp4_;
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = NULL;
#line 326 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	percy = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp9_ = doc;
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp10_ = gxml_document_create_element ((GXmlDocument*) _tmp9_, "Name", &_inner_error_);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = _tmp10_;
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp4_);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fragment);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2730 "DocumentTest.c"
	}
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp11_ = _tmp8_;
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = NULL;
#line 327 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	percy_name = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp13_ = doc;
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp14_ = gxml_document_create_element ((GXmlDocument*) _tmp13_, "Email", &_inner_error_);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp12_ = _tmp14_;
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy_name);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp8_);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp4_);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fragment);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2764 "DocumentTest.c"
	}
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp15_ = _tmp12_;
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp12_ = NULL;
#line 328 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	percy_email = G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 329 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp16_ = percy_name;
#line 329 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_element_set_content ((GXmlElement*) _tmp16_, "Percy");
#line 330 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp17_ = percy_email;
#line 330 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_element_set_content ((GXmlElement*) _tmp17_, "pweasley@hogwarts.co.uk");
#line 331 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp18_ = percy;
#line 331 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp19_ = percy_name;
#line 331 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp18_, (GXmlxNode*) _tmp19_);
#line 332 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp20_ = percy;
#line 332 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp21_ = percy_email;
#line 332 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp20_, (GXmlxNode*) _tmp21_);
#line 333 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp22_ = fragment;
#line 333 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp23_ = percy;
#line 333 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp22_, (GXmlxNode*) _tmp23_);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp25_ = doc;
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp26_ = gxml_document_create_element ((GXmlDocument*) _tmp25_, "Author", &_inner_error_);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp24_ = _tmp26_;
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy_email);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp12_);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy_name);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp8_);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp4_);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fragment);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2828 "DocumentTest.c"
	}
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp27_ = _tmp24_;
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp24_ = NULL;
#line 335 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	ginny = G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp29_ = doc;
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp30_ = gxml_document_create_element ((GXmlDocument*) _tmp29_, "Name", &_inner_error_);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp28_ = _tmp30_;
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (ginny);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp24_);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy_email);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp12_);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy_name);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp8_);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp4_);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fragment);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2870 "DocumentTest.c"
	}
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp31_ = _tmp28_;
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp28_ = NULL;
#line 336 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	ginny_name = G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp33_ = doc;
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp34_ = gxml_document_create_element ((GXmlDocument*) _tmp33_, "Email", &_inner_error_);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp32_ = _tmp34_;
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (ginny_name);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp28_);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (ginny);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp24_);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy_email);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp12_);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy_name);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp8_);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (percy);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp4_);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (fragment);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (doc);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_clear_error (&_inner_error_);
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		return;
#line 2916 "DocumentTest.c"
	}
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp35_ = _tmp32_;
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp32_ = NULL;
#line 337 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	ginny_email = G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 338 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp36_ = ginny_name;
#line 338 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_element_set_content ((GXmlElement*) _tmp36_, "Ginny");
#line 339 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp37_ = ginny_email;
#line 339 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_element_set_content ((GXmlElement*) _tmp37_, "weasleyg@hogwarts.co.uk");
#line 340 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp38_ = ginny;
#line 340 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp39_ = ginny_name;
#line 340 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp38_, (GXmlxNode*) _tmp39_);
#line 341 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp40_ = ginny;
#line 341 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp41_ = ginny_email;
#line 341 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp40_, (GXmlxNode*) _tmp41_);
#line 342 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp42_ = fragment;
#line 342 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp43_ = ginny;
#line 342 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp42_, (GXmlxNode*) _tmp43_);
#line 344 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp44_ = doc;
#line 344 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp45_ = gxml_xdocument_get_elements_by_tag_name (_tmp44_, "Authors");
#line 344 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	authors_list = _tmp45_;
#line 345 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp46_ = authors_list;
#line 345 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp47_ = gxml_xnode_list_get_length (_tmp46_);
#line 345 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp48_ = _tmp47_;
#line 345 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp48_ == ((gulong) 1), "authors_list.length == 1");
#line 346 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp49_ = authors_list;
#line 346 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp50_ = gxml_xnode_list_item (_tmp49_, (gulong) 0);
#line 346 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	authors = G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 347 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp51_ = authors;
#line 347 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp52_ = gxml_xelement_get_elements_by_tag_name (_tmp51_, "Author");
#line 347 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp53_ = _tmp52_;
#line 347 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp54_ = gxml_xnode_list_get_length (_tmp53_);
#line 347 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp55_ = _tmp54_;
#line 347 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp55_ == ((gulong) 2), "authors.get_elements_by_tag_name (\"Author\").length == 2");
#line 347 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp53_);
#line 348 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp56_ = fragment;
#line 348 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp57_ = gxml_xnode_get_child_nodes ((GXmlxNode*) _tmp56_);
#line 348 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp58_ = _tmp57_;
#line 348 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp59_ = gxml_xnode_list_get_length (_tmp58_);
#line 348 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp60_ = _tmp59_;
#line 348 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp60_ == ((gulong) 2), "fragment.child_nodes.length == 2");
#line 350 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp61_ = doc;
#line 350 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp62_ = gxml_xnode_to_string ((GXmlxNode*) _tmp61_);
#line 350 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp63_ = _tmp62_;
#line 350 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp63_, "<?xml version=\"1.0\"?>\n" \
"<Sentences>\n" \
"  <Sentence lang=\"en\">I like the colour blue.</Sentence>\n" \
"  <Sentence lang=\"de\">Ich liebe die T&#xFC;r.</Sentence>\n" \
"  <Authors>\n" \
"    <Author>\n" \
"      <Name>Fred</Name>\n" \
"      <Email>fweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"    <Author>\n" \
"      <Name>George</Name>\n" \
"      <Email>gweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"  </Authors>\n" \
"</Sentences>\n") == 0, "doc.to_string () == \"<?xml version=\\\"1.0\\\"?> <Sentences>   <Sentence lang=\\\"en\\\">I like the colour blue.</Sentence>   <Sentence lang=\\\"de\\\">Ich liebe die T&#xFC;r.</Sentence>   <Authors>     <Author>       <Name>Fred</Name>       <Email>fweasley@hogwarts.co.uk</Email>     </Author>     <Author>       <Name>George</Name>       <Email>gweasley@hogwarts.co.uk</Email>     </Author>   </Authors> </Sentences> \"");
#line 350 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp63_);
#line 367 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp64_ = authors;
#line 367 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp65_ = fragment;
#line 367 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp64_, (GXmlxNode*) _tmp65_);
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp66_ = authors;
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp67_ = gxml_xelement_get_elements_by_tag_name (_tmp66_, "Author");
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp68_ = _tmp67_;
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp69_ = gxml_xnode_list_get_length (_tmp68_);
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp70_ = _tmp69_;
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp71_ = _tmp70_ != ((gulong) 4);
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp68_);
#line 368 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (_tmp71_) {
#line 3028 "DocumentTest.c"
		FILE* _tmp72_ = NULL;
		GXmlxElement* _tmp73_ = NULL;
		GXmlxNodeList* _tmp74_ = NULL;
		GXmlxNodeList* _tmp75_ = NULL;
		gulong _tmp76_ = 0UL;
		gulong _tmp77_ = 0UL;
		gchar* _tmp78_ = NULL;
		gchar* _tmp79_ = NULL;
		gchar* _tmp80_ = NULL;
		gchar* _tmp81_ = NULL;
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp72_ = stdout;
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp73_ = authors;
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp74_ = gxml_xelement_get_elements_by_tag_name (_tmp73_, "Author");
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp75_ = _tmp74_;
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp76_ = gxml_xnode_list_get_length (_tmp75_);
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp77_ = _tmp76_;
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp78_ = g_strdup_printf ("%lu", _tmp77_);
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp79_ = _tmp78_;
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp80_ = g_strconcat ("Authors: length error. Expected 4, got ", _tmp79_, "\n'", NULL);
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp81_ = _tmp80_;
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fprintf (_tmp72_, "%s", _tmp81_);
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp81_);
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_free0 (_tmp79_);
#line 369 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_tmp75_);
#line 370 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		g_assert_not_reached ();
#line 3069 "DocumentTest.c"
	}
#line 373 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp82_ = g_strdup ("<?xml version=\"1.0\"?>\n" \
"<Sentences>\n" \
"  <Sentence lang=\"en\">I like the colour blue.</Sentence>\n" \
"  <Sentence lang=\"de\">Ich liebe die T&#xFC;r.</Sentence>\n" \
"  <Authors>\n" \
"    <Author>\n" \
"      <Name>Fred</Name>\n" \
"      <Email>fweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"    <Author>\n" \
"      <Name>George</Name>\n" \
"      <Email>gweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"  <Author><Name>Percy</Name><Email>pweasley@hogwarts.co.uk</Email></Au" \
"thor><Author><Name>Ginny</Name><Email>weasleyg@hogwarts.co.uk</Email><" \
"/Author></Authors>\n" \
"</Sentences>\n");
#line 373 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	expected = _tmp82_;
#line 390 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp83_ = doc;
#line 390 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp84_ = gxml_xnode_to_string ((GXmlxNode*) _tmp83_);
#line 390 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp85_ = _tmp84_;
#line 390 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp86_ = expected;
#line 390 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp85_, _tmp86_) == 0, "doc.to_string () == expected");
#line 390 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp85_);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (expected);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (authors);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (authors_list);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (ginny_email);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp32_);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (ginny_name);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp28_);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (ginny);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp24_);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (percy_email);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp12_);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (percy_name);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp8_);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (percy);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp4_);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (fragment);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3121 "DocumentTest.c"
}


static void ___lambda21__gcallback (void) {
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda21_ ();
#line 3128 "DocumentTest.c"
}


static void __lambda22_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxText* text = NULL;
	GXmlxText* _tmp1_ = NULL;
	GXmlxText* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
#line 393 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 393 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 394 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_create_text_node (doc, "Star of my dreams");
#line 394 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 394 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	text = _tmp2_;
#line 396 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = gxml_xnode_get_node_name ((GXmlxNode*) text);
#line 396 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _tmp3_;
#line 396 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp4_, "#text") == 0, "text.node_name == \"#text\"");
#line 397 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = gxml_xnode_get_node_value ((GXmlxNode*) text);
#line 397 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = _tmp5_;
#line 397 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp6_, "Star of my dreams") == 0, "text.node_value == \"Star of my dreams\"");
#line 392 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (text);
#line 392 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3168 "DocumentTest.c"
}


static void ___lambda22__gcallback (void) {
#line 392 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda22_ ();
#line 3175 "DocumentTest.c"
}


static void __lambda23_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlComment* comment = NULL;
	GXmlNode* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
#line 400 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 400 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 401 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_document_create_comment ((GXmlDocument*) doc, "Ever since the day we promised.");
#line 401 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	comment = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GXML_TYPE_COMMENT, GXmlComment);
#line 403 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_node_get_name ((GXmlNode*) comment);
#line 403 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 403 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _tmp3_;
#line 403 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp4_, "#comment") == 0, "comment.name == \"#comment\"");
#line 403 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp4_);
#line 404 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = gxml_comment_get_str (comment);
#line 404 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = _tmp5_;
#line 404 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = _tmp6_;
#line 404 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp7_, "Ever since the day we promised.") == 0, "comment.str == \"Ever since the day we promised.\"");
#line 404 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp7_);
#line 399 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (comment);
#line 399 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3222 "DocumentTest.c"
}


static void ___lambda23__gcallback (void) {
#line 399 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda23_ ();
#line 3229 "DocumentTest.c"
}


static void __lambda24_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxCDATASection* cdata = NULL;
	GXmlxCDATASection* _tmp1_ = NULL;
	GXmlxCDATASection* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
#line 407 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 407 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 408 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_create_cdata_section (doc, "put in real cdata");
#line 408 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 408 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	cdata = _tmp2_;
#line 410 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = gxml_xnode_get_node_name ((GXmlxNode*) cdata);
#line 410 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _tmp3_;
#line 410 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp4_, "#cdata-section") == 0, "cdata.node_name == \"#cdata-section\"");
#line 411 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = gxml_xnode_get_node_value ((GXmlxNode*) cdata);
#line 411 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = _tmp5_;
#line 411 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp6_, "put in real cdata") == 0, "cdata.node_value == \"put in real cdata\"");
#line 406 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (cdata);
#line 406 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3269 "DocumentTest.c"
}


static void ___lambda24__gcallback (void) {
#line 406 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda24_ ();
#line 3276 "DocumentTest.c"
}


static void __lambda25_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxProcessingInstruction* instruction = NULL;
	GXmlxProcessingInstruction* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
#line 414 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 414 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 415 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_create_processing_instruction (doc, "target", "data");
#line 415 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	instruction = _tmp1_;
#line 417 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_xnode_get_node_name ((GXmlxNode*) instruction);
#line 417 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 417 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp3_, "target") == 0, "instruction.node_name == \"target\"");
#line 418 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = gxml_processing_instruction_get_target ((GXmlProcessingInstruction*) instruction);
#line 418 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = _tmp4_;
#line 418 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = _tmp5_;
#line 418 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp6_, "target") == 0, "instruction.target == \"target\"");
#line 418 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp6_);
#line 419 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = gxml_processing_instruction_get_data ((GXmlProcessingInstruction*) instruction);
#line 419 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = _tmp7_;
#line 419 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp9_ = _tmp8_;
#line 419 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp9_, "data") == 0, "instruction.data == \"data\"");
#line 419 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp9_);
#line 420 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp10_ = gxml_xnode_get_node_value ((GXmlxNode*) instruction);
#line 420 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp11_ = _tmp10_;
#line 420 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp11_, "data") == 0, "instruction.node_value == \"data\"");
#line 413 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (instruction);
#line 413 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3339 "DocumentTest.c"
}


static void ___lambda25__gcallback (void) {
#line 413 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda25_ ();
#line 3346 "DocumentTest.c"
}


static void __lambda26_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxAttr* attr = NULL;
	GXmlxAttr* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
#line 423 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 423 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 424 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_create_attribute (doc, "attrname");
#line 424 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	attr = _tmp1_;
#line 426 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_xnode_get_name ((GXmlxNode*) attr);
#line 426 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 426 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = _tmp3_;
#line 426 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp4_, "attrname") == 0, "attr.name == \"attrname\"");
#line 426 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp4_);
#line 427 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = gxml_xnode_get_node_name ((GXmlxNode*) attr);
#line 427 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = _tmp5_;
#line 427 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp6_, "attrname") == 0, "attr.node_name == \"attrname\"");
#line 428 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = gxml_xnode_get_node_value ((GXmlxNode*) attr);
#line 428 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = _tmp7_;
#line 428 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp8_, "") == 0, "attr.node_value == \"\"");
#line 422 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (attr);
#line 422 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3396 "DocumentTest.c"
}


static void ___lambda26__gcallback (void) {
#line 422 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda26_ ();
#line 3403 "DocumentTest.c"
}


static void __lambda27_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlEntityReference* entity = NULL;
	GXmlEntityReference* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
#line 431 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 431 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 432 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_create_entity_reference (doc, "entref");
#line 432 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	entity = _tmp1_;
#line 434 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_xnode_get_node_name ((GXmlxNode*) entity);
#line 434 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 434 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp3_, "entref") == 0, "entity.node_name == \"entref\"");
#line 430 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (entity);
#line 430 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3432 "DocumentTest.c"
}


static void ___lambda27__gcallback (void) {
#line 430 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda27_ ();
#line 3439 "DocumentTest.c"
}


static void __lambda28_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxNodeList* elems = NULL;
	GXmlxNodeList* _tmp1_ = NULL;
	gulong _tmp2_ = 0UL;
	gulong _tmp3_ = 0UL;
	GXmlxNode* _tmp4_ = NULL;
	GXmlxElement* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
#line 438 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 438 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 439 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_get_elements_by_tag_name (doc, "Email");
#line 439 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	elems = _tmp1_;
#line 441 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = gxml_xnode_list_get_length (elems);
#line 441 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 441 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp3_ == ((gulong) 2), "elems.length == 2");
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = gxml_xnode_list_item (elems, (gulong) 0);
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = gxml_element_get_content ((GXmlElement*) _tmp5_);
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = _tmp6_;
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = _tmp7_;
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp8_, "fweasley@hogwarts.co.uk") == 0, "((xElement)elems.item (0)).content == \"fweasley@hogwarts.co.uk\"");
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp8_);
#line 442 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp5_);
#line 437 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (elems);
#line 437 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3489 "DocumentTest.c"
}


static void ___lambda28__gcallback (void) {
#line 437 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda28_ ();
#line 3496 "DocumentTest.c"
}


static void __lambda29_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlNode* _tmp1_ = NULL;
	GXmlNode* _tmp2_ = NULL;
	GXmlNode* _tmp3_ = NULL;
#line 447 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_xdocument_new ();
#line 447 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 448 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xnode_get_parent ((GXmlxNode*) doc);
#line 448 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _tmp1_;
#line 448 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _tmp2_;
#line 448 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp3_ == NULL, "doc.parent == null");
#line 448 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (_tmp3_);
#line 446 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3522 "DocumentTest.c"
}


static void ___lambda29__gcallback (void) {
#line 446 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda29_ ();
#line 3529 "DocumentTest.c"
}


static void __lambda30_ (void) {
	GXmlxDocument* doc = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
#line 451 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = gxml_test_get_doc (NULL);
#line 451 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	doc = _tmp0_;
#line 452 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xnode_to_string ((GXmlxNode*) doc);
#line 452 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _tmp1_;
#line 452 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp2_, "<?xml version=\"1.0\"?>\n" \
"<Sentences>\n" \
"  <Sentence lang=\"en\">I like the colour blue.</Sentence>\n" \
"  <Sentence lang=\"de\">Ich liebe die T&#xFC;r.</Sentence>\n" \
"  <Authors>\n" \
"    <Author>\n" \
"      <Name>Fred</Name>\n" \
"      <Email>fweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"    <Author>\n" \
"      <Name>George</Name>\n" \
"      <Email>gweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"  </Authors>\n" \
"</Sentences>\n") == 0, "doc.to_string () == \"<?xml version=\\\"1.0\\\"?> <Sentences>   <Sentence lang=\\\"en\\\">I like the colour blue.</Sentence>   <Sentence lang=\\\"de\\\">Ich liebe die T&#xFC;r.</Sentence>   <Authors>     <Author>       <Name>Fred</Name>       <Email>fweasley@hogwarts.co.uk</Email>     </Author>     <Author>       <Name>George</Name>       <Email>gweasley@hogwarts.co.uk</Email>     </Author>   </Authors> </Sentences> \"");
#line 452 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp2_);
#line 450 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (doc);
#line 3552 "DocumentTest.c"
}


static void ___lambda30__gcallback (void) {
#line 450 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	__lambda30_ ();
#line 3559 "DocumentTest.c"
}


void document_test_add_tests (void) {
#line 29 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/doctype", ___lambda4__gcallback);
#line 41 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/implementation", ___lambda5__gcallback);
#line 52 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/document_element", ___lambda6__gcallback);
#line 60 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/construct_from_path", ___lambda7__gcallback);
#line 65 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/construct_from_path_error", ___lambda8__gcallback);
#line 95 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/construct_from_stream", ___lambda9__gcallback);
#line 108 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/gfile/local", ___lambda10__gcallback);
#line 128 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/gfile/remote", ___lambda11__gcallback);
#line 159 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/construct_from_stream_error", ___lambda12__gcallback);
#line 178 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/construct_from_string", ___lambda13__gcallback);
#line 192 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/construct_from_string_no_root", ___lambda14__gcallback);
#line 209 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/construct_from_string_invalid", ___lambda15__gcallback);
#line 221 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/save", ___lambda16__gcallback);
#line 243 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/save_error", ___lambda17__gcallback);
#line 256 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/save_to_stream", ___lambda18__gcallback);
#line 287 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/save_to_stream_error", ___lambda19__gcallback);
#line 308 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_element", ___lambda20__gcallback);
#line 321 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_document_fragment", ___lambda21__gcallback);
#line 392 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_text_node", ___lambda22__gcallback);
#line 399 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_comment", ___lambda23__gcallback);
#line 406 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_cdata_section", ___lambda24__gcallback);
#line 413 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_processing_instruction", ___lambda25__gcallback);
#line 422 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_attribute", ___lambda26__gcallback);
#line 430 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/create_entity_reference", ___lambda27__gcallback);
#line 437 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/get_elements_by_tag_name", ___lambda28__gcallback);
#line 446 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/parent", ___lambda29__gcallback);
#line 450 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_test_add_func ("/gxml/document/to_string", ___lambda30__gcallback);
#line 3618 "DocumentTest.c"
}


static void document_test_check_contents (GXmlxDocument* test_doc) {
	GXmlxElement* root = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	GXmlxElement* _tmp2_ = NULL;
	GXmlxElement* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
	GXmlxNodeList* authors = NULL;
	GXmlxDocument* _tmp7_ = NULL;
	GXmlxNodeList* _tmp8_ = NULL;
	gulong _tmp9_ = 0UL;
	gulong _tmp10_ = 0UL;
	GXmlxDocument* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
#line 473 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_return_if_fail (test_doc != NULL);
#line 474 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = test_doc;
#line 474 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xdocument_get_document_element (_tmp0_);
#line 474 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _tmp1_;
#line 474 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 474 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	root = _tmp3_;
#line 476 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp4_ = gxml_xnode_get_node_name ((GXmlxNode*) root);
#line 476 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp5_ = _tmp4_;
#line 476 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp5_, "Sentences") == 0, "root.node_name == \"Sentences\"");
#line 477 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp6_ = gxml_xnode_has_child_nodes ((GXmlxNode*) root);
#line 477 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp6_ == TRUE, "root.has_child_nodes () == true");
#line 479 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = test_doc;
#line 479 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = gxml_xdocument_get_elements_by_tag_name (_tmp7_, "Author");
#line 479 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	authors = _tmp8_;
#line 480 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp9_ = gxml_xnode_list_get_length (authors);
#line 480 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp10_ = _tmp9_;
#line 480 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (_tmp10_ == ((gulong) 2), "authors.length == 2");
#line 482 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp11_ = test_doc;
#line 482 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp12_ = gxml_xnode_to_string ((GXmlxNode*) _tmp11_);
#line 482 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp13_ = _tmp12_;
#line 482 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_vala_assert (g_strcmp0 (_tmp13_, "<?xml version=\"1.0\"?>\n" \
"<Sentences>\n" \
"  <Sentence lang=\"en\">I like the colour blue.</Sentence>\n" \
"  <Sentence lang=\"de\">Ich liebe die T&#xFC;r.</Sentence>\n" \
"  <Authors>\n" \
"    <Author>\n" \
"      <Name>Fred</Name>\n" \
"      <Email>fweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"    <Author>\n" \
"      <Name>George</Name>\n" \
"      <Email>gweasley@hogwarts.co.uk</Email>\n" \
"    </Author>\n" \
"  </Authors>\n" \
"</Sentences>\n") == 0, "test_doc.to_string () == \"<?xml version=\\\"1.0\\\"?> <Sentences>   <Sentence lang=\\\"en\\\">I like the colour blue.</Sentence>   <Sentence lang=\\\"de\\\">Ich liebe die T&#xFC;r.</Sentence>   <Authors>     <Author>       <Name>Fred</Name>       <Email>fweasley@hogwarts.co.uk</Email>     </Author>     <Author>       <Name>George</Name>       <Email>gweasley@hogwarts.co.uk</Email>     </Author>   </Authors> </Sentences> \"");
#line 482 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_free0 (_tmp13_);
#line 473 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (authors);
#line 473 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (root);
#line 3687 "DocumentTest.c"
}


void document_test_print_node (GXmlxNode* node) {
	GXmlxNode* _tmp0_ = NULL;
	GXmlNodeType _tmp1_ = 0;
	GXmlNodeType _tmp2_ = 0;
	GXmlNamedAttrMap* attrs = NULL;
	GXmlxNode* _tmp7_ = NULL;
	GXmlNamedAttrMap* _tmp8_ = NULL;
	GXmlNamedAttrMap* _tmp9_ = NULL;
	GXmlNamedAttrMap* _tmp10_ = NULL;
	FILE* _tmp29_ = NULL;
	GXmlxNode* _tmp30_ = NULL;
	const gchar* _tmp31_ = NULL;
	const gchar* _tmp32_ = NULL;
	GXmlxNode* _tmp51_ = NULL;
	GXmlNodeType _tmp52_ = 0;
	GXmlNodeType _tmp53_ = 0;
#line 500 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	g_return_if_fail (node != NULL);
#line 502 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp0_ = node;
#line 502 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp1_ = gxml_xnode_get_node_type (_tmp0_);
#line 502 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp2_ = _tmp1_;
#line 502 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (_tmp2_ != 3) {
#line 3717 "DocumentTest.c"
		FILE* _tmp3_ = NULL;
		GXmlxNode* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 503 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp3_ = stdout;
#line 503 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp4_ = node;
#line 503 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp5_ = gxml_xnode_get_node_name (_tmp4_);
#line 503 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp6_ = _tmp5_;
#line 503 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fprintf (_tmp3_, "<%s", _tmp6_);
#line 3732 "DocumentTest.c"
	}
#line 504 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp7_ = node;
#line 504 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp8_ = gxml_xnode_get_attributes (_tmp7_);
#line 504 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp9_ = _tmp8_;
#line 504 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 504 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	attrs = _tmp10_;
#line 3744 "DocumentTest.c"
	{
		gint i = 0;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		i = 0;
#line 3749 "DocumentTest.c"
		{
			gboolean _tmp11_ = FALSE;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp11_ = TRUE;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			while (TRUE) {
#line 3756 "DocumentTest.c"
				gint _tmp13_ = 0;
				GXmlNamedAttrMap* _tmp14_ = NULL;
				gulong _tmp15_ = 0UL;
				gulong _tmp16_ = 0UL;
				GXmlxAttr* attr = NULL;
				GXmlNamedAttrMap* _tmp17_ = NULL;
				gint _tmp18_ = 0;
				gpointer _tmp19_ = NULL;
				FILE* _tmp20_ = NULL;
				GXmlxAttr* _tmp21_ = NULL;
				gchar* _tmp22_ = NULL;
				gchar* _tmp23_ = NULL;
				gchar* _tmp24_ = NULL;
				GXmlxAttr* _tmp25_ = NULL;
				gchar* _tmp26_ = NULL;
				gchar* _tmp27_ = NULL;
				gchar* _tmp28_ = NULL;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				if (!_tmp11_) {
#line 3776 "DocumentTest.c"
					gint _tmp12_ = 0;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					_tmp12_ = i;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					i = _tmp12_ + 1;
#line 3782 "DocumentTest.c"
				}
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp11_ = FALSE;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp13_ = i;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp14_ = attrs;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp15_ = gxml_named_node_map_get_length ((GXmlNamedNodeMap*) _tmp14_);
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp16_ = _tmp15_;
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				if (!(((gulong) _tmp13_) < _tmp16_)) {
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
					break;
#line 3798 "DocumentTest.c"
				}
#line 506 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp17_ = attrs;
#line 506 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp18_ = i;
#line 506 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp19_ = gxml_named_node_map_item ((GXmlNamedNodeMap*) _tmp17_, (gulong) _tmp18_);
#line 506 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				attr = (GXmlxAttr*) _tmp19_;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp20_ = stdout;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp21_ = attr;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp22_ = gxml_xnode_get_name ((GXmlxNode*) _tmp21_);
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp23_ = _tmp22_;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp24_ = _tmp23_;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp25_ = attr;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp26_ = gxml_xnode_get_value ((GXmlxNode*) _tmp25_);
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp27_ = _tmp26_;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_tmp28_ = _tmp27_;
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				fprintf (_tmp20_, " %s=\"%s\"", _tmp24_, _tmp28_);
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_free0 (_tmp28_);
#line 507 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_free0 (_tmp24_);
#line 505 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				_g_object_unref0 (attr);
#line 3834 "DocumentTest.c"
			}
		}
	}
#line 510 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp29_ = stdout;
#line 510 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	fprintf (_tmp29_, ">");
#line 511 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp30_ = node;
#line 511 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp31_ = gxml_xnode_get_node_value (_tmp30_);
#line 511 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp32_ = _tmp31_;
#line 511 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (_tmp32_ != NULL) {
#line 3850 "DocumentTest.c"
		FILE* _tmp33_ = NULL;
		GXmlxNode* _tmp34_ = NULL;
		const gchar* _tmp35_ = NULL;
		const gchar* _tmp36_ = NULL;
#line 512 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp33_ = stdout;
#line 512 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp34_ = node;
#line 512 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp35_ = gxml_xnode_get_node_value (_tmp34_);
#line 512 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp36_ = _tmp35_;
#line 512 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fprintf (_tmp33_, "%s", _tmp36_);
#line 3865 "DocumentTest.c"
	}
	{
		GXmlxNodeList* _child_list = NULL;
		GXmlxNode* _tmp37_ = NULL;
		GXmlxNodeList* _tmp38_ = NULL;
		GXmlxNodeList* _tmp39_ = NULL;
		GXmlxNodeList* _tmp40_ = NULL;
		gint _child_size = 0;
		GXmlxNodeList* _tmp41_ = NULL;
		gint _tmp42_ = 0;
		gint _tmp43_ = 0;
		gint _child_index = 0;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp37_ = node;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp38_ = gxml_xnode_get_child_nodes (_tmp37_);
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp39_ = _tmp38_;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp40_ = _g_object_ref0 (_tmp39_);
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_child_list = _tmp40_;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp41_ = _child_list;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp42_ = gee_collection_get_size ((GeeCollection*) _tmp41_);
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp43_ = _tmp42_;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_child_size = _tmp43_;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_child_index = -1;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		while (TRUE) {
#line 3900 "DocumentTest.c"
			gint _tmp44_ = 0;
			gint _tmp45_ = 0;
			gint _tmp46_ = 0;
			GXmlxNode* child = NULL;
			GXmlxNodeList* _tmp47_ = NULL;
			gint _tmp48_ = 0;
			GXmlxNode* _tmp49_ = NULL;
			GXmlxNode* _tmp50_ = NULL;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp44_ = _child_index;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_child_index = _tmp44_ + 1;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp45_ = _child_index;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp46_ = _child_size;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			if (!(_tmp45_ < _tmp46_)) {
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
				break;
#line 3921 "DocumentTest.c"
			}
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp47_ = _child_list;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp48_ = _child_index;
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp49_ = gxml_xnode_list_get (_tmp47_, _tmp48_);
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			child = _tmp49_;
#line 515 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_tmp50_ = child;
#line 515 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			document_test_print_node (_tmp50_);
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
			_g_object_unref0 (child);
#line 3937 "DocumentTest.c"
		}
#line 513 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_g_object_unref0 (_child_list);
#line 3941 "DocumentTest.c"
	}
#line 517 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp51_ = node;
#line 517 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp52_ = gxml_xnode_get_node_type (_tmp51_);
#line 517 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_tmp53_ = _tmp52_;
#line 517 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	if (_tmp53_ != 3) {
#line 3951 "DocumentTest.c"
		FILE* _tmp54_ = NULL;
		GXmlxNode* _tmp55_ = NULL;
		const gchar* _tmp56_ = NULL;
		const gchar* _tmp57_ = NULL;
#line 518 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp54_ = stdout;
#line 518 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp55_ = node;
#line 518 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp56_ = gxml_xnode_get_node_name (_tmp55_);
#line 518 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		_tmp57_ = _tmp56_;
#line 518 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
		fprintf (_tmp54_, "</%s>", _tmp57_);
#line 3966 "DocumentTest.c"
	}
#line 500 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	_g_object_unref0 (attrs);
#line 3970 "DocumentTest.c"
}


DocumentTest* document_test_construct (GType object_type) {
	DocumentTest* self = NULL;
#line 27 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	self = (DocumentTest*) gxml_test_construct (object_type);
#line 27 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	return self;
#line 3980 "DocumentTest.c"
}


DocumentTest* document_test_new (void) {
#line 27 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	return document_test_construct (TYPE_DOCUMENT_TEST);
#line 3987 "DocumentTest.c"
}


static void document_test_class_init (DocumentTestClass * klass) {
#line 27 "/home/despinosa/Proyectos/gxml/test/DocumentTest.vala"
	document_test_parent_class = g_type_class_peek_parent (klass);
#line 3994 "DocumentTest.c"
}


static void document_test_instance_init (DocumentTest * self) {
}


GType document_test_get_type (void) {
	static volatile gsize document_test_type_id__volatile = 0;
	if (g_once_init_enter (&document_test_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (DocumentTestClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) document_test_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DocumentTest), 0, (GInstanceInitFunc) document_test_instance_init, NULL };
		GType document_test_type_id;
		document_test_type_id = g_type_register_static (TYPE_GXML_TEST, "DocumentTest", &g_define_type_info, 0);
		g_once_init_leave (&document_test_type_id__volatile, document_test_type_id);
	}
	return document_test_type_id__volatile;
}


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);
}



