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(
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(
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(
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(
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");
}
/*