Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 656b99ae authored by Songchun Fan's avatar Songchun Fan Committed by Song Chun Fan
Browse files

[SettingsProvider] use a mock SettingsProvider in unit test

Use a mock SettingsProvider in SettingsHelperTest instead of using the
real SettingsProvider. This prevents the test code from accidentally changing a real setting's value and also makes sure that the additional safety measures added in SettingsProvider doesn't affect the unit testing of SettingsHelper.

BUG: 227201030
Test: atest com.android.providers.settings.SettingsHelperTest
Change-Id: I0f1ac5dcd9c689c3f414a7d3aa79da935f46fb5a
parent a296e3d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment