Since all the functionalities called in these unit tests
are now available, enable these tests. Verification via
local tests has been done before enable any of these tests.
Change-Id: Ie5086e3394460452dd92199629017b30f1ef0030
Signed-off-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10809
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sungkyu Ko <sungkyu.ko@samsung.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
- //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,
{
PlatformConfig cfg {
OC::ServiceType::InProc,
EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL));
}
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,
{
PlatformConfig cfg {
(OC::ServiceType)99,
EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL));
}
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,
{
PlatformConfig cfg {
OC::ServiceType::OutOfProc,