History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
739b0eef10b9701282712f905a4904cad54ad2c8 17-Aug-2017 Daniel Nishi <dhnishi@google.com> Move the Robolectric shadow config up.

In my testing, this reduces the runtime of the Robolectric Settings test
suite on my Z840 workstation from 440 seconds to 402 seconds on average.
By avoiding having a method-level Robolectric shadow import, we avoid
going down a code path which needs to add more shadows later in the
Robolectric execution.

Bug: 64808827
Test: Settings robotests still pass
Change-Id: I7b40d73b30306ae3f9759281afbd7f7266579e24
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java
fe7c35803e6af35813ffe69b1d8f188ea28384fd 07-Aug-2017 Salvador Martinez <dehboxturtle@google.com> Update availability for mobile network

This CL updates the availability to behave properly when a
user other than the primary user is accessing it. This also
makes the api return no intent if they don't have permission to
access this because attempting to go to that screen will cause a
crash. Also updates tests related to this change.

Test: robotests still pass
Bug: 64092292
Change-Id: If9913d9ae08ee3e205ff324aaeeadc755ff1d23d
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java
9f1e911759dc6fedaac9fa65afb79f6a93022bf4 09-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Refactor test runner to use static list of resource paths

Previously everything lived in an inner class method of
SettingsRobolectricTestRunner. That method has now been turned into
a static method so that it can be called by other runners.

Bug: 62460102
Test: robotests
Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java
777ed2535a7fd6f618a0d12f381af99252283574 10-May-2017 Juan Lang <juanlang@google.com> Depend on SettingsLib's version of lifecycle and FooterMixin.

The implementations have been imported into SettingsLib. Setting's copy
can now be removed, which this change also does.

Test: Manually check battery status, which uses FooterMixin, looks OK.
make RunSettingsLibRobotTests && make RunSettingsRoboTests
&& make RunSettingsGoogleRoboTests
Change-Id: I6539605fdad80d156ff5ff249e68df4a1c412067
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java
333922ac8827fe3e0fa01eb8b8a6a84953a71234 11-Feb-2017 Fan Zhang <zhfan@google.com> Display carrier network name as celluar setting summary.

Bug: 34974598
Test: make RunSettingsRoboTests
Change-Id: I99436337919440e0dd21653f9ea63d6f3a694df0
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java
f86905ed50f7a5543edb1b7425e0fa2db985de1c 26-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Modified settings tests to use custom test runner

The custom test runner lets us use resources from
multiple projects which resolves many ResourceNotFound
errors that would come up when people who made changes
wrote tests.

Test: make RunSettingsRoboTests
Bug: 32180625
Change-Id: I71f30eecc1164b117351a74b3ea0533625feae5b
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java
f1acdd3a51324432317115998ab97684e8035270 13-Oct-2016 Fan Zhang <zhfan@google.com> Add more preference controllers to network page.

- To support Mobile plan preference controller, extended
LifecycleObserver pattern to also observe onCreate and onSaveInstance.

Bug: 31799836
Test: RunSettingsRoboTests
Change-Id: Ie98db7efa91f0a8b4c8a06a784d3351237e59fe0
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/MobileNetworkPreferenceControllerTest.java