wokkaflokka / adapterviewprotocol-loop-demo

demonstrates an infinite loop in Espresso's DataInteraction and AdapterViewProtocol components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AVP Loop Demo

This is (was) a reproducible sample project for the following bug report: https://issuetracker.google.com/issues/37140057

This project demonstrates an infinite loop in Espresso, the UI testing framework. Espresso interactions with ListView and similar views can enter a loop condition that will never terminate if the target view is not visible on screen and cannot be brought on screen (from the perspective of the Espresso framework).

Though the code contained in this project is demonstrative in nature, this behavior is in fact reproducible under real application conditions.

A detailed report of my individual analysis can be found in the documentation of HangingAdapterViewProtocol.

About

demonstrates an infinite loop in Espresso's DataInteraction and AdapterViewProtocol components


Languages

Language:Java 100.0%