]> granicus.if.org Git - icinga2/blobdiff - test/CMakeLists.txt
Merge pull request #6999 from Icinga/bugfix/compiler-warnings
[icinga2] / test / CMakeLists.txt
index 5fce798331e252cc45ca411ae953dba3de7b0527..8dc05b64557a00b0883b23a2fb8e688870af12b4 100644 (file)
@@ -1,19 +1,4 @@
-# Icinga 2
-# Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/)
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation
-# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
 
 include(BoostTestTargets)
 
@@ -28,6 +13,7 @@ set(base_test_SOURCES
   base-match.cpp
   base-netstring.cpp
   base-object.cpp
+  base-object-packer.cpp
   base-serialize.cpp
   base-shellescape.cpp
   base-stacktrace.cpp
@@ -35,6 +21,7 @@ set(base_test_SOURCES
   base-string.cpp
   base-timer.cpp
   base-type.cpp
+  base-utility.cpp
   base-value.cpp
   config-ops.cpp
   icinga-checkresult.cpp
@@ -43,7 +30,6 @@ set(base_test_SOURCES
   icinga-notification.cpp
   icinga-perfdata.cpp
   remote-url.cpp
-  remote-user.cpp
   ${base_OBJS}
   $<TARGET_OBJECTS:config>
   $<TARGET_OBJECTS:remote>
@@ -63,6 +49,7 @@ add_boost_test(base
     base_array/resize
     base_array/insert
     base_array/remove
+    base_array/unique
     base_array/foreach
     base_array/clone
     base_array/json
@@ -72,6 +59,8 @@ add_boost_test(base
     base_convert/tostring
     base_convert/tobool
     base_dictionary/construct
+    base_dictionary/initializer1
+    base_dictionary/initializer2
     base_dictionary/get1
     base_dictionary/get2
     base_dictionary/foreach
@@ -81,6 +70,13 @@ add_boost_test(base
     base_fifo/construct
     base_fifo/io
     base_json/invalid1
+    base_object_packer/pack_null
+    base_object_packer/pack_false
+    base_object_packer/pack_true
+    base_object_packer/pack_number
+    base_object_packer/pack_string
+    base_object_packer/pack_array
+    base_object_packer/pack_object
     base_match/tolong
     base_netstring/netstring
     base_object/construct
@@ -110,6 +106,8 @@ add_boost_test(base
     base_type/assign
     base_type/byname
     base_type/instantiate
+    base_utility/comparepasswords_works
+    base_utility/comparepasswords_issafe
     base_value/scalar
     base_value/convert
     base_value/format
@@ -141,7 +139,6 @@ add_boost_test(base
     remote_url/get_and_set
     remote_url/format
     remote_url/illegal_legal_strings
-    api_user/password
 )
 
 if(ICINGA2_WITH_LIVESTATUS)