Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced WorkManager and Testing #37

Open
Xylia43 opened this issue Oct 18, 2024 · 0 comments
Open

Advanced WorkManager and Testing #37

Xylia43 opened this issue Oct 18, 2024 · 0 comments

Comments

@Xylia43
Copy link

Xylia43 commented Oct 18, 2024

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-verify-background-work?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-7-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-verify-background-work#7
Specify the language of the codelab if it is not English:

In which task and step of the codelab can this issue be found?
Advanced WorkManager and Testing ,step 8

Describe the problem
The SaveImageToFileWorker test cannot pass

Steps to reproduce?

  1. download the project from github, open it use Android studio
  2. open WorkerInstrumentationTest class
  3. run cleanupWorker_doWork_resultSuccess test, pass succeed
  4. run blurWorker_doWork_resultSuccessReturnsUri, pass succeed
  5. run blurWorker_doWork_resultSuccessReturnsUri, pass failed

Versions
_Android Studio version:_Android Studio Iguana | 2023.2.1 Patch 1
_API version of the emulator:_28

Additional information
Include screenshots if they would be useful in clarifying the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant