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

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

#include <glib.h>
#include <glib-object.h>
#include <gxml/gxml.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_NAMESPACE_TEST (namespace_test_get_type ())
#define NAMESPACE_TEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_NAMESPACE_TEST, NamespaceTest))
#define NAMESPACE_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_NAMESPACE_TEST, NamespaceTestClass))
#define IS_NAMESPACE_TEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_NAMESPACE_TEST))
#define IS_NAMESPACE_TEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_NAMESPACE_TEST))
#define NAMESPACE_TEST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_NAMESPACE_TEST, NamespaceTestClass))

typedef struct _NamespaceTest NamespaceTest;
typedef struct _NamespaceTestClass NamespaceTestClass;
typedef struct _NamespaceTestPrivate NamespaceTestPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), 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 _NamespaceTest {
	GXmlTest parent_instance;
	NamespaceTestPrivate * priv;
};

struct _NamespaceTestClass {
	GXmlTestClass parent_class;
};


static gpointer namespace_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 namespace_test_get_type (void) G_GNUC_CONST;
enum  {
	NAMESPACE_TEST_DUMMY_PROPERTY
};
void namespace_test_add_tests (void);
static void __lambda84_ (void);
static void ___lambda84__gcallback (void);
NamespaceTest* namespace_test_new (void);
NamespaceTest* namespace_test_construct (GType object_type);
GXmlTest* gxml_test_new (void);
GXmlTest* gxml_test_construct (GType object_type);


