* 2. Check callback was called
* 3. Check user data was transferd
*/
+#ifndef __BUILD_PRIMITIVE__
TEST_F(TestIotNotification, correct)
{
std::mutex notificationMtx;
// TODO Temporary disabled
// ASSERT_TRUE(userDataCheck.lastCallbackFired);
}
+#endif /* __BUILD_PRIMITIVE__ */
static void notification2Cb(NM_NotificationData data, void* inUserData)
{
userData->notificationCV.notify_all();
}
+#ifndef __BUILD_PRIMITIVE__
TEST_F(TestIotNotification, DISABLED_suspiciousReport)
{
std::mutex notificationMtx;
{
ADD_FAILURE() << e.what();
}
-
}
+#endif /* __BUILD_PRIMITIVE__ */