Add support for Runnables in CriteriaHelper.
If a Runnable throws an AssertionError, it will be re-attempted. This should allow for using assertions directly inside of the runnable with causes attached w/o the need for using Criteria/error conditions. BUG=1071247 Change-Id: I6a0f2a5625f3de5b18c49d59b4d1b8b87f5acf0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151483 Commit-Queue: Ted Choc <tedchoc@chromium.org> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#759920}
Showing
Please register or sign in to comment