File: testmain.vala

package info (click to toggle)
libgee 0.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,948 kB
  • sloc: ansic: 58,681; sh: 11,290; makefile: 293; perl: 106
file content (46 lines) | stat: -rw-r--r-- 2,235 bytes parent folder | download | duplicates (3)
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
/* 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);

	TestSuite.get_root ().add_suite (new ArrayListTests ().get_suite ());
	TestSuite.get_root ().add_suite (new ComparableTests ().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 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 ());

	Test.run ();
}