/* symbol-test.c generated by valac 0.29.2.5-8632, the Vala compiler
 * generated from symbol-test.vala, do not modify */

/* symbol-test.vala
 *
 * Copyright © 2012 Christian Dywan <christian@twotoasts.de>
 *
 * Based upon a C implementation (© 2010 Canonical Ltd) by:
 *  Michal Hruby <michal.mhr@gmail.com>
 *
 * This program 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 program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include "zeitgeist-datamodel.h"

#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_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);



gint _vala_main (gchar** argv, int argv_length1);
void null_null_test (void);
static void _null_null_test_gtest_func (void);
void null_first_test (void);
static void _null_first_test_gtest_func (void);
void null_second_test (void);
static void _null_second_test_gtest_func (void);
void not_uri_test (void);
static void _not_uri_test_gtest_func (void);
void not_uri_equal_test (void);
static void _not_uri_equal_test_gtest_func (void);
void uri_equal_test (void);
static void _uri_equal_test_gtest_func (void);
void vector_image_media_test (void);
static void _vector_image_media_test_gtest_func (void);
void media_vector_image_test (void);
static void _media_vector_image_test_gtest_func (void);
void media_software_test (void);
static void _media_software_test_gtest_func (void);
void media_children_test (void);
static void _media_children_test_gtest_func (void);
void media_all_children_test (void);
static void _media_all_children_test_gtest_func (void);
void vector_image_parents_test (void);
static void _vector_image_parents_test_gtest_func (void);
void media_complex_test (void);
static void _media_complex_test_gtest_func (void);
void is_uri_valid (const gchar* uri);


static void _null_null_test_gtest_func (void) {
#line 30 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	null_null_test ();
#line 75 "symbol-test.c"
}


static void _null_first_test_gtest_func (void) {
#line 31 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	null_first_test ();
#line 82 "symbol-test.c"
}


static void _null_second_test_gtest_func (void) {
#line 32 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	null_second_test ();
#line 89 "symbol-test.c"
}


static void _not_uri_test_gtest_func (void) {
#line 33 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	not_uri_test ();
#line 96 "symbol-test.c"
}


static void _not_uri_equal_test_gtest_func (void) {
#line 34 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	not_uri_equal_test ();
#line 103 "symbol-test.c"
}


static void _uri_equal_test_gtest_func (void) {
#line 35 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	uri_equal_test ();
#line 110 "symbol-test.c"
}


static void _vector_image_media_test_gtest_func (void) {
#line 36 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	vector_image_media_test ();
#line 117 "symbol-test.c"
}


static void _media_vector_image_test_gtest_func (void) {
#line 37 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	media_vector_image_test ();
#line 124 "symbol-test.c"
}


static void _media_software_test_gtest_func (void) {
#line 38 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	media_software_test ();
#line 131 "symbol-test.c"
}


static void _media_children_test_gtest_func (void) {
#line 39 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	media_children_test ();
#line 138 "symbol-test.c"
}


static void _media_all_children_test_gtest_func (void) {
#line 40 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	media_all_children_test ();
#line 145 "symbol-test.c"
}


static void _vector_image_parents_test_gtest_func (void) {
#line 41 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	vector_image_parents_test ();
#line 152 "symbol-test.c"
}


static void _media_complex_test_gtest_func (void) {
#line 42 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	media_complex_test ();
#line 159 "symbol-test.c"
}


gint _vala_main (gchar** argv, int argv_length1) {
	gint result = 0;
	gint _tmp0_ = 0;
#line 28 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_init (&argv_length1, &argv, NULL);
#line 30 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/NullNull", _null_null_test_gtest_func);
#line 31 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/NullFirst", _null_first_test_gtest_func);
#line 32 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/NullSecond", _null_second_test_gtest_func);
#line 33 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/NotUri", _not_uri_test_gtest_func);
#line 34 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/NotUriEqual", _not_uri_equal_test_gtest_func);
#line 35 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/UriEqual", _uri_equal_test_gtest_func);
#line 36 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/ValidParent", _vector_image_media_test_gtest_func);
#line 37 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/ValidChild", _media_vector_image_test_gtest_func);
#line 38 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/Unrelated", _media_software_test_gtest_func);
#line 39 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/GetChildren", _media_children_test_gtest_func);
#line 40 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/GetAllChildren", _media_all_children_test_gtest_func);
#line 41 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/GetParents", _vector_image_parents_test_gtest_func);
#line 42 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_test_add_func ("/Symbols/SymbolInfo", _media_complex_test_gtest_func);
#line 44 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = g_test_run ();
#line 44 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	result = _tmp0_;
#line 44 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	return result;
#line 200 "symbol-test.c"
}


int main (int argc, char ** argv) {
#if !GLIB_CHECK_VERSION (2,35,0)
	g_type_init ();
#endif
#line 26 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	return _vala_main (argv, argc);
#line 210 "symbol-test.c"
}


void null_null_test (void) {
	gboolean _tmp0_ = FALSE;
#line 50 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a ("", "");
#line 50 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (!_tmp0_, "!Symbol.is_a (\"\", \"\")");
#line 220 "symbol-test.c"
}


void null_first_test (void) {
	gboolean _tmp0_ = FALSE;
#line 55 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a ("", ZEITGEIST_NFO_MEDIA);
#line 55 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (!_tmp0_, "!Symbol.is_a (\"\", NFO.MEDIA)");
#line 230 "symbol-test.c"
}


void null_second_test (void) {
	gboolean _tmp0_ = FALSE;
#line 60 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a (ZEITGEIST_NFO_MEDIA, "");
#line 60 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (!_tmp0_, "!Symbol.is_a (NFO.MEDIA, \"\")");
#line 240 "symbol-test.c"
}


void not_uri_test (void) {
	gboolean _tmp0_ = FALSE;
#line 65 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a ("first", "second");
#line 65 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (!_tmp0_, "!Symbol.is_a (\"first\", \"second\")");
#line 250 "symbol-test.c"
}


void not_uri_equal_test (void) {
	gboolean _tmp0_ = FALSE;
#line 70 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a ("something", "something");
#line 70 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (!_tmp0_, "!Symbol.is_a (\"something\", \"something\")");
#line 260 "symbol-test.c"
}


void uri_equal_test (void) {
	gboolean _tmp0_ = FALSE;
#line 75 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a (ZEITGEIST_NFO_AUDIO, ZEITGEIST_NFO_AUDIO);
#line 75 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (_tmp0_, "Symbol.is_a (NFO.AUDIO, NFO.AUDIO)");
#line 270 "symbol-test.c"
}


void vector_image_media_test (void) {
	gboolean _tmp0_ = FALSE;
#line 80 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a (ZEITGEIST_NFO_VECTOR_IMAGE, ZEITGEIST_NFO_MEDIA);
#line 80 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (_tmp0_, "Symbol.is_a (NFO.VECTOR_IMAGE, NFO.MEDIA)");
#line 280 "symbol-test.c"
}


void media_vector_image_test (void) {
	gboolean _tmp0_ = FALSE;
#line 85 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a (ZEITGEIST_NFO_MEDIA, ZEITGEIST_NFO_VECTOR_IMAGE);
#line 85 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (!_tmp0_, "!Symbol.is_a (NFO.MEDIA, NFO.VECTOR_IMAGE)");
#line 290 "symbol-test.c"
}


void media_software_test (void) {
	gboolean _tmp0_ = FALSE;
#line 90 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_is_a (ZEITGEIST_NFO_MEDIA, ZEITGEIST_NFO_SOFTWARE);
#line 90 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (!_tmp0_, "!Symbol.is_a (NFO.MEDIA, NFO.SOFTWARE)");
#line 300 "symbol-test.c"
}


void is_uri_valid (const gchar* uri) {
	gchar* SEM_D_URI = NULL;
	gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	const gchar* _tmp2_ = NULL;
#line 93 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_return_if_fail (uri != NULL);
#line 95 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = g_strdup ("http://www.semanticdesktop.org/ontologies");
#line 95 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	SEM_D_URI = _tmp0_;
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp2_ = uri;
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	if (_tmp2_ != NULL) {
#line 319 "symbol-test.c"
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		gboolean _tmp5_ = FALSE;
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		_tmp3_ = uri;
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		_tmp4_ = SEM_D_URI;
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		_tmp5_ = g_str_has_prefix (_tmp3_, _tmp4_);
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		_tmp1_ = _tmp5_;
#line 331 "symbol-test.c"
	} else {
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		_tmp1_ = FALSE;
#line 335 "symbol-test.c"
	}
#line 96 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_vala_assert (_tmp1_, "uri != null && uri.has_prefix (SEM_D_URI)");
#line 93 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_g_free0 (SEM_D_URI);
#line 341 "symbol-test.c"
}


void media_children_test (void) {
	GList* children = NULL;
	GList* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
	guint _tmp2_ = 0U;
	GList* _tmp3_ = NULL;
#line 102 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_get_children (ZEITGEIST_NFO_MEDIA);
#line 102 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	children = _tmp0_;
#line 103 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp1_ = children;
#line 103 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp2_ = g_list_length (_tmp1_);
#line 103 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_assert_cmpuint (_tmp2_, >, (guint) 0);
#line 104 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp3_ = children;
#line 363 "symbol-test.c"
	{
		GList* uri_collection = NULL;
		GList* uri_it = NULL;
#line 104 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		uri_collection = _tmp3_;
#line 104 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		for (uri_it = uri_collection; uri_it != NULL; uri_it = uri_it->next) {
#line 371 "symbol-test.c"
			gchar* _tmp4_ = NULL;
			gchar* uri = NULL;
#line 104 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			_tmp4_ = g_strdup ((const gchar*) uri_it->data);
#line 104 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			uri = _tmp4_;
#line 378 "symbol-test.c"
			{
				const gchar* _tmp5_ = NULL;
#line 105 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_tmp5_ = uri;
#line 105 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				is_uri_valid (_tmp5_);
#line 104 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_g_free0 (uri);
#line 387 "symbol-test.c"
			}
		}
	}
#line 100 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_g_list_free0 (children);
#line 393 "symbol-test.c"
}


void media_all_children_test (void) {
	GList* children = NULL;
	GList* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
	guint _tmp2_ = 0U;
	GList* _tmp3_ = NULL;
#line 110 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_get_all_children (ZEITGEIST_NFO_MEDIA);
#line 110 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	children = _tmp0_;
#line 111 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp1_ = children;
#line 111 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp2_ = g_list_length (_tmp1_);
#line 111 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_assert_cmpuint (_tmp2_, >, (guint) 0);
#line 112 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp3_ = children;
#line 415 "symbol-test.c"
	{
		GList* uri_collection = NULL;
		GList* uri_it = NULL;
#line 112 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		uri_collection = _tmp3_;
#line 112 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		for (uri_it = uri_collection; uri_it != NULL; uri_it = uri_it->next) {
#line 423 "symbol-test.c"
			gchar* _tmp4_ = NULL;
			gchar* uri = NULL;
#line 112 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			_tmp4_ = g_strdup ((const gchar*) uri_it->data);
#line 112 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			uri = _tmp4_;
#line 430 "symbol-test.c"
			{
				const gchar* _tmp5_ = NULL;
#line 113 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_tmp5_ = uri;
#line 113 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				is_uri_valid (_tmp5_);
#line 112 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_g_free0 (uri);
#line 439 "symbol-test.c"
			}
		}
	}
#line 108 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_g_list_free0 (children);
#line 445 "symbol-test.c"
}


void vector_image_parents_test (void) {
	GList* parents = NULL;
	GList* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
	guint _tmp2_ = 0U;
	GList* _tmp3_ = NULL;
#line 118 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_get_all_parents (ZEITGEIST_NFO_VECTOR_IMAGE);
#line 118 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	parents = _tmp0_;
#line 119 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp1_ = parents;
#line 119 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp2_ = g_list_length (_tmp1_);
#line 119 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_assert_cmpuint (_tmp2_, >, (guint) 0);
#line 120 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp3_ = parents;
#line 467 "symbol-test.c"
	{
		GList* uri_collection = NULL;
		GList* uri_it = NULL;
#line 120 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		uri_collection = _tmp3_;
#line 120 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		for (uri_it = uri_collection; uri_it != NULL; uri_it = uri_it->next) {
#line 475 "symbol-test.c"
			gchar* _tmp4_ = NULL;
			gchar* uri = NULL;
#line 120 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			_tmp4_ = g_strdup ((const gchar*) uri_it->data);
#line 120 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			uri = _tmp4_;
#line 482 "symbol-test.c"
			{
				const gchar* _tmp5_ = NULL;
#line 121 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_tmp5_ = uri;
#line 121 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				is_uri_valid (_tmp5_);
#line 120 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_g_free0 (uri);
#line 491 "symbol-test.c"
			}
		}
	}
#line 116 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_g_list_free0 (parents);
#line 497 "symbol-test.c"
}


void media_complex_test (void) {
	GList* children = NULL;
	GList* _tmp0_ = NULL;
	GList* all_ch = NULL;
	GList* _tmp1_ = NULL;
	GList* _tmp2_ = NULL;
	guint _tmp3_ = 0U;
	GList* _tmp4_ = NULL;
	guint _tmp5_ = 0U;
	GList* _tmp6_ = NULL;
	guint _tmp7_ = 0U;
	GList* _tmp8_ = NULL;
#line 126 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp0_ = zeitgeist_symbol_get_children (ZEITGEIST_NFO_MEDIA);
#line 126 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	children = _tmp0_;
#line 127 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp1_ = zeitgeist_symbol_get_all_children (ZEITGEIST_NFO_MEDIA);
#line 127 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	all_ch = _tmp1_;
#line 129 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp2_ = children;
#line 129 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp3_ = g_list_length (_tmp2_);
#line 129 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_assert_cmpuint (_tmp3_, >, (guint) 0);
#line 130 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp4_ = all_ch;
#line 130 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp5_ = g_list_length (_tmp4_);
#line 130 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp6_ = children;
#line 130 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp7_ = g_list_length (_tmp6_);
#line 130 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	g_assert_cmpuint (_tmp5_, >, _tmp7_);
#line 132 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_tmp8_ = children;
#line 539 "symbol-test.c"
	{
		GList* uri_collection = NULL;
		GList* uri_it = NULL;
#line 132 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		uri_collection = _tmp8_;
#line 132 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
		for (uri_it = uri_collection; uri_it != NULL; uri_it = uri_it->next) {
#line 547 "symbol-test.c"
			gchar* _tmp9_ = NULL;
			gchar* uri = NULL;
#line 132 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			_tmp9_ = g_strdup ((const gchar*) uri_it->data);
#line 132 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
			uri = _tmp9_;
#line 554 "symbol-test.c"
			{
				GList* _tmp10_ = NULL;
				const gchar* _tmp11_ = NULL;
				GCompareFunc _tmp12_ = NULL;
				GList* _tmp13_ = NULL;
#line 135 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_tmp10_ = all_ch;
#line 135 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_tmp11_ = uri;
#line 135 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_tmp12_ = g_strcmp0;
#line 135 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_tmp13_ = g_list_find_custom (_tmp10_, _tmp11_, _tmp12_);
#line 135 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_vala_assert (_tmp13_ != NULL, "all_ch.find_custom (uri, strcmp) != null");
#line 132 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
				_g_free0 (uri);
#line 572 "symbol-test.c"
			}
		}
	}
#line 124 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_g_list_free0 (all_ch);
#line 124 "/home/rico/sources/repos-git/zeitgeist/fdo-zeitgeist/test/direct/symbol-test.vala"
	_g_list_free0 (children);
#line 580 "symbol-test.c"
}



