# along with this program; if not, write to the Free Software Foundation
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-set(Boost_USE_STATIC_LIBS OFF)
-
include(BoostTestTargets)
set(base_test_SOURCES
+ icingaapplication-fixture.cpp
base-array.cpp
base-base64.cpp
base-convert.cpp
icinga-notification.cpp
icinga-perfdata.cpp
remote-url.cpp
+ remote-user.cpp
${base_OBJS}
$<TARGET_OBJECTS:config>
$<TARGET_OBJECTS:remote>
add_boost_test(base
SOURCES test-runner.cpp ${base_test_SOURCES}
LIBRARIES ${base_DEPS}
- TESTS
+ TESTS
base_array/construct
base_array/getset
base_array/resize
remote_url/get_and_set
remote_url/format
remote_url/illegal_legal_strings
+ api_user/password
)
if(ICINGA2_WITH_LIVESTATUS)
set(livestatus_test_SOURCES
+ icingaapplication-fixture.cpp
livestatus-fixture.cpp
livestatus.cpp
${base_OBJS}
endif()
set(icinga_checkable_test_SOURCES
+ icingaapplication-fixture.cpp
icinga-checkable-fixture.cpp
icinga-checkable-flapping.cpp
${base_OBJS}