File: testmain.vala

package info (click to toggle)
libgee-0.8 0.20.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,704 kB
  • sloc: ansic: 134,718; sh: 4,838; makefile: 372
file content (54 lines) | stat: -rw-r--r-- 2,786 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* testmain.vala
 *
 * Copyright (C) 2008  Jürg Billeter
 * Copyright (C) 2009  Didier Villevalois, Julien Peeters
 *
 * This library 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 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
 * Lesser General Public License for more details.

 * You should have received a copy of the GNU Lesser 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
 *
 * Author:
 * 	Didier 'Ptitjes' Villevalois <ptitjes@free.fr>
 */

void main (string[] args) {
	Test.init (ref args);

	Gee.HazardPointer.set_release_policy(Gee.HazardPointer.ReleasePolicy.MAIN_LOOP);

	TestSuite.get_root ().add_suite (new ArrayListTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ArrayQueueTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ConcurrentListTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ConcurrentSetTests ().get_suite ());
	TestSuite.get_root ().add_suite (new FunctionsTests ().get_suite ());
	TestSuite.get_root ().add_suite (new HashMapTests ().get_suite ());
	TestSuite.get_root ().add_suite (new HashMultiMapTests ().get_suite ());
	TestSuite.get_root ().add_suite (new HashMultiSetTests ().get_suite ());
	TestSuite.get_root ().add_suite (new HashSetTests ().get_suite ());
	TestSuite.get_root ().add_suite (new LinkedListTests ().get_suite ());
	TestSuite.get_root ().add_suite (new LinkedListAsDequeTests ().get_suite ());
	TestSuite.get_root ().add_suite (new PriorityQueueTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ReadOnlyBidirListTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ReadOnlyCollectionTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ReadOnlyListTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ReadOnlyMapTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ReadOnlySetTests ().get_suite ());
	TestSuite.get_root ().add_suite (new TreeMapTests ().get_suite ());
	TestSuite.get_root ().add_suite (new TreeMultiMapTests ().get_suite ());
	TestSuite.get_root ().add_suite (new TreeMultiSetTests ().get_suite ());
	TestSuite.get_root ().add_suite (new TreeSetTests ().get_suite ());
	TestSuite.get_root ().add_suite (new UnrolledLinkedListTests ().get_suite ());
	TestSuite.get_root ().add_suite (new UnrolledLinkedListAsDequeTests ().get_suite ());

	Test.run ();
}