Home
last modified time | relevance | path

Searched refs:assertTextAndValue (Results 1 – 21 of 21) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DOptionalSaveActivityTest.java18 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 …]
DWebViewActivityTest.java215 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 …]
DPreFilledLoginActivityTest.java22 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");
DSimpleSaveActivityTest.java21 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 …]
DMultiScreenDifferentActivitiesTest.java18 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()
DMultiScreenLoginTest.java23 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");
DWebViewMultiScreenLoginActivityTest.java25 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");
DPreSimpleSaveActivityTest.java19 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()
DLoginWithStringsActivityTest.java23 import static android.autofillservice.cts.Helper.assertTextAndValue;
128 assertTextAndValue(username, "dude");
130 assertTextAndValue(password, "dude");
DVirtualContainerActivityCompatModeTest.java20 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()
DInitializedCheckoutActivityTest.java25 import static android.autofillservice.cts.Helper.assertTextAndValue;
70 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_CC_NUMBER), "4815162342");
DTimePickerTestCase.java21 import static android.autofillservice.cts.Helper.assertTextAndValue;
90 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "10:40"); in testAutoFillAndSave()
DDatePickerTestCase.java22 import static android.autofillservice.cts.Helper.assertTextAndValue;
91 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "2010/11/12"); in testAutoFillAndSave()
DOnClickActionTest.java27 import static android.autofillservice.cts.Helper.assertTextAndValue;
143 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42");
144 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "108");
DLoginActivityTest.java31 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 …]
DSessionLifecycleTest.java22 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()
DVirtualContainerActivityTest.java23 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()
DCheckoutActivityTest.java29 import static android.autofillservice.cts.Helper.assertTextAndValue;
243 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_CC_NUMBER), "4815162342");
DAuthenticationTest.java24 import static android.autofillservice.cts.Helper.assertTextAndValue;
1026 assertTextAndValue(usernameNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest()
1028 assertTextAndValue(passwordNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest()
DHelper.java523 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/
DAugmentedLoginActivityTest.java23 import static android.autofillservice.cts.Helper.assertTextAndValue;
212 assertTextAndValue(usernameNode, "malkovich");
214 assertTextAndValue(passwordNode, "malkovich");
280 assertTextAndValue(usernameNode, "malkovich");
282 assertTextAndValue(passwordNode, "malkovich");