return resourceHandle;
}
- //Configure
- // Enable it when the stack throw an exception
- // https://jira.iotivity.org/browse/IOT-428
- TEST(ConfigureTest, DISABLED_ConfigureInvalidModeType)
+ TEST(ConfigureTest, ConfigureInvalidModeType)
{
PlatformConfig cfg {
OC::ServiceType::InProc,
EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL));
}
- // Enable it when the stack throw an exception
- // https://jira.iotivity.org/browse/IOT-428
- TEST(ConfigureTest, DISABLED_ConfigureInvalidServiceType)
+ TEST(ConfigureTest, ConfigureInvalidServiceType)
{
PlatformConfig cfg {
(OC::ServiceType)99,
EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL));
}
- // Enable it when the stack throw an exception
- // https://jira.iotivity.org/browse/IOT-428
- TEST(ConfigureTest, DISABLED_ConfigureClientOutProc)
+ TEST(ConfigureTest, ConfigureClientOutProc)
{
PlatformConfig cfg {
OC::ServiceType::OutOfProc,