]> granicus.if.org Git - icinga2/blob - test/CMakeLists.txt
Add unit test for Stream::ReadLine.
[icinga2] / test / CMakeLists.txt
1 # Icinga 2
2 # Copyright (C) 2012-2013 Icinga Development Team (http://www.icinga.org/)
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation
16 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
17
18 include(BoostTestTargets)
19
20 add_boost_test(base
21   SOURCES base-array.cpp base-convert.cpp base-dictionary.cpp base-fifo.cpp
22           base-match.cpp base-netstring.cpp base-object.cpp base-serialize.cpp
23           base-shellescape.cpp base-stacktrace.cpp base-stream.cpp
24           base-string.cpp base-timer.cpp base-type.cpp base-value.cpp
25           icinga-perfdata.cpp test.cpp
26   LIBRARIES base config icinga
27   TESTS base_array/construct
28         base_array/getset
29         base_array/remove
30         base_array/foreach
31         base_array/clone
32         base_array/json
33         base_convert/tolong
34         base_convert/todouble
35         base_convert/tostring
36         base_convert/tobool
37         base_dictionary/construct
38         base_dictionary/get1
39         base_dictionary/get2
40         base_dictionary/foreach
41         base_dictionary/remove
42         base_dictionary/clone
43         base_dictionary/json
44         base_fifo/construct
45         base_fifo/io
46         base_match/tolong
47         base_netstring/netstring
48         base_object/construct
49         base_object/getself
50         base_object/weak
51         base_serialize/scalar
52         base_serialize/array
53         base_serialize/dictionary
54         base_serialize/object
55         base_shellescape/escape_basic
56         base_shellescape/escape_quoted
57         base_stacktrace/stacktrace
58         base_stream/readline_stdio
59         base_string/construct
60         base_string/equal
61         base_string/clear
62         base_string/append
63         base_string/trim
64         base_string/replace
65         base_string/index
66         base_string/find
67         base_timer/construct
68         base_timer/interval
69         base_timer/invoke
70         base_timer/scope
71         base_value/scalar
72         base_value/convert
73         base_value/format
74         icinga_perfdata/simple
75         icinga_perfdata/multiple
76         icinga_perfdata/uom
77         icinga_perfdata/warncritminmax
78         icinga_perfdata/invalid
79 )
80