其他 Espresso 资源
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页包含用于详细了解如何在 Android 测试中使用 Espresso 的资源。
示例
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Additional Resources for Espresso\n\nThis page contains resources for learning more about using Espresso in Android\ntests.\n\nSamples\n-------\n\n- [IntentsBasicSample](https://github.com/android/testing-samples/tree/main/ui/espresso/IntentsBasicSample): Basic usage of `intended()` and `intending()`.\n- [IdlingResourceSample](https://github.com/android/testing-samples/tree/main/ui/espresso/IdlingResourceSample): Synchronization with background jobs.\n- [BasicSample](https://github.com/android/testing-samples/tree/main/ui/espresso/BasicSample): Basic Espresso sample.\n- [CustomMatcherSample](https://github.com/android/testing-samples/tree/main/ui/espresso/CustomMatcherSample): Shows how to extend Espresso to match the hint property of an `EditText` object.\n- [DataAdapterSample](https://github.com/android/testing-samples/tree/main/ui/espresso/DataAdapterSample): Showcases the onData() entry point for Espresso, for lists and `AdapterView` objects.\n- [IntentsAdvancedSample](https://github.com/android/testing-samples/tree/main/ui/espresso/IntentsAdvancedSample): Simulates a user fetching a bitmap using the camera.\n- [MultiWindowSample](https://github.com/android/testing-samples/tree/main/ui/espresso/MultiWindowSample): Shows how to point Espresso to different windows.\n- [RecyclerViewSample](https://github.com/android/testing-samples/tree/main/ui/espresso/RecyclerViewSample): `RecyclerView` actions for Espresso.\n- [WebBasicSample](https://github.com/android/testing-samples/tree/main/ui/espresso/WebBasicSample): Use Espresso-Web to interact with `WebView` objects.\n- [BasicSampleBundled](https://github.com/android/testing-samples/tree/main/ui/espresso/BasicSampleBundled): Basic sample for Eclipse and other IDEs."]]