Fixed
Status Update
Comments
yb...@google.com <yb...@google.com>
su...@google.com <su...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit f570475abb57a6527f861a083ddfccf451b3427b
Author: Sumir Kataria <sumir@google.com>
Date: Wed Aug 29 14:09:32 2018
Add ability to trigger timed work in TestDriver.
Bug: 113360060
Test: Added and ran new tests in TestSchedulerTest.
Change-Id: I681db88e3190b96e90a5d531b7b1fa053eaf8ab9
M work/workmanager-test/src/androidTest/java/androidx/work/test/TestSchedulerTest.java
A work/workmanager-test/src/androidTest/java/androidx/work/test/workers/CountingTestWorker.java
M work/workmanager-test/src/androidTest/java/androidx/work/test/workers/TestWorker.java
M work/workmanager-test/src/main/java/androidx/work/test/TestDriver.java
M work/workmanager-test/src/main/java/androidx/work/test/TestScheduler.java
M work/workmanager-test/src/main/java/androidx/work/test/WorkManagerTestInitHelper.java
https://android-review.googlesource.com/740398
https://goto.google.com/android-sha1/f570475abb57a6527f861a083ddfccf451b3427b
Branch: androidx-master-dev
commit f570475abb57a6527f861a083ddfccf451b3427b
Author: Sumir Kataria <sumir@google.com>
Date: Wed Aug 29 14:09:32 2018
Add ability to trigger timed work in TestDriver.
Bug: 113360060
Test: Added and ran new tests in TestSchedulerTest.
Change-Id: I681db88e3190b96e90a5d531b7b1fa053eaf8ab9
M work/workmanager-test/src/androidTest/java/androidx/work/test/TestSchedulerTest.java
A work/workmanager-test/src/androidTest/java/androidx/work/test/workers/CountingTestWorker.java
M work/workmanager-test/src/androidTest/java/androidx/work/test/workers/TestWorker.java
M work/workmanager-test/src/main/java/androidx/work/test/TestDriver.java
M work/workmanager-test/src/main/java/androidx/work/test/TestScheduler.java
M work/workmanager-test/src/main/java/androidx/work/test/WorkManagerTestInitHelper.java
ad...@okcredit.in <ad...@okcredit.in> #3
The testing artifact (work-testing) will have the ability to trigger initial delays and period met signals in alpha09. You should use this to simulate any testing you need.
ap...@google.com <ap...@google.com> #4
Wau, that was incredibly fast, thanks!
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 440bc98a105bde429033a009f46a768759811894
Author: Sumir Kataria <sumir@google.com>
Date: Tue Aug 21 09:59:13 2018
Reset the scheduled bit when rescheduling on AlarmManager.
This matches reschneduleAndNotify's functionality with
resetPeriodicAndNotify. AlarmManager impls don't pick up
and schedule work if this bit isn't reset.
Bug: 112604021
Test: Ran integration tests on API 16.
Change-Id: I2fdb0576dd66673842e4890915c3d526624deb72
M work/workmanager/src/main/java/androidx/work/impl/WorkerWrapper.java
https://android-review.googlesource.com/735815
https://goto.google.com/android-sha1/440bc98a105bde429033a009f46a768759811894
Branch: androidx-master-dev
commit 440bc98a105bde429033a009f46a768759811894
Author: Sumir Kataria <sumir@google.com>
Date: Tue Aug 21 09:59:13 2018
Reset the scheduled bit when rescheduling on AlarmManager.
This matches reschneduleAndNotify's functionality with
resetPeriodicAndNotify. AlarmManager impls don't pick up
and schedule work if this bit isn't reset.
Bug: 112604021
Test: Ran integration tests on API 16.
Change-Id: I2fdb0576dd66673842e4890915c3d526624deb72
M work/workmanager/src/main/java/androidx/work/impl/WorkerWrapper.java
Description
Version used: 1.0.0-alpha06
Devices/Android versions reproduced on: 4.4.2
following issue contains relevant details: