TEST_F(NotificationServiceConsumerTest, ExpectSuccessGetTopicsList)
{
- uint64_t msgId = 10;
- OIC::Service::NSResult res = OIC::Service::NSResult::FAIL;
std::string provId;
::NSProvider *provider = (::NSProvider *)malloc(sizeof(::NSProvider));
NSProviderSimulator()
: m_notificationHandle(), m_messageHandle(), m_syncHandle(), m_topicHandle(),
m_syncRep(), m_messageRep(), m_accepter(0),
- m_notificationUri(std::string("/notificationTest")),
+ m_notificationUri(std::string("/notification")),
m_messageUri(std::string("/message")),
m_syncUri(std::string("/sync")),
m_topicUri(std::string("/topic")),
#include "oic_string.h"
#include "ocpayload.h"
-#ifdef LOCAL_RUNNING
#define NS_SYNC_URI "/notification/sync"
-#else
-#define NS_SYNC_URI "/notificationTest/sync"
-#endif
NSSyncInfo * NSCreateSyncInfo_consumer(uint64_t msgId, const char * providerId, NSSyncType state);
NSProviderSimulator()
: m_notificationHandle(), m_messageHandle(), m_syncHandle(), m_topicHandle(),
m_syncRep(), m_messageRep(), m_accepter(0),
- m_notificationUri(std::string("/notificationTest")),
+ m_notificationUri(std::string("/notification")),
m_messageUri(std::string("/message")),
m_syncUri(std::string("/sync")),
m_topicUri(std::string("/topic")),