如下2条Case 可以申请豁免
android.autofillservice.cts.PreSimpleSaveActivityTest#testTapLink_changeOrientationThenTapBack
android.autofillservice.cts.SimpleSaveActivityTest#testTapLink_changeOrientationThenTapBack
android.autofillservice.cts.SimpleSaveActivityTest#testTapLink_changeOrientationThenTapBack
Fail info
java.lang.AssertionError: negative button (NO THANKS): Not true that the subject is a non-null reference
[SOLUTION]
Google issue;
Waive Link如下:
https://android-review.googlesource.com/#/c/platform/cts/+/649904/
验证此题可以合入如下patch:
1、请合入如下patch验证:https://android.googlesource.com/platform/cts/+/5f79c525684f9569774a5db9a83e847edc4c953d;
2、记得验证时别漏合了如下code:
src\android\autofillservice\cts\SimpleSaveActivityTest.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
@Override protected void saveUiRestoredAfterTappingLinkTest(PostSaveLinkTappedAction type) throws Exception { 。。。。 switch (type) { case ROTATE_THEN_TAP_BACK_BUTTON: // After the device rotates, the input field get focus and generate a new session. sReplier.addResponse(CannedFillResponse.NO_RESPONSE); // 这一句代码是Google新加的 // 这部分也没有 @Override protected void cleanUpAfterScreenOrientationIsBackToPortrait() throws Exception { sReplier.getNextFillRequest(); } |