/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OptionalSaveActivityTest.java | 18 import static android.autofillservice.cts.Helper.assertTextAndValue; 85 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace"); 86 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), "Simpsons House"); 87 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield"); 88 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), "Yellow"); 98 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace"); 99 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), ""); 100 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield"); 101 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), ""); 211 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), [all …]
|
D | WebViewActivityTest.java | 215 Helper.assertTextAndValue(usernameNode, "u"); 216 Helper.assertTextAndValue(passwordNode, "p"); 218 Helper.assertTextAndValue(usernameNode, "DUDE"); 219 Helper.assertTextAndValue(passwordNode, "SWEET"); 289 Helper.assertTextAndValue(usernameNode2, "dudeu"); 290 Helper.assertTextAndValue(passwordNode2, "sweetp"); 292 Helper.assertTextAndValue(usernameNode2, "DUDE"); 293 Helper.assertTextAndValue(passwordNode2, "SWEET"); 409 Helper.assertTextAndValue(usernameSaveNode, "dudeu"); 410 Helper.assertTextAndValue(passwordSaveNode, "sweetp"); [all …]
|
D | PreFilledLoginActivityTest.java | 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 82 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_USERNAME), 84 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_PASSWORD), "T0p S3cr3t"); 99 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_USERNAME), "malkovich"); 100 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "malkovich");
|
D | SimpleSaveActivityTest.java | 21 import static android.autofillservice.cts.Helper.assertTextAndValue; 137 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testAutoFillOneDatasetAndSave() 138 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave() 191 assertTextAndValue(inputOnSave, "ID"); in testAutoFillOneDatasetAndSave_largeAssistStructure() 192 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave_largeAssistStructure() 250 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 251 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 311 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); in saveTest() 367 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); in testPartitionedSave() 368 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "42"); in testPartitionedSave() [all …]
|
D | MultiScreenDifferentActivitiesTest.java | 18 import static android.autofillservice.cts.Helper.assertTextAndValue; 80 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testActivityNotDelayedIsNotMerged() 131 assertTextAndValue(findNodeByResourceId(structure1, ID_PRE_INPUT), "PRE"); in testDelayedActivityIsMerged() 140 assertTextAndValue(findNodeByResourceId(structure2, ID_INPUT), "ID"); in testDelayedActivityIsMerged()
|
D | MultiScreenLoginTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 103 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_USERNAME), "dude"); 138 assertTextAndValue(findNodeByResourceId(saveRequest2.structure, ID_PASSWORD), "sweet"); 215 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 222 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet"); 307 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 314 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet");
|
D | WebViewMultiScreenLoginActivityTest.java | 25 import static android.autofillservice.cts.Helper.assertTextAndValue; 138 assertTextAndValue(findNodeByHtmlName(saveRequest1.structure, HTML_NAME_USERNAME), "dude"); 186 assertTextAndValue(findNodeByHtmlName(saveRequest2.structure, HTML_NAME_PASSWORD), "sweet"); 293 assertTextAndValue(findNodeByHtmlName(previousStructure, HTML_NAME_USERNAME), "dude"); 300 assertTextAndValue(findNodeByHtmlName(currentStructure, HTML_NAME_PASSWORD), "sweet");
|
D | PreSimpleSaveActivityTest.java | 19 import static android.autofillservice.cts.Helper.assertTextAndValue; 115 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), "108"); in saveUiRestoredAfterTappingLinkTest() 170 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), in tapLinkThenTapBackThenStartOverTest() 208 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42"); in tapLinkThenTapBackThenStartOverTest() 334 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_INPUT), "42"); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
|
D | LoginWithStringsActivityTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 128 assertTextAndValue(username, "dude"); 130 assertTextAndValue(password, "dude");
|
D | VirtualContainerActivityCompatModeTest.java | 20 import static android.autofillservice.cts.Helper.assertTextAndValue; 221 assertTextAndValue(username, "foo"); in testUrlBarChangeIgnoredWhenServiceCanSave() 222 assertTextAndValue(password, "bar"); in testUrlBarChangeIgnoredWhenServiceCanSave() 224 assertTextAndValue(urlBar, INITIAL_URL_BAR_VALUE); in testUrlBarChangeIgnoredWhenServiceCanSave()
|
D | InitializedCheckoutActivityTest.java | 25 import static android.autofillservice.cts.Helper.assertTextAndValue; 70 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_CC_NUMBER), "4815162342");
|
D | TimePickerTestCase.java | 21 import static android.autofillservice.cts.Helper.assertTextAndValue; 90 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "10:40"); in testAutoFillAndSave()
|
D | DatePickerTestCase.java | 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 91 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "2010/11/12"); in testAutoFillAndSave()
|
D | OnClickActionTest.java | 27 import static android.autofillservice.cts.Helper.assertTextAndValue; 143 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42"); 144 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "108");
|
D | LoginActivityTest.java | 31 import static android.autofillservice.cts.Helper.assertTextAndValue; 327 assertTextAndValue(username, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 329 assertTextAndValue(password, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 331 assertTextAndValue(childNode, "NOT MR.M"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 1013 assertTextAndValue(saveRequest.structure, ID_USERNAME, "dude"); in testAutoFillOneDatasetAndSave() 1014 assertTextAndValue(saveRequest.structure, ID_PASSWORD, "dude"); in testAutoFillOneDatasetAndSave() 1115 assertTextAndValue(username, "dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() 1117 assertTextAndValue(password, "dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() 1478 assertTextAndValue(username, "malkovich"); in saveOnlyTest() 1480 assertTextAndValue(password, "malkovich"); in saveOnlyTest() [all …]
|
D | SessionLifecycleTest.java | 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 262 assertTextAndValue(username, "autofilled username"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 265 assertTextAndValue(password, "new password"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 498 assertTextAndValue(username, "dude"); in testSaveRemainsWhenAutofilledAppIsKilled()
|
D | VirtualContainerActivityTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 594 assertTextAndValue(username, "foo"); in saveTest() 595 assertTextAndValue(password, "bar"); in saveTest() 794 assertTextAndValue(node, expectedValue); in assertLabel()
|
D | CheckoutActivityTest.java | 29 import static android.autofillservice.cts.Helper.assertTextAndValue; 243 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_CC_NUMBER), "4815162342");
|
D | AuthenticationTest.java | 24 import static android.autofillservice.cts.Helper.assertTextAndValue; 1026 assertTextAndValue(usernameNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest() 1028 assertTextAndValue(passwordNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest()
|
D | Helper.java | 523 public static void assertTextAndValue(ViewNode node, String expectedValue) { in assertTextAndValue() method in Helper 531 public static ViewNode assertTextAndValue(AssistStructure structure, String resourceId, in assertTextAndValue() method in Helper 534 assertTextAndValue(node, expectedValue); in assertTextAndValue()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 212 assertTextAndValue(usernameNode, "malkovich"); 214 assertTextAndValue(passwordNode, "malkovich"); 280 assertTextAndValue(usernameNode, "malkovich"); 282 assertTextAndValue(passwordNode, "malkovich");
|