Commit a3a65d67 authored by Ivan Frade's avatar Ivan Frade Committed by Jürg Billeter

Add mock test

A completely empty unit test file was breaking gtester report tool.
parent ed71f5e6
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2008, Nokia (urho.konttori@nokia.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include <glib.h>
#include <tracker-test-helpers.h>
void
test_something () {
g_assert_cmpint (1, ==, 1);
return;
}
int
main (int argc,
char **argv)
{
return 0;
g_type_init ();
g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/tracker-indexer/tracker-metadata-utils/something",
test_something);
return g_test_run ();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment