summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorMichal Karpinski <mkarpinski@google.com>2018-01-18 16:14:27 +0000
committerMichal Karpinski <mkarpinski@google.com>2018-01-18 20:23:17 +0000
commit2c37b08510877af06542ad21eb5b63c8f9824584 (patch)
treec1f0f9a206abc34fa41d905ccec88d0da04ff658 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent588a06f5a25adad63337ac481f9e1b55dcc169a1 (diff)
Add SettingsValidators class and a test for validators enforcement
Common validators have been moved out to SettingsValidators class, as they'll be now shared between Settings.System, Settings.Secure and Settings.Global. All validators of Settings.System settings have been verified to be correct and the missing ones were added. A unit test that verifies that all settings on SETTINGS_TO_BACKUP list in Settings.System have validators on VALIDATORS list has been added. This test will also cover Settings.Secure and Settings.Global once validators are added for those settings. Also, fail to boot in that case. Ref: go/android-p-backed-up-settings Test: atest frameworks/base/core/tests/coretests/src/android/provider/SettingsValidatorsTest.java Bug: 64988620 Change-Id: I1fe951604010ab0c3f68a66296885a9766690d69
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions