<< "' " << std::endl;
return fopen(SVR_DB_FILE_NAME, mode);
}
- OCPersistentStorage gps {client_open, fread, fwrite, fclose, unlink };
+ OCPersistentStorage gps {client_open, fread, fwrite, fclose, unlink, NULL, NULL };
// Callbacks
OCEntityHandlerResult entityHandler(std::shared_ptr<OCResourceRequest> /*request*/)
return resourceHandle;
}
- TEST(ConfigureTest, ConfigureInvalidModeType)
+ //Configure
+ // Enable it when the stack throw an exception
+ // https://jira.iotivity.org/browse/IOT-428
+ TEST(ConfigureTest, DISABLED_ConfigureInvalidModeType)
{
PlatformConfig cfg {
OC::ServiceType::InProc,
EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL));
}
- TEST(ConfigureTest, ConfigureInvalidServiceType)
+ // Enable it when the stack throw an exception
+ // https://jira.iotivity.org/browse/IOT-428
+ TEST(ConfigureTest, DISABLED_ConfigureInvalidServiceType)
{
PlatformConfig cfg {
(OC::ServiceType)99,
EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL));
}
- TEST(ConfigureTest, ConfigureClientOutProc)
+ // Enable it when the stack throw an exception
+ // https://jira.iotivity.org/browse/IOT-428
+ TEST(ConfigureTest, DISABLED_ConfigureClientOutProc)
{
PlatformConfig cfg {
OC::ServiceType::OutOfProc,