commit | 6dead7c2947a238209dd6052fec1a07b99736657 | [log] [tgz] |
---|---|---|
author | Yohei Yukawa <yukawa@google.com> | Fri Jul 02 00:39:31 2021 -0700 |
committer | Yohei Yukawa <yukawa@google.com> | Fri Jul 02 00:39:31 2021 -0700 |
tree | fda92b6a636cc8d349e97f0a469e4dc12552f925 | |
parent | db8b1b513288a79f48fd12c6a06f3e3085ae1c72 [diff] |
Throw AssertionError not on the UI thread Assersions such as assertFalse() called outside of the test thread would make the test process crash and debugging diffucult when it actually fails. With this CL, InputConnectionBlockingMethodTest no longer does such assersions on non test threads. Bug: 129012881 Test: atest -c CtsInputMethodTestCases:InputConnectionBlockingMethodTest Change-Id: Ia9c147cbb56e30094b190815163c5799243c8015