Fixed
Status Update
Comments
[Deleted User] <[Deleted User]> #2
[Comment deleted]
[Deleted User] <[Deleted User]> #3
Turned out that it also does not work on x86_64 emulators (tested on Nougat).
Summarising (I cannot edit issue) @RequiresDevice works on "goldfish" emulators, but fails on other emulators
Summarising (I cannot edit issue) @RequiresDevice works on "goldfish" emulators, but fails on other emulators
nk...@google.com <nk...@google.com>
sl...@google.com <sl...@google.com> #4
Fixed, "ranchu" emulators will be supported in the next Runner 1.0 release.
Description
Version used:0.5
What steps will reproduce the problem?
1. Have a test wtih @RequiresDevice in the suite
2. Create an emulator with x86_64 ABI
3. Run suite from step #1 on emulator from #2
How are you running your tests (via Android Studio, Gradle, adb, etc.)?
Android Studio, but I don't think it matters
Expected output: @RequiresDevice test is not executed
Actual output: @RequiresDevice test IS executed
TestRequestBuilder$RequiresDeviceFilter checks for "goldfish" value on Build.HARDWARE which is correct for ABI x86, but not for ABI x86_64 - value is "ranchu" there.