History log of /frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/PreferencePersistTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
83222b0ed2926aee15e5abdda3319089a8cc52ba 20-Jul-2017 Aurimas Liutikas <aurimas@google.com> Update to using newer android.support.test libraries.

com.android.support.test:runner:1.0.0
com.android.support.test:rules:1.0.0
com.android.support.test.espresso:espresso-core:3.0.0
com.android.support.test.espresso:espresso-contrib:3.0.0

Additionally:
- removed the usage of internal espresso apis.
- fixed PostMessageTest that was using ServiceTestRule incorrectly.
- added workaround to AndroidManifest.xml for test packages that use
mockito

Test: ./gradlew assembleAndroidTest works
Change-Id: I7a512e00844e9caefc5f26928f87c8441fc1289a
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/PreferencePersistTest.java
e936153a610c7ee933409fe4e1e9fdcc521d6e6f 10-May-2017 Filip Pavlis <pavlis@google.com> Add Set<String> persist capabilities to Preference

Since the minimal SDK is 14 we can add support for Set<String> that we
already have in the framework version of preferences. SharedPreferences
started support Set<String> from API 11. Set<String> API was only at
MultiSelectListPreference in v14 which will be now removed.

There were no tests for the "persist" logic so to be able to test the
additions I have added a new test class that tests all the persist APIs.

Bug: b/38153879
Test: PreferencePersistTest

Change-Id: I9efc977d2a17a659427196661cda1c15f735e125
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/PreferencePersistTest.java