static void __lambda84_ (void) {
	GXmlxDocument* d = NULL;
	GXmlxDocument* _tmp0_ = NULL;
	GXmlNode* _tmp1_ = NULL;
	GXmlxDocument* _tmp2_ = NULL;
	GXmlNode* _tmp3_ = NULL;
	GXmlxElement* e = NULL;
	GXmlNode* _tmp4_ = NULL;
	GXmlxElement* _tmp5_ = NULL;
	GXmlNamespaceAttr* _tmp6_ = NULL;
	GXmlNamespaceAttr* _tmp7_ = NULL;
	GXmlxElement* _tmp8_ = NULL;
	GXmlNamespaceAttr* _tmp9_ = NULL;
	GXmlNamespaceAttr* _tmp10_ = NULL;
	GXmlxDocument* _tmp11_ = NULL;
	GXmlxElement* _tmp12_ = NULL;
	GXmlxElement* _tmp13_ = NULL;
	gchar* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
	GXmlxElement* _tmp16_ = NULL;
	gboolean _tmp17_ = FALSE;
	GXmlxElement* _tmp18_ = NULL;
	gchar* _tmp19_ = NULL;
	gchar* _tmp20_ = NULL;
	GXmlNode* _tmp21_ = NULL;
	GXmlxDocument* _tmp22_ = NULL;
	GXmlNode* _tmp23_ = NULL;
	GXmlxElement* c = NULL;
	GXmlNode* _tmp24_ = NULL;
	GXmlxElement* _tmp25_ = NULL;
	GXmlxElement* _tmp26_ = NULL;
	GXmlxElement* _tmp27_ = NULL;
	gboolean _tmp28_ = FALSE;
	GXmlxElement* _tmp29_ = NULL;
	gchar* _tmp30_ = NULL;
	gchar* _tmp31_ = NULL;
	GXmlNode* _tmp32_ = NULL;
	GXmlxDocument* _tmp33_ = NULL;
	GXmlNode* _tmp34_ = NULL;
	GXmlxElement* c2 = NULL;
	GXmlNode* _tmp35_ = NULL;
	GXmlxElement* _tmp36_ = NULL;
	GXmlxElement* _tmp37_ = NULL;
	GXmlxElement* _tmp38_ = NULL;
	gboolean _tmp39_ = FALSE;
	GXmlxElement* _tmp40_ = NULL;
	gchar* _tmp41_ = NULL;
	gchar* _tmp42_ = NULL;
	GXmlNode* _tmp43_ = NULL;
	GXmlxDocument* _tmp44_ = NULL;
	GXmlNode* _tmp45_ = NULL;
	GXmlxElement* c3 = NULL;
	GXmlNode* _tmp46_ = NULL;
	GXmlxElement* _tmp47_ = NULL;
	GXmlxElement* _tmp48_ = NULL;
	GXmlxElement* _tmp49_ = NULL;
	GXmlxElement* _tmp50_ = NULL;
	gchar* _tmp51_ = NULL;
	gchar* _tmp52_ = NULL;
	GError * _inner_error_ = NULL;
#line 29 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp0_ = gxml_xdocument_new ();
#line 29 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	d = _tmp0_;
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp2_ = d;
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp3_ = gxml_document_create_element ((GXmlDocument*) _tmp2_, "root", &_inner_error_);
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp1_ = _tmp3_;
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (d);
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.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 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		g_clear_error (&_inner_error_);
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		return;
#line 183 "NamespaceTest.c"
	}
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp4_ = _tmp1_;
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp1_ = NULL;
#line 30 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	e = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 31 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp5_ = e;
#line 31 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp6_ = gxml_xnode_add_namespace_attr ((GXmlxNode*) _tmp5_, "http://www.gnome.org/GXml", "gxml");
#line 31 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp7_ = _tmp6_;
#line 31 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (_tmp7_);
#line 32 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp8_ = e;
#line 32 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp9_ = gxml_xnode_add_namespace_attr ((GXmlxNode*) _tmp8_, "http://www.gnome.org/GXmlSerializable", "gxmls");
#line 32 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp10_ = _tmp9_;
#line 32 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (_tmp10_);
#line 33 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp11_ = d;
#line 33 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp12_ = e;
#line 33 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp11_, (GXmlxNode*) _tmp12_);
#line 34 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp13_ = e;
#line 34 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp14_ = gxml_xnode_to_string ((GXmlxNode*) _tmp13_);
#line 34 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp15_ = _tmp14_;
#line 34 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (g_strcmp0 (_tmp15_, "<root xmlns:gxml=\"http://www.gnome.org/GXml\" xmlns:gxmls=\"http://ww" \
"w.gnome.org/GXmlSerializable\"/>") == 0, "e.to_string () == \"<root xmlns:gxml=\\\"http://www.gnome.org/GXml\\\" xmlns:gxmls=\\\"http://www.gnome.org/GXmlSerializable\\\"/>\"");
#line 34 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_free0 (_tmp15_);
#line 35 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp16_ = e;
#line 35 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp17_ = gxml_xnode_set_namespace ((GXmlxNode*) _tmp16_, "http://www.gnome.org/GXml", "gxml");
#line 35 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (_tmp17_, "e.set_namespace (\"http://www.gnome.org/GXml\", \"gxml\")");
#line 36 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp18_ = e;
#line 36 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp19_ = gxml_xnode_to_string ((GXmlxNode*) _tmp18_);
#line 36 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp20_ = _tmp19_;
#line 36 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (g_strcmp0 (_tmp20_, "<gxml:root xmlns:gxml=\"http://www.gnome.org/GXml\" xmlns:gxmls=\"http" \
"://www.gnome.org/GXmlSerializable\"/>") == 0, "e.to_string () == \"<gxml:root xmlns:gxml=\\\"http://www.gnome.org/GXml\\\" xmlns:gxmls=\\\"http://www.gnome.org/GXmlSerializable\\\"/>\"");
#line 36 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_free0 (_tmp20_);
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp22_ = d;
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp23_ = gxml_document_create_element ((GXmlDocument*) _tmp22_, "child", &_inner_error_);
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp21_ = _tmp23_;
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (e);
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (_tmp1_);
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (d);
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.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 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		g_clear_error (&_inner_error_);
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		return;
#line 259 "NamespaceTest.c"
	}
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp24_ = _tmp21_;
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp21_ = NULL;
#line 37 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	c = G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 38 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp25_ = e;
#line 38 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp26_ = c;
#line 38 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp25_, (GXmlxNode*) _tmp26_);
#line 39 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp27_ = c;
#line 39 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp28_ = gxml_xnode_set_namespace ((GXmlxNode*) _tmp27_, "http://www.gnome.org/GXml", "gxml");
#line 39 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (_tmp28_, "c.set_namespace (\"http://www.gnome.org/GXml\", \"gxml\")");
#line 40 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp29_ = c;
#line 40 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp30_ = gxml_xnode_to_string ((GXmlxNode*) _tmp29_);
#line 40 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp31_ = _tmp30_;
#line 40 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (g_strcmp0 (_tmp31_, "<gxml:child/>") == 0, "c.to_string () == \"<gxml:child/>\"");
#line 40 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_free0 (_tmp31_);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp33_ = d;
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp34_ = gxml_document_create_element ((GXmlDocument*) _tmp33_, "subchild", &_inner_error_);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp32_ = _tmp34_;
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (c);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (_tmp21_);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (e);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (_tmp1_);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (d);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.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 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		g_clear_error (&_inner_error_);
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		return;
#line 313 "NamespaceTest.c"
	}
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp35_ = _tmp32_;
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp32_ = NULL;
#line 41 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	c2 = G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 42 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp36_ = e;
#line 42 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp37_ = c2;
#line 42 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp36_, (GXmlxNode*) _tmp37_);
#line 43 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp38_ = c2;
#line 43 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp39_ = gxml_xnode_set_namespace ((GXmlxNode*) _tmp38_, "http://www.gnome.org/GXmlSerializable", "gxmls");
#line 43 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (_tmp39_, "c2.set_namespace (\"http://www.gnome.org/GXmlSerializable\", \"gxmls\")");
#line 44 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp40_ = c2;
#line 44 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp41_ = gxml_xnode_to_string ((GXmlxNode*) _tmp40_);
#line 44 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp42_ = _tmp41_;
#line 44 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (g_strcmp0 (_tmp42_, "<gxmls:subchild/>") == 0, "c2.to_string () == \"<gxmls:subchild/>\"");
#line 44 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_free0 (_tmp42_);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp44_ = d;
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp45_ = gxml_document_create_element ((GXmlDocument*) _tmp44_, "testnode", &_inner_error_);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp43_ = _tmp45_;
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (c2);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (_tmp32_);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (c);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (_tmp21_);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (e);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (_tmp1_);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		_g_object_unref0 (d);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.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 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		g_clear_error (&_inner_error_);
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
		return;
