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/accounts/AccountHeaderPreferenceControllerTest.java
|
50eb81f1141deee2eccb0cd9e6efc16ab432bc51 |
|
02-Aug-2017 |
Fan Zhang <zhfan@google.com> |
Style action bar during onResume instead of onCreate Change-Id: Ib57bf128b644737b5a34238ec85ca6d740543c5f Fix: 64284689 Bug: 64297479 Test: robotests
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/AccountHeaderPreferenceControllerTest.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/accounts/AccountHeaderPreferenceControllerTest.java
|
841d1d5aabc33024b2e03276085b0d1dbdb92b23 |
|
22-May-2017 |
Fan Zhang <zhfan@google.com> |
Show shadow when entity header starts scrolling. - Add a controller to manage add/remove onScrollChangedListener to recyclerviews. - When recyclerview on each screen is scrolled to top, set actionbar elevation to 0, otherwise set it to non-zero. - When screen is moved to background, detach the listener. - Use the controller in entity header. Change-Id: Iecf194d885098c98c392810f62893ae9189f3936 Fix: 37670670 Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/AccountHeaderPreferenceControllerTest.java
|
98289a887b7ed9201c3a74794225ead571ced28f |
|
19-May-2017 |
Fan Zhang <zhfan@google.com> |
Use entity header on AccountDetailDashboardFragment Bug: 37669238 Test: make RunSettingsRoboTests Change-Id: Iaf92730e8c6b5c44cb8eca4525fc931487ce9630
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/AccountHeaderPreferenceControllerTest.java
|