2
* Copyright (C) 2011 Canonical Ltd
4
* This library is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License
6
* version 3.0 as published by the Free Software Foundation.
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License version 3.0 for more details.
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with this library. If not, see
15
* <http://www.gnu.org/licenses/>.
17
* Authored by Ken VanDine <ken@vandine.org>
22
private class Main : Object
26
var u = new Gwibber.Test.Utils ();
27
u.setup ("com.Gwibber.Service");
28
u.available.connect (run_tests);
31
private void run_tests (bool b)
33
unowned string[] args = null;
34
Gwibber.Service service = new Gwibber.Service ();
36
/* Gwibber.Utils test */
37
UtilsSuite utils_suite;
38
utils_suite = new UtilsSuite();
44
static int main (string[] args)
46
Environment.set_variable ("XDG_DATA_HOME", Config.TESTDIR+"/data", true);
47
Environment.set_variable ("XDG_CACHE_HOME", Config.TESTDIR+"/data", true);