~ken-vandine/unity/make-quicklists-work-again

« back to all changes in this revision

Viewing changes to tests/unit/TestMain.cpp

  • Committer: Neil Jagdish Patel
  • Date: 2010-11-11 18:51:08 UTC
  • mfrom: (572.1.58 unity-3.0)
  • Revision ID: neil.patel@canonical.com-20101111185108-71923a90txzvxbit
[merge] Unity 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2010 Canonical Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 3, as published
 
6
 * by the  Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful, but
 
9
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
10
 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
 
11
 * PURPOSE.  See the GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * version 3 along with this program.  If not, see
 
15
 * <http://www.gnu.org/licenses/>
 
16
 *
 
17
 * Authored by: Neil Jagdish Patel <neil.patel@canonical.com>
 
18
 *
 
19
 */
 
20
 
 
21
#include "config.h"
 
22
#include <glib.h>
 
23
#include <glib-object.h>
 
24
 
 
25
void TestFavoriteStoreGSettingsCreateSuite (void);
 
26
 
 
27
int
 
28
main (int argc, char **argv)
 
29
{
 
30
  g_setenv ("GSETTINGS_SCHEMA_DIR", BUILDDIR"/settings/", TRUE);
 
31
 
 
32
  g_type_init ();
 
33
  g_thread_init (NULL);
 
34
  
 
35
  g_test_init (&argc, &argv, NULL);
 
36
 
 
37
  //Keep alphabetical please
 
38
  TestFavoriteStoreGSettingsCreateSuite ();
 
39
 
 
40
  return g_test_run ();
 
41
}