commit | eb39d69a5ce80dc17aba4131e3b2542128660147 | [log] [tgz] |
---|---|---|
author | Alice Lee <awlee@google.com> | Tue Aug 25 14:29:16 2015 -0700 |
committer | Alice Lee <awlee@google.com> | Tue Sep 08 10:42:34 2015 -0700 |
tree | cbccf8bf16c5e090ddbceaed99f8ac5e01087932 | |
parent | 7ce4c33e68dad02c2db78b210f4dc7f1e87e4d9e [diff] |
Test onHandleScreenshot for approximate pixel equality to expected view. Set up mechanism to wait for the third party app to resume fully before launching assist on it to ensure the view has finished loading. Screenshot equality tested with solid color views. A percentage of pixels of that color in the screenshot above a certain threshold passes the test. Bug: 21668302 Change-Id: Ibe1826e6ff0ea510e1d5f0d1987947fa303fbe81