]> granicus.if.org Git - icinga2/blobdiff - test/base-type.cpp
Merge pull request #6544 from gunnarbeutner/fix/deprecated-strstream-header
[icinga2] / test / base-type.cpp
index ab704e2709cebb6992e606533872871ce0f0d31c..9013f9f7c073e4b8a58c5814b527205034bc8cee 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org)    *
+ * 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                *
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
  ******************************************************************************/
 
-#include "icinga/perfdatavalue.hpp"
+#include "base/perfdatavalue.hpp"
 #include "base/dictionary.hpp"
 #include "base/objectlock.hpp"
 #include "base/application.hpp"
 #include "base/type.hpp"
-#include <boost/test/unit_test.hpp>
-#include <boost/foreach.hpp>
-#include <boost/tuple/tuple.hpp>
+#include <BoostTestTargetConfig.h>
 
 using namespace icinga;
 
@@ -58,7 +56,7 @@ BOOST_AUTO_TEST_CASE(instantiate)
 {
        Type::Ptr t = Type::GetByName("PerfdataValue");
 
-       Object::Ptr p = t->Instantiate();
+       Object::Ptr p = t->Instantiate(std::vector<Value>());
 
        BOOST_CHECK(p);
 }