Update Changelog
[profile/ivi/libgee.git] / tests / testmain.vala
1 /* testmain.vala
2  *
3  * Copyright (C) 2008  Jürg Billeter
4  * Copyright (C) 2009  Didier Villevalois, Julien Peeters
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
19  *
20  * Author:
21  *      Didier 'Ptitjes' Villevalois <ptitjes@free.fr>
22  */
23
24 void main (string[] args) {
25         Test.init (ref args);
26
27         Gee.HazardPointer.set_release_policy(Gee.HazardPointer.ReleasePolicy.MAIN_LOOP);
28
29         TestSuite.get_root ().add_suite (new ArrayListTests ().get_suite ());
30         TestSuite.get_root ().add_suite (new ArrayQueueTests ().get_suite ());
31         TestSuite.get_root ().add_suite (new ConcurrentListTests ().get_suite ());
32         TestSuite.get_root ().add_suite (new ConcurrentSetTests ().get_suite ());
33         TestSuite.get_root ().add_suite (new FunctionsTests ().get_suite ());
34         TestSuite.get_root ().add_suite (new HashMapTests ().get_suite ());
35         TestSuite.get_root ().add_suite (new HashMultiMapTests ().get_suite ());
36         TestSuite.get_root ().add_suite (new HashMultiSetTests ().get_suite ());
37         TestSuite.get_root ().add_suite (new HashSetTests ().get_suite ());
38         TestSuite.get_root ().add_suite (new LinkedListTests ().get_suite ());
39         TestSuite.get_root ().add_suite (new LinkedListAsDequeTests ().get_suite ());
40         TestSuite.get_root ().add_suite (new PriorityQueueTests ().get_suite ());
41         TestSuite.get_root ().add_suite (new ReadOnlyBidirListTests ().get_suite ());
42         TestSuite.get_root ().add_suite (new ReadOnlyCollectionTests ().get_suite ());
43         TestSuite.get_root ().add_suite (new ReadOnlyListTests ().get_suite ());
44         TestSuite.get_root ().add_suite (new ReadOnlyMapTests ().get_suite ());
45         TestSuite.get_root ().add_suite (new ReadOnlySetTests ().get_suite ());
46         TestSuite.get_root ().add_suite (new TreeMapTests ().get_suite ());
47         TestSuite.get_root ().add_suite (new TreeMultiMapTests ().get_suite ());
48         TestSuite.get_root ().add_suite (new TreeMultiSetTests ().get_suite ());
49         TestSuite.get_root ().add_suite (new TreeSetTests ().get_suite ());
50
51         Test.run ();
52 }