/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | OptionalSaveActivityTest.java | 22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 90 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace"); 91 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), "Simpsons House"); 92 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield"); 93 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), "Yellow"); 103 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace"); 104 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), ""); 105 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield"); 106 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), ""); 216 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), [all …]
|
D | SimpleSaveActivityTest.java | 28 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 161 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testAutoFillOneDatasetAndSave() 162 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave() 215 assertTextAndValue(inputOnSave, "ID"); in testAutoFillOneDatasetAndSave_largeAssistStructure() 216 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave_largeAssistStructure() 274 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 275 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 336 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); in saveTest() 392 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); in testPartitionedSave() 393 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "42"); in testPartitionedSave() [all …]
|
D | PreSimpleSaveActivityTest.java | 23 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 125 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), "108"); in saveUiRestoredAfterTappingLinkTest() 180 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), in tapLinkThenTapBackThenStartOverTest() 218 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42"); in tapLinkThenTapBackThenStartOverTest() 344 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_INPUT), "42"); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
|
D | OnClickActionTest.java | 29 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 149 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42"); 150 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "108");
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | WebViewActivityTest.java | 224 Helper.assertTextAndValue(usernameNode, "u"); 225 Helper.assertTextAndValue(passwordNode, "p"); 227 Helper.assertTextAndValue(usernameNode, "DUDE"); 228 Helper.assertTextAndValue(passwordNode, "SWEET"); 298 Helper.assertTextAndValue(usernameNode2, "dudeu"); 299 Helper.assertTextAndValue(passwordNode2, "sweetp"); 301 Helper.assertTextAndValue(usernameNode2, "DUDE"); 302 Helper.assertTextAndValue(passwordNode2, "SWEET"); 421 Helper.assertTextAndValue(usernameSaveNode, "dudeu"); 422 Helper.assertTextAndValue(passwordSaveNode, "sweetp"); [all …]
|
D | PreFilledLoginActivityTest.java | 22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 87 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_USERNAME), 89 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_PASSWORD), "T0p S3cr3t"); 104 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_USERNAME), "malkovich"); 105 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "malkovich");
|
D | InitializedCheckoutActivityTest.java | 25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 73 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_CC_NUMBER), "4815162342");
|
D | LoginWithStringsActivityTest.java | 26 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 139 assertTextAndValue(username, "dude"); 141 assertTextAndValue(password, "dude");
|
D | VirtualContainerActivityCompatModeTest.java | 23 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 227 assertTextAndValue(username, "foo"); in testUrlBarChangeIgnoredWhenServiceCanSave() 228 assertTextAndValue(password, "bar"); in testUrlBarChangeIgnoredWhenServiceCanSave() 230 assertTextAndValue(urlBar, INITIAL_URL_BAR_VALUE); in testUrlBarChangeIgnoredWhenServiceCanSave()
|
D | LoginActivityTest.java | 35 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 295 assertTextAndValue(username, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 297 assertTextAndValue(password, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 299 assertTextAndValue(childNode, "NOT MR.M"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 995 assertTextAndValue(saveRequest.structure, ID_USERNAME, "dude"); in testAutoFillOneDatasetAndSave() 996 assertTextAndValue(saveRequest.structure, ID_PASSWORD, "dude"); in testAutoFillOneDatasetAndSave() 1098 assertTextAndValue(username, "dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() 1100 assertTextAndValue(password, "dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() 1462 assertTextAndValue(username, "malkovich"); in saveOnlyTest() 1464 assertTextAndValue(password, "malkovich"); in saveOnlyTest() [all …]
|
D | VirtualContainerActivityTest.java | 26 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 612 assertTextAndValue(username, "foo"); in saveTest() 613 assertTextAndValue(password, "bar"); in saveTest() 814 assertTextAndValue(node, expectedValue); in assertLabel()
|
D | AuthenticationTest.java | 25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 1037 assertTextAndValue(usernameNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest() 1039 assertTextAndValue(passwordNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest()
|
D | CheckoutActivityTest.java | 31 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 263 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_CC_NUMBER), "4815162342");
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineSimpleSaveActivityTest.java | 22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 110 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); 161 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); 162 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "pass");
|
D | InlineWebViewActivityTest.java | 244 Helper.assertTextAndValue(usernameNode2, "dudeu"); 245 Helper.assertTextAndValue(passwordNode2, "sweetp");
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | MultiScreenDifferentActivitiesTest.java | 20 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 84 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testActivityNotDelayedIsNotMerged() 135 assertTextAndValue(findNodeByResourceId(structure1, ID_PRE_INPUT), "PRE"); in testDelayedActivityIsMerged() 144 assertTextAndValue(findNodeByResourceId(structure2, ID_INPUT), "ID"); in testDelayedActivityIsMerged()
|
D | MultiScreenLoginTest.java | 23 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 110 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_USERNAME), "dude"); 145 assertTextAndValue(findNodeByResourceId(saveRequest2.structure, ID_PASSWORD), "sweet"); 222 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 229 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet"); 314 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 321 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet");
|
D | WebViewMultiScreenLoginActivityTest.java | 25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 147 assertTextAndValue(findNodeByHtmlName(saveRequest1.structure, HTML_NAME_USERNAME), "dude"); 200 assertTextAndValue(findNodeByHtmlName(saveRequest2.structure, HTML_NAME_PASSWORD), "sweet"); 314 assertTextAndValue(findNodeByHtmlName(previousStructure, HTML_NAME_USERNAME), "dude"); 321 assertTextAndValue(findNodeByHtmlName(currentStructure, HTML_NAME_PASSWORD), "sweet");
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | TimePickerTestCase.java | 21 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 91 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "10:40"); in testAutoFillAndSave()
|
D | DatePickerTestCase.java | 22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 93 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "2010/11/12"); in testAutoFillAndSave()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | SessionLifecycleTest.java | 25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 273 assertTextAndValue(username, "autofilled username"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 276 assertTextAndValue(password, "new password"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 544 assertTextAndValue(username, "dude"); in testSaveRemainsWhenAutofilledAppIsKilled()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 28 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue; 223 assertTextAndValue(usernameNode, "malkovich"); 225 assertTextAndValue(passwordNode, "malkovich"); 291 assertTextAndValue(usernameNode, "malkovich"); 293 assertTextAndValue(passwordNode, "malkovich");
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 556 public static void assertTextAndValue(ViewNode node, String expectedValue) { in assertTextAndValue() method in Helper 564 public static ViewNode assertTextAndValue(AssistStructure structure, String resourceId, in assertTextAndValue() method in Helper 567 assertTextAndValue(node, expectedValue); in assertTextAndValue()
|