#include <gtest/gtest.h>
+#include "OCPlatform.h"
+#include "OCApi.h"
#include "IOT_DeviceFinder.h"
using namespace std;
}
ASSERT_TRUE(res);
}
+
+TEST(test_IoT, configureTest)
+{
+ OC::PlatformConfig config { OC::ServiceType::InProc, OC::ModeType::Both, "0.0.0.0", 0, OC::QualityOfService::HighQos };
+ ASSERT_NO_THROW(OC::OCPlatform::Configure(config));
+}
return (s_res == 3);
}
-TEST(test_nmdaemon, test)
-{
- std::cout << "=== start ===" << std::endl;
- ASSERT_TRUE(test());
- std::cout << "=== stop ===" << std::endl;
-}
+//TEST(test_nmdaemon, test)
+//{
+// std::cout << "=== start ===" << std::endl;
+// ASSERT_TRUE(test());
+// std::cout << "=== stop ===" << std::endl;
+//}