Sunny Goyal
986ea0da60
Fixing Robolectic model tests
...
Some tests were broken because of refactoring in LauncherModel.
Change-Id: I55aa32d75a4d16338796a1b1765717fd72ba4b33
2020-11-12 01:01:55 +00:00
Sunny Goyal
34ff8cb3c1
Adding common code for instrumentation and robolectric tests
...
Change-Id: Ia338f0565868bb174ef5f6721924944792866be6
2020-04-20 14:42:30 -07:00
Sunny Goyal
c57a79721d
Using config for robo test configuration so that it can easily be customized
...
Change-Id: Ibd0957ac5c28fae1f88d524cda29bbc84a7ff7bc
2020-04-09 11:32:38 -07:00
Chihhang Chuang
a16ce7ea6a
Fix build break from generating robo test code coverage
...
Use absolute path for LOCAL_INSTRUMENT_SOURCE_DIRS, because Jacoco fail
to get the source code path to parse the code coverage.
Test step:
1. tapas RunLauncherRoboTests
2. make -j30 dist (Make sure RunLauncherRoboTests does not break)
3. make -j30 RunLauncherRoboTests-jacoco dist
4. See the coverage report
Bug: 149001617
Change-Id: If82a839ae52c20c7eb269090976de05fa5d462c4
2020-02-07 10:16:45 +00:00
Pinyao Ting
5f8a1ab718
include reboelctric test for restore
...
Bug: 141472083
Change-Id: Ibee123b01c74316d493d3aa229acf4a4f815f60b
2020-01-28 15:02:39 -08:00
Sunny Goyal
9ae9b60043
Updating Robolectric tests
...
> Adding multi-thread support
> Simulating actual loader loading flow
> Moving some android tests to robolectic
Change-Id: Ie17a448f20e8a4b1f18ecc33d22054bbf9e18729
2020-01-06 11:05:42 -08:00
Sunny Goyal
4b5b0eb60d
Moving some tests to robolectric
...
> Adding support for simulating model load
Bug: 130562632
Change-Id: I1de8c0abe2e74d4e7e47e18914316c339920609a
2019-12-09 11:17:12 -08:00
Amin Shaikh
fd329d19f9
Add overlayable test resource for launcher3
...
Test: make RunLauncherRoboTests
Change-Id: I36b4869d44e8896ef59dce6c554ef94a1fe4d9ec
2019-05-06 09:34:38 -04:00
Sunny Goyal
06a07e9748
Moving come tests to Roboelectric
...
> Fixing resource loading in robo tests
Change-Id: Id5b8a0e4916a2a200da7a41b03f19846834beb1f
2018-11-12 10:49:59 -08:00
Ryan Lothian
6699eaf74d
Add robolectric tests for launcher
...
Bug: 117235618
Change-Id: Ia0441133a77069493b0a29a7a2d513a818dc7fe2
2018-10-31 19:32:10 -04:00