AdevintaSpain / AdevintaSpain/Barista
Please update to espresso 3.6.0-rc01 or higher and fix BaristaIntents.mockAndroidCamera()
- Ngôn ngữ chính
- Kotlin
- Star
- 1.7k
- Fork
- 119
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Library Version:**
4.3.0
**Describe the Bug:**
In our app, we use espresso 3.6.0-rc01. Barista uses 3.4.0 it seems. As a consequence, the tests that use BaristaIntents.mockAndroidCamera() fail with:
```
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/test/espresso/core/internal/deps/guava/base/Preconditions;
```
It seems that this preconditions were removed, and now this [checks](https://github.com/android/android-test/blob/67a30ef587ced6c178eb20eebfc24c769c6daf7f/espresso/intents/java/androidx/test/espresso/intent/Checks.java#L19) should be used.
**Steps to reproduce the bug:**
1. Update espresso to 3.6.0-rc01
2. run a test that uses BaristaIntents.mockAndroidCamera()
**Expected Behavior:**
That no ClassNotFoundException is thrown.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.