summaryrefslogtreecommitdiff
path: root/robolectric_tests
AgeCommit message (Collapse)Author
2022-12-12Finish moving Robolectric tests to tests/robotestsChris Poultney
Bug: 260777356 Test: this is the test Change-Id: Ia624838a645d8e3b9697a7017739e8952b929bce
2022-12-09Configure existing ThemePicker Robolectric tests to run with atest.Chris Poultney
Bug: 260777356 Bug: 260925899 Test: this is the test Change-Id: I25c4efdb73dc5eb88611efac669de13fa2be0c3d (cherry picked from commit 9a9c7c18096f41f07eef5f8e7350dd3edbc8b892) Merged-In: I25c4efdb73dc5eb88611efac669de13fa2be0c3d
2022-12-02Customizable lock screen affordance entry-point.Alejandro Nijamkin
Adds an entry-point from the wallpaper picker to a fragment that's dedicated to show the quick affordance picker. The fragment is currently just blank. Bug: 254858701 Test: https://screenshot.googleplex.com/txXtXu86w59HcMB - it shows the names and icons of the selected affordances correctly and clicking it navigates to the empty page/fragment Change-Id: I2487f58aa806333ecf780a607abb7851e63a35e8
2022-11-28Quick affordance picker in ThemePicker.Alejandro Nijamkin
Near end-to-end implementation of everything needed to drive the UI for the lock screen quick affordance picker/selector in wallpaper picker. This CL includes: - A contract file definition (which will be moved into a shared library soon) - A client class to abstract away the content resolver API which, using the contract, queries the system UI content provider for data - A clean architecture implementation with: a repository, an interactor, view-models, view-binders, and adapters - Ugly/minimal, to be replaced and/or updated aggressively when the wallpaper team actually implements the UI Bug: 254857639 Test: Included unit tests, verified manually end-to-end in a temporary activity in the wallpaper picker build that shows the UI. Change-Id: Icb492be0041d6a594bdf622c2f3e8177c07b82bf
2022-11-18Update PluginManager ImportHawkwood Glazier
Bug: 258424862 Test: Rebuilt Wallpaper Picker Change-Id: I4ec416bc29f84a1fdcc136248d41db0245b2cfa3
2022-11-18Add demo clock pickerSherry Zhou
Test: atest ClockCustomDemoFragmentTest Bug: 242332371 Change-Id: I3e91e468f4630c11b8158c93d44c3e027ff6a221
2022-03-04Migrate color related tests into AOSPKunhung Li
Add color tests related code Bug: 218396282 Test: manual Change-Id: Ibbc0e00298bc8a4b5cb19e8a75d5d64ace7adcc0
2022-02-16Fix TestsSantiago Etchebehere
Fixes: 219976983 Test: manual run all tests. Change-Id: I85f74dd786ba1503e2bf664a29d686b7632c5b9e
2021-11-23Update Robolectric SDK to 31zonghuayang
Update Robolectric SDK to 31 Bug: 206905117 Test: Manual Change-Id: I918e3d29ecc7d853802a34bae0728fd737b9539b
2021-02-21[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/ThemePicker am: fddada2377 ↵Bob Badour
am: 5886614427 am: 94959ca744 Original change: https://android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/1587896 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0eec259b2eeb5ce91250854727c2f61395d12855
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/ThemePickerBob Badour
Added SPDX-license-identifier-Apache-2.0 to: robolectric_tests/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I06c5466a8461b7a0f503eb5b9b9c0afc4a41a12e
2020-10-15Update robo properties config (1/2)Wesley.CW Wang
- Update manifest parm to target project Test: tapas RunThemePickerRoboTests; m -j40 Change-Id: I8d021c2e3d4abd04d3d68768e2deb8d5bb59f911
2020-10-13Fix checkbuild.Xin Li
Bug: 170697222 Merged-In: I1a854f0d6be46cfd11ada58fa54589147e0f37d7 Change-Id: I2a7aa5f17b334545f79a4552be9f8df2f91f7b82
2020-04-09Remove support for wallpapers in style bundlesSantiago Etchebehere
This CL doesn't yet implement the new preview UI, just removes support all the usages and support for wallpaper in theme bundles. Bug: 151868805 Change-Id: I0a7de9ff2150c8f3e516ec49c7c833bab7ac08d1
2020-02-04Use full path for LOCAL_INSTRUMENT_SOURCE_DIRSChihhang Chuang
We get fail from running RunThemePickerRoboTests-jacoco because Jacoco fail to get the source code path to parse the code coverage. Test step: 1. tapas RunThemePickerRoboTests 2. make -j30 dist (Make sure RunThemePickerRoboTests does not break) 3. make -j30 RunThemePickerRoboTests-jacoco dist 4. See the coverage report Bug: 147334774 Change-Id: I5a76f99a22b1e230b3b4777e74bd1e68211e9736
2019-12-19Add and modify tests for ClockManager.Chuck Liao
Increase the code coverage of ClockManager to 100%. Change-Id: I0242c8583f75754092541d4607a02aa46cbea25e
2019-12-18Fix broken test case for ClockManagerTestWesley.CW Wang
Test: Manually, tapas RunThemePickerRoboTests & m -j40 Bug: 130021301 Change-Id: Ie4ff70fa388c1a2c9cea8d3b4300b86fefc30aea
2019-12-17Fix broken tests and add tests for ThemeManagerTestChihhang Chuang
Change-Id: I12769a3385cdcbe71f2e216a405509477b427eca
2019-05-03Fix ThemeManagerTestAmin Shaikh
Test: tapas RunThemePickerRoboTests; make Change-Id: I78a1004fb70394f8662eb6bd2d649ef4d345fdeb
2019-04-29Add icon pack to ThemePicker.Amin Shaikh
- Changed fillColor to white for all overlayed icons to ensure they are all properly tinted in view xml or code - Introduce NoTintDrawableWrapper to ensure tip dot isn't tinted while the nav icon drawable is tinted - Add overlayable_icons_test.xml created from icon pack generation - Add the ThemePicker package as an overlay target package Bug: 130788873 Test: visual Change-Id: Ib6e2ff48800cb75411754b333c0d0ebcfcba5ab1
2019-04-18Fix ThemePicker robo test build.Amin Shaikh
Test: make Change-Id: If66b31d4ee5f21430864946c5adf1bf623b1b2b2
2019-04-16Add activity for just clock face picker.Robert Snoeberger
The activity can be started by an intent with action: com.google.android.apps.wallpaper.ACTIVITY_CLOCK_FACE_PICKER When the activity finishes, it sets the ID of the selected clock into an extra with name "clock_face_name". Bug: 130021301 Test: Launched activity with `adb shell am start -a "com.google.android.apps.wallpaper.ACTIVITY_CLOCK_FACE_PICKER"` Change-Id: Iea974d011b786587300564e3aa25f7e85add6fb2 Test: Checked that clock not changed on lock screen/AOD
2019-04-02Fix robo test compile error.Amin Shaikh
Test: m ThemePickerRoboTests Change-Id: Ie31055d944ad7318903c3e8b977ea97e253b48ec
2019-03-21Custom Theme 7/n: delete custom themeSantiago Etchebehere
Add delete option on custom theme fragments, and reload the options when going back after deleting to ensure we show the correct ones. Bug: 124796742 Change-Id: I23fa0f418a3872a5426faa4b7d514bc0395f79b5
2019-02-20Add initial Robolectric testsSantiago Etchebehere
Set up the infrastructure for tests and add a few initial Robolectric tests for ThemePicker. Bug: 118758604 Change-Id: Ie6f34c840d31d24349fd12355f93369f51168802