Remove test code for deprecated API
authorJihoon Chung <jihoon.chung@samsung.com>
Tue, 14 May 2013 04:45:03 +0000 (13:45 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Tue, 14 May 2013 04:49:27 +0000 (13:49 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove test code for deprecated API
[SCMRequest] N/A

Change-Id: I1021e1cf5938c9ef324ba3d9ba1ae990af83498d

tests/dao/TestCases_WidgetDAO.cpp

index c753d64..1d23c41 100644 (file)
@@ -565,9 +565,6 @@ RUNNER_TEST(widget_dao_test_register_widget_security_settings)
     RUNNER_ASSERT_MSG(
         dao.getWebDatabaseUsage() == WrtDB::SETTINGS_TYPE_ON,
         "WebDatabaseUsage is not deafult on");
-    RUNNER_ASSERT_MSG(
-        dao.getFileSystemUsage() == WrtDB::SETTINGS_TYPE_ON,
-        "FileSystemUsage is not deafult on");
 
     dao.setSecurityPopupUsage(WrtDB::SETTINGS_TYPE_OFF);
     RUNNER_ASSERT_MSG(
@@ -582,9 +579,6 @@ RUNNER_TEST(widget_dao_test_register_widget_security_settings)
     RUNNER_ASSERT_MSG(
         dao.getWebDatabaseUsage() == WrtDB::SETTINGS_TYPE_ON,
         "WebDatabaseUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getFileSystemUsage() == WrtDB::SETTINGS_TYPE_ON,
-        "FileSystemUsage - wrong value");
 
     dao.setGeolocationUsage(WrtDB::SETTINGS_TYPE_ALWAYS_ASK);
     RUNNER_ASSERT_MSG(
@@ -599,9 +593,6 @@ RUNNER_TEST(widget_dao_test_register_widget_security_settings)
     RUNNER_ASSERT_MSG(
         dao.getWebDatabaseUsage() == WrtDB::SETTINGS_TYPE_ON,
         "WebDatabaseUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getFileSystemUsage() == WrtDB::SETTINGS_TYPE_ON,
-        "FileSystemUsage - wrong value");
 
     dao.setWebNotificationUsage(WrtDB::SETTINGS_TYPE_OFF);
     RUNNER_ASSERT_MSG(
@@ -616,9 +607,6 @@ RUNNER_TEST(widget_dao_test_register_widget_security_settings)
     RUNNER_ASSERT_MSG(
         dao.getWebDatabaseUsage() == WrtDB::SETTINGS_TYPE_ON,
         "WebDatabaseUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getFileSystemUsage() == WrtDB::SETTINGS_TYPE_ON,
-        "FileSystemUsage - wrong value");
 
     dao.setWebDatabaseUsage(WrtDB::SETTINGS_TYPE_ALWAYS_ASK);
     RUNNER_ASSERT_MSG(
@@ -633,43 +621,6 @@ RUNNER_TEST(widget_dao_test_register_widget_security_settings)
     RUNNER_ASSERT_MSG(
         dao.getWebDatabaseUsage() == WrtDB::SETTINGS_TYPE_ALWAYS_ASK,
         "WebDatabaseUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getFileSystemUsage() == WrtDB::SETTINGS_TYPE_ON,
-        "FileSystemUsage - wrong value");
-
-    dao.setFileSystemUsage(WrtDB::SETTINGS_TYPE_OFF);
-    RUNNER_ASSERT_MSG(
-        dao.getSecurityPopupUsage() == WrtDB::SETTINGS_TYPE_OFF,
-        "SecurityPopupUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getGeolocationUsage() == WrtDB::SETTINGS_TYPE_ALWAYS_ASK,
-        "GeolocationUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getWebNotificationUsage() == WrtDB::SETTINGS_TYPE_OFF,
-        "WebNotificationUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getWebDatabaseUsage() == WrtDB::SETTINGS_TYPE_ALWAYS_ASK,
-        "WebDatabaseUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getFileSystemUsage() == WrtDB::SETTINGS_TYPE_OFF,
-        "FileSystemUsage - wrong value");
-
-    dao.setFileSystemUsage(WrtDB::SETTINGS_TYPE_ON);
-    RUNNER_ASSERT_MSG(
-        dao.getSecurityPopupUsage() == WrtDB::SETTINGS_TYPE_OFF,
-        "SecurityPopupUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getGeolocationUsage() == WrtDB::SETTINGS_TYPE_ALWAYS_ASK,
-        "GeolocationUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getWebNotificationUsage() == WrtDB::SETTINGS_TYPE_OFF,
-        "WebNotificationUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getWebDatabaseUsage() == WrtDB::SETTINGS_TYPE_ALWAYS_ASK,
-        "WebDatabaseUsage - wrong value");
-    RUNNER_ASSERT_MSG(
-        dao.getFileSystemUsage() == WrtDB::SETTINGS_TYPE_ON,
-        "FileSystemUsage - wrong value");
 }
 
 /*