#line 371 "NamespaceTest.c"
	}
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp46_ = _tmp43_;
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp43_ = NULL;
#line 45 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	c3 = G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, GXML_TYPE_XELEMENT, GXmlxElement);
#line 47 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp47_ = e;
#line 47 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp48_ = c3;
#line 47 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	gxml_xnode_append_child ((GXmlxNode*) _tmp47_, (GXmlxNode*) _tmp48_);
#line 48 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp49_ = c3;
#line 48 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	gxml_xnode_set_namespace ((GXmlxNode*) _tmp49_, "http://www.gnome.org/GXml", "gxml");
#line 49 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp50_ = c3;
#line 49 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp51_ = gxml_xnode_to_string ((GXmlxNode*) _tmp50_);
#line 49 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_tmp52_ = _tmp51_;
#line 49 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_vala_assert (g_strcmp0 (_tmp52_, "<gxml:testnode/>") == 0, "c3.to_string () == \"<gxml:testnode/>\"");
#line 49 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_free0 (_tmp52_);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (c3);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (_tmp43_);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (c2);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (_tmp32_);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (c);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (_tmp21_);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (e);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (_tmp1_);
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	_g_object_unref0 (d);
#line 417 "NamespaceTest.c"
}


static void ___lambda84__gcallback (void) {
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	__lambda84_ ();
#line 424 "NamespaceTest.c"
}


void namespace_test_add_tests (void) {
#line 28 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	g_test_add_func ("/gxml/domnode/namespace", ___lambda84__gcallback);
#line 431 "NamespaceTest.c"
}


NamespaceTest* namespace_test_construct (GType object_type) {
	NamespaceTest* self = NULL;
#line 25 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	self = (NamespaceTest*) gxml_test_construct (object_type);
#line 25 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	return self;
#line 441 "NamespaceTest.c"
}


NamespaceTest* namespace_test_new (void) {
#line 25 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	return namespace_test_construct (TYPE_NAMESPACE_TEST);
#line 448 "NamespaceTest.c"
}


static void namespace_test_class_init (NamespaceTestClass * klass) {
#line 25 "/home/despinosa/Proyectos/gxml/test/NamespaceTest.vala"
	namespace_test_parent_class = g_type_class_peek_parent (klass);
#line 455 "NamespaceTest.c"
}


static void namespace_test_instance_init (NamespaceTest * self) {
}


GType namespace_test_get_type (void) {
	static volatile gsize namespace_test_type_id__volatile = 0;
	if (g_once_init_enter (&namespace_test_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (NamespaceTestClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) namespace_test_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (NamespaceTest), 0, (GInstanceInitFunc) namespace_test_instance_init, NULL };
		GType namespace_test_type_id;
		namespace_test_type_id = g_type_register_static (TYPE_GXML_TEST, "NamespaceTest", &g_define_type_info, 0);
		g_once_init_leave (&namespace_test_type_id__volatile, namespace_test_type_id);
	}
	return namespace_test_type_id__volatile;
}



