I hereby claim:
- I am Mauin on github.
- I am mauin (https://keybase.io/mauin) on keybase.
- I have a public key whose fingerprint is 501C 4B1B C971 E11F 4CB9 4612 FA75 6A4D EB2D C04F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# Prepend the branch name to the commit message | |
# | |
# Add this file as [repo]/.git/hooks/prepare-commit-msg | |
# | |
# A couple notes: | |
# 1. The file must be executable (chmod +x commit-msg) | |
# 2. This works on a per-repo basis (unless you follow this guide https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook) |
Create the main Progressbar wrapper in your main source code. Use it instead of the android.widget.Progressbar
as it will just forward all calls to the default Progressbar.
In your androidTest package create the Progressbar
class in the exact same package as you did in the main source code. This way all your UI tests will call this ProgressBar
instead of the default one.
And since the modifications prevent the Progressbar from showing and animating, the UI thread won't be blocked and Espresso can continue the